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:15: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 C library flavor 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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5210 /* end confdefs.h. */
5218 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5219 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5227 # Find platform-specific directories containing configuration info.
5228 # Also possibly modify flags used elsewhere, as needed by the platform.
5230 . $glibcxx_srcdir/configure.host
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5232 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5234 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5238 if test "x${with_newlib}" != "xyes"; then
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5247 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5252 macro_version='2.2.7a'
5253 macro_revision='1.3134'
5267 ltmain="$ac_aux_dir/ltmain.sh"
5269 # Backslashify metacharacters that are still active within
5270 # double-quoted strings.
5271 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5273 # Same as above, but do not quote variable references.
5274 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5276 # Sed substitution to delay expansion of an escaped shell variable in a
5277 # double_quote_subst'ed string.
5278 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5280 # Sed substitution to delay expansion of an escaped single quote.
5281 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5283 # Sed substitution to avoid accidental globbing in evaled expressions
5284 no_glob_subst='s/\*/\\\*/g'
5286 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5287 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5288 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5291 $as_echo_n "checking how to print strings... " >&6; }
5292 # Test print first, because it will be a builtin if present.
5293 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5294 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5296 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5299 # Use this function as a fallback that always works.
5300 func_fallback_echo ()
5302 eval 'cat <<_LTECHO_EOF
5306 ECHO='func_fallback_echo'
5309 # func_echo_all arg...
5310 # Invoke $ECHO with all args, space-separated.
5317 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5318 $as_echo "printf" >&6; } ;;
5319 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5320 $as_echo "print -r" >&6; } ;;
5321 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5322 $as_echo "cat" >&6; } ;;
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5339 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5340 if test "${ac_cv_path_SED+set}" = set; then :
5341 $as_echo_n "(cached) " >&6
5343 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5344 for ac_i in 1 2 3 4 5 6 7; do
5345 ac_script="$ac_script$as_nl$ac_script"
5347 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5348 { ac_script=; unset ac_script;}
5349 if test -z "$SED"; then
5350 ac_path_SED_found=false
5351 # Loop through the user's path and test for each of PROGNAME-LIST
5352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5356 test -z "$as_dir" && as_dir=.
5357 for ac_prog in sed gsed; do
5358 for ac_exec_ext in '' $ac_executable_extensions; do
5359 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5360 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5361 # Check for GNU ac_path_SED and select it if it is found.
5362 # Check for GNU $ac_path_SED
5363 case `"$ac_path_SED" --version 2>&1` in
5365 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5368 $as_echo_n 0123456789 >"conftest.in"
5371 cat "conftest.in" "conftest.in" >"conftest.tmp"
5372 mv "conftest.tmp" "conftest.in"
5373 cp "conftest.in" "conftest.nl"
5374 $as_echo '' >> "conftest.nl"
5375 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5376 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5377 as_fn_arith $ac_count + 1 && ac_count=$as_val
5378 if test $ac_count -gt ${ac_path_SED_max-0}; then
5379 # Best one so far, save it but keep looking for a better one
5380 ac_cv_path_SED="$ac_path_SED"
5381 ac_path_SED_max=$ac_count
5383 # 10*(2^10) chars as input seems more than enough
5384 test $ac_count -gt 10 && break
5386 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5389 $ac_path_SED_found && break 3
5394 if test -z "$ac_cv_path_SED"; then
5395 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5403 $as_echo "$ac_cv_path_SED" >&6; }
5404 SED="$ac_cv_path_SED"
5407 test -z "$SED" && SED=sed
5408 Xsed="$SED -e 1s/^X//"
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5421 $as_echo_n "checking for fgrep... " >&6; }
5422 if test "${ac_cv_path_FGREP+set}" = set; then :
5423 $as_echo_n "(cached) " >&6
5425 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5426 then ac_cv_path_FGREP="$GREP -F"
5428 if test -z "$FGREP"; then
5429 ac_path_FGREP_found=false
5430 # Loop through the user's path and test for each of PROGNAME-LIST
5431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5432 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5435 test -z "$as_dir" && as_dir=.
5436 for ac_prog in fgrep; do
5437 for ac_exec_ext in '' $ac_executable_extensions; do
5438 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5439 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5440 # Check for GNU ac_path_FGREP and select it if it is found.
5441 # Check for GNU $ac_path_FGREP
5442 case `"$ac_path_FGREP" --version 2>&1` in
5444 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5447 $as_echo_n 0123456789 >"conftest.in"
5450 cat "conftest.in" "conftest.in" >"conftest.tmp"
5451 mv "conftest.tmp" "conftest.in"
5452 cp "conftest.in" "conftest.nl"
5453 $as_echo 'FGREP' >> "conftest.nl"
5454 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5455 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5456 as_fn_arith $ac_count + 1 && ac_count=$as_val
5457 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5458 # Best one so far, save it but keep looking for a better one
5459 ac_cv_path_FGREP="$ac_path_FGREP"
5460 ac_path_FGREP_max=$ac_count
5462 # 10*(2^10) chars as input seems more than enough
5463 test $ac_count -gt 10 && break
5465 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5468 $ac_path_FGREP_found && break 3
5473 if test -z "$ac_cv_path_FGREP"; then
5474 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5477 ac_cv_path_FGREP=$FGREP
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5483 $as_echo "$ac_cv_path_FGREP" >&6; }
5484 FGREP="$ac_cv_path_FGREP"
5487 test -z "$GREP" && GREP=grep
5507 # Check whether --with-gnu-ld was given.
5508 if test "${with_gnu_ld+set}" = set; then :
5509 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5515 if test "$GCC" = yes; then
5516 # Check if gcc -print-prog-name=ld gives a path.
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5518 $as_echo_n "checking for ld used by $CC... " >&6; }
5521 # gcc leaves a trailing carriage return which upsets mingw
5522 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5524 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5527 # Accept absolute paths.
5529 re_direlt='/[^/][^/]*/\.\./'
5530 # Canonicalize the pathname of ld
5531 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5532 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5533 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5535 test -z "$LD" && LD="$ac_prog"
5538 # If it fails, then pretend we aren't using GCC.
5542 # If it is relative, then search for the first ld in PATH.
5546 elif test "$with_gnu_ld" = yes; then
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5548 $as_echo_n "checking for GNU ld... " >&6; }
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5551 $as_echo_n "checking for non-GNU ld... " >&6; }
5553 if test "${lt_cv_path_LD+set}" = set; then :
5554 $as_echo_n "(cached) " >&6
5556 if test -z "$LD"; then
5557 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5558 for ac_dir in $PATH; do
5560 test -z "$ac_dir" && ac_dir=.
5561 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5562 lt_cv_path_LD="$ac_dir/$ac_prog"
5563 # Check to see if the program is GNU ld. I'd rather use --version,
5564 # but apparently some variants of GNU ld only accept -v.
5565 # Break only if it was the GNU/non-GNU ld that we prefer.
5566 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5567 *GNU* | *'with BFD'*)
5568 test "$with_gnu_ld" != no && break
5571 test "$with_gnu_ld" != yes && break
5578 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5583 if test -n "$LD"; then
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5585 $as_echo "$LD" >&6; }
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5588 $as_echo "no" >&6; }
5590 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5592 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5593 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5594 $as_echo_n "(cached) " >&6
5596 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5597 case `$LD -v 2>&1 </dev/null` in
5598 *GNU* | *'with BFD'*)
5599 lt_cv_prog_gnu_ld=yes
5602 lt_cv_prog_gnu_ld=no
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5607 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5608 with_gnu_ld=$lt_cv_prog_gnu_ld
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5619 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5620 if test "${lt_cv_path_NM+set}" = set; then :
5621 $as_echo_n "(cached) " >&6
5623 if test -n "$NM"; then
5624 # Let the user override the test.
5627 lt_nm_to_check="${ac_tool_prefix}nm"
5628 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5629 lt_nm_to_check="$lt_nm_to_check nm"
5631 for lt_tmp_nm in $lt_nm_to_check; do
5632 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5633 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5635 test -z "$ac_dir" && ac_dir=.
5636 tmp_nm="$ac_dir/$lt_tmp_nm"
5637 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5638 # Check to see if the nm accepts a BSD-compat flag.
5639 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5640 # nm: unknown option "B" ignored
5641 # Tru64's nm complains that /dev/null is an invalid object file
5642 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5643 */dev/null* | *'Invalid file or object type'*)
5644 lt_cv_path_NM="$tmp_nm -B"
5648 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5650 lt_cv_path_NM="$tmp_nm -p"
5654 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5655 continue # so that we can try to find one that supports BSD flags
5664 : ${lt_cv_path_NM=no}
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5668 $as_echo "$lt_cv_path_NM" >&6; }
5669 if test "$lt_cv_path_NM" != "no"; then
5672 # Didn't find any BSD compatible name lister, look for dumpbin.
5673 if test -n "$DUMPBIN"; then :
5674 # Let the user override the test.
5676 if test -n "$ac_tool_prefix"; then
5677 for ac_prog in dumpbin "link -dump"
5679 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5680 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5682 $as_echo_n "checking for $ac_word... " >&6; }
5683 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5684 $as_echo_n "(cached) " >&6
5686 if test -n "$DUMPBIN"; then
5687 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5693 test -z "$as_dir" && as_dir=.
5694 for ac_exec_ext in '' $ac_executable_extensions; do
5695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5696 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5706 DUMPBIN=$ac_cv_prog_DUMPBIN
5707 if test -n "$DUMPBIN"; then
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5709 $as_echo "$DUMPBIN" >&6; }
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5712 $as_echo "no" >&6; }
5716 test -n "$DUMPBIN" && break
5719 if test -z "$DUMPBIN"; then
5720 ac_ct_DUMPBIN=$DUMPBIN
5721 for ac_prog in dumpbin "link -dump"
5723 # Extract the first word of "$ac_prog", so it can be a program name with args.
5724 set dummy $ac_prog; ac_word=$2
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5726 $as_echo_n "checking for $ac_word... " >&6; }
5727 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5728 $as_echo_n "(cached) " >&6
5730 if test -n "$ac_ct_DUMPBIN"; then
5731 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5737 test -z "$as_dir" && as_dir=.
5738 for ac_exec_ext in '' $ac_executable_extensions; do
5739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5740 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5750 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5751 if test -n "$ac_ct_DUMPBIN"; then
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5753 $as_echo "$ac_ct_DUMPBIN" >&6; }
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5756 $as_echo "no" >&6; }
5760 test -n "$ac_ct_DUMPBIN" && break
5763 if test "x$ac_ct_DUMPBIN" = x; then
5766 case $cross_compiling:$ac_tool_warned in
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5769 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5770 ac_tool_warned=yes ;;
5772 DUMPBIN=$ac_ct_DUMPBIN
5776 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5778 DUMPBIN="$DUMPBIN -symbols"
5786 if test "$DUMPBIN" != ":"; then
5790 test -z "$NM" && NM=nm
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5798 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5799 if test "${lt_cv_nm_interface+set}" = set; then :
5800 $as_echo_n "(cached) " >&6
5802 lt_cv_nm_interface="BSD nm"
5803 echo "int some_variable = 0;" > conftest.$ac_ext
5804 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5805 (eval "$ac_compile" 2>conftest.err)
5806 cat conftest.err >&5
5807 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5808 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5809 cat conftest.err >&5
5810 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5811 cat conftest.out >&5
5812 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5813 lt_cv_nm_interface="MS dumpbin"
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5818 $as_echo "$lt_cv_nm_interface" >&6; }
5820 # find the maximum length of command line arguments
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5822 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5823 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5824 $as_echo_n "(cached) " >&6
5831 # On DJGPP, this test can blow up pretty badly due to problems in libc
5832 # (any single argument exceeding 2000 bytes causes a buffer overrun
5833 # during glob expansion). Even if it were fixed, the result of this
5834 # check would be larger than it should be.
5835 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5839 # Under GNU Hurd, this test is not required because there is
5840 # no limit to the length of command line arguments.
5841 # Libtool will interpret -1 as no limit whatsoever
5842 lt_cv_sys_max_cmd_len=-1;
5845 cygwin* | mingw* | cegcc*)
5846 # On Win9x/ME, this test blows up -- it succeeds, but takes
5847 # about 5 minutes as the teststring grows exponentially.
5848 # Worse, since 9x/ME are not pre-emptively multitasking,
5849 # you end up with a "frozen" computer, even though with patience
5850 # the test eventually succeeds (with a max line length of 256k).
5851 # Instead, let's just punt: use the minimum linelength reported by
5852 # all of the supported platforms: 8192 (on NT/2K/XP).
5853 lt_cv_sys_max_cmd_len=8192;
5857 # On MiNT this can take a long time and run out of memory.
5858 lt_cv_sys_max_cmd_len=8192;
5862 # On AmigaOS with pdksh, this test takes hours, literally.
5863 # So we just punt and use a minimum line length of 8192.
5864 lt_cv_sys_max_cmd_len=8192;
5867 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5868 # This has been around since 386BSD, at least. Likely further.
5869 if test -x /sbin/sysctl; then
5870 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5871 elif test -x /usr/sbin/sysctl; then
5872 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5874 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5876 # And add a safety zone
5877 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5878 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5882 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5883 lt_cv_sys_max_cmd_len=196608
5887 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5888 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5889 # nice to cause kernel panics so lets avoid the loop below.
5890 # First set a reasonable default.
5891 lt_cv_sys_max_cmd_len=16384
5893 if test -x /sbin/sysconfig; then
5894 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5895 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5900 lt_cv_sys_max_cmd_len=102400
5902 sysv5* | sco5v6* | sysv4.2uw2*)
5903 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5904 if test -n "$kargmax"; then
5905 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5907 lt_cv_sys_max_cmd_len=32768
5911 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5912 if test -n "$lt_cv_sys_max_cmd_len"; then
5913 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5914 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5916 # Make teststring a little bigger before we do anything with it.
5917 # a 1K string should be a reasonable start.
5918 for i in 1 2 3 4 5 6 7 8 ; do
5919 teststring=$teststring$teststring
5921 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5922 # If test is not a shell built-in, we'll probably end up computing a
5923 # maximum length that is only half of the actual maximum length, but
5925 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5926 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5927 test $i != 17 # 1/2 MB should be enough
5930 teststring=$teststring$teststring
5932 # Only check the string length outside the loop.
5933 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5935 # Add a significant safety factor because C++ compilers can tack on
5936 # massive amounts of additional arguments before passing them to the
5937 # linker. It appears as though 1/2 is a usable value.
5938 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5945 if test -n $lt_cv_sys_max_cmd_len ; then
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5947 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5950 $as_echo "none" >&6; }
5952 max_cmd_len=$lt_cv_sys_max_cmd_len
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5964 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5965 # Try some XSI features
5968 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5970 && eval 'test $(( 1 + 1 )) -eq 2 \
5971 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5974 $as_echo "$xsi_shell" >&6; }
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5978 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5980 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5982 && lt_shell_append=yes
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5984 $as_echo "$lt_shell_append" >&6; }
5987 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5997 # test EBCDIC or ASCII
5998 case `echo X|tr X '\101'` in
5999 A) # ASCII based system
6000 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6001 lt_SP2NL='tr \040 \012'
6002 lt_NL2SP='tr \015\012 \040\040'
6004 *) # EBCDIC based system
6005 lt_SP2NL='tr \100 \n'
6006 lt_NL2SP='tr \r\n \100\100'
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6019 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6020 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6021 $as_echo_n "(cached) " >&6
6023 lt_cv_ld_reload_flag='-r'
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6026 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6027 reload_flag=$lt_cv_ld_reload_flag
6028 case $reload_flag in
6030 *) reload_flag=" $reload_flag" ;;
6032 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6035 if test "$GCC" = yes; then
6036 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6038 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6051 if test -n "$ac_tool_prefix"; then
6052 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6053 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6055 $as_echo_n "checking for $ac_word... " >&6; }
6056 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6057 $as_echo_n "(cached) " >&6
6059 if test -n "$OBJDUMP"; then
6060 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6066 test -z "$as_dir" && as_dir=.
6067 for ac_exec_ext in '' $ac_executable_extensions; do
6068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6069 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6079 OBJDUMP=$ac_cv_prog_OBJDUMP
6080 if test -n "$OBJDUMP"; then
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6082 $as_echo "$OBJDUMP" >&6; }
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6085 $as_echo "no" >&6; }
6090 if test -z "$ac_cv_prog_OBJDUMP"; then
6091 ac_ct_OBJDUMP=$OBJDUMP
6092 # Extract the first word of "objdump", so it can be a program name with args.
6093 set dummy objdump; ac_word=$2
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6095 $as_echo_n "checking for $ac_word... " >&6; }
6096 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6097 $as_echo_n "(cached) " >&6
6099 if test -n "$ac_ct_OBJDUMP"; then
6100 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6106 test -z "$as_dir" && as_dir=.
6107 for ac_exec_ext in '' $ac_executable_extensions; do
6108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6109 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6119 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6120 if test -n "$ac_ct_OBJDUMP"; then
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6122 $as_echo "$ac_ct_OBJDUMP" >&6; }
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6125 $as_echo "no" >&6; }
6128 if test "x$ac_ct_OBJDUMP" = x; then
6131 case $cross_compiling:$ac_tool_warned in
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6134 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6135 ac_tool_warned=yes ;;
6137 OBJDUMP=$ac_ct_OBJDUMP
6140 OBJDUMP="$ac_cv_prog_OBJDUMP"
6143 test -z "$OBJDUMP" && OBJDUMP=objdump
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6154 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6155 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6156 $as_echo_n "(cached) " >&6
6158 lt_cv_file_magic_cmd='$MAGIC_CMD'
6159 lt_cv_file_magic_test_file=
6160 lt_cv_deplibs_check_method='unknown'
6161 # Need to set the preceding variable on all platforms that support
6162 # interlibrary dependencies.
6163 # 'none' -- dependencies not supported.
6164 # `unknown' -- same as none, but documents that we really don't know.
6165 # 'pass_all' -- all dependencies passed with no checks.
6166 # 'test_compile' -- check by making test program.
6167 # 'file_magic [[regex]]' -- check by looking for files in library path
6168 # which responds to the $file_magic_cmd with a given extended regex.
6169 # If you have `file' or equivalent on your system and you're not sure
6170 # whether `pass_all' will *always* work, you probably want this one.
6174 lt_cv_deplibs_check_method=pass_all
6178 lt_cv_deplibs_check_method=pass_all
6182 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6183 lt_cv_file_magic_cmd='/usr/bin/file -L'
6184 lt_cv_file_magic_test_file=/shlib/libc.so
6188 # func_win32_libid is a shell function defined in ltmain.sh
6189 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6190 lt_cv_file_magic_cmd='func_win32_libid'
6194 # Base MSYS/MinGW do not provide the 'file' command needed by
6195 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6196 # unless we find 'file', for example because we are cross-compiling.
6197 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6198 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6199 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6200 lt_cv_file_magic_cmd='func_win32_libid'
6202 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6203 lt_cv_file_magic_cmd='$OBJDUMP -f'
6208 # use the weaker test based on 'objdump'. See mingw*.
6209 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6210 lt_cv_file_magic_cmd='$OBJDUMP -f'
6213 darwin* | rhapsody*)
6214 lt_cv_deplibs_check_method=pass_all
6217 freebsd* | dragonfly*)
6218 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6221 # Not sure whether the presence of OpenBSD here was a mistake.
6222 # Let's accept both of them until this is cleared up.
6223 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6224 lt_cv_file_magic_cmd=/usr/bin/file
6225 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6229 lt_cv_deplibs_check_method=pass_all
6234 lt_cv_deplibs_check_method=pass_all
6238 lt_cv_deplibs_check_method=pass_all
6241 hpux10.20* | hpux11*)
6242 lt_cv_file_magic_cmd=/usr/bin/file
6245 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6246 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6249 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]'
6250 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6253 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6254 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6260 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6261 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6264 irix5* | irix6* | nonstopux*)
6266 *-32|*"-32 ") libmagic=32-bit;;
6267 *-n32|*"-n32 ") libmagic=N32;;
6268 *-64|*"-64 ") libmagic=64-bit;;
6269 *) libmagic=never-match;;
6271 lt_cv_deplibs_check_method=pass_all
6274 # This must be Linux ELF.
6275 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6276 lt_cv_deplibs_check_method=pass_all
6280 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6281 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6283 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6288 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6289 lt_cv_file_magic_cmd=/usr/bin/file
6290 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6294 lt_cv_deplibs_check_method=pass_all
6298 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6299 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6301 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6305 osf3* | osf4* | osf5*)
6306 lt_cv_deplibs_check_method=pass_all
6310 lt_cv_deplibs_check_method=pass_all
6314 lt_cv_deplibs_check_method=pass_all
6317 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6318 lt_cv_deplibs_check_method=pass_all
6322 case $host_vendor in
6324 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]'
6325 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6328 lt_cv_deplibs_check_method=pass_all
6331 lt_cv_file_magic_cmd='/bin/file'
6332 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6335 lt_cv_file_magic_cmd='/bin/file'
6336 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6337 lt_cv_file_magic_test_file=/lib/libc.so
6340 lt_cv_deplibs_check_method=pass_all
6343 lt_cv_deplibs_check_method=pass_all
6349 lt_cv_deplibs_check_method=pass_all
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6355 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6356 file_magic_cmd=$lt_cv_file_magic_cmd
6357 deplibs_check_method=$lt_cv_deplibs_check_method
6358 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6371 if test -n "$ac_tool_prefix"; then
6372 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6373 set dummy ${ac_tool_prefix}ar; ac_word=$2
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6375 $as_echo_n "checking for $ac_word... " >&6; }
6376 if test "${ac_cv_prog_AR+set}" = set; then :
6377 $as_echo_n "(cached) " >&6
6379 if test -n "$AR"; then
6380 ac_cv_prog_AR="$AR" # Let the user override the test.
6382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6386 test -z "$as_dir" && as_dir=.
6387 for ac_exec_ext in '' $ac_executable_extensions; do
6388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6389 ac_cv_prog_AR="${ac_tool_prefix}ar"
6390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6400 if test -n "$AR"; then
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6402 $as_echo "$AR" >&6; }
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6405 $as_echo "no" >&6; }
6410 if test -z "$ac_cv_prog_AR"; then
6412 # Extract the first word of "ar", so it can be a program name with args.
6413 set dummy ar; ac_word=$2
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6415 $as_echo_n "checking for $ac_word... " >&6; }
6416 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6417 $as_echo_n "(cached) " >&6
6419 if test -n "$ac_ct_AR"; then
6420 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6426 test -z "$as_dir" && as_dir=.
6427 for ac_exec_ext in '' $ac_executable_extensions; do
6428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6429 ac_cv_prog_ac_ct_AR="ar"
6430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6439 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6440 if test -n "$ac_ct_AR"; then
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6442 $as_echo "$ac_ct_AR" >&6; }
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6445 $as_echo "no" >&6; }
6448 if test "x$ac_ct_AR" = x; then
6451 case $cross_compiling:$ac_tool_warned in
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6455 ac_tool_warned=yes ;;
6463 test -z "$AR" && AR=ar
6464 test -z "$AR_FLAGS" && AR_FLAGS=cru
6476 if test -n "$ac_tool_prefix"; then
6477 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6478 set dummy ${ac_tool_prefix}strip; ac_word=$2
6479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6480 $as_echo_n "checking for $ac_word... " >&6; }
6481 if test "${ac_cv_prog_STRIP+set}" = set; then :
6482 $as_echo_n "(cached) " >&6
6484 if test -n "$STRIP"; then
6485 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6491 test -z "$as_dir" && as_dir=.
6492 for ac_exec_ext in '' $ac_executable_extensions; do
6493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6494 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6504 STRIP=$ac_cv_prog_STRIP
6505 if test -n "$STRIP"; then
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6507 $as_echo "$STRIP" >&6; }
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6510 $as_echo "no" >&6; }
6515 if test -z "$ac_cv_prog_STRIP"; then
6517 # Extract the first word of "strip", so it can be a program name with args.
6518 set dummy strip; ac_word=$2
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6520 $as_echo_n "checking for $ac_word... " >&6; }
6521 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6522 $as_echo_n "(cached) " >&6
6524 if test -n "$ac_ct_STRIP"; then
6525 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6531 test -z "$as_dir" && as_dir=.
6532 for ac_exec_ext in '' $ac_executable_extensions; do
6533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6534 ac_cv_prog_ac_ct_STRIP="strip"
6535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6544 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6545 if test -n "$ac_ct_STRIP"; then
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6547 $as_echo "$ac_ct_STRIP" >&6; }
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6550 $as_echo "no" >&6; }
6553 if test "x$ac_ct_STRIP" = x; then
6556 case $cross_compiling:$ac_tool_warned in
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6559 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6560 ac_tool_warned=yes ;;
6565 STRIP="$ac_cv_prog_STRIP"
6568 test -z "$STRIP" && STRIP=:
6575 if test -n "$ac_tool_prefix"; then
6576 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6577 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6579 $as_echo_n "checking for $ac_word... " >&6; }
6580 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6581 $as_echo_n "(cached) " >&6
6583 if test -n "$RANLIB"; then
6584 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6590 test -z "$as_dir" && as_dir=.
6591 for ac_exec_ext in '' $ac_executable_extensions; do
6592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6593 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6603 RANLIB=$ac_cv_prog_RANLIB
6604 if test -n "$RANLIB"; then
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6606 $as_echo "$RANLIB" >&6; }
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6609 $as_echo "no" >&6; }
6614 if test -z "$ac_cv_prog_RANLIB"; then
6615 ac_ct_RANLIB=$RANLIB
6616 # Extract the first word of "ranlib", so it can be a program name with args.
6617 set dummy ranlib; ac_word=$2
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6619 $as_echo_n "checking for $ac_word... " >&6; }
6620 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6621 $as_echo_n "(cached) " >&6
6623 if test -n "$ac_ct_RANLIB"; then
6624 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6630 test -z "$as_dir" && as_dir=.
6631 for ac_exec_ext in '' $ac_executable_extensions; do
6632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6633 ac_cv_prog_ac_ct_RANLIB="ranlib"
6634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6643 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6644 if test -n "$ac_ct_RANLIB"; then
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6646 $as_echo "$ac_ct_RANLIB" >&6; }
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6649 $as_echo "no" >&6; }
6652 if test "x$ac_ct_RANLIB" = x; then
6655 case $cross_compiling:$ac_tool_warned in
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6658 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6659 ac_tool_warned=yes ;;
6661 RANLIB=$ac_ct_RANLIB
6664 RANLIB="$ac_cv_prog_RANLIB"
6667 test -z "$RANLIB" && RANLIB=:
6674 # Determine commands to create old-style static archives.
6675 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6676 old_postinstall_cmds='chmod 644 $oldlib'
6677 old_postuninstall_cmds=
6679 if test -n "$RANLIB"; then
6682 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6685 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6688 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6693 lock_old_archive_extraction=yes ;;
6695 lock_old_archive_extraction=no ;;
6736 # If no C compiler was specified, use CC.
6739 # If no C compiler flags were specified, use CFLAGS.
6740 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6742 # Allow CC to be a program name with arguments.
6746 # Check for command to grab the raw symbol name followed by C symbol from nm.
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6748 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6749 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6750 $as_echo_n "(cached) " >&6
6753 # These are sane defaults that work on at least a few old systems.
6754 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6756 # Character class describing NM global symbol codes.
6757 symcode='[BCDEGRST]'
6759 # Regexp to match symbols that can be accessed directly from C.
6760 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6762 # Define system-specific variables.
6767 cygwin* | mingw* | pw32* | cegcc*)
6768 symcode='[ABCDGISTW]'
6771 if test "$host_cpu" = ia64; then
6772 symcode='[ABCDEGRST]'
6776 symcode='[BCDEGRST]'
6779 symcode='[BCDEGQRST]'
6790 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6798 # If we're using GNU nm, then use its standard symbol codes.
6799 case `$NM -V 2>&1` in
6800 *GNU* | *'with BFD'*)
6801 symcode='[ABCDGIRSTW]' ;;
6804 # Transform an extracted symbol line into a proper C declaration.
6805 # Some systems (esp. on ia64) link data and code symbols differently,
6806 # so use this general approach.
6807 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6809 # Transform an extracted symbol line into symbol name and symbol address
6810 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6811 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'"
6813 # Handle CRLF in mingw tool chain
6817 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6821 # Try without a prefix underscore, then with it.
6822 for ac_symprfx in "" "_"; do
6824 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6825 symxfrm="\\1 $ac_symprfx\\2 \\2"
6827 # Write the raw and C identifiers.
6828 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6829 # Fake it for dumpbin and say T for any non-static function
6830 # and D for any global variable.
6831 # Also find C++ and __fastcall symbols from MSVC++,
6832 # which start with @ or ?.
6833 lt_cv_sys_global_symbol_pipe="$AWK '"\
6834 " {last_section=section; section=\$ 3};"\
6835 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6836 " \$ 0!~/External *\|/{next};"\
6837 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6838 " {if(hide[section]) next};"\
6839 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6840 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6841 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6842 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6843 " ' prfx=^$ac_symprfx"
6845 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6848 # Check to see that the pipe works correctly.
6852 cat > conftest.$ac_ext <<_LT_EOF
6857 void nm_test_func(void);
6858 void nm_test_func(void){}
6862 int main(){nm_test_var='a';nm_test_func();return(0);}
6865 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6866 (eval $ac_compile) 2>&5
6868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6869 test $ac_status = 0; }; then
6870 # Now try to grab the symbols.
6872 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6873 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6876 test $ac_status = 0; } && test -s "$nlist"; then
6877 # Try sorting and uniquifying the output.
6878 if sort "$nlist" | uniq > "$nlist"T; then
6879 mv -f "$nlist"T "$nlist"
6884 # Make sure that we snagged all the symbols we need.
6885 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6886 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6887 cat <<_LT_EOF > conftest.$ac_ext
6893 # Now generate the symbol file.
6894 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6896 cat <<_LT_EOF >> conftest.$ac_ext
6898 /* The mapping between symbol names and symbols. */
6903 lt__PROGRAM__LTX_preloaded_symbols[] =
6905 { "@PROGRAM@", (void *) 0 },
6907 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6908 cat <<\_LT_EOF >> conftest.$ac_ext
6912 /* This works around a problem in FreeBSD linker */
6913 #ifdef FREEBSD_WORKAROUND
6914 static const void *lt_preloaded_setup() {
6915 return lt__PROGRAM__LTX_preloaded_symbols;
6923 # Now try linking the two files.
6924 mv conftest.$ac_objext conftstm.$ac_objext
6925 lt_save_LIBS="$LIBS"
6926 lt_save_CFLAGS="$CFLAGS"
6927 LIBS="conftstm.$ac_objext"
6928 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6929 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6930 (eval $ac_link) 2>&5
6932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6933 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6936 LIBS="$lt_save_LIBS"
6937 CFLAGS="$lt_save_CFLAGS"
6939 echo "cannot find nm_test_func in $nlist" >&5
6942 echo "cannot find nm_test_var in $nlist" >&5
6945 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6948 echo "$progname: failed program was:" >&5
6949 cat conftest.$ac_ext >&5
6951 rm -rf conftest* conftst*
6953 # Do not use the global_symbol_pipe unless it works.
6954 if test "$pipe_works" = yes; then
6957 lt_cv_sys_global_symbol_pipe=
6963 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6964 lt_cv_sys_global_symbol_to_cdecl=
6966 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6968 $as_echo "failed" >&6; }
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6971 $as_echo "ok" >&6; }
6995 # Check whether --enable-libtool-lock was given.
6996 if test "${enable_libtool_lock+set}" = set; then :
6997 enableval=$enable_libtool_lock;
7000 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7002 # Some flags need to be propagated to the compiler or linker for good
7006 # Find out which ABI we are using.
7007 echo 'int i;' > conftest.$ac_ext
7008 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7009 (eval $ac_compile) 2>&5
7011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7012 test $ac_status = 0; }; then
7013 case `/usr/bin/file conftest.$ac_objext` in
7025 # Find out which ABI we are using.
7026 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7027 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7028 (eval $ac_compile) 2>&5
7030 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7031 test $ac_status = 0; }; then
7032 if test "$lt_cv_prog_gnu_ld" = yes; then
7033 case `/usr/bin/file conftest.$ac_objext` in
7035 LD="${LD-ld} -melf32bsmip"
7038 LD="${LD-ld} -melf32bmipn32"
7041 LD="${LD-ld} -melf64bmip"
7045 case `/usr/bin/file conftest.$ac_objext` in
7061 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7062 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7063 # Find out which ABI we are using.
7064 echo 'int i;' > conftest.$ac_ext
7065 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7066 (eval $ac_compile) 2>&5
7068 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7069 test $ac_status = 0; }; then
7070 case `/usr/bin/file conftest.o` in
7073 x86_64-*kfreebsd*-gnu)
7074 LD="${LD-ld} -m elf_i386_fbsd"
7077 LD="${LD-ld} -m elf_i386"
7079 ppc64-*linux*|powerpc64-*linux*)
7080 LD="${LD-ld} -m elf32ppclinux"
7083 LD="${LD-ld} -m elf_s390"
7086 LD="${LD-ld} -m elf32_sparc"
7092 x86_64-*kfreebsd*-gnu)
7093 LD="${LD-ld} -m elf_x86_64_fbsd"
7096 LD="${LD-ld} -m elf_x86_64"
7098 ppc*-*linux*|powerpc*-*linux*)
7099 LD="${LD-ld} -m elf64ppc"
7101 s390*-*linux*|s390*-*tpf*)
7102 LD="${LD-ld} -m elf64_s390"
7105 LD="${LD-ld} -m elf64_sparc"
7115 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7116 SAVE_CFLAGS="$CFLAGS"
7117 CFLAGS="$CFLAGS -belf"
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7119 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7120 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7121 $as_echo_n "(cached) " >&6
7124 ac_cpp='$CPP $CPPFLAGS'
7125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7129 if test x$gcc_no_link = xyes; then
7130 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7133 /* end confdefs.h. */
7143 if ac_fn_c_try_link "$LINENO"; then :
7144 lt_cv_cc_needs_belf=yes
7146 lt_cv_cc_needs_belf=no
7148 rm -f core conftest.err conftest.$ac_objext \
7149 conftest$ac_exeext conftest.$ac_ext
7151 ac_cpp='$CPP $CPPFLAGS'
7152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7158 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7159 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7160 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7161 CFLAGS="$SAVE_CFLAGS"
7165 # Find out which ABI we are using.
7166 echo 'int i;' > conftest.$ac_ext
7167 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7168 (eval $ac_compile) 2>&5
7170 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7171 test $ac_status = 0; }; then
7172 case `/usr/bin/file conftest.o` in
7174 case $lt_cv_prog_gnu_ld in
7175 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7177 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7189 need_locks="$enable_libtool_lock"
7193 rhapsody* | darwin*)
7194 if test -n "$ac_tool_prefix"; then
7195 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7196 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7198 $as_echo_n "checking for $ac_word... " >&6; }
7199 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7200 $as_echo_n "(cached) " >&6
7202 if test -n "$DSYMUTIL"; then
7203 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7209 test -z "$as_dir" && as_dir=.
7210 for ac_exec_ext in '' $ac_executable_extensions; do
7211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7212 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7222 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7223 if test -n "$DSYMUTIL"; then
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7225 $as_echo "$DSYMUTIL" >&6; }
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7228 $as_echo "no" >&6; }
7233 if test -z "$ac_cv_prog_DSYMUTIL"; then
7234 ac_ct_DSYMUTIL=$DSYMUTIL
7235 # Extract the first word of "dsymutil", so it can be a program name with args.
7236 set dummy dsymutil; ac_word=$2
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7238 $as_echo_n "checking for $ac_word... " >&6; }
7239 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7240 $as_echo_n "(cached) " >&6
7242 if test -n "$ac_ct_DSYMUTIL"; then
7243 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7249 test -z "$as_dir" && as_dir=.
7250 for ac_exec_ext in '' $ac_executable_extensions; do
7251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7252 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7262 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7263 if test -n "$ac_ct_DSYMUTIL"; then
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7265 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7268 $as_echo "no" >&6; }
7271 if test "x$ac_ct_DSYMUTIL" = x; then
7274 case $cross_compiling:$ac_tool_warned in
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7277 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7278 ac_tool_warned=yes ;;
7280 DSYMUTIL=$ac_ct_DSYMUTIL
7283 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7286 if test -n "$ac_tool_prefix"; then
7287 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7288 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7290 $as_echo_n "checking for $ac_word... " >&6; }
7291 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7292 $as_echo_n "(cached) " >&6
7294 if test -n "$NMEDIT"; then
7295 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7301 test -z "$as_dir" && as_dir=.
7302 for ac_exec_ext in '' $ac_executable_extensions; do
7303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7304 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7314 NMEDIT=$ac_cv_prog_NMEDIT
7315 if test -n "$NMEDIT"; then
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7317 $as_echo "$NMEDIT" >&6; }
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7320 $as_echo "no" >&6; }
7325 if test -z "$ac_cv_prog_NMEDIT"; then
7326 ac_ct_NMEDIT=$NMEDIT
7327 # Extract the first word of "nmedit", so it can be a program name with args.
7328 set dummy nmedit; ac_word=$2
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7330 $as_echo_n "checking for $ac_word... " >&6; }
7331 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7332 $as_echo_n "(cached) " >&6
7334 if test -n "$ac_ct_NMEDIT"; then
7335 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7341 test -z "$as_dir" && as_dir=.
7342 for ac_exec_ext in '' $ac_executable_extensions; do
7343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7344 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7354 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7355 if test -n "$ac_ct_NMEDIT"; then
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7357 $as_echo "$ac_ct_NMEDIT" >&6; }
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7360 $as_echo "no" >&6; }
7363 if test "x$ac_ct_NMEDIT" = x; then
7366 case $cross_compiling:$ac_tool_warned in
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7369 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7370 ac_tool_warned=yes ;;
7372 NMEDIT=$ac_ct_NMEDIT
7375 NMEDIT="$ac_cv_prog_NMEDIT"
7378 if test -n "$ac_tool_prefix"; then
7379 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7380 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7382 $as_echo_n "checking for $ac_word... " >&6; }
7383 if test "${ac_cv_prog_LIPO+set}" = set; then :
7384 $as_echo_n "(cached) " >&6
7386 if test -n "$LIPO"; then
7387 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7393 test -z "$as_dir" && as_dir=.
7394 for ac_exec_ext in '' $ac_executable_extensions; do
7395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7396 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7406 LIPO=$ac_cv_prog_LIPO
7407 if test -n "$LIPO"; then
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7409 $as_echo "$LIPO" >&6; }
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7412 $as_echo "no" >&6; }
7417 if test -z "$ac_cv_prog_LIPO"; then
7419 # Extract the first word of "lipo", so it can be a program name with args.
7420 set dummy lipo; ac_word=$2
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7422 $as_echo_n "checking for $ac_word... " >&6; }
7423 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7424 $as_echo_n "(cached) " >&6
7426 if test -n "$ac_ct_LIPO"; then
7427 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7433 test -z "$as_dir" && as_dir=.
7434 for ac_exec_ext in '' $ac_executable_extensions; do
7435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7436 ac_cv_prog_ac_ct_LIPO="lipo"
7437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7446 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7447 if test -n "$ac_ct_LIPO"; then
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7449 $as_echo "$ac_ct_LIPO" >&6; }
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7452 $as_echo "no" >&6; }
7455 if test "x$ac_ct_LIPO" = x; then
7458 case $cross_compiling:$ac_tool_warned in
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7461 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7462 ac_tool_warned=yes ;;
7467 LIPO="$ac_cv_prog_LIPO"
7470 if test -n "$ac_tool_prefix"; then
7471 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7472 set dummy ${ac_tool_prefix}otool; ac_word=$2
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7474 $as_echo_n "checking for $ac_word... " >&6; }
7475 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7476 $as_echo_n "(cached) " >&6
7478 if test -n "$OTOOL"; then
7479 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7485 test -z "$as_dir" && as_dir=.
7486 for ac_exec_ext in '' $ac_executable_extensions; do
7487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7488 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7498 OTOOL=$ac_cv_prog_OTOOL
7499 if test -n "$OTOOL"; then
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7501 $as_echo "$OTOOL" >&6; }
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7504 $as_echo "no" >&6; }
7509 if test -z "$ac_cv_prog_OTOOL"; then
7511 # Extract the first word of "otool", so it can be a program name with args.
7512 set dummy otool; ac_word=$2
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7514 $as_echo_n "checking for $ac_word... " >&6; }
7515 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7516 $as_echo_n "(cached) " >&6
7518 if test -n "$ac_ct_OTOOL"; then
7519 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7525 test -z "$as_dir" && as_dir=.
7526 for ac_exec_ext in '' $ac_executable_extensions; do
7527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7528 ac_cv_prog_ac_ct_OTOOL="otool"
7529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7538 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7539 if test -n "$ac_ct_OTOOL"; then
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7541 $as_echo "$ac_ct_OTOOL" >&6; }
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7544 $as_echo "no" >&6; }
7547 if test "x$ac_ct_OTOOL" = x; then
7550 case $cross_compiling:$ac_tool_warned in
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7553 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7554 ac_tool_warned=yes ;;
7559 OTOOL="$ac_cv_prog_OTOOL"
7562 if test -n "$ac_tool_prefix"; then
7563 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7564 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7566 $as_echo_n "checking for $ac_word... " >&6; }
7567 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7568 $as_echo_n "(cached) " >&6
7570 if test -n "$OTOOL64"; then
7571 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7577 test -z "$as_dir" && as_dir=.
7578 for ac_exec_ext in '' $ac_executable_extensions; do
7579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7580 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7590 OTOOL64=$ac_cv_prog_OTOOL64
7591 if test -n "$OTOOL64"; then
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7593 $as_echo "$OTOOL64" >&6; }
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7596 $as_echo "no" >&6; }
7601 if test -z "$ac_cv_prog_OTOOL64"; then
7602 ac_ct_OTOOL64=$OTOOL64
7603 # Extract the first word of "otool64", so it can be a program name with args.
7604 set dummy otool64; ac_word=$2
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7606 $as_echo_n "checking for $ac_word... " >&6; }
7607 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7608 $as_echo_n "(cached) " >&6
7610 if test -n "$ac_ct_OTOOL64"; then
7611 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7617 test -z "$as_dir" && as_dir=.
7618 for ac_exec_ext in '' $ac_executable_extensions; do
7619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7620 ac_cv_prog_ac_ct_OTOOL64="otool64"
7621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7630 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7631 if test -n "$ac_ct_OTOOL64"; then
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7633 $as_echo "$ac_ct_OTOOL64" >&6; }
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7636 $as_echo "no" >&6; }
7639 if test "x$ac_ct_OTOOL64" = x; then
7642 case $cross_compiling:$ac_tool_warned in
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7645 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7646 ac_tool_warned=yes ;;
7648 OTOOL64=$ac_ct_OTOOL64
7651 OTOOL64="$ac_cv_prog_OTOOL64"
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7681 $as_echo_n "checking for -single_module linker flag... " >&6; }
7682 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7683 $as_echo_n "(cached) " >&6
7685 lt_cv_apple_cc_single_mod=no
7686 if test -z "${LT_MULTI_MODULE}"; then
7687 # By default we will add the -single_module flag. You can override
7688 # by either setting the environment variable LT_MULTI_MODULE
7689 # non-empty at configure time, or by adding -multi_module to the
7691 rm -rf libconftest.dylib*
7692 echo "int foo(void){return 1;}" > conftest.c
7693 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7694 -dynamiclib -Wl,-single_module conftest.c" >&5
7695 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7696 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7698 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7699 lt_cv_apple_cc_single_mod=yes
7701 cat conftest.err >&5
7703 rm -rf libconftest.dylib*
7707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7708 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7710 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7711 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7712 $as_echo_n "(cached) " >&6
7714 lt_cv_ld_exported_symbols_list=no
7715 save_LDFLAGS=$LDFLAGS
7716 echo "_main" > conftest.sym
7717 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7718 if test x$gcc_no_link = xyes; then
7719 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7722 /* end confdefs.h. */
7732 if ac_fn_c_try_link "$LINENO"; then :
7733 lt_cv_ld_exported_symbols_list=yes
7735 lt_cv_ld_exported_symbols_list=no
7737 rm -f core conftest.err conftest.$ac_objext \
7738 conftest$ac_exeext conftest.$ac_ext
7739 LDFLAGS="$save_LDFLAGS"
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7743 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7745 $as_echo_n "checking for -force_load linker flag... " >&6; }
7746 if test "${lt_cv_ld_force_load+set}" = set; then :
7747 $as_echo_n "(cached) " >&6
7749 lt_cv_ld_force_load=no
7750 cat > conftest.c << _LT_EOF
7751 int forced_loaded() { return 2;}
7753 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7754 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7755 echo "$AR cru libconftest.a conftest.o" >&5
7756 $AR cru libconftest.a conftest.o 2>&5
7757 cat > conftest.c << _LT_EOF
7758 int main() { return 0;}
7760 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7761 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7763 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7764 lt_cv_ld_force_load=yes
7766 cat conftest.err >&5
7768 rm -f conftest.err libconftest.a conftest conftest.c
7769 rm -rf conftest.dSYM
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7773 $as_echo "$lt_cv_ld_force_load" >&6; }
7775 rhapsody* | darwin1.[012])
7776 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7778 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7779 darwin*) # darwin 5.x on
7780 # if running on 10.5 or later, the deployment target defaults
7781 # to the OS version, if on x86, and 10.4, the deployment
7782 # target defaults to 10.4. Don't you love it?
7783 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7784 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7785 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7787 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7789 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7793 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7794 _lt_dar_single_mod='$single_module'
7796 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7797 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7799 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7801 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7802 _lt_dsymutil='~$DSYMUTIL $lib || :'
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7810 $as_echo_n "checking for ANSI C header files... " >&6; }
7811 if test "${ac_cv_header_stdc+set}" = set; then :
7812 $as_echo_n "(cached) " >&6
7814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7815 /* end confdefs.h. */
7829 if ac_fn_c_try_compile "$LINENO"; then :
7830 ac_cv_header_stdc=yes
7832 ac_cv_header_stdc=no
7834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7836 if test $ac_cv_header_stdc = yes; then
7837 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7839 /* end confdefs.h. */
7843 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7844 $EGREP "memchr" >/dev/null 2>&1; then :
7847 ac_cv_header_stdc=no
7853 if test $ac_cv_header_stdc = yes; then
7854 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7856 /* end confdefs.h. */
7860 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7861 $EGREP "free" >/dev/null 2>&1; then :
7864 ac_cv_header_stdc=no
7870 if test $ac_cv_header_stdc = yes; then
7871 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7872 if test "$cross_compiling" = yes; then :
7875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7876 /* end confdefs.h. */
7879 #if ((' ' & 0x0FF) == 0x020)
7880 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7881 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7883 # define ISLOWER(c) \
7884 (('a' <= (c) && (c) <= 'i') \
7885 || ('j' <= (c) && (c) <= 'r') \
7886 || ('s' <= (c) && (c) <= 'z'))
7887 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7890 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7895 for (i = 0; i < 256; i++)
7896 if (XOR (islower (i), ISLOWER (i))
7897 || toupper (i) != TOUPPER (i))
7902 if ac_fn_c_try_run "$LINENO"; then :
7905 ac_cv_header_stdc=no
7907 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7908 conftest.$ac_objext conftest.beam conftest.$ac_ext
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7914 $as_echo "$ac_cv_header_stdc" >&6; }
7915 if test $ac_cv_header_stdc = yes; then
7917 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7921 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7922 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7923 inttypes.h stdint.h unistd.h
7925 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7926 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7928 eval as_val=\$$as_ac_Header
7929 if test "x$as_val" = x""yes; then :
7930 cat >>confdefs.h <<_ACEOF
7931 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7939 for ac_header in dlfcn.h
7941 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7943 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7944 cat >>confdefs.h <<_ACEOF
7945 #define HAVE_DLFCN_H 1
7965 # Check whether --enable-shared was given.
7966 if test "${enable_shared+set}" = set; then :
7967 enableval=$enable_shared; p=${PACKAGE-default}
7969 yes) enable_shared=yes ;;
7970 no) enable_shared=no ;;
7973 # Look at the argument we got. We use all the common list separators.
7974 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7975 for pkg in $enableval; do
7977 if test "X$pkg" = "X$p"; then
7996 # Check whether --enable-static was given.
7997 if test "${enable_static+set}" = set; then :
7998 enableval=$enable_static; p=${PACKAGE-default}
8000 yes) enable_static=yes ;;
8001 no) enable_static=no ;;
8004 # Look at the argument we got. We use all the common list separators.
8005 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8006 for pkg in $enableval; do
8008 if test "X$pkg" = "X$p"; then
8028 # Check whether --with-pic was given.
8029 if test "${with_pic+set}" = set; then :
8030 withval=$with_pic; pic_mode="$withval"
8036 test -z "$pic_mode" && pic_mode=default
8044 # Check whether --enable-fast-install was given.
8045 if test "${enable_fast_install+set}" = set; then :
8046 enableval=$enable_fast_install; p=${PACKAGE-default}
8048 yes) enable_fast_install=yes ;;
8049 no) enable_fast_install=no ;;
8051 enable_fast_install=no
8052 # Look at the argument we got. We use all the common list separators.
8053 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8054 for pkg in $enableval; do
8056 if test "X$pkg" = "X$p"; then
8057 enable_fast_install=yes
8064 enable_fast_install=yes
8077 # This can be used to rebuild libtool when needed
8078 LIBTOOL_DEPS="$ltmain"
8080 # Always use our own libtool.
8081 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8108 test -z "$LN_S" && LN_S="ln -s"
8123 if test -n "${ZSH_VERSION+set}" ; then
8124 setopt NO_GLOB_SUBST
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8128 $as_echo_n "checking for objdir... " >&6; }
8129 if test "${lt_cv_objdir+set}" = set; then :
8130 $as_echo_n "(cached) " >&6
8132 rm -f .libs 2>/dev/null
8133 mkdir .libs 2>/dev/null
8134 if test -d .libs; then
8137 # MS-DOS does not allow filenames that begin with a dot.
8140 rmdir .libs 2>/dev/null
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8143 $as_echo "$lt_cv_objdir" >&6; }
8144 objdir=$lt_cv_objdir
8150 cat >>confdefs.h <<_ACEOF
8151 #define LT_OBJDIR "$lt_cv_objdir/"
8159 # AIX sometimes has problems with the GCC collect2 program. For some
8160 # reason, if we set the COLLECT_NAMES environment variable, the problems
8161 # vanish in a puff of smoke.
8162 if test "X${COLLECT_NAMES+set}" != Xset; then
8164 export COLLECT_NAMES
8171 can_build_shared=yes
8173 # All known linkers require a `.a' archive for static linking (except MSVC,
8174 # which needs '.lib').
8177 with_gnu_ld="$lt_cv_prog_gnu_ld"
8180 old_CFLAGS="$CFLAGS"
8182 # Set sane defaults for various variables
8183 test -z "$CC" && CC=cc
8184 test -z "$LTCC" && LTCC=$CC
8185 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8186 test -z "$LD" && LD=ld
8187 test -z "$ac_objext" && ac_objext=o
8189 for cc_temp in $compiler""; do
8191 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8192 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8197 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8200 # Only perform the check for file, if the check method requires it
8201 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8202 case $deplibs_check_method in
8204 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8206 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8207 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8208 $as_echo_n "(cached) " >&6
8212 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8215 lt_save_MAGIC_CMD="$MAGIC_CMD"
8216 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8217 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8218 for ac_dir in $ac_dummy; do
8220 test -z "$ac_dir" && ac_dir=.
8221 if test -f $ac_dir/${ac_tool_prefix}file; then
8222 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8223 if test -n "$file_magic_test_file"; then
8224 case $deplibs_check_method in
8226 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8227 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8228 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8229 $EGREP "$file_magic_regex" > /dev/null; then
8234 *** Warning: the command libtool uses to detect shared libraries,
8235 *** $file_magic_cmd, produces output that libtool cannot recognize.
8236 *** The result is that libtool may fail to recognize shared libraries
8237 *** as such. This will affect the creation of libtool libraries that
8238 *** depend on shared libraries, but programs linked with such libtool
8239 *** libraries will work regardless of this problem. Nevertheless, you
8240 *** may want to report the problem to your system manager and/or to
8241 *** bug-libtool@gnu.org
8251 MAGIC_CMD="$lt_save_MAGIC_CMD"
8256 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8257 if test -n "$MAGIC_CMD"; then
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8259 $as_echo "$MAGIC_CMD" >&6; }
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8262 $as_echo "no" >&6; }
8269 if test -z "$lt_cv_path_MAGIC_CMD"; then
8270 if test -n "$ac_tool_prefix"; then
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8272 $as_echo_n "checking for file... " >&6; }
8273 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8274 $as_echo_n "(cached) " >&6
8278 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8281 lt_save_MAGIC_CMD="$MAGIC_CMD"
8282 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8283 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8284 for ac_dir in $ac_dummy; do
8286 test -z "$ac_dir" && ac_dir=.
8287 if test -f $ac_dir/file; then
8288 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8289 if test -n "$file_magic_test_file"; then
8290 case $deplibs_check_method in
8292 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8293 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8294 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8295 $EGREP "$file_magic_regex" > /dev/null; then
8300 *** Warning: the command libtool uses to detect shared libraries,
8301 *** $file_magic_cmd, produces output that libtool cannot recognize.
8302 *** The result is that libtool may fail to recognize shared libraries
8303 *** as such. This will affect the creation of libtool libraries that
8304 *** depend on shared libraries, but programs linked with such libtool
8305 *** libraries will work regardless of this problem. Nevertheless, you
8306 *** may want to report the problem to your system manager and/or to
8307 *** bug-libtool@gnu.org
8317 MAGIC_CMD="$lt_save_MAGIC_CMD"
8322 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8323 if test -n "$MAGIC_CMD"; then
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8325 $as_echo "$MAGIC_CMD" >&6; }
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8328 $as_echo "no" >&6; }
8341 # Use C for the default configuration in the libtool script
8345 ac_cpp='$CPP $CPPFLAGS'
8346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8351 # Source file extension for C test sources.
8354 # Object file extension for compiled C test sources.
8358 # Code to be used in simple compile tests
8359 lt_simple_compile_test_code="int some_variable = 0;"
8361 # Code to be used in simple link tests
8362 lt_simple_link_test_code='int main(){return(0);}'
8370 # If no C compiler was specified, use CC.
8373 # If no C compiler flags were specified, use CFLAGS.
8374 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8376 # Allow CC to be a program name with arguments.
8379 # Save the default compiler, since it gets overwritten when the other
8380 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8381 compiler_DEFAULT=$CC
8383 # save warnings/boilerplate of simple test code
8384 ac_outfile=conftest.$ac_objext
8385 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8386 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8387 _lt_compiler_boilerplate=`cat conftest.err`
8390 ac_outfile=conftest.$ac_objext
8391 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8392 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8393 _lt_linker_boilerplate=`cat conftest.err`
8398 ## There is no encapsulation within the following macros, do not change
8399 ## the running order or otherwise move them around unless you know exactly
8400 ## what you are doing...
8401 if test -n "$compiler"; then
8403 lt_prog_compiler_no_builtin_flag=
8405 if test "$GCC" = yes; then
8406 case $cc_basename in
8408 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8410 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8414 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8415 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8416 $as_echo_n "(cached) " >&6
8418 lt_cv_prog_compiler_rtti_exceptions=no
8419 ac_outfile=conftest.$ac_objext
8420 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8421 lt_compiler_flag="-fno-rtti -fno-exceptions"
8422 # Insert the option either (1) after the last *FLAGS variable, or
8423 # (2) before a word containing "conftest.", or (3) at the end.
8424 # Note that $ac_compile itself does not contain backslashes and begins
8425 # with a dollar sign (not a hyphen), so the echo should work correctly.
8426 # The option is referenced via a variable to avoid confusing sed.
8427 lt_compile=`echo "$ac_compile" | $SED \
8428 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8429 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8430 -e 's:$: $lt_compiler_flag:'`
8431 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8432 (eval "$lt_compile" 2>conftest.err)
8434 cat conftest.err >&5
8435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8436 if (exit $ac_status) && test -s "$ac_outfile"; then
8437 # The compiler can only warn and ignore the option if not recognized
8438 # So say no if there are warnings other than the usual output.
8439 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8440 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8441 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8442 lt_cv_prog_compiler_rtti_exceptions=yes
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8449 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8451 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8452 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8464 lt_prog_compiler_wl=
8465 lt_prog_compiler_pic=
8466 lt_prog_compiler_static=
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8469 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8471 if test "$GCC" = yes; then
8472 lt_prog_compiler_wl='-Wl,'
8473 lt_prog_compiler_static='-static'
8477 # All AIX code is PIC.
8478 if test "$host_cpu" = ia64; then
8479 # AIX 5 now supports IA64 processor
8480 lt_prog_compiler_static='-Bstatic'
8487 # see comment about AmigaOS4 .so support
8488 lt_prog_compiler_pic='-fPIC'
8491 # FIXME: we need at least 68020 code to build shared libraries, but
8492 # adding the `-m68020' flag to GCC prevents building anything better,
8494 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8499 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8500 # PIC is the default for these OSes.
8503 mingw* | cygwin* | pw32* | os2* | cegcc*)
8504 # This hack is so that the source file can tell whether it is being
8505 # built for inclusion in a dll (and should export symbols for example).
8506 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8507 # (--disable-auto-import) libraries
8508 lt_prog_compiler_pic='-DDLL_EXPORT'
8511 darwin* | rhapsody*)
8512 # PIC is the default on this platform
8513 # Common symbols not allowed in MH_DYLIB files
8514 lt_prog_compiler_pic='-fno-common'
8518 # PIC is the default for Haiku.
8519 # The "-static" flag exists, but is broken.
8520 lt_prog_compiler_static=
8524 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8525 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8526 # sets the default TLS model and affects inlining.
8532 lt_prog_compiler_pic='-fPIC'
8538 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8539 # Instead, we relocate shared libraries at runtime.
8543 # Just because we use GCC doesn't mean we suddenly get shared libraries
8544 # on systems that don't support them.
8545 lt_prog_compiler_can_build_shared=no
8550 # QNX uses GNU C++, but need to define -shared option too, otherwise
8552 lt_prog_compiler_pic='-fPIC -shared'
8556 if test -d /usr/nec; then
8557 lt_prog_compiler_pic=-Kconform_pic
8562 lt_prog_compiler_pic='-fPIC'
8566 case $cc_basename in
8567 nvcc*) # Cuda Compiler Driver 2.2
8568 lt_prog_compiler_wl='-Xlinker '
8569 lt_prog_compiler_pic='-Xcompiler -fPIC'
8573 # PORTME Check for flag to pass linker flags through the system compiler.
8576 lt_prog_compiler_wl='-Wl,'
8577 if test "$host_cpu" = ia64; then
8578 # AIX 5 now supports IA64 processor
8579 lt_prog_compiler_static='-Bstatic'
8581 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8585 mingw* | cygwin* | pw32* | os2* | cegcc*)
8586 # This hack is so that the source file can tell whether it is being
8587 # built for inclusion in a dll (and should export symbols for example).
8588 lt_prog_compiler_pic='-DDLL_EXPORT'
8591 hpux9* | hpux10* | hpux11*)
8592 lt_prog_compiler_wl='-Wl,'
8593 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8600 lt_prog_compiler_pic='+Z'
8603 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8604 lt_prog_compiler_static='${wl}-a ${wl}archive'
8607 irix5* | irix6* | nonstopux*)
8608 lt_prog_compiler_wl='-Wl,'
8609 # PIC (with -KPIC) is the default.
8610 lt_prog_compiler_static='-non_shared'
8613 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8614 case $cc_basename in
8615 # old Intel for x86_64 which still supported -KPIC.
8617 lt_prog_compiler_wl='-Wl,'
8618 lt_prog_compiler_pic='-KPIC'
8619 lt_prog_compiler_static='-static'
8621 # icc used to be incompatible with GCC.
8622 # ICC 10 doesn't accept -KPIC any more.
8624 lt_prog_compiler_wl='-Wl,'
8625 lt_prog_compiler_pic='-fPIC'
8626 lt_prog_compiler_static='-static'
8628 # Lahey Fortran 8.1.
8630 lt_prog_compiler_wl='-Wl,'
8631 lt_prog_compiler_pic='--shared'
8632 lt_prog_compiler_static='--static'
8634 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8635 # Portland Group compilers (*not* the Pentium gcc compiler,
8636 # which looks to be a dead project)
8637 lt_prog_compiler_wl='-Wl,'
8638 lt_prog_compiler_pic='-fpic'
8639 lt_prog_compiler_static='-Bstatic'
8642 lt_prog_compiler_wl='-Wl,'
8643 # All Alpha code is PIC.
8644 lt_prog_compiler_static='-non_shared'
8646 xl* | bgxl* | bgf* | mpixl*)
8647 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8648 lt_prog_compiler_wl='-Wl,'
8649 lt_prog_compiler_pic='-qpic'
8650 lt_prog_compiler_static='-qstaticlink'
8653 case `$CC -V 2>&1 | sed 5q` in
8654 *Sun\ F* | *Sun*Fortran*)
8655 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8656 lt_prog_compiler_pic='-KPIC'
8657 lt_prog_compiler_static='-Bstatic'
8658 lt_prog_compiler_wl=''
8662 lt_prog_compiler_pic='-KPIC'
8663 lt_prog_compiler_static='-Bstatic'
8664 lt_prog_compiler_wl='-Wl,'
8672 lt_prog_compiler_pic='-KPIC'
8673 lt_prog_compiler_static='-Bstatic'
8677 # QNX uses GNU C++, but need to define -shared option too, otherwise
8679 lt_prog_compiler_pic='-fPIC -shared'
8682 osf3* | osf4* | osf5*)
8683 lt_prog_compiler_wl='-Wl,'
8684 # All OSF/1 code is PIC.
8685 lt_prog_compiler_static='-non_shared'
8689 lt_prog_compiler_static='-non_shared'
8693 lt_prog_compiler_pic='-KPIC'
8694 lt_prog_compiler_static='-Bstatic'
8695 case $cc_basename in
8697 lt_prog_compiler_wl='-Qoption ld ';;
8699 lt_prog_compiler_wl='-Wl,';;
8704 lt_prog_compiler_wl='-Qoption ld '
8705 lt_prog_compiler_pic='-PIC'
8706 lt_prog_compiler_static='-Bstatic'
8709 sysv4 | sysv4.2uw2* | sysv4.3*)
8710 lt_prog_compiler_wl='-Wl,'
8711 lt_prog_compiler_pic='-KPIC'
8712 lt_prog_compiler_static='-Bstatic'
8716 if test -d /usr/nec ;then
8717 lt_prog_compiler_pic='-Kconform_pic'
8718 lt_prog_compiler_static='-Bstatic'
8722 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8723 lt_prog_compiler_wl='-Wl,'
8724 lt_prog_compiler_pic='-KPIC'
8725 lt_prog_compiler_static='-Bstatic'
8729 lt_prog_compiler_wl='-Wl,'
8730 lt_prog_compiler_can_build_shared=no
8734 lt_prog_compiler_pic='-pic'
8735 lt_prog_compiler_static='-Bstatic'
8739 lt_prog_compiler_can_build_shared=no
8745 # For platforms which do not support PIC, -DPIC is meaningless:
8747 lt_prog_compiler_pic=
8750 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8754 $as_echo "$lt_prog_compiler_pic" >&6; }
8762 # Check to make sure the PIC flag actually works.
8764 if test -n "$lt_prog_compiler_pic"; then
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8766 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8767 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8768 $as_echo_n "(cached) " >&6
8770 lt_cv_prog_compiler_pic_works=no
8771 ac_outfile=conftest.$ac_objext
8772 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8773 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8774 # Insert the option either (1) after the last *FLAGS variable, or
8775 # (2) before a word containing "conftest.", or (3) at the end.
8776 # Note that $ac_compile itself does not contain backslashes and begins
8777 # with a dollar sign (not a hyphen), so the echo should work correctly.
8778 # The option is referenced via a variable to avoid confusing sed.
8779 lt_compile=`echo "$ac_compile" | $SED \
8780 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8781 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8782 -e 's:$: $lt_compiler_flag:'`
8783 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8784 (eval "$lt_compile" 2>conftest.err)
8786 cat conftest.err >&5
8787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8788 if (exit $ac_status) && test -s "$ac_outfile"; then
8789 # The compiler can only warn and ignore the option if not recognized
8790 # So say no if there are warnings other than the usual output.
8791 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8792 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8793 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8794 lt_cv_prog_compiler_pic_works=yes
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8801 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8803 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8804 case $lt_prog_compiler_pic in
8806 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8809 lt_prog_compiler_pic=
8810 lt_prog_compiler_can_build_shared=no
8821 # Check to make sure the static flag actually works.
8823 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8825 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8826 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8827 $as_echo_n "(cached) " >&6
8829 lt_cv_prog_compiler_static_works=no
8830 save_LDFLAGS="$LDFLAGS"
8831 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8832 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8833 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8834 # The linker can only warn and ignore the option if not recognized
8835 # So say no if there are warnings
8836 if test -s conftest.err; then
8837 # Append any errors to the config.log.
8838 cat conftest.err 1>&5
8839 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8840 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8841 if diff conftest.exp conftest.er2 >/dev/null; then
8842 lt_cv_prog_compiler_static_works=yes
8845 lt_cv_prog_compiler_static_works=yes
8849 LDFLAGS="$save_LDFLAGS"
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8853 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8855 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8858 lt_prog_compiler_static=
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8868 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8869 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8870 $as_echo_n "(cached) " >&6
8872 lt_cv_prog_compiler_c_o=no
8873 $RM -r conftest 2>/dev/null
8877 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8879 lt_compiler_flag="-o out/conftest2.$ac_objext"
8880 # Insert the option either (1) after the last *FLAGS variable, or
8881 # (2) before a word containing "conftest.", or (3) at the end.
8882 # Note that $ac_compile itself does not contain backslashes and begins
8883 # with a dollar sign (not a hyphen), so the echo should work correctly.
8884 lt_compile=`echo "$ac_compile" | $SED \
8885 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8886 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8887 -e 's:$: $lt_compiler_flag:'`
8888 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8889 (eval "$lt_compile" 2>out/conftest.err)
8891 cat out/conftest.err >&5
8892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8893 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8895 # The compiler can only warn and ignore the option if not recognized
8896 # So say no if there are warnings
8897 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8898 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8899 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8900 lt_cv_prog_compiler_c_o=yes
8905 # SGI C++ compiler will create directory out/ii_files/ for
8906 # template instantiation
8907 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8908 $RM out/* && rmdir out
8914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8915 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8923 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8924 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8925 $as_echo_n "(cached) " >&6
8927 lt_cv_prog_compiler_c_o=no
8928 $RM -r conftest 2>/dev/null
8932 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8934 lt_compiler_flag="-o out/conftest2.$ac_objext"
8935 # Insert the option either (1) after the last *FLAGS variable, or
8936 # (2) before a word containing "conftest.", or (3) at the end.
8937 # Note that $ac_compile itself does not contain backslashes and begins
8938 # with a dollar sign (not a hyphen), so the echo should work correctly.
8939 lt_compile=`echo "$ac_compile" | $SED \
8940 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8941 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8942 -e 's:$: $lt_compiler_flag:'`
8943 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8944 (eval "$lt_compile" 2>out/conftest.err)
8946 cat out/conftest.err >&5
8947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8948 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8950 # The compiler can only warn and ignore the option if not recognized
8951 # So say no if there are warnings
8952 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8953 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8954 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8955 lt_cv_prog_compiler_c_o=yes
8960 # SGI C++ compiler will create directory out/ii_files/ for
8961 # template instantiation
8962 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8963 $RM out/* && rmdir out
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8970 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8975 hard_links="nottested"
8976 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8977 # do not overwrite the value of need_locks provided by the user
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8979 $as_echo_n "checking if we can lock with hard links... " >&6; }
8982 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8984 ln conftest.a conftest.b 2>&5 || hard_links=no
8985 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8987 $as_echo "$hard_links" >&6; }
8988 if test "$hard_links" = no; then
8989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8990 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9003 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9006 allow_undefined_flag=
9007 always_export_symbols=no
9009 archive_expsym_cmds=
9010 compiler_needs_object=no
9011 enable_shared_with_static_runtimes=no
9012 export_dynamic_flag_spec=
9013 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9014 hardcode_automatic=no
9016 hardcode_direct_absolute=no
9017 hardcode_libdir_flag_spec=
9018 hardcode_libdir_flag_spec_ld=
9019 hardcode_libdir_separator=
9021 hardcode_shlibpath_var=unsupported
9023 link_all_deplibs=unknown
9026 old_archive_from_new_cmds=
9027 old_archive_from_expsyms_cmds=
9028 thread_safe_flag_spec=
9029 whole_archive_flag_spec=
9030 # include_expsyms should be a list of space-separated symbols to be *always*
9031 # included in the symbol list
9033 # exclude_expsyms can be an extended regexp of symbols to exclude
9034 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9035 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9036 # as well as any symbol that contains `d'.
9037 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9038 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9039 # platforms (ab)use it in PIC code, but their linkers get confused if
9040 # the symbol is explicitly referenced. Since portable code cannot
9041 # rely on this symbol name, it's probably fine to never include it in
9042 # preloaded symbol tables.
9043 # Exclude shared library initialization/finalization symbols.
9044 extract_expsyms_cmds=
9047 cygwin* | mingw* | pw32* | cegcc*)
9048 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9049 # When not using gcc, we currently assume that we are using
9050 # Microsoft Visual C++.
9051 if test "$GCC" != yes; then
9056 # we just hope/assume this is gcc and not c89 (= MSVC++)
9066 # On some targets, GNU ld is compatible enough with the native linker
9067 # that we're better off using the native interface for both.
9068 lt_use_gnu_ld_interface=no
9069 if test "$with_gnu_ld" = yes; then
9072 # The AIX port of GNU ld has always aspired to compatibility
9073 # with the native linker. However, as the warning in the GNU ld
9074 # block says, versions before 2.19.5* couldn't really create working
9075 # shared libraries, regardless of the interface used.
9076 case `$LD -v 2>&1` in
9077 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9078 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9079 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9081 lt_use_gnu_ld_interface=yes
9086 lt_use_gnu_ld_interface=yes
9091 if test "$lt_use_gnu_ld_interface" = yes; then
9092 # If archive_cmds runs LD, not CC, wlarc should be empty
9095 # Set some defaults for GNU ld with shared library support. These
9096 # are reset later if shared libraries are not supported. Putting them
9097 # here allows them to be overridden if necessary.
9098 runpath_var=LD_RUN_PATH
9099 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9100 export_dynamic_flag_spec='${wl}--export-dynamic'
9101 # ancient GNU ld didn't support --whole-archive et. al.
9102 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9103 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9105 whole_archive_flag_spec=
9107 supports_anon_versioning=no
9108 case `$LD -v 2>&1` in
9109 *GNU\ gold*) supports_anon_versioning=yes ;;
9110 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9111 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9112 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9113 *\ 2.11.*) ;; # other 2.11 versions
9114 *) supports_anon_versioning=yes ;;
9117 # See if GNU ld supports shared libraries.
9120 # On AIX/PPC, the GNU linker is very broken
9121 if test "$host_cpu" != ia64; then
9125 *** Warning: the GNU linker, at least up to release 2.19, is reported
9126 *** to be unable to reliably create shared libraries on AIX.
9127 *** Therefore, libtool is disabling shared libraries support. If you
9128 *** really care for shared libraries, you may want to install binutils
9129 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9130 *** You will then need to restart the configuration process.
9139 # see comment about AmigaOS4 .so support
9140 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9141 archive_expsym_cmds=''
9144 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)'
9145 hardcode_libdir_flag_spec='-L$libdir'
9146 hardcode_minus_L=yes
9152 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9153 allow_undefined_flag=unsupported
9154 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9155 # support --undefined. This deserves some investigation. FIXME
9156 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9162 cygwin* | mingw* | pw32* | cegcc*)
9163 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9164 # as there is no search path for DLLs.
9165 hardcode_libdir_flag_spec='-L$libdir'
9166 export_dynamic_flag_spec='${wl}--export-all-symbols'
9167 allow_undefined_flag=unsupported
9168 always_export_symbols=no
9169 enable_shared_with_static_runtimes=yes
9170 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9172 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9173 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9174 # If the export-symbols file already is a .def file (1st line
9175 # is EXPORTS), use it as is; otherwise, prepend...
9176 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9177 cp $export_symbols $output_objdir/$soname.def;
9179 echo EXPORTS > $output_objdir/$soname.def;
9180 cat $export_symbols >> $output_objdir/$soname.def;
9182 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9189 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9190 link_all_deplibs=yes
9195 hardcode_shlibpath_var=no
9196 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9197 export_dynamic_flag_spec='${wl}-E'
9198 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9199 # Instead, shared libraries are loaded at an image base (0x10000000 by
9200 # default) and relocated if they conflict, which is a slow very memory
9201 # consuming and fragmenting process. To avoid this, we pick a random,
9202 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9203 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9204 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9205 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'
9208 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9210 if test "$host_os" = linux-dietlibc; then
9211 case $cc_basename in
9212 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9215 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9216 && test "$tmp_diet" = no
9219 tmp_sharedflag='-shared'
9220 case $cc_basename,$host_cpu in
9221 pgcc*) # Portland Group C compiler
9222 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'
9223 tmp_addflag=' $pic_flag'
9225 pgf77* | pgf90* | pgf95* | pgfortran*)
9226 # Portland Group f77 and f90 compilers
9227 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'
9228 tmp_addflag=' $pic_flag -Mnomain' ;;
9229 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9230 tmp_addflag=' -i_dynamic' ;;
9231 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9232 tmp_addflag=' -i_dynamic -nofor_main' ;;
9233 ifc* | ifort*) # Intel Fortran compiler
9234 tmp_addflag=' -nofor_main' ;;
9235 lf95*) # Lahey Fortran 8.1
9236 whole_archive_flag_spec=
9237 tmp_sharedflag='--shared' ;;
9238 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9239 tmp_sharedflag='-qmkshrobj'
9241 nvcc*) # Cuda Compiler Driver 2.2
9242 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'
9243 compiler_needs_object=yes
9246 case `$CC -V 2>&1 | sed 5q` in
9247 *Sun\ C*) # Sun C 5.9
9248 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'
9249 compiler_needs_object=yes
9250 tmp_sharedflag='-G' ;;
9251 *Sun\ F*) # Sun Fortran 8.3
9252 tmp_sharedflag='-G' ;;
9254 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9256 if test "x$supports_anon_versioning" = xyes; then
9257 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9258 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9259 echo "local: *; };" >> $output_objdir/$libname.ver~
9260 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9263 case $cc_basename in
9264 xlf* | bgf* | bgxlf* | mpixlf*)
9265 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9266 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9267 hardcode_libdir_flag_spec=
9268 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9269 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9270 if test "x$supports_anon_versioning" = xyes; then
9271 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9272 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9273 echo "local: *; };" >> $output_objdir/$libname.ver~
9274 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9284 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9285 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9288 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9289 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9294 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9298 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9299 *** create shared libraries on Solaris systems. Therefore, libtool
9300 *** is disabling shared libraries support. We urge you to upgrade GNU
9301 *** binutils to release 2.9.1 or newer. Another option is to modify
9302 *** your PATH or compiler configuration so that the native linker is
9303 *** used, and then restart.
9306 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9307 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9308 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9314 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9315 case `$LD -v 2>&1` in
9316 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9320 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9321 *** reliably create shared libraries on SCO systems. Therefore, libtool
9322 *** is disabling shared libraries support. We urge you to upgrade GNU
9323 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9324 *** your PATH or compiler configuration so that the native linker is
9325 *** used, and then restart.
9330 # For security reasons, it is highly recommended that you always
9331 # use absolute paths for naming shared libraries, and exclude the
9332 # DT_RUNPATH tag from executables and libraries. But doing so
9333 # requires that you compile everything twice, which is a pain.
9334 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9335 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
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'
9346 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9349 hardcode_shlibpath_var=no
9353 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9354 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9355 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9362 if test "$ld_shlibs" = no; then
9364 hardcode_libdir_flag_spec=
9365 export_dynamic_flag_spec=
9366 whole_archive_flag_spec=
9369 # PORTME fill in a description of your system's linker (not GNU ld)
9372 allow_undefined_flag=unsupported
9373 always_export_symbols=yes
9374 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'
9375 # Note: this linker hardcodes the directories in LIBPATH if there
9376 # are no directories specified by -L.
9377 hardcode_minus_L=yes
9378 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9379 # Neither direct hardcoding nor static linking is supported with a
9381 hardcode_direct=unsupported
9386 if test "$host_cpu" = ia64; then
9387 # On IA64, the linker does run time linking by default, so we don't
9388 # have to do anything special.
9389 aix_use_runtimelinking=no
9390 exp_sym_flag='-Bexport'
9393 # If we're using GNU nm, then we don't want the "-C" option.
9394 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9395 # Also, AIX nm treats weak defined symbols like other global
9396 # defined symbols, whereas GNU nm marks them as "W".
9397 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9398 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'
9400 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'
9402 aix_use_runtimelinking=no
9404 # Test if we are trying to use run time linking or normal
9405 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9406 # need to do runtime linking.
9407 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9408 for ld_flag in $LDFLAGS; do
9409 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9410 aix_use_runtimelinking=yes
9417 exp_sym_flag='-bexport'
9418 no_entry_flag='-bnoentry'
9421 # When large executables or shared objects are built, AIX ld can
9422 # have problems creating the table of contents. If linking a library
9423 # or program results in "error TOC overflow" add -mminimal-toc to
9424 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9425 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9429 hardcode_direct_absolute=yes
9430 hardcode_libdir_separator=':'
9431 link_all_deplibs=yes
9432 file_list_spec='${wl}-f,'
9434 if test "$GCC" = yes; then
9435 case $host_os in aix4.[012]|aix4.[012].*)
9436 # We only want to do this on AIX 4.2 and lower, the check
9437 # below for broken collect2 doesn't work under 4.3+
9438 collect2name=`${CC} -print-prog-name=collect2`
9439 if test -f "$collect2name" &&
9440 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9442 # We have reworked collect2
9445 # We have old collect2
9446 hardcode_direct=unsupported
9447 # It fails to find uninstalled libraries when the uninstalled
9448 # path is not listed in the libpath. Setting hardcode_minus_L
9449 # to unsupported forces relinking
9450 hardcode_minus_L=yes
9451 hardcode_libdir_flag_spec='-L$libdir'
9452 hardcode_libdir_separator=
9456 shared_flag='-shared'
9457 if test "$aix_use_runtimelinking" = yes; then
9458 shared_flag="$shared_flag "'${wl}-G'
9462 if test "$host_cpu" = ia64; then
9463 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9464 # chokes on -Wl,-G. The following line is correct:
9467 if test "$aix_use_runtimelinking" = yes; then
9468 shared_flag='${wl}-G'
9470 shared_flag='${wl}-bM:SRE'
9475 export_dynamic_flag_spec='${wl}-bexpall'
9476 # It seems that -bexpall does not export symbols beginning with
9477 # underscore (_), so it is better to generate a list of symbols to export.
9478 always_export_symbols=yes
9479 if test "$aix_use_runtimelinking" = yes; then
9480 # Warning - without using the other runtime loading flags (-brtl),
9481 # -berok will link without error, but may produce a broken library.
9482 allow_undefined_flag='-berok'
9483 # Determine the default libpath from the value encoded in an
9485 if test x$gcc_no_link = xyes; then
9486 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9489 /* end confdefs.h. */
9499 if ac_fn_c_try_link "$LINENO"; then :
9501 lt_aix_libpath_sed='
9502 /Import File Strings/,/^$/ {
9508 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9509 # Check for a 64-bit object if we didn't find anything.
9510 if test -z "$aix_libpath"; then
9511 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9514 rm -f core conftest.err conftest.$ac_objext \
9515 conftest$ac_exeext conftest.$ac_ext
9516 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9518 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9519 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"
9521 if test "$host_cpu" = ia64; then
9522 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9523 allow_undefined_flag="-z nodefs"
9524 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"
9526 # Determine the default libpath from the value encoded in an
9528 if test x$gcc_no_link = xyes; then
9529 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9532 /* end confdefs.h. */
9542 if ac_fn_c_try_link "$LINENO"; then :
9544 lt_aix_libpath_sed='
9545 /Import File Strings/,/^$/ {
9551 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9552 # Check for a 64-bit object if we didn't find anything.
9553 if test -z "$aix_libpath"; then
9554 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9557 rm -f core conftest.err conftest.$ac_objext \
9558 conftest$ac_exeext conftest.$ac_ext
9559 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9561 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9562 # Warning - without using the other run time loading flags,
9563 # -berok will link without error, but may produce a broken library.
9564 no_undefined_flag=' ${wl}-bernotok'
9565 allow_undefined_flag=' ${wl}-berok'
9566 if test "$with_gnu_ld" = yes; then
9567 # We only use this code for GNU lds that support --whole-archive.
9568 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9570 # Exported symbols can be pulled into shared objects from archives
9571 whole_archive_flag_spec='$convenience'
9573 archive_cmds_need_lc=yes
9574 # This is similar to how AIX traditionally builds its shared libraries.
9575 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'
9583 # see comment about AmigaOS4 .so support
9584 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9585 archive_expsym_cmds=''
9588 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)'
9589 hardcode_libdir_flag_spec='-L$libdir'
9590 hardcode_minus_L=yes
9596 export_dynamic_flag_spec=-rdynamic
9599 cygwin* | mingw* | pw32* | cegcc*)
9600 # When not using gcc, we currently assume that we are using
9601 # Microsoft Visual C++.
9602 # hardcode_libdir_flag_spec is actually meaningless, as there is
9603 # no search path for DLLs.
9604 hardcode_libdir_flag_spec=' '
9605 allow_undefined_flag=unsupported
9606 # Tell ltmain to make .lib files, not .a files.
9608 # Tell ltmain to make .dll files, not .so files.
9610 # FIXME: Setting linknames here is a bad hack.
9611 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9612 # The linker will automatically build a .lib file if we build a DLL.
9613 old_archive_from_new_cmds='true'
9614 # FIXME: Should let the user specify the lib program.
9615 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9616 fix_srcfile_path='`cygpath -w "$srcfile"`'
9617 enable_shared_with_static_runtimes=yes
9620 darwin* | rhapsody*)
9623 archive_cmds_need_lc=no
9625 hardcode_automatic=yes
9626 hardcode_shlibpath_var=unsupported
9627 if test "$lt_cv_ld_force_load" = "yes"; then
9628 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\"`'
9630 whole_archive_flag_spec=''
9632 link_all_deplibs=yes
9633 allow_undefined_flag="$_lt_dar_allow_undefined"
9634 case $cc_basename in
9635 ifort*) _lt_dar_can_shared=yes ;;
9636 *) _lt_dar_can_shared=$GCC ;;
9638 if test "$_lt_dar_can_shared" = "yes"; then
9639 output_verbose_link_cmd=func_echo_all
9640 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9641 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9642 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}"
9643 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}"
9652 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9653 hardcode_libdir_flag_spec='-L$libdir'
9654 hardcode_shlibpath_var=no
9661 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9662 # support. Future versions do this automatically, but an explicit c++rt0.o
9663 # does not break anything, and helps significantly (at the cost of a little
9666 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9667 hardcode_libdir_flag_spec='-R$libdir'
9669 hardcode_shlibpath_var=no
9672 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9674 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9676 hardcode_minus_L=yes
9677 hardcode_shlibpath_var=no
9680 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9681 freebsd* | dragonfly*)
9682 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9683 hardcode_libdir_flag_spec='-R$libdir'
9685 hardcode_shlibpath_var=no
9689 if test "$GCC" = yes; then
9690 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'
9692 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'
9694 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9695 hardcode_libdir_separator=:
9698 # hardcode_minus_L: Not really in the search PATH,
9699 # but as the default location of the library.
9700 hardcode_minus_L=yes
9701 export_dynamic_flag_spec='${wl}-E'
9705 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9706 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9708 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9710 if test "$with_gnu_ld" = no; then
9711 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9712 hardcode_libdir_flag_spec_ld='+b $libdir'
9713 hardcode_libdir_separator=:
9715 hardcode_direct_absolute=yes
9716 export_dynamic_flag_spec='${wl}-E'
9717 # hardcode_minus_L: Not really in the search PATH,
9718 # but as the default location of the library.
9719 hardcode_minus_L=yes
9724 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9727 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9730 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9733 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9739 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9742 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9746 # Older versions of the 11.00 compiler do not understand -b yet
9747 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9749 $as_echo_n "checking if $CC understands -b... " >&6; }
9750 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9751 $as_echo_n "(cached) " >&6
9753 lt_cv_prog_compiler__b=no
9754 save_LDFLAGS="$LDFLAGS"
9755 LDFLAGS="$LDFLAGS -b"
9756 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9757 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9758 # The linker can only warn and ignore the option if not recognized
9759 # So say no if there are warnings
9760 if test -s conftest.err; then
9761 # Append any errors to the config.log.
9762 cat conftest.err 1>&5
9763 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9764 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9765 if diff conftest.exp conftest.er2 >/dev/null; then
9766 lt_cv_prog_compiler__b=yes
9769 lt_cv_prog_compiler__b=yes
9773 LDFLAGS="$save_LDFLAGS"
9776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9777 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9779 if test x"$lt_cv_prog_compiler__b" = xyes; then
9780 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9782 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9788 if test "$with_gnu_ld" = no; then
9789 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9790 hardcode_libdir_separator=:
9795 hardcode_shlibpath_var=no
9799 hardcode_direct_absolute=yes
9800 export_dynamic_flag_spec='${wl}-E'
9802 # hardcode_minus_L: Not really in the search PATH,
9803 # but as the default location of the library.
9804 hardcode_minus_L=yes
9810 irix5* | irix6* | nonstopux*)
9811 if test "$GCC" = yes; then
9812 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'
9813 # Try to use the -exported_symbol ld option, if it does not
9814 # work, assume that -exports_file does not work either and
9815 # implicitly export all symbols.
9816 save_LDFLAGS="$LDFLAGS"
9817 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9818 if test x$gcc_no_link = xyes; then
9819 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9822 /* end confdefs.h. */
9825 if ac_fn_c_try_link "$LINENO"; then :
9826 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'
9829 rm -f core conftest.err conftest.$ac_objext \
9830 conftest$ac_exeext conftest.$ac_ext
9831 LDFLAGS="$save_LDFLAGS"
9833 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'
9834 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'
9836 archive_cmds_need_lc='no'
9837 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9838 hardcode_libdir_separator=:
9840 link_all_deplibs=yes
9844 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9845 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9847 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9849 hardcode_libdir_flag_spec='-R$libdir'
9851 hardcode_shlibpath_var=no
9855 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9857 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9858 hardcode_libdir_separator=:
9859 hardcode_shlibpath_var=no
9866 if test -f /usr/libexec/ld.so; then
9868 hardcode_shlibpath_var=no
9869 hardcode_direct_absolute=yes
9870 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9871 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9872 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9873 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9874 export_dynamic_flag_spec='${wl}-E'
9877 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9878 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9879 hardcode_libdir_flag_spec='-R$libdir'
9882 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9883 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9893 hardcode_libdir_flag_spec='-L$libdir'
9894 hardcode_minus_L=yes
9895 allow_undefined_flag=unsupported
9896 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'
9897 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9901 if test "$GCC" = yes; then
9902 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9903 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'
9905 allow_undefined_flag=' -expect_unresolved \*'
9906 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'
9908 archive_cmds_need_lc='no'
9909 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9910 hardcode_libdir_separator=:
9913 osf4* | osf5*) # as osf3* with the addition of -msym flag
9914 if test "$GCC" = yes; then
9915 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9916 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'
9917 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9919 allow_undefined_flag=' -expect_unresolved \*'
9920 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'
9921 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~
9922 $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'
9924 # Both c and cxx compiler support -rpath directly
9925 hardcode_libdir_flag_spec='-rpath $libdir'
9927 archive_cmds_need_lc='no'
9928 hardcode_libdir_separator=:
9932 no_undefined_flag=' -z defs'
9933 if test "$GCC" = yes; then
9935 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9936 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9937 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9939 case `$CC -V 2>&1` in
9942 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9943 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9944 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9948 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9949 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9950 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9954 hardcode_libdir_flag_spec='-R$libdir'
9955 hardcode_shlibpath_var=no
9957 solaris2.[0-5] | solaris2.[0-5].*) ;;
9959 # The compiler driver will combine and reorder linker options,
9960 # but understands `-z linker_flag'. GCC discards it without `$wl',
9961 # but is careful enough not to reorder.
9962 # Supported since Solaris 2.6 (maybe 2.5.1?)
9963 if test "$GCC" = yes; then
9964 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9966 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9970 link_all_deplibs=yes
9974 if test "x$host_vendor" = xsequent; then
9975 # Use $CC to link under sequent, because it throws in some extra .o
9976 # files that make .init and .fini sections work.
9977 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9979 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9981 hardcode_libdir_flag_spec='-L$libdir'
9983 hardcode_minus_L=yes
9984 hardcode_shlibpath_var=no
9988 case $host_vendor in
9990 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9991 hardcode_direct=yes # is this really true???
9994 ## LD is ld it makes a PLAMLIB
9995 ## CC just makes a GrossModule.
9996 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9997 reload_cmds='$CC -r -o $output$reload_objs'
10001 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10002 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10005 runpath_var='LD_RUN_PATH'
10006 hardcode_shlibpath_var=no
10010 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10011 hardcode_shlibpath_var=no
10012 export_dynamic_flag_spec='-Bexport'
10016 if test -d /usr/nec; then
10017 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10018 hardcode_shlibpath_var=no
10019 runpath_var=LD_RUN_PATH
10020 hardcode_runpath_var=yes
10025 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10026 no_undefined_flag='${wl}-z,text'
10027 archive_cmds_need_lc=no
10028 hardcode_shlibpath_var=no
10029 runpath_var='LD_RUN_PATH'
10031 if test "$GCC" = yes; then
10032 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10033 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10035 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10036 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10040 sysv5* | sco3.2v5* | sco5v6*)
10041 # Note: We can NOT use -z defs as we might desire, because we do not
10042 # link with -lc, and that would cause any symbols used from libc to
10043 # always be unresolved, which means just about no library would
10044 # ever link correctly. If we're not using GNU ld we use -z text
10045 # though, which does catch some bad symbols but isn't as heavy-handed
10047 no_undefined_flag='${wl}-z,text'
10048 allow_undefined_flag='${wl}-z,nodefs'
10049 archive_cmds_need_lc=no
10050 hardcode_shlibpath_var=no
10051 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10052 hardcode_libdir_separator=':'
10053 link_all_deplibs=yes
10054 export_dynamic_flag_spec='${wl}-Bexport'
10055 runpath_var='LD_RUN_PATH'
10057 if test "$GCC" = yes; then
10058 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10059 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10061 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10062 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10067 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10068 hardcode_libdir_flag_spec='-L$libdir'
10069 hardcode_shlibpath_var=no
10077 if test x$host_vendor = xsni; then
10079 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10080 export_dynamic_flag_spec='${wl}-Blargedynsym'
10086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10087 $as_echo "$ld_shlibs" >&6; }
10088 test "$ld_shlibs" = no && can_build_shared=no
10090 with_gnu_ld=$with_gnu_ld
10107 # Do we need to explicitly link libc?
10109 case "x$archive_cmds_need_lc" in
10111 # Assume -lc should be added
10112 archive_cmds_need_lc=yes
10114 if test "$enable_shared" = yes && test "$GCC" = yes; then
10115 case $archive_cmds in
10117 # FIXME: we may have to deal with multi-command sequences.
10120 # Test whether the compiler implicitly links with -lc since on some
10121 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10122 # to ld, don't add -lc before -lgcc.
10123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10124 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10125 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10126 $as_echo_n "(cached) " >&6
10129 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10131 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10132 (eval $ac_compile) 2>&5
10134 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10135 test $ac_status = 0; } 2>conftest.err; then
10138 libobjs=conftest.$ac_objext
10140 wl=$lt_prog_compiler_wl
10141 pic_flag=$lt_prog_compiler_pic
10147 lt_save_allow_undefined_flag=$allow_undefined_flag
10148 allow_undefined_flag=
10149 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10150 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10153 test $ac_status = 0; }
10155 lt_cv_archive_cmds_need_lc=no
10157 lt_cv_archive_cmds_need_lc=yes
10159 allow_undefined_flag=$lt_save_allow_undefined_flag
10161 cat conftest.err 1>&5
10166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10167 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10168 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10332 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10334 if test "$GCC" = yes; then
10336 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10337 *) lt_awk_arg="/^libraries:/" ;;
10340 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10341 *) lt_sed_strip_eq="s,=/,/,g" ;;
10343 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10344 case $lt_search_path_spec in
10346 # if the path contains ";" then we assume it to be the separator
10347 # otherwise default to the standard path separator (i.e. ":") - it is
10348 # assumed that no part of a normal pathname contains ";" but that should
10349 # okay in the real world where ";" in dirpaths is itself problematic.
10350 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10353 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10356 # Ok, now we have the path, separated by spaces, we can step through it
10357 # and add multilib dir if necessary.
10358 lt_tmp_lt_search_path_spec=
10359 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10360 for lt_sys_path in $lt_search_path_spec; do
10361 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10362 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10364 test -d "$lt_sys_path" && \
10365 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10368 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10369 BEGIN {RS=" "; FS="/|\n";} {
10372 for (lt_i = NF; lt_i > 0; lt_i--) {
10373 if ($lt_i != "" && $lt_i != ".") {
10374 if ($lt_i == "..") {
10377 if (lt_count == 0) {
10378 lt_foo="/" $lt_i lt_foo;
10385 if (lt_foo != "") { lt_freq[lt_foo]++; }
10386 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10388 # AWK program above erroneously prepends '/' to C:/dos/paths
10391 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10392 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10394 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10396 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10398 library_names_spec=
10399 libname_spec='lib$name'
10403 postuninstall_cmds=
10407 shlibpath_overrides_runpath=unknown
10409 dynamic_linker="$host_os ld.so"
10410 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10411 need_lib_prefix=unknown
10412 hardcode_into_libs=no
10414 # when you set need_version to no, make sure it does not cause -set_version
10415 # flags to be left without arguments
10416 need_version=unknown
10421 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10422 shlibpath_var=LIBPATH
10424 # AIX 3 has no versioning support, so we append a major version to the name.
10425 soname_spec='${libname}${release}${shared_ext}$major'
10432 hardcode_into_libs=yes
10433 if test "$host_cpu" = ia64; then
10434 # AIX 5 supports IA64
10435 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10436 shlibpath_var=LD_LIBRARY_PATH
10438 # With GCC up to 2.95.x, collect2 would create an import file
10439 # for dependence libraries. The import file would start with
10440 # the line `#! .'. This would cause the generated library to
10441 # depend on `.', always an invalid library. This was fixed in
10442 # development snapshots of GCC prior to 3.0.
10444 aix4 | aix4.[01] | aix4.[01].*)
10445 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10447 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10450 can_build_shared=no
10454 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10455 # soname into executable. Probably we can add versioning support to
10456 # collect2, so additional links can be useful in future.
10457 if test "$aix_use_runtimelinking" = yes; then
10458 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10459 # instead of lib<name>.a to let people know that these are not
10460 # typical AIX shared libraries.
10461 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10463 # We preserve .a as extension for shared libraries through AIX4.2
10464 # and later when we are not doing run time linking.
10465 library_names_spec='${libname}${release}.a $libname.a'
10466 soname_spec='${libname}${release}${shared_ext}$major'
10468 shlibpath_var=LIBPATH
10475 # Since July 2007 AmigaOS4 officially supports .so libraries.
10476 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10477 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10480 library_names_spec='$libname.ixlibrary $libname.a'
10481 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10482 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'
10488 library_names_spec='${libname}${shared_ext}'
10489 dynamic_linker="$host_os ld.so"
10490 shlibpath_var=LIBRARY_PATH
10496 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10497 soname_spec='${libname}${release}${shared_ext}$major'
10498 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10499 shlibpath_var=LD_LIBRARY_PATH
10500 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10501 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10502 # the default ld.so.conf also contains /usr/contrib/lib and
10503 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10504 # libtool to hard-code these into programs
10507 cygwin* | mingw* | pw32* | cegcc*)
10508 version_type=windows
10513 case $GCC,$host_os in
10514 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10515 library_names_spec='$libname.dll.a'
10516 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10517 postinstall_cmds='base_file=`basename \${file}`~
10518 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10519 dldir=$destdir/`dirname \$dlpath`~
10520 test -d \$dldir || mkdir -p \$dldir~
10521 $install_prog $dir/$dlname \$dldir/$dlname~
10522 chmod a+x \$dldir/$dlname~
10523 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10524 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10526 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10527 dlpath=$dir/\$dldll~
10529 shlibpath_overrides_runpath=yes
10533 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10534 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10536 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10539 # MinGW DLLs use traditional 'lib' prefix
10540 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10543 # pw32 DLLs use 'pw' prefix rather than 'lib'
10544 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10550 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10553 dynamic_linker='Win32 ld.exe'
10554 # FIXME: first we should search . and the directory the executable is in
10558 darwin* | rhapsody*)
10559 dynamic_linker="$host_os dyld"
10560 version_type=darwin
10563 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10564 soname_spec='${libname}${release}${major}$shared_ext'
10565 shlibpath_overrides_runpath=yes
10566 shlibpath_var=DYLD_LIBRARY_PATH
10567 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10569 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10570 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10577 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10578 soname_spec='${libname}${release}${shared_ext}$major'
10579 shlibpath_var=LD_LIBRARY_PATH
10586 freebsd* | dragonfly*)
10587 # DragonFly does not have aout. When/if they implement a new
10588 # versioning mechanism, adjust this.
10589 if test -x /usr/bin/objformat; then
10590 objformat=`/usr/bin/objformat`
10593 freebsd[123]*) objformat=aout ;;
10594 *) objformat=elf ;;
10597 version_type=freebsd-$objformat
10598 case $version_type in
10600 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10605 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10609 shlibpath_var=LD_LIBRARY_PATH
10612 shlibpath_overrides_runpath=yes
10614 freebsd3.[01]* | freebsdelf3.[01]*)
10615 shlibpath_overrides_runpath=yes
10616 hardcode_into_libs=yes
10618 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10619 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10620 shlibpath_overrides_runpath=no
10621 hardcode_into_libs=yes
10623 *) # from 4.6 on, and DragonFly
10624 shlibpath_overrides_runpath=yes
10625 hardcode_into_libs=yes
10634 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10635 soname_spec='${libname}${release}${shared_ext}$major'
10636 shlibpath_var=LD_LIBRARY_PATH
10637 hardcode_into_libs=yes
10644 dynamic_linker="$host_os runtime_loader"
10645 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10646 soname_spec='${libname}${release}${shared_ext}$major'
10647 shlibpath_var=LIBRARY_PATH
10648 shlibpath_overrides_runpath=yes
10649 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10650 hardcode_into_libs=yes
10653 hpux9* | hpux10* | hpux11*)
10654 # Give a soname corresponding to the major version so that dld.sl refuses to
10655 # link against other versions.
10662 hardcode_into_libs=yes
10663 dynamic_linker="$host_os dld.so"
10664 shlibpath_var=LD_LIBRARY_PATH
10665 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10666 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10667 soname_spec='${libname}${release}${shared_ext}$major'
10668 if test "X$HPUX_IA64_MODE" = X32; then
10669 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10671 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10673 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10677 hardcode_into_libs=yes
10678 dynamic_linker="$host_os dld.sl"
10679 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10680 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10681 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10682 soname_spec='${libname}${release}${shared_ext}$major'
10683 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10684 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10688 dynamic_linker="$host_os dld.sl"
10689 shlibpath_var=SHLIB_PATH
10690 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10691 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10692 soname_spec='${libname}${release}${shared_ext}$major'
10695 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10696 postinstall_cmds='chmod 555 $lib'
10697 # or fails outright, so override atomically:
10698 install_override_mode=555
10705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10706 soname_spec='${libname}${release}${shared_ext}$major'
10707 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10708 shlibpath_var=LD_LIBRARY_PATH
10709 shlibpath_overrides_runpath=no
10710 hardcode_into_libs=yes
10713 irix5* | irix6* | nonstopux*)
10715 nonstopux*) version_type=nonstopux ;;
10717 if test "$lt_cv_prog_gnu_ld" = yes; then
10725 soname_spec='${libname}${release}${shared_ext}$major'
10726 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10728 irix5* | nonstopux*)
10729 libsuff= shlibsuff=
10732 case $LD in # libtool.m4 will add one of these switches to LD
10733 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10734 libsuff= shlibsuff= libmagic=32-bit;;
10735 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10736 libsuff=32 shlibsuff=N32 libmagic=N32;;
10737 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10738 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10739 *) libsuff= shlibsuff= libmagic=never-match;;
10743 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10744 shlibpath_overrides_runpath=no
10745 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10746 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10747 hardcode_into_libs=yes
10750 # No shared lib support for Linux oldld, aout, or coff.
10751 linux*oldld* | linux*aout* | linux*coff*)
10755 # This must be Linux ELF.
10756 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10760 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10761 soname_spec='${libname}${release}${shared_ext}$major'
10762 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10763 shlibpath_var=LD_LIBRARY_PATH
10764 shlibpath_overrides_runpath=no
10766 # Some binutils ld are patched to set DT_RUNPATH
10767 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10768 $as_echo_n "(cached) " >&6
10770 lt_cv_shlibpath_overrides_runpath=no
10771 save_LDFLAGS=$LDFLAGS
10772 save_libdir=$libdir
10773 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10774 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10775 if test x$gcc_no_link = xyes; then
10776 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10779 /* end confdefs.h. */
10789 if ac_fn_c_try_link "$LINENO"; then :
10790 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10791 lt_cv_shlibpath_overrides_runpath=yes
10794 rm -f core conftest.err conftest.$ac_objext \
10795 conftest$ac_exeext conftest.$ac_ext
10796 LDFLAGS=$save_LDFLAGS
10797 libdir=$save_libdir
10801 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10803 # This implies no fast_install, which is unacceptable.
10804 # Some rework will be needed to allow for fast_install
10805 # before this can be enabled.
10806 hardcode_into_libs=yes
10808 # Append ld.so.conf contents to the search path
10809 if test -f /etc/ld.so.conf; then
10810 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' ' '`
10811 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10814 # We used to test for /lib/ld.so.1 and disable shared libraries on
10815 # powerpc, because MkLinux only supported shared libraries with the
10816 # GNU dynamic linker. Since this was broken with cross compilers,
10817 # most powerpc-linux boxes support dynamic linking these days and
10818 # people can always --disable-shared, the test was removed, and we
10819 # assume the GNU/Linux dynamic linker is in use.
10820 dynamic_linker='GNU/Linux ld.so'
10827 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10828 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10829 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10830 dynamic_linker='NetBSD (a.out) ld.so'
10832 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10833 soname_spec='${libname}${release}${shared_ext}$major'
10834 dynamic_linker='NetBSD ld.elf_so'
10836 shlibpath_var=LD_LIBRARY_PATH
10837 shlibpath_overrides_runpath=yes
10838 hardcode_into_libs=yes
10843 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10844 shlibpath_var=LD_LIBRARY_PATH
10845 shlibpath_overrides_runpath=yes
10852 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10853 soname_spec='${libname}${release}${shared_ext}$major'
10854 shlibpath_var=LD_LIBRARY_PATH
10855 shlibpath_overrides_runpath=no
10856 hardcode_into_libs=yes
10857 dynamic_linker='ldqnx.so'
10862 sys_lib_dlsearch_path_spec="/usr/lib"
10864 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10866 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10867 *) need_version=no ;;
10869 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10870 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10871 shlibpath_var=LD_LIBRARY_PATH
10872 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10874 openbsd2.[89] | openbsd2.[89].*)
10875 shlibpath_overrides_runpath=no
10878 shlibpath_overrides_runpath=yes
10882 shlibpath_overrides_runpath=yes
10887 libname_spec='$name'
10890 library_names_spec='$libname${shared_ext} $libname.a'
10891 dynamic_linker='OS/2 ld.exe'
10892 shlibpath_var=LIBPATH
10895 osf3* | osf4* | osf5*)
10899 soname_spec='${libname}${release}${shared_ext}$major'
10900 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10901 shlibpath_var=LD_LIBRARY_PATH
10902 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10903 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10914 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10915 soname_spec='${libname}${release}${shared_ext}$major'
10916 shlibpath_var=LD_LIBRARY_PATH
10917 shlibpath_overrides_runpath=yes
10918 hardcode_into_libs=yes
10919 # ldd complains unless libraries are executable
10920 postinstall_cmds='chmod +x $lib'
10925 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10926 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10927 shlibpath_var=LD_LIBRARY_PATH
10928 shlibpath_overrides_runpath=yes
10929 if test "$with_gnu_ld" = yes; then
10937 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10938 soname_spec='${libname}${release}${shared_ext}$major'
10939 shlibpath_var=LD_LIBRARY_PATH
10940 case $host_vendor in
10942 shlibpath_overrides_runpath=no
10944 runpath_var=LD_RUN_PATH
10952 shlibpath_overrides_runpath=no
10953 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10959 if test -d /usr/nec ;then
10961 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10962 soname_spec='$libname${shared_ext}.$major'
10963 shlibpath_var=LD_LIBRARY_PATH
10967 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10968 version_type=freebsd-elf
10971 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10972 soname_spec='${libname}${release}${shared_ext}$major'
10973 shlibpath_var=LD_LIBRARY_PATH
10974 shlibpath_overrides_runpath=yes
10975 hardcode_into_libs=yes
10976 if test "$with_gnu_ld" = yes; then
10977 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10979 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10982 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10986 sys_lib_dlsearch_path_spec='/usr/lib'
10990 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10994 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10995 shlibpath_var=LD_LIBRARY_PATH
10996 shlibpath_overrides_runpath=no
10997 hardcode_into_libs=yes
11002 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11003 soname_spec='${libname}${release}${shared_ext}$major'
11004 shlibpath_var=LD_LIBRARY_PATH
11011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11012 $as_echo "$dynamic_linker" >&6; }
11013 test "$dynamic_linker" = no && can_build_shared=no
11015 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11016 if test "$GCC" = yes; then
11017 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11020 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11021 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11023 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11024 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11119 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11121 if test -n "$hardcode_libdir_flag_spec" ||
11122 test -n "$runpath_var" ||
11123 test "X$hardcode_automatic" = "Xyes" ; then
11125 # We can hardcode non-existent directories.
11126 if test "$hardcode_direct" != no &&
11127 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11128 # have to relink, otherwise we might link with an installed library
11129 # when we should be linking with a yet-to-be-installed one
11130 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11131 test "$hardcode_minus_L" != no; then
11132 # Linking always hardcodes the temporary library directory.
11133 hardcode_action=relink
11135 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11136 hardcode_action=immediate
11139 # We cannot hardcode anything, or else we can only hardcode existing
11141 hardcode_action=unsupported
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11144 $as_echo "$hardcode_action" >&6; }
11146 if test "$hardcode_action" = relink ||
11147 test "$inherit_rpath" = yes; then
11148 # Fast installation is not supported
11149 enable_fast_install=no
11150 elif test "$shlibpath_overrides_runpath" = yes ||
11151 test "$enable_shared" = no; then
11152 # Fast installation is not necessary
11153 enable_fast_install=needless
11161 if test "x$enable_dlopen" != xyes; then
11162 enable_dlopen=unknown
11163 enable_dlopen_self=unknown
11164 enable_dlopen_self_static=unknown
11171 lt_cv_dlopen="load_add_on"
11173 lt_cv_dlopen_self=yes
11176 mingw* | pw32* | cegcc*)
11177 lt_cv_dlopen="LoadLibrary"
11182 lt_cv_dlopen="dlopen"
11187 # if libdl is installed we need to link against it
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11189 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11190 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11191 $as_echo_n "(cached) " >&6
11193 ac_check_lib_save_LIBS=$LIBS
11195 if test x$gcc_no_link = xyes; then
11196 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11199 /* end confdefs.h. */
11201 /* Override any GCC internal prototype to avoid an error.
11202 Use char because int might match the return type of a GCC
11203 builtin and then its argument prototype would still apply. */
11216 if ac_fn_c_try_link "$LINENO"; then :
11217 ac_cv_lib_dl_dlopen=yes
11219 ac_cv_lib_dl_dlopen=no
11221 rm -f core conftest.err conftest.$ac_objext \
11222 conftest$ac_exeext conftest.$ac_ext
11223 LIBS=$ac_check_lib_save_LIBS
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11226 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11227 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11228 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11231 lt_cv_dlopen="dyld"
11233 lt_cv_dlopen_self=yes
11240 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11241 if test "x$ac_cv_func_shl_load" = x""yes; then :
11242 lt_cv_dlopen="shl_load"
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11245 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11246 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11247 $as_echo_n "(cached) " >&6
11249 ac_check_lib_save_LIBS=$LIBS
11251 if test x$gcc_no_link = xyes; then
11252 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11255 /* end confdefs.h. */
11257 /* Override any GCC internal prototype to avoid an error.
11258 Use char because int might match the return type of a GCC
11259 builtin and then its argument prototype would still apply. */
11267 return shl_load ();
11272 if ac_fn_c_try_link "$LINENO"; then :
11273 ac_cv_lib_dld_shl_load=yes
11275 ac_cv_lib_dld_shl_load=no
11277 rm -f core conftest.err conftest.$ac_objext \
11278 conftest$ac_exeext conftest.$ac_ext
11279 LIBS=$ac_check_lib_save_LIBS
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11282 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11283 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11284 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11286 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11287 if test "x$ac_cv_func_dlopen" = x""yes; then :
11288 lt_cv_dlopen="dlopen"
11290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11291 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11292 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11293 $as_echo_n "(cached) " >&6
11295 ac_check_lib_save_LIBS=$LIBS
11297 if test x$gcc_no_link = xyes; then
11298 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11301 /* end confdefs.h. */
11303 /* Override any GCC internal prototype to avoid an error.
11304 Use char because int might match the return type of a GCC
11305 builtin and then its argument prototype would still apply. */
11318 if ac_fn_c_try_link "$LINENO"; then :
11319 ac_cv_lib_dl_dlopen=yes
11321 ac_cv_lib_dl_dlopen=no
11323 rm -f core conftest.err conftest.$ac_objext \
11324 conftest$ac_exeext conftest.$ac_ext
11325 LIBS=$ac_check_lib_save_LIBS
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11328 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11329 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11330 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11333 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11334 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11335 $as_echo_n "(cached) " >&6
11337 ac_check_lib_save_LIBS=$LIBS
11338 LIBS="-lsvld $LIBS"
11339 if test x$gcc_no_link = xyes; then
11340 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11343 /* end confdefs.h. */
11345 /* Override any GCC internal prototype to avoid an error.
11346 Use char because int might match the return type of a GCC
11347 builtin and then its argument prototype would still apply. */
11360 if ac_fn_c_try_link "$LINENO"; then :
11361 ac_cv_lib_svld_dlopen=yes
11363 ac_cv_lib_svld_dlopen=no
11365 rm -f core conftest.err conftest.$ac_objext \
11366 conftest$ac_exeext conftest.$ac_ext
11367 LIBS=$ac_check_lib_save_LIBS
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11370 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11371 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11372 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11375 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11376 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11377 $as_echo_n "(cached) " >&6
11379 ac_check_lib_save_LIBS=$LIBS
11381 if test x$gcc_no_link = xyes; then
11382 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11385 /* end confdefs.h. */
11387 /* Override any GCC internal prototype to avoid an error.
11388 Use char because int might match the return type of a GCC
11389 builtin and then its argument prototype would still apply. */
11397 return dld_link ();
11402 if ac_fn_c_try_link "$LINENO"; then :
11403 ac_cv_lib_dld_dld_link=yes
11405 ac_cv_lib_dld_dld_link=no
11407 rm -f core conftest.err conftest.$ac_objext \
11408 conftest$ac_exeext conftest.$ac_ext
11409 LIBS=$ac_check_lib_save_LIBS
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11412 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11413 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11414 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11435 if test "x$lt_cv_dlopen" != xno; then
11441 case $lt_cv_dlopen in
11443 save_CPPFLAGS="$CPPFLAGS"
11444 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11446 save_LDFLAGS="$LDFLAGS"
11447 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11450 LIBS="$lt_cv_dlopen_libs $LIBS"
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11453 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11454 if test "${lt_cv_dlopen_self+set}" = set; then :
11455 $as_echo_n "(cached) " >&6
11457 if test "$cross_compiling" = yes; then :
11458 lt_cv_dlopen_self=cross
11460 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11461 lt_status=$lt_dlunknown
11462 cat > conftest.$ac_ext <<_LT_EOF
11463 #line 11463 "configure"
11464 #include "confdefs.h"
11473 # define LT_DLGLOBAL RTLD_GLOBAL
11476 # define LT_DLGLOBAL DL_GLOBAL
11478 # define LT_DLGLOBAL 0
11482 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11483 find out it does not work in some platform. */
11484 #ifndef LT_DLLAZY_OR_NOW
11486 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11489 # define LT_DLLAZY_OR_NOW DL_LAZY
11492 # define LT_DLLAZY_OR_NOW RTLD_NOW
11495 # define LT_DLLAZY_OR_NOW DL_NOW
11497 # define LT_DLLAZY_OR_NOW 0
11504 /* When -fvisbility=hidden is used, assume the code has been annotated
11505 correspondingly for the symbols needed. */
11506 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11507 void fnord () __attribute__((visibility("default")));
11510 void fnord () { int i=42; }
11513 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11514 int status = $lt_dlunknown;
11518 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11521 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11522 else puts (dlerror ());
11524 /* dlclose (self); */
11532 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11533 (eval $ac_link) 2>&5
11535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11536 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11537 (./conftest; exit; ) >&5 2>/dev/null
11539 case x$lt_status in
11540 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11541 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11542 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11545 # compilation failed
11546 lt_cv_dlopen_self=no
11553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11554 $as_echo "$lt_cv_dlopen_self" >&6; }
11556 if test "x$lt_cv_dlopen_self" = xyes; then
11557 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11559 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11560 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11561 $as_echo_n "(cached) " >&6
11563 if test "$cross_compiling" = yes; then :
11564 lt_cv_dlopen_self_static=cross
11566 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11567 lt_status=$lt_dlunknown
11568 cat > conftest.$ac_ext <<_LT_EOF
11569 #line 11569 "configure"
11570 #include "confdefs.h"
11579 # define LT_DLGLOBAL RTLD_GLOBAL
11582 # define LT_DLGLOBAL DL_GLOBAL
11584 # define LT_DLGLOBAL 0
11588 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11589 find out it does not work in some platform. */
11590 #ifndef LT_DLLAZY_OR_NOW
11592 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11595 # define LT_DLLAZY_OR_NOW DL_LAZY
11598 # define LT_DLLAZY_OR_NOW RTLD_NOW
11601 # define LT_DLLAZY_OR_NOW DL_NOW
11603 # define LT_DLLAZY_OR_NOW 0
11610 /* When -fvisbility=hidden is used, assume the code has been annotated
11611 correspondingly for the symbols needed. */
11612 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11613 void fnord () __attribute__((visibility("default")));
11616 void fnord () { int i=42; }
11619 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11620 int status = $lt_dlunknown;
11624 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11627 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11628 else puts (dlerror ());
11630 /* dlclose (self); */
11638 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11639 (eval $ac_link) 2>&5
11641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11642 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11643 (./conftest; exit; ) >&5 2>/dev/null
11645 case x$lt_status in
11646 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11647 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11648 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11651 # compilation failed
11652 lt_cv_dlopen_self_static=no
11659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11660 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11663 CPPFLAGS="$save_CPPFLAGS"
11664 LDFLAGS="$save_LDFLAGS"
11669 case $lt_cv_dlopen_self in
11670 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11671 *) enable_dlopen_self=unknown ;;
11674 case $lt_cv_dlopen_self_static in
11675 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11676 *) enable_dlopen_self_static=unknown ;;
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11699 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11700 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11701 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11702 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11704 $as_echo "yes" >&6; }
11706 # FIXME - insert some real tests, host_os isn't really good enough
11709 if test -n "$STRIP" ; then
11710 striplib="$STRIP -x"
11711 old_striplib="$STRIP -S"
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11713 $as_echo "yes" >&6; }
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11716 $as_echo "no" >&6; }
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11721 $as_echo "no" >&6; }
11737 # Report which library types will actually be built
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11739 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11741 $as_echo "$can_build_shared" >&6; }
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11744 $as_echo_n "checking whether to build shared libraries... " >&6; }
11745 test "$can_build_shared" = "no" && enable_shared=no
11747 # On AIX, shared libraries and static libraries use the same namespace, and
11748 # are all built from PIC.
11751 test "$enable_shared" = yes && enable_static=no
11752 if test -n "$RANLIB"; then
11753 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11754 postinstall_cmds='$RANLIB $lib'
11759 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11760 test "$enable_shared" = yes && enable_static=no
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11765 $as_echo "$enable_shared" >&6; }
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11768 $as_echo_n "checking whether to build static libraries... " >&6; }
11769 # Make sure either enable_shared or enable_static is yes.
11770 test "$enable_shared" = yes || enable_static=yes
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11772 $as_echo "$enable_static" >&6; }
11779 ac_cpp='$CPP $CPPFLAGS'
11780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11786 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11787 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11788 (test "X$CXX" != "Xg++"))) ; then
11790 ac_cpp='$CXXCPP $CPPFLAGS'
11791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11795 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11796 if test -z "$CXXCPP"; then
11797 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11798 $as_echo_n "(cached) " >&6
11800 # Double quotes because CXXCPP needs to be expanded
11801 for CXXCPP in "$CXX -E" "/lib/cpp"
11803 ac_preproc_ok=false
11804 for ac_cxx_preproc_warn_flag in '' yes
11806 # Use a header file that comes with gcc, so configuring glibc
11807 # with a fresh cross-compiler works.
11808 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11809 # <limits.h> exists even on freestanding compilers.
11810 # On the NeXT, cc -E runs the code through the compiler's parser,
11811 # not just through cpp. "Syntax error" is here to catch this case.
11812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11813 /* end confdefs.h. */
11815 # include <limits.h>
11817 # include <assert.h>
11821 if ac_fn_cxx_try_cpp "$LINENO"; then :
11824 # Broken: fails on valid input.
11827 rm -f conftest.err conftest.$ac_ext
11829 # OK, works on sane cases. Now check whether nonexistent headers
11830 # can be detected and how.
11831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11832 /* end confdefs.h. */
11833 #include <ac_nonexistent.h>
11835 if ac_fn_cxx_try_cpp "$LINENO"; then :
11836 # Broken: success on invalid input.
11839 # Passes both tests.
11843 rm -f conftest.err conftest.$ac_ext
11846 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11847 rm -f conftest.err conftest.$ac_ext
11848 if $ac_preproc_ok; then :
11853 ac_cv_prog_CXXCPP=$CXXCPP
11856 CXXCPP=$ac_cv_prog_CXXCPP
11858 ac_cv_prog_CXXCPP=$CXXCPP
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11861 $as_echo "$CXXCPP" >&6; }
11862 ac_preproc_ok=false
11863 for ac_cxx_preproc_warn_flag in '' yes
11865 # Use a header file that comes with gcc, so configuring glibc
11866 # with a fresh cross-compiler works.
11867 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11868 # <limits.h> exists even on freestanding compilers.
11869 # On the NeXT, cc -E runs the code through the compiler's parser,
11870 # not just through cpp. "Syntax error" is here to catch this case.
11871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11872 /* end confdefs.h. */
11874 # include <limits.h>
11876 # include <assert.h>
11880 if ac_fn_cxx_try_cpp "$LINENO"; then :
11883 # Broken: fails on valid input.
11886 rm -f conftest.err conftest.$ac_ext
11888 # OK, works on sane cases. Now check whether nonexistent headers
11889 # can be detected and how.
11890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11891 /* end confdefs.h. */
11892 #include <ac_nonexistent.h>
11894 if ac_fn_cxx_try_cpp "$LINENO"; then :
11895 # Broken: success on invalid input.
11898 # Passes both tests.
11902 rm -f conftest.err conftest.$ac_ext
11905 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11906 rm -f conftest.err conftest.$ac_ext
11907 if $ac_preproc_ok; then :
11910 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11911 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11912 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11913 See \`config.log' for more details." "$LINENO" 5; }
11917 ac_cpp='$CPP $CPPFLAGS'
11918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11923 _lt_caught_CXX_error=yes
11927 ac_cpp='$CXXCPP $CPPFLAGS'
11928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11932 archive_cmds_need_lc_CXX=no
11933 allow_undefined_flag_CXX=
11934 always_export_symbols_CXX=no
11935 archive_expsym_cmds_CXX=
11936 compiler_needs_object_CXX=no
11937 export_dynamic_flag_spec_CXX=
11938 hardcode_direct_CXX=no
11939 hardcode_direct_absolute_CXX=no
11940 hardcode_libdir_flag_spec_CXX=
11941 hardcode_libdir_flag_spec_ld_CXX=
11942 hardcode_libdir_separator_CXX=
11943 hardcode_minus_L_CXX=no
11944 hardcode_shlibpath_var_CXX=unsupported
11945 hardcode_automatic_CXX=no
11946 inherit_rpath_CXX=no
11948 module_expsym_cmds_CXX=
11949 link_all_deplibs_CXX=unknown
11950 old_archive_cmds_CXX=$old_archive_cmds
11951 reload_flag_CXX=$reload_flag
11952 reload_cmds_CXX=$reload_cmds
11953 no_undefined_flag_CXX=
11954 whole_archive_flag_spec_CXX=
11955 enable_shared_with_static_runtimes_CXX=no
11957 # Source file extension for C++ test sources.
11960 # Object file extension for compiled C++ test sources.
11964 # No sense in running all these tests if we already determined that
11965 # the CXX compiler isn't working. Some variables (like enable_shared)
11966 # are currently assumed to apply to all compilers on this platform,
11967 # and will be corrupted by setting them based on a non-working compiler.
11968 if test "$_lt_caught_CXX_error" != yes; then
11969 # Code to be used in simple compile tests
11970 lt_simple_compile_test_code="int some_variable = 0;"
11972 # Code to be used in simple link tests
11973 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11975 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11982 # If no C compiler was specified, use CC.
11985 # If no C compiler flags were specified, use CFLAGS.
11986 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11988 # Allow CC to be a program name with arguments.
11992 # save warnings/boilerplate of simple test code
11993 ac_outfile=conftest.$ac_objext
11994 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11995 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11996 _lt_compiler_boilerplate=`cat conftest.err`
11999 ac_outfile=conftest.$ac_objext
12000 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12001 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12002 _lt_linker_boilerplate=`cat conftest.err`
12006 # Allow CC to be a program name with arguments.
12011 lt_save_with_gnu_ld=$with_gnu_ld
12012 lt_save_path_LD=$lt_cv_path_LD
12013 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12014 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12016 $as_unset lt_cv_prog_gnu_ld
12018 if test -n "${lt_cv_path_LDCXX+set}"; then
12019 lt_cv_path_LD=$lt_cv_path_LDCXX
12021 $as_unset lt_cv_path_LD
12023 test -z "${LDCXX+set}" || LD=$LDCXX
12027 for cc_temp in $compiler""; do
12029 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12030 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12035 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12038 if test -n "$compiler"; then
12039 # We don't want -fno-exception when compiling C++ code, so set the
12040 # no_builtin_flag separately
12041 if test "$GXX" = yes; then
12042 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12044 lt_prog_compiler_no_builtin_flag_CXX=
12047 if test "$GXX" = yes; then
12048 # Set up default GNU C++ configuration
12052 # Check whether --with-gnu-ld was given.
12053 if test "${with_gnu_ld+set}" = set; then :
12054 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12060 if test "$GCC" = yes; then
12061 # Check if gcc -print-prog-name=ld gives a path.
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12063 $as_echo_n "checking for ld used by $CC... " >&6; }
12066 # gcc leaves a trailing carriage return which upsets mingw
12067 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12069 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12072 # Accept absolute paths.
12074 re_direlt='/[^/][^/]*/\.\./'
12075 # Canonicalize the pathname of ld
12076 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12077 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12078 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12080 test -z "$LD" && LD="$ac_prog"
12083 # If it fails, then pretend we aren't using GCC.
12087 # If it is relative, then search for the first ld in PATH.
12088 with_gnu_ld=unknown
12091 elif test "$with_gnu_ld" = yes; then
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12093 $as_echo_n "checking for GNU ld... " >&6; }
12095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12096 $as_echo_n "checking for non-GNU ld... " >&6; }
12098 if test "${lt_cv_path_LD+set}" = set; then :
12099 $as_echo_n "(cached) " >&6
12101 if test -z "$LD"; then
12102 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12103 for ac_dir in $PATH; do
12105 test -z "$ac_dir" && ac_dir=.
12106 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12107 lt_cv_path_LD="$ac_dir/$ac_prog"
12108 # Check to see if the program is GNU ld. I'd rather use --version,
12109 # but apparently some variants of GNU ld only accept -v.
12110 # Break only if it was the GNU/non-GNU ld that we prefer.
12111 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12112 *GNU* | *'with BFD'*)
12113 test "$with_gnu_ld" != no && break
12116 test "$with_gnu_ld" != yes && break
12123 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12127 LD="$lt_cv_path_LD"
12128 if test -n "$LD"; then
12129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12130 $as_echo "$LD" >&6; }
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12133 $as_echo "no" >&6; }
12135 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12137 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12138 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12139 $as_echo_n "(cached) " >&6
12141 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12142 case `$LD -v 2>&1 </dev/null` in
12143 *GNU* | *'with BFD'*)
12144 lt_cv_prog_gnu_ld=yes
12147 lt_cv_prog_gnu_ld=no
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12152 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12153 with_gnu_ld=$lt_cv_prog_gnu_ld
12161 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12162 # archiving commands below assume that GNU ld is being used.
12163 if test "$with_gnu_ld" = yes; then
12164 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12165 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'
12167 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12168 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12170 # If archive_cmds runs LD, not CC, wlarc should be empty
12171 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12172 # investigate it a little bit more. (MM)
12175 # ancient GNU ld didn't support --whole-archive et. al.
12176 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12177 $GREP 'no-whole-archive' > /dev/null; then
12178 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12180 whole_archive_flag_spec_CXX=
12186 # A generic and very simple default shared library creation
12187 # command for GNU C++ for the case where it uses the native
12188 # linker, instead of GNU ld. If possible, this setting should
12189 # overridden to take advantage of the native linker features on
12190 # the platform it is being used on.
12191 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12194 # Commands to make compiler produce verbose output that lists
12195 # what "hidden" libraries, object files and flags are used when
12196 # linking a shared library.
12197 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12205 # PORTME: fill in a description of your system's C++ link characteristics
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12207 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12211 # FIXME: insert proper C++ library support
12215 if test "$host_cpu" = ia64; then
12216 # On IA64, the linker does run time linking by default, so we don't
12217 # have to do anything special.
12218 aix_use_runtimelinking=no
12219 exp_sym_flag='-Bexport'
12222 aix_use_runtimelinking=no
12224 # Test if we are trying to use run time linking or normal
12225 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12226 # need to do runtime linking.
12227 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12228 for ld_flag in $LDFLAGS; do
12231 aix_use_runtimelinking=yes
12239 exp_sym_flag='-bexport'
12240 no_entry_flag='-bnoentry'
12243 # When large executables or shared objects are built, AIX ld can
12244 # have problems creating the table of contents. If linking a library
12245 # or program results in "error TOC overflow" add -mminimal-toc to
12246 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12247 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12249 archive_cmds_CXX=''
12250 hardcode_direct_CXX=yes
12251 hardcode_direct_absolute_CXX=yes
12252 hardcode_libdir_separator_CXX=':'
12253 link_all_deplibs_CXX=yes
12254 file_list_spec_CXX='${wl}-f,'
12256 if test "$GXX" = yes; then
12257 case $host_os in aix4.[012]|aix4.[012].*)
12258 # We only want to do this on AIX 4.2 and lower, the check
12259 # below for broken collect2 doesn't work under 4.3+
12260 collect2name=`${CC} -print-prog-name=collect2`
12261 if test -f "$collect2name" &&
12262 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12264 # We have reworked collect2
12267 # We have old collect2
12268 hardcode_direct_CXX=unsupported
12269 # It fails to find uninstalled libraries when the uninstalled
12270 # path is not listed in the libpath. Setting hardcode_minus_L
12271 # to unsupported forces relinking
12272 hardcode_minus_L_CXX=yes
12273 hardcode_libdir_flag_spec_CXX='-L$libdir'
12274 hardcode_libdir_separator_CXX=
12277 shared_flag='-shared'
12278 if test "$aix_use_runtimelinking" = yes; then
12279 shared_flag="$shared_flag "'${wl}-G'
12283 if test "$host_cpu" = ia64; then
12284 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12285 # chokes on -Wl,-G. The following line is correct:
12288 if test "$aix_use_runtimelinking" = yes; then
12289 shared_flag='${wl}-G'
12291 shared_flag='${wl}-bM:SRE'
12296 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12297 # It seems that -bexpall does not export symbols beginning with
12298 # underscore (_), so it is better to generate a list of symbols to
12300 always_export_symbols_CXX=yes
12301 if test "$aix_use_runtimelinking" = yes; then
12302 # Warning - without using the other runtime loading flags (-brtl),
12303 # -berok will link without error, but may produce a broken library.
12304 allow_undefined_flag_CXX='-berok'
12305 # Determine the default libpath from the value encoded in an empty
12307 if test x$gcc_no_link = xyes; then
12308 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12311 /* end confdefs.h. */
12321 if ac_fn_cxx_try_link "$LINENO"; then :
12323 lt_aix_libpath_sed='
12324 /Import File Strings/,/^$/ {
12330 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12331 # Check for a 64-bit object if we didn't find anything.
12332 if test -z "$aix_libpath"; then
12333 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12336 rm -f core conftest.err conftest.$ac_objext \
12337 conftest$ac_exeext conftest.$ac_ext
12338 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12340 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12342 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"
12344 if test "$host_cpu" = ia64; then
12345 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12346 allow_undefined_flag_CXX="-z nodefs"
12347 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"
12349 # Determine the default libpath from the value encoded in an
12350 # empty executable.
12351 if test x$gcc_no_link = xyes; then
12352 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12355 /* end confdefs.h. */
12365 if ac_fn_cxx_try_link "$LINENO"; then :
12367 lt_aix_libpath_sed='
12368 /Import File Strings/,/^$/ {
12374 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12375 # Check for a 64-bit object if we didn't find anything.
12376 if test -z "$aix_libpath"; then
12377 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12380 rm -f core conftest.err conftest.$ac_objext \
12381 conftest$ac_exeext conftest.$ac_ext
12382 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12384 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12385 # Warning - without using the other run time loading flags,
12386 # -berok will link without error, but may produce a broken library.
12387 no_undefined_flag_CXX=' ${wl}-bernotok'
12388 allow_undefined_flag_CXX=' ${wl}-berok'
12389 if test "$with_gnu_ld" = yes; then
12390 # We only use this code for GNU lds that support --whole-archive.
12391 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12393 # Exported symbols can be pulled into shared objects from archives
12394 whole_archive_flag_spec_CXX='$convenience'
12396 archive_cmds_need_lc_CXX=yes
12397 # This is similar to how AIX traditionally builds its shared
12399 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'
12405 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12406 allow_undefined_flag_CXX=unsupported
12407 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12408 # support --undefined. This deserves some investigation. FIXME
12409 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12416 case $cc_basename in
12418 # FIXME: insert proper C++ library support
12424 cygwin* | mingw* | pw32* | cegcc*)
12425 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12426 # as there is no search path for DLLs.
12427 hardcode_libdir_flag_spec_CXX='-L$libdir'
12428 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12429 allow_undefined_flag_CXX=unsupported
12430 always_export_symbols_CXX=no
12431 enable_shared_with_static_runtimes_CXX=yes
12433 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12434 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'
12435 # If the export-symbols file already is a .def file (1st line
12436 # is EXPORTS), use it as is; otherwise, prepend...
12437 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12438 cp $export_symbols $output_objdir/$soname.def;
12440 echo EXPORTS > $output_objdir/$soname.def;
12441 cat $export_symbols >> $output_objdir/$soname.def;
12443 $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'
12448 darwin* | rhapsody*)
12451 archive_cmds_need_lc_CXX=no
12452 hardcode_direct_CXX=no
12453 hardcode_automatic_CXX=yes
12454 hardcode_shlibpath_var_CXX=unsupported
12455 if test "$lt_cv_ld_force_load" = "yes"; then
12456 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\"`'
12458 whole_archive_flag_spec_CXX=''
12460 link_all_deplibs_CXX=yes
12461 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12462 case $cc_basename in
12463 ifort*) _lt_dar_can_shared=yes ;;
12464 *) _lt_dar_can_shared=$GCC ;;
12466 if test "$_lt_dar_can_shared" = "yes"; then
12467 output_verbose_link_cmd=func_echo_all
12468 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}"
12469 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12470 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}"
12471 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}"
12472 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12473 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}"
12474 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}"
12484 case $cc_basename in
12486 # FIXME: insert proper C++ library support
12490 # Green Hills C++ Compiler
12491 # FIXME: insert proper C++ library support
12495 # FIXME: insert proper C++ library support
12502 # C++ shared libraries reported to be fairly broken before
12508 archive_cmds_need_lc_CXX=no
12511 freebsd* | dragonfly*)
12512 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12521 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12522 link_all_deplibs_CXX=yes
12526 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12527 hardcode_libdir_separator_CXX=:
12528 export_dynamic_flag_spec_CXX='${wl}-E'
12529 hardcode_direct_CXX=yes
12530 hardcode_minus_L_CXX=yes # Not in the search PATH,
12531 # but as the default
12532 # location of the library.
12534 case $cc_basename in
12536 # FIXME: insert proper C++ library support
12540 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'
12541 # Commands to make compiler produce verbose output that lists
12542 # what "hidden" libraries, object files and flags are used when
12543 # linking a shared library.
12545 # There doesn't appear to be a way to prevent this compiler from
12546 # explicitly linking system object files so we need to strip them
12547 # from the output so that they don't get included in the library
12549 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"'
12552 if test "$GXX" = yes; then
12553 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'
12555 # FIXME: insert proper C++ library support
12563 if test $with_gnu_ld = no; then
12564 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12565 hardcode_libdir_separator_CXX=:
12571 export_dynamic_flag_spec_CXX='${wl}-E'
12577 hardcode_direct_CXX=no
12578 hardcode_shlibpath_var_CXX=no
12581 hardcode_direct_CXX=yes
12582 hardcode_direct_absolute_CXX=yes
12583 hardcode_minus_L_CXX=yes # Not in the search PATH,
12584 # but as the default
12585 # location of the library.
12589 case $cc_basename in
12591 # FIXME: insert proper C++ library support
12597 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12600 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12603 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12606 # Commands to make compiler produce verbose output that lists
12607 # what "hidden" libraries, object files and flags are used when
12608 # linking a shared library.
12610 # There doesn't appear to be a way to prevent this compiler from
12611 # explicitly linking system object files so we need to strip them
12612 # from the output so that they don't get included in the library
12614 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"'
12617 if test "$GXX" = yes; then
12618 if test $with_gnu_ld = no; then
12621 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12624 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12627 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'
12632 # FIXME: insert proper C++ library support
12640 hardcode_direct_CXX=no
12641 hardcode_shlibpath_var_CXX=no
12642 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12643 export_dynamic_flag_spec_CXX='${wl}-E'
12644 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12645 # Instead, shared libraries are loaded at an image base (0x10000000 by
12646 # default) and relocated if they conflict, which is a slow very memory
12647 # consuming and fragmenting process. To avoid this, we pick a random,
12648 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12649 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12650 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'
12651 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'
12654 case $cc_basename in
12657 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'
12659 # Archives containing C++ object files must be created using
12660 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12661 # necessary to make sure instantiated templates are included
12663 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12666 if test "$GXX" = yes; then
12667 if test "$with_gnu_ld" = no; then
12668 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'
12670 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'
12673 link_all_deplibs_CXX=yes
12676 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12677 hardcode_libdir_separator_CXX=:
12678 inherit_rpath_CXX=yes
12681 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12682 case $cc_basename in
12684 # Kuck and Associates, Inc. (KAI) C++ Compiler
12686 # KCC will only create a shared library if the output file
12687 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12688 # to its proper name (with version) after linking.
12689 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'
12690 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'
12691 # Commands to make compiler produce verbose output that lists
12692 # what "hidden" libraries, object files and flags are used when
12693 # linking a shared library.
12695 # There doesn't appear to be a way to prevent this compiler from
12696 # explicitly linking system object files so we need to strip them
12697 # from the output so that they don't get included in the library
12699 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"'
12701 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12702 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12704 # Archives containing C++ object files must be created using
12705 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12706 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12711 # version 8.0 and above of icpc choke on multiply defined symbols
12712 # if we add $predep_objects and $postdep_objects, however 7.1 and
12713 # earlier do not add the objects themselves.
12714 case `$CC -V 2>&1` in
12716 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12717 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'
12719 *) # Version 8.0 or newer
12722 ia64*) tmp_idyn=' -i_dynamic';;
12724 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12725 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'
12728 archive_cmds_need_lc_CXX=no
12729 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12730 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12731 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12734 # Portland Group C++ compiler
12736 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12737 prelink_cmds_CXX='tpldir=Template.dir~
12739 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12740 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12741 old_archive_cmds_CXX='tpldir=Template.dir~
12743 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12744 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12746 archive_cmds_CXX='tpldir=Template.dir~
12748 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12749 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12750 archive_expsym_cmds_CXX='tpldir=Template.dir~
12752 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12753 $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'
12755 *) # Version 6 and above use weak symbols
12756 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12757 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'
12761 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12762 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12763 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'
12767 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12768 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'
12770 runpath_var=LD_RUN_PATH
12771 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12772 hardcode_libdir_separator_CXX=:
12774 # Commands to make compiler produce verbose output that lists
12775 # what "hidden" libraries, object files and flags are used when
12776 # linking a shared library.
12778 # There doesn't appear to be a way to prevent this compiler from
12779 # explicitly linking system object files so we need to strip them
12780 # from the output so that they don't get included in the library
12782 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'
12784 xl* | mpixl* | bgxl*)
12785 # IBM XL 8.0 on PPC, with GNU ld
12786 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12787 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12788 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12789 if test "x$supports_anon_versioning" = xyes; then
12790 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12791 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12792 echo "local: *; };" >> $output_objdir/$libname.ver~
12793 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12797 case `$CC -V 2>&1 | sed 5q` in
12800 no_undefined_flag_CXX=' -zdefs'
12801 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12802 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'
12803 hardcode_libdir_flag_spec_CXX='-R$libdir'
12804 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'
12805 compiler_needs_object_CXX=yes
12807 # Not sure whether something based on
12808 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12810 output_verbose_link_cmd='func_echo_all'
12812 # Archives containing C++ object files must be created using
12813 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12814 # necessary to make sure instantiated templates are included
12816 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12824 # FIXME: insert proper C++ library support
12829 # FIXME: insert proper C++ library support
12834 case $cc_basename in
12836 # FIXME: insert proper C++ library support
12840 # FIXME: insert proper C++ library support
12847 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12848 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12850 hardcode_libdir_flag_spec_CXX='-R$libdir'
12851 hardcode_direct_CXX=yes
12852 hardcode_shlibpath_var_CXX=no
12854 # Workaround some broken pre-1.5 toolchains
12855 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12863 # C++ shared libraries are fairly broken
12868 if test -f /usr/libexec/ld.so; then
12869 hardcode_direct_CXX=yes
12870 hardcode_shlibpath_var_CXX=no
12871 hardcode_direct_absolute_CXX=yes
12872 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12873 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12874 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12875 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12876 export_dynamic_flag_spec_CXX='${wl}-E'
12877 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12879 output_verbose_link_cmd=func_echo_all
12885 osf3* | osf4* | osf5*)
12886 case $cc_basename in
12888 # Kuck and Associates, Inc. (KAI) C++ Compiler
12890 # KCC will only create a shared library if the output file
12891 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12892 # to its proper name (with version) after linking.
12893 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'
12895 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12896 hardcode_libdir_separator_CXX=:
12898 # Archives containing C++ object files must be created using
12899 # the KAI C++ compiler.
12901 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12902 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12906 # Rational C++ 2.4.1
12907 # FIXME: insert proper C++ library support
12913 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12914 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'
12915 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12918 allow_undefined_flag_CXX=' -expect_unresolved \*'
12919 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'
12920 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12921 echo "-hidden">> $lib.exp~
12922 $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~
12924 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12928 hardcode_libdir_separator_CXX=:
12930 # Commands to make compiler produce verbose output that lists
12931 # what "hidden" libraries, object files and flags are used when
12932 # linking a shared library.
12934 # There doesn't appear to be a way to prevent this compiler from
12935 # explicitly linking system object files so we need to strip them
12936 # from the output so that they don't get included in the library
12938 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"'
12941 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12942 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12945 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'
12948 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'
12952 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12953 hardcode_libdir_separator_CXX=:
12955 # Commands to make compiler produce verbose output that lists
12956 # what "hidden" libraries, object files and flags are used when
12957 # linking a shared library.
12958 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12961 # FIXME: insert proper C++ library support
12969 # FIXME: insert proper C++ library support
12974 case $cc_basename in
12977 # FIXME: insert proper C++ library support
12982 # FIXME: insert proper C++ library support
12986 # FIXME: insert proper C++ library support
12993 case $cc_basename in
12995 # Sun C++ 4.2, 5.x and Centerline C++
12996 archive_cmds_need_lc_CXX=yes
12997 no_undefined_flag_CXX=' -zdefs'
12998 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12999 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13000 $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'
13002 hardcode_libdir_flag_spec_CXX='-R$libdir'
13003 hardcode_shlibpath_var_CXX=no
13005 solaris2.[0-5] | solaris2.[0-5].*) ;;
13007 # The compiler driver will combine and reorder linker options,
13008 # but understands `-z linker_flag'.
13009 # Supported since Solaris 2.6 (maybe 2.5.1?)
13010 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13013 link_all_deplibs_CXX=yes
13015 output_verbose_link_cmd='func_echo_all'
13017 # Archives containing C++ object files must be created using
13018 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13019 # necessary to make sure instantiated templates are included
13021 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13024 # Green Hills C++ Compiler
13025 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13027 # The C++ compiler must be used to create the archive.
13028 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13031 # GNU C++ compiler with Solaris linker
13032 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13033 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13034 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13035 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13036 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13037 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13039 # Commands to make compiler produce verbose output that lists
13040 # what "hidden" libraries, object files and flags are used when
13041 # linking a shared library.
13042 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13044 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13046 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13047 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13048 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13050 # Commands to make compiler produce verbose output that lists
13051 # what "hidden" libraries, object files and flags are used when
13052 # linking a shared library.
13053 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13056 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13058 solaris2.[0-5] | solaris2.[0-5].*) ;;
13060 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13068 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13069 no_undefined_flag_CXX='${wl}-z,text'
13070 archive_cmds_need_lc_CXX=no
13071 hardcode_shlibpath_var_CXX=no
13072 runpath_var='LD_RUN_PATH'
13074 case $cc_basename in
13076 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13077 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13080 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13081 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13086 sysv5* | sco3.2v5* | sco5v6*)
13087 # Note: We can NOT use -z defs as we might desire, because we do not
13088 # link with -lc, and that would cause any symbols used from libc to
13089 # always be unresolved, which means just about no library would
13090 # ever link correctly. If we're not using GNU ld we use -z text
13091 # though, which does catch some bad symbols but isn't as heavy-handed
13093 no_undefined_flag_CXX='${wl}-z,text'
13094 allow_undefined_flag_CXX='${wl}-z,nodefs'
13095 archive_cmds_need_lc_CXX=no
13096 hardcode_shlibpath_var_CXX=no
13097 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13098 hardcode_libdir_separator_CXX=':'
13099 link_all_deplibs_CXX=yes
13100 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13101 runpath_var='LD_RUN_PATH'
13103 case $cc_basename in
13105 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13106 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13107 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13108 '"$old_archive_cmds_CXX"
13109 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13110 '"$reload_cmds_CXX"
13113 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13114 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13120 case $cc_basename in
13122 # NonStop-UX NCC 3.20
13123 # FIXME: insert proper C++ library support
13127 # FIXME: insert proper C++ library support
13134 # FIXME: insert proper C++ library support
13139 # FIXME: insert proper C++ library support
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13145 $as_echo "$ld_shlibs_CXX" >&6; }
13146 test "$ld_shlibs_CXX" = no && can_build_shared=no
13152 ## There is no encapsulation within the following macros, do not change
13153 ## the running order or otherwise move them around unless you know exactly
13154 ## what you are doing...
13155 # Dependencies to place before and after the object being linked:
13156 predep_objects_CXX=
13157 postdep_objects_CXX=
13160 compiler_lib_search_path_CXX=
13162 cat > conftest.$ac_ext <<_LT_EOF
13166 Foo (void) { a = 0; }
13172 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13173 (eval $ac_compile) 2>&5
13175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13176 test $ac_status = 0; }; then
13177 # Parse the compiler output and extract the necessary
13178 # objects, libraries and library flags.
13180 # Sentinel used to keep track of whether or not we are before
13181 # the conftest object file.
13182 pre_test_object_deps_done=no
13184 for p in `eval "$output_verbose_link_cmd"`; do
13188 # Some compilers place space between "-{L,R}" and the path.
13189 # Remove the space.
13190 if test $p = "-L" ||
13191 test $p = "-R"; then
13198 if test "$pre_test_object_deps_done" = no; then
13201 # Internal compiler library paths should come after those
13202 # provided the user. The postdeps already come after the
13203 # user supplied libs so there is no need to process them.
13204 if test -z "$compiler_lib_search_path_CXX"; then
13205 compiler_lib_search_path_CXX="${prev}${p}"
13207 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13210 # The "-l" case would never come before the object being
13211 # linked, so don't bother handling this case.
13214 if test -z "$postdeps_CXX"; then
13215 postdeps_CXX="${prev}${p}"
13217 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13223 # This assumes that the test object file only shows up
13224 # once in the compiler output.
13225 if test "$p" = "conftest.$objext"; then
13226 pre_test_object_deps_done=yes
13230 if test "$pre_test_object_deps_done" = no; then
13231 if test -z "$predep_objects_CXX"; then
13232 predep_objects_CXX="$p"
13234 predep_objects_CXX="$predep_objects_CXX $p"
13237 if test -z "$postdep_objects_CXX"; then
13238 postdep_objects_CXX="$p"
13240 postdep_objects_CXX="$postdep_objects_CXX $p"
13245 *) ;; # Ignore the rest.
13253 echo "libtool.m4: error: problem compiling CXX test program"
13256 $RM -f confest.$objext
13258 # PORTME: override above test on systems where it is broken
13261 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13262 # hack all around it, let's just trust "g++" to DTRT.
13263 predep_objects_CXX=
13264 postdep_objects_CXX=
13269 case `$CC -V 2>&1 | sed 5q` in
13273 # The more standards-conforming stlport4 library is
13274 # incompatible with the Cstd library. Avoid specifying
13275 # it if it's in CXXFLAGS. Ignore libCrun as
13276 # -library=stlport4 depends on it.
13277 case " $CXX $CXXFLAGS " in
13278 *" -library=stlport4 "*)
13279 solaris_use_stlport4=yes
13283 if test "$solaris_use_stlport4" != yes; then
13284 postdeps_CXX='-library=Cstd -library=Crun'
13291 case $cc_basename in
13293 # The more standards-conforming stlport4 library is
13294 # incompatible with the Cstd library. Avoid specifying
13295 # it if it's in CXXFLAGS. Ignore libCrun as
13296 # -library=stlport4 depends on it.
13297 case " $CXX $CXXFLAGS " in
13298 *" -library=stlport4 "*)
13299 solaris_use_stlport4=yes
13303 # Adding this requires a known-good setup of shared libraries for
13304 # Sun compiler versions before 5.6, else PIC objects from an old
13305 # archive will be linked into the output, leading to subtle bugs.
13306 if test "$solaris_use_stlport4" != yes; then
13307 postdeps_CXX='-library=Cstd -library=Crun'
13315 case " $postdeps_CXX " in
13316 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13318 compiler_lib_search_dirs_CXX=
13319 if test -n "${compiler_lib_search_path_CXX}"; then
13320 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13353 lt_prog_compiler_wl_CXX=
13354 lt_prog_compiler_pic_CXX=
13355 lt_prog_compiler_static_CXX=
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13358 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13360 # C++ specific cases for pic, static, wl, etc.
13361 if test "$GXX" = yes; then
13362 lt_prog_compiler_wl_CXX='-Wl,'
13363 lt_prog_compiler_static_CXX='-static'
13367 # All AIX code is PIC.
13368 if test "$host_cpu" = ia64; then
13369 # AIX 5 now supports IA64 processor
13370 lt_prog_compiler_static_CXX='-Bstatic'
13377 # see comment about AmigaOS4 .so support
13378 lt_prog_compiler_pic_CXX='-fPIC'
13381 # FIXME: we need at least 68020 code to build shared libraries, but
13382 # adding the `-m68020' flag to GCC prevents building anything better,
13384 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13389 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13390 # PIC is the default for these OSes.
13392 mingw* | cygwin* | os2* | pw32* | cegcc*)
13393 # This hack is so that the source file can tell whether it is being
13394 # built for inclusion in a dll (and should export symbols for example).
13395 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13396 # (--disable-auto-import) libraries
13397 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13399 darwin* | rhapsody*)
13400 # PIC is the default on this platform
13401 # Common symbols not allowed in MH_DYLIB files
13402 lt_prog_compiler_pic_CXX='-fno-common'
13405 # DJGPP does not support shared libraries at all
13406 lt_prog_compiler_pic_CXX=
13409 # PIC is the default for Haiku.
13410 # The "-static" flag exists, but is broken.
13411 lt_prog_compiler_static_CXX=
13414 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13415 # Instead, we relocate shared libraries at runtime.
13418 if test -d /usr/nec; then
13419 lt_prog_compiler_pic_CXX=-Kconform_pic
13423 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13424 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13425 # sets the default TLS model and affects inlining.
13430 lt_prog_compiler_pic_CXX='-fPIC'
13435 # QNX uses GNU C++, but need to define -shared option too, otherwise
13436 # it will coredump.
13437 lt_prog_compiler_pic_CXX='-fPIC -shared'
13440 lt_prog_compiler_pic_CXX='-fPIC'
13446 # All AIX code is PIC.
13447 if test "$host_cpu" = ia64; then
13448 # AIX 5 now supports IA64 processor
13449 lt_prog_compiler_static_CXX='-Bstatic'
13451 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13455 case $cc_basename in
13457 # Green Hills C++ Compiler
13458 # _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"
13463 case $cc_basename in
13465 lt_prog_compiler_pic_CXX='-KPIC'
13468 # Green Hills C++ Compiler
13469 lt_prog_compiler_pic_CXX='-pic'
13475 freebsd* | dragonfly*)
13476 # FreeBSD uses GNU C++
13478 hpux9* | hpux10* | hpux11*)
13479 case $cc_basename in
13481 lt_prog_compiler_wl_CXX='-Wl,'
13482 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13483 if test "$host_cpu" != ia64; then
13484 lt_prog_compiler_pic_CXX='+Z'
13488 lt_prog_compiler_wl_CXX='-Wl,'
13489 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13495 lt_prog_compiler_pic_CXX='+Z'
13504 # This is c89, which is MS Visual C++ (no shared libs)
13505 # Anyone wants to do a port?
13507 irix5* | irix6* | nonstopux*)
13508 case $cc_basename in
13510 lt_prog_compiler_wl_CXX='-Wl,'
13511 lt_prog_compiler_static_CXX='-non_shared'
13512 # CC pic flag -KPIC is the default.
13518 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13519 case $cc_basename in
13522 lt_prog_compiler_wl_CXX='--backend -Wl,'
13523 lt_prog_compiler_pic_CXX='-fPIC'
13526 # old Intel C++ for x86_64 which still supported -KPIC.
13527 lt_prog_compiler_wl_CXX='-Wl,'
13528 lt_prog_compiler_pic_CXX='-KPIC'
13529 lt_prog_compiler_static_CXX='-static'
13532 # Intel C++, used to be incompatible with GCC.
13533 # ICC 10 doesn't accept -KPIC any more.
13534 lt_prog_compiler_wl_CXX='-Wl,'
13535 lt_prog_compiler_pic_CXX='-fPIC'
13536 lt_prog_compiler_static_CXX='-static'
13539 # Portland Group C++ compiler
13540 lt_prog_compiler_wl_CXX='-Wl,'
13541 lt_prog_compiler_pic_CXX='-fpic'
13542 lt_prog_compiler_static_CXX='-Bstatic'
13546 # Make sure the PIC flag is empty. It appears that all Alpha
13547 # Linux and Compaq Tru64 Unix objects are PIC.
13548 lt_prog_compiler_pic_CXX=
13549 lt_prog_compiler_static_CXX='-non_shared'
13551 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13552 # IBM XL 8.0, 9.0 on PPC and BlueGene
13553 lt_prog_compiler_wl_CXX='-Wl,'
13554 lt_prog_compiler_pic_CXX='-qpic'
13555 lt_prog_compiler_static_CXX='-qstaticlink'
13558 case `$CC -V 2>&1 | sed 5q` in
13561 lt_prog_compiler_pic_CXX='-KPIC'
13562 lt_prog_compiler_static_CXX='-Bstatic'
13563 lt_prog_compiler_wl_CXX='-Qoption ld '
13574 case $cc_basename in
13576 lt_prog_compiler_pic_CXX='-W c,exportall'
13585 # QNX uses GNU C++, but need to define -shared option too, otherwise
13586 # it will coredump.
13587 lt_prog_compiler_pic_CXX='-fPIC -shared'
13589 osf3* | osf4* | osf5*)
13590 case $cc_basename in
13592 lt_prog_compiler_wl_CXX='--backend -Wl,'
13595 # Rational C++ 2.4.1
13596 lt_prog_compiler_pic_CXX='-pic'
13599 # Digital/Compaq C++
13600 lt_prog_compiler_wl_CXX='-Wl,'
13601 # Make sure the PIC flag is empty. It appears that all Alpha
13602 # Linux and Compaq Tru64 Unix objects are PIC.
13603 lt_prog_compiler_pic_CXX=
13604 lt_prog_compiler_static_CXX='-non_shared'
13613 case $cc_basename in
13615 # Sun C++ 4.2, 5.x and Centerline C++
13616 lt_prog_compiler_pic_CXX='-KPIC'
13617 lt_prog_compiler_static_CXX='-Bstatic'
13618 lt_prog_compiler_wl_CXX='-Qoption ld '
13621 # Green Hills C++ Compiler
13622 lt_prog_compiler_pic_CXX='-PIC'
13629 case $cc_basename in
13632 lt_prog_compiler_pic_CXX='-pic'
13633 lt_prog_compiler_static_CXX='-Bstatic'
13637 lt_prog_compiler_pic_CXX='-pic'
13643 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13644 case $cc_basename in
13646 lt_prog_compiler_wl_CXX='-Wl,'
13647 lt_prog_compiler_pic_CXX='-KPIC'
13648 lt_prog_compiler_static_CXX='-Bstatic'
13653 case $cc_basename in
13655 # NonStop-UX NCC 3.20
13656 lt_prog_compiler_pic_CXX='-KPIC'
13665 lt_prog_compiler_can_build_shared_CXX=no
13671 # For platforms which do not support PIC, -DPIC is meaningless:
13673 lt_prog_compiler_pic_CXX=
13676 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13680 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13685 # Check to make sure the PIC flag actually works.
13687 if test -n "$lt_prog_compiler_pic_CXX"; then
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13689 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13690 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13691 $as_echo_n "(cached) " >&6
13693 lt_cv_prog_compiler_pic_works_CXX=no
13694 ac_outfile=conftest.$ac_objext
13695 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13696 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13697 # Insert the option either (1) after the last *FLAGS variable, or
13698 # (2) before a word containing "conftest.", or (3) at the end.
13699 # Note that $ac_compile itself does not contain backslashes and begins
13700 # with a dollar sign (not a hyphen), so the echo should work correctly.
13701 # The option is referenced via a variable to avoid confusing sed.
13702 lt_compile=`echo "$ac_compile" | $SED \
13703 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13704 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13705 -e 's:$: $lt_compiler_flag:'`
13706 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13707 (eval "$lt_compile" 2>conftest.err)
13709 cat conftest.err >&5
13710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13711 if (exit $ac_status) && test -s "$ac_outfile"; then
13712 # The compiler can only warn and ignore the option if not recognized
13713 # So say no if there are warnings other than the usual output.
13714 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13715 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13716 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13717 lt_cv_prog_compiler_pic_works_CXX=yes
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13724 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13726 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13727 case $lt_prog_compiler_pic_CXX in
13729 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13732 lt_prog_compiler_pic_CXX=
13733 lt_prog_compiler_can_build_shared_CXX=no
13741 # Check to make sure the static flag actually works.
13743 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13745 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13746 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13747 $as_echo_n "(cached) " >&6
13749 lt_cv_prog_compiler_static_works_CXX=no
13750 save_LDFLAGS="$LDFLAGS"
13751 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13752 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13753 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13754 # The linker can only warn and ignore the option if not recognized
13755 # So say no if there are warnings
13756 if test -s conftest.err; then
13757 # Append any errors to the config.log.
13758 cat conftest.err 1>&5
13759 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13760 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13761 if diff conftest.exp conftest.er2 >/dev/null; then
13762 lt_cv_prog_compiler_static_works_CXX=yes
13765 lt_cv_prog_compiler_static_works_CXX=yes
13769 LDFLAGS="$save_LDFLAGS"
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13773 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13775 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13778 lt_prog_compiler_static_CXX=
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13785 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13786 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13787 $as_echo_n "(cached) " >&6
13789 lt_cv_prog_compiler_c_o_CXX=no
13790 $RM -r conftest 2>/dev/null
13794 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13796 lt_compiler_flag="-o out/conftest2.$ac_objext"
13797 # Insert the option either (1) after the last *FLAGS variable, or
13798 # (2) before a word containing "conftest.", or (3) at the end.
13799 # Note that $ac_compile itself does not contain backslashes and begins
13800 # with a dollar sign (not a hyphen), so the echo should work correctly.
13801 lt_compile=`echo "$ac_compile" | $SED \
13802 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13803 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13804 -e 's:$: $lt_compiler_flag:'`
13805 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13806 (eval "$lt_compile" 2>out/conftest.err)
13808 cat out/conftest.err >&5
13809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13810 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13812 # The compiler can only warn and ignore the option if not recognized
13813 # So say no if there are warnings
13814 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13815 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13816 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13817 lt_cv_prog_compiler_c_o_CXX=yes
13822 # SGI C++ compiler will create directory out/ii_files/ for
13823 # template instantiation
13824 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13825 $RM out/* && rmdir out
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13832 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13837 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13838 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13839 $as_echo_n "(cached) " >&6
13841 lt_cv_prog_compiler_c_o_CXX=no
13842 $RM -r conftest 2>/dev/null
13846 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13848 lt_compiler_flag="-o out/conftest2.$ac_objext"
13849 # Insert the option either (1) after the last *FLAGS variable, or
13850 # (2) before a word containing "conftest.", or (3) at the end.
13851 # Note that $ac_compile itself does not contain backslashes and begins
13852 # with a dollar sign (not a hyphen), so the echo should work correctly.
13853 lt_compile=`echo "$ac_compile" | $SED \
13854 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13855 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13856 -e 's:$: $lt_compiler_flag:'`
13857 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13858 (eval "$lt_compile" 2>out/conftest.err)
13860 cat out/conftest.err >&5
13861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13862 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13864 # The compiler can only warn and ignore the option if not recognized
13865 # So say no if there are warnings
13866 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13867 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13868 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13869 lt_cv_prog_compiler_c_o_CXX=yes
13874 # SGI C++ compiler will create directory out/ii_files/ for
13875 # template instantiation
13876 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13877 $RM out/* && rmdir out
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13884 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13889 hard_links="nottested"
13890 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13891 # do not overwrite the value of need_locks provided by the user
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13893 $as_echo_n "checking if we can lock with hard links... " >&6; }
13896 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13898 ln conftest.a conftest.b 2>&5 || hard_links=no
13899 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13901 $as_echo "$hard_links" >&6; }
13902 if test "$hard_links" = no; then
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13904 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13914 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13916 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13919 # If we're using GNU nm, then we don't want the "-C" option.
13920 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13921 # Also, AIX nm treats weak defined symbols like other global defined
13922 # symbols, whereas GNU nm marks them as "W".
13923 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13924 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'
13926 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'
13930 export_symbols_cmds_CXX="$ltdll_cmds"
13932 cygwin* | mingw* | cegcc*)
13933 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'
13936 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13939 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13942 $as_echo "$ld_shlibs_CXX" >&6; }
13943 test "$ld_shlibs_CXX" = no && can_build_shared=no
13945 with_gnu_ld_CXX=$with_gnu_ld
13953 # Do we need to explicitly link libc?
13955 case "x$archive_cmds_need_lc_CXX" in
13957 # Assume -lc should be added
13958 archive_cmds_need_lc_CXX=yes
13960 if test "$enable_shared" = yes && test "$GCC" = yes; then
13961 case $archive_cmds_CXX in
13963 # FIXME: we may have to deal with multi-command sequences.
13966 # Test whether the compiler implicitly links with -lc since on some
13967 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13968 # to ld, don't add -lc before -lgcc.
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13970 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13971 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
13972 $as_echo_n "(cached) " >&6
13975 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13977 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13978 (eval $ac_compile) 2>&5
13980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13981 test $ac_status = 0; } 2>conftest.err; then
13984 libobjs=conftest.$ac_objext
13986 wl=$lt_prog_compiler_wl_CXX
13987 pic_flag=$lt_prog_compiler_pic_CXX
13993 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13994 allow_undefined_flag_CXX=
13995 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13996 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13999 test $ac_status = 0; }
14001 lt_cv_archive_cmds_need_lc_CXX=no
14003 lt_cv_archive_cmds_need_lc_CXX=yes
14005 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14007 cat conftest.err 1>&5
14012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14013 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14014 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14085 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14087 library_names_spec=
14088 libname_spec='lib$name'
14092 postuninstall_cmds=
14096 shlibpath_overrides_runpath=unknown
14098 dynamic_linker="$host_os ld.so"
14099 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14100 need_lib_prefix=unknown
14101 hardcode_into_libs=no
14103 # when you set need_version to no, make sure it does not cause -set_version
14104 # flags to be left without arguments
14105 need_version=unknown
14110 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14111 shlibpath_var=LIBPATH
14113 # AIX 3 has no versioning support, so we append a major version to the name.
14114 soname_spec='${libname}${release}${shared_ext}$major'
14121 hardcode_into_libs=yes
14122 if test "$host_cpu" = ia64; then
14123 # AIX 5 supports IA64
14124 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14125 shlibpath_var=LD_LIBRARY_PATH
14127 # With GCC up to 2.95.x, collect2 would create an import file
14128 # for dependence libraries. The import file would start with
14129 # the line `#! .'. This would cause the generated library to
14130 # depend on `.', always an invalid library. This was fixed in
14131 # development snapshots of GCC prior to 3.0.
14133 aix4 | aix4.[01] | aix4.[01].*)
14134 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14136 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14139 can_build_shared=no
14143 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14144 # soname into executable. Probably we can add versioning support to
14145 # collect2, so additional links can be useful in future.
14146 if test "$aix_use_runtimelinking" = yes; then
14147 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14148 # instead of lib<name>.a to let people know that these are not
14149 # typical AIX shared libraries.
14150 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14152 # We preserve .a as extension for shared libraries through AIX4.2
14153 # and later when we are not doing run time linking.
14154 library_names_spec='${libname}${release}.a $libname.a'
14155 soname_spec='${libname}${release}${shared_ext}$major'
14157 shlibpath_var=LIBPATH
14164 # Since July 2007 AmigaOS4 officially supports .so libraries.
14165 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14166 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14169 library_names_spec='$libname.ixlibrary $libname.a'
14170 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14171 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'
14177 library_names_spec='${libname}${shared_ext}'
14178 dynamic_linker="$host_os ld.so"
14179 shlibpath_var=LIBRARY_PATH
14185 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14186 soname_spec='${libname}${release}${shared_ext}$major'
14187 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14188 shlibpath_var=LD_LIBRARY_PATH
14189 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14190 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14191 # the default ld.so.conf also contains /usr/contrib/lib and
14192 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14193 # libtool to hard-code these into programs
14196 cygwin* | mingw* | pw32* | cegcc*)
14197 version_type=windows
14202 case $GCC,$host_os in
14203 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14204 library_names_spec='$libname.dll.a'
14205 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14206 postinstall_cmds='base_file=`basename \${file}`~
14207 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14208 dldir=$destdir/`dirname \$dlpath`~
14209 test -d \$dldir || mkdir -p \$dldir~
14210 $install_prog $dir/$dlname \$dldir/$dlname~
14211 chmod a+x \$dldir/$dlname~
14212 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14213 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14215 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14216 dlpath=$dir/\$dldll~
14218 shlibpath_overrides_runpath=yes
14222 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14223 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14227 # MinGW DLLs use traditional 'lib' prefix
14228 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14231 # pw32 DLLs use 'pw' prefix rather than 'lib'
14232 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14238 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14241 dynamic_linker='Win32 ld.exe'
14242 # FIXME: first we should search . and the directory the executable is in
14246 darwin* | rhapsody*)
14247 dynamic_linker="$host_os dyld"
14248 version_type=darwin
14251 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14252 soname_spec='${libname}${release}${major}$shared_ext'
14253 shlibpath_overrides_runpath=yes
14254 shlibpath_var=DYLD_LIBRARY_PATH
14255 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14257 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14264 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14265 soname_spec='${libname}${release}${shared_ext}$major'
14266 shlibpath_var=LD_LIBRARY_PATH
14273 freebsd* | dragonfly*)
14274 # DragonFly does not have aout. When/if they implement a new
14275 # versioning mechanism, adjust this.
14276 if test -x /usr/bin/objformat; then
14277 objformat=`/usr/bin/objformat`
14280 freebsd[123]*) objformat=aout ;;
14281 *) objformat=elf ;;
14284 version_type=freebsd-$objformat
14285 case $version_type in
14287 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14292 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14296 shlibpath_var=LD_LIBRARY_PATH
14299 shlibpath_overrides_runpath=yes
14301 freebsd3.[01]* | freebsdelf3.[01]*)
14302 shlibpath_overrides_runpath=yes
14303 hardcode_into_libs=yes
14305 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14306 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14307 shlibpath_overrides_runpath=no
14308 hardcode_into_libs=yes
14310 *) # from 4.6 on, and DragonFly
14311 shlibpath_overrides_runpath=yes
14312 hardcode_into_libs=yes
14321 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14322 soname_spec='${libname}${release}${shared_ext}$major'
14323 shlibpath_var=LD_LIBRARY_PATH
14324 hardcode_into_libs=yes
14331 dynamic_linker="$host_os runtime_loader"
14332 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14333 soname_spec='${libname}${release}${shared_ext}$major'
14334 shlibpath_var=LIBRARY_PATH
14335 shlibpath_overrides_runpath=yes
14336 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14337 hardcode_into_libs=yes
14340 hpux9* | hpux10* | hpux11*)
14341 # Give a soname corresponding to the major version so that dld.sl refuses to
14342 # link against other versions.
14349 hardcode_into_libs=yes
14350 dynamic_linker="$host_os dld.so"
14351 shlibpath_var=LD_LIBRARY_PATH
14352 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14353 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14354 soname_spec='${libname}${release}${shared_ext}$major'
14355 if test "X$HPUX_IA64_MODE" = X32; then
14356 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14358 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14360 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14364 hardcode_into_libs=yes
14365 dynamic_linker="$host_os dld.sl"
14366 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14367 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14368 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14369 soname_spec='${libname}${release}${shared_ext}$major'
14370 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14371 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14375 dynamic_linker="$host_os dld.sl"
14376 shlibpath_var=SHLIB_PATH
14377 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14378 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14379 soname_spec='${libname}${release}${shared_ext}$major'
14382 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14383 postinstall_cmds='chmod 555 $lib'
14384 # or fails outright, so override atomically:
14385 install_override_mode=555
14392 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14393 soname_spec='${libname}${release}${shared_ext}$major'
14394 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14395 shlibpath_var=LD_LIBRARY_PATH
14396 shlibpath_overrides_runpath=no
14397 hardcode_into_libs=yes
14400 irix5* | irix6* | nonstopux*)
14402 nonstopux*) version_type=nonstopux ;;
14404 if test "$lt_cv_prog_gnu_ld" = yes; then
14412 soname_spec='${libname}${release}${shared_ext}$major'
14413 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14415 irix5* | nonstopux*)
14416 libsuff= shlibsuff=
14419 case $LD in # libtool.m4 will add one of these switches to LD
14420 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14421 libsuff= shlibsuff= libmagic=32-bit;;
14422 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14423 libsuff=32 shlibsuff=N32 libmagic=N32;;
14424 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14425 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14426 *) libsuff= shlibsuff= libmagic=never-match;;
14430 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14431 shlibpath_overrides_runpath=no
14432 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14433 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14434 hardcode_into_libs=yes
14437 # No shared lib support for Linux oldld, aout, or coff.
14438 linux*oldld* | linux*aout* | linux*coff*)
14442 # This must be Linux ELF.
14443 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14447 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14448 soname_spec='${libname}${release}${shared_ext}$major'
14449 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14450 shlibpath_var=LD_LIBRARY_PATH
14451 shlibpath_overrides_runpath=no
14453 # Some binutils ld are patched to set DT_RUNPATH
14454 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14455 $as_echo_n "(cached) " >&6
14457 lt_cv_shlibpath_overrides_runpath=no
14458 save_LDFLAGS=$LDFLAGS
14459 save_libdir=$libdir
14460 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14461 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14462 if test x$gcc_no_link = xyes; then
14463 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14466 /* end confdefs.h. */
14476 if ac_fn_cxx_try_link "$LINENO"; then :
14477 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14478 lt_cv_shlibpath_overrides_runpath=yes
14481 rm -f core conftest.err conftest.$ac_objext \
14482 conftest$ac_exeext conftest.$ac_ext
14483 LDFLAGS=$save_LDFLAGS
14484 libdir=$save_libdir
14488 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14490 # This implies no fast_install, which is unacceptable.
14491 # Some rework will be needed to allow for fast_install
14492 # before this can be enabled.
14493 hardcode_into_libs=yes
14495 # Append ld.so.conf contents to the search path
14496 if test -f /etc/ld.so.conf; then
14497 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' ' '`
14498 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14501 # We used to test for /lib/ld.so.1 and disable shared libraries on
14502 # powerpc, because MkLinux only supported shared libraries with the
14503 # GNU dynamic linker. Since this was broken with cross compilers,
14504 # most powerpc-linux boxes support dynamic linking these days and
14505 # people can always --disable-shared, the test was removed, and we
14506 # assume the GNU/Linux dynamic linker is in use.
14507 dynamic_linker='GNU/Linux ld.so'
14514 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14515 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14516 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14517 dynamic_linker='NetBSD (a.out) ld.so'
14519 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14520 soname_spec='${libname}${release}${shared_ext}$major'
14521 dynamic_linker='NetBSD ld.elf_so'
14523 shlibpath_var=LD_LIBRARY_PATH
14524 shlibpath_overrides_runpath=yes
14525 hardcode_into_libs=yes
14530 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14531 shlibpath_var=LD_LIBRARY_PATH
14532 shlibpath_overrides_runpath=yes
14539 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14540 soname_spec='${libname}${release}${shared_ext}$major'
14541 shlibpath_var=LD_LIBRARY_PATH
14542 shlibpath_overrides_runpath=no
14543 hardcode_into_libs=yes
14544 dynamic_linker='ldqnx.so'
14549 sys_lib_dlsearch_path_spec="/usr/lib"
14551 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14553 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14554 *) need_version=no ;;
14556 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14557 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14558 shlibpath_var=LD_LIBRARY_PATH
14559 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14561 openbsd2.[89] | openbsd2.[89].*)
14562 shlibpath_overrides_runpath=no
14565 shlibpath_overrides_runpath=yes
14569 shlibpath_overrides_runpath=yes
14574 libname_spec='$name'
14577 library_names_spec='$libname${shared_ext} $libname.a'
14578 dynamic_linker='OS/2 ld.exe'
14579 shlibpath_var=LIBPATH
14582 osf3* | osf4* | osf5*)
14586 soname_spec='${libname}${release}${shared_ext}$major'
14587 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14588 shlibpath_var=LD_LIBRARY_PATH
14589 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14590 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14601 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14602 soname_spec='${libname}${release}${shared_ext}$major'
14603 shlibpath_var=LD_LIBRARY_PATH
14604 shlibpath_overrides_runpath=yes
14605 hardcode_into_libs=yes
14606 # ldd complains unless libraries are executable
14607 postinstall_cmds='chmod +x $lib'
14612 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14613 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14614 shlibpath_var=LD_LIBRARY_PATH
14615 shlibpath_overrides_runpath=yes
14616 if test "$with_gnu_ld" = yes; then
14624 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14625 soname_spec='${libname}${release}${shared_ext}$major'
14626 shlibpath_var=LD_LIBRARY_PATH
14627 case $host_vendor in
14629 shlibpath_overrides_runpath=no
14631 runpath_var=LD_RUN_PATH
14639 shlibpath_overrides_runpath=no
14640 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14646 if test -d /usr/nec ;then
14648 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14649 soname_spec='$libname${shared_ext}.$major'
14650 shlibpath_var=LD_LIBRARY_PATH
14654 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14655 version_type=freebsd-elf
14658 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14659 soname_spec='${libname}${release}${shared_ext}$major'
14660 shlibpath_var=LD_LIBRARY_PATH
14661 shlibpath_overrides_runpath=yes
14662 hardcode_into_libs=yes
14663 if test "$with_gnu_ld" = yes; then
14664 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14666 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14669 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14673 sys_lib_dlsearch_path_spec='/usr/lib'
14677 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14681 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14682 shlibpath_var=LD_LIBRARY_PATH
14683 shlibpath_overrides_runpath=no
14684 hardcode_into_libs=yes
14689 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14690 soname_spec='${libname}${release}${shared_ext}$major'
14691 shlibpath_var=LD_LIBRARY_PATH
14698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14699 $as_echo "$dynamic_linker" >&6; }
14700 test "$dynamic_linker" = no && can_build_shared=no
14702 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14703 if test "$GCC" = yes; then
14704 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14707 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14708 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14710 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14711 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14752 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14753 hardcode_action_CXX=
14754 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14755 test -n "$runpath_var_CXX" ||
14756 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14758 # We can hardcode non-existent directories.
14759 if test "$hardcode_direct_CXX" != no &&
14760 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14761 # have to relink, otherwise we might link with an installed library
14762 # when we should be linking with a yet-to-be-installed one
14763 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14764 test "$hardcode_minus_L_CXX" != no; then
14765 # Linking always hardcodes the temporary library directory.
14766 hardcode_action_CXX=relink
14768 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14769 hardcode_action_CXX=immediate
14772 # We cannot hardcode anything, or else we can only hardcode existing
14774 hardcode_action_CXX=unsupported
14776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14777 $as_echo "$hardcode_action_CXX" >&6; }
14779 if test "$hardcode_action_CXX" = relink ||
14780 test "$inherit_rpath_CXX" = yes; then
14781 # Fast installation is not supported
14782 enable_fast_install=no
14783 elif test "$shlibpath_overrides_runpath" = yes ||
14784 test "$enable_shared" = no; then
14785 # Fast installation is not necessary
14786 enable_fast_install=needless
14795 fi # test -n "$compiler"
14801 with_gnu_ld=$lt_save_with_gnu_ld
14802 lt_cv_path_LDCXX=$lt_cv_path_LD
14803 lt_cv_path_LD=$lt_save_path_LD
14804 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14805 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14806 fi # test "$_lt_caught_CXX_error" != yes
14809 ac_cpp='$CPP $CPPFLAGS'
14810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14826 ac_config_commands="$ac_config_commands libtool"
14831 # Only expand once:
14837 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14838 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14840 # Possibly disable most of the library.
14841 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14842 ## than just ignoring the results. Faster /and/ more correct, win win.
14844 # Check whether --enable-hosted-libstdcxx was given.
14845 if test "${enable_hosted_libstdcxx+set}" = set; then :
14846 enableval=$enable_hosted_libstdcxx;
14849 arm*-*-symbianelf*)
14850 enable_hosted_libstdcxx=no
14853 enable_hosted_libstdcxx=yes
14858 if test "$enable_hosted_libstdcxx" = no; then
14859 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14860 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14863 enable_abi_check=no
14864 enable_libstdcxx_pch=no
14871 cat >>confdefs.h <<_ACEOF
14872 #define _GLIBCXX_HOSTED $hosted_define
14877 # Enable compiler support that doesn't require linking.
14879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14880 $as_echo_n "checking for exception model to use... " >&6; }
14883 ac_cpp='$CXXCPP $CPPFLAGS'
14884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14888 # Check whether --enable-sjlj-exceptions was given.
14889 if test "${enable_sjlj_exceptions+set}" = set; then :
14890 enableval=$enable_sjlj_exceptions;
14891 case "$enableval" in
14893 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
14897 enable_sjlj_exceptions=auto
14902 if test $enable_sjlj_exceptions = auto; then
14903 # Botheration. Now we've got to detect the exception model. Link tests
14904 # against libgcc.a are problematic since we've not been given proper -L
14905 # bits for single-tree newlib and libgloss.
14907 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
14908 cat > conftest.$ac_ext << EOF
14909 #line 14909 "configure"
14910 struct S { ~S(); };
14918 old_CXXFLAGS="$CXXFLAGS"
14920 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14921 (eval $ac_compile) 2>&5
14923 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14924 test $ac_status = 0; }; then
14925 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14926 enable_sjlj_exceptions=yes
14927 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14928 enable_sjlj_exceptions=no
14929 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14930 enable_sjlj_exceptions=no
14933 CXXFLAGS="$old_CXXFLAGS"
14937 # This is a tad weird, for hysterical raisins. We have to map
14938 # enable/disable to two different models.
14939 case $enable_sjlj_exceptions in
14942 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
14944 ac_exception_model_name=sjlj
14947 ac_exception_model_name="call frame"
14950 as_fn_error "unable to detect exception model" "$LINENO" 5
14954 ac_cpp='$CPP $CPPFLAGS'
14955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
14960 $as_echo "$ac_exception_model_name" >&6; }
14963 # Check whether --enable-libstdcxx-pch was given.
14964 if test "${enable_libstdcxx_pch+set}" = set; then :
14965 enableval=$enable_libstdcxx_pch;
14966 case "$enableval" in
14968 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
14972 enable_libstdcxx_pch=$is_hosted
14976 if test $enable_libstdcxx_pch = yes; then
14977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
14978 $as_echo_n "checking for compiler with PCH support... " >&6; }
14979 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
14980 $as_echo_n "(cached) " >&6
14982 ac_save_CXXFLAGS="$CXXFLAGS"
14983 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
14986 ac_cpp='$CXXCPP $CPPFLAGS'
14987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14991 echo '#include <math.h>' > conftest.h
14992 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
14993 -o conftest.h.gch 1>&5 2>&1 &&
14994 echo '#error "pch failed"' > conftest.h &&
14995 echo '#include "conftest.h"' > conftest.cc &&
14996 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
14998 glibcxx_cv_prog_CXX_pch=yes
15000 glibcxx_cv_prog_CXX_pch=no
15003 CXXFLAGS=$ac_save_CXXFLAGS
15005 ac_cpp='$CPP $CPPFLAGS'
15006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15013 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15014 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15018 $as_echo_n "checking for enabled PCH... " >&6; }
15019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15020 $as_echo "$enable_libstdcxx_pch" >&6; }
15023 if test $enable_libstdcxx_pch = yes; then
15024 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15026 glibcxx_PCHFLAGS=""
15031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15032 $as_echo_n "checking for thread model used by GCC... " >&6; }
15033 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15035 $as_echo "$target_thread_file" >&6; }
15037 if test $target_thread_file != single; then
15039 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
15043 glibcxx_thread_h=gthr-$target_thread_file.h
15045 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
15046 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
15057 ac_cpp='$CXXCPP $CPPFLAGS'
15058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15062 old_CXXFLAGS="$CXXFLAGS"
15064 # Do link tests if possible, instead asm tests, limited to some platforms
15065 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15066 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15067 atomic_builtins_link_tests=no
15068 if test x$gcc_no_link != xyes; then
15069 # Can do link tests. Limit to some tested platforms
15071 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15072 atomic_builtins_link_tests=yes
15077 if test x$atomic_builtins_link_tests = xyes; then
15081 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15084 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15085 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15086 $as_echo_n "(cached) " >&6
15089 if test x$gcc_no_link = xyes; then
15090 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15093 /* end confdefs.h. */
15098 typedef bool atomic_type;
15101 const atomic_type c3(0);
15102 __sync_fetch_and_add(&c1, c2);
15103 __sync_val_compare_and_swap(&c1, c3, c2);
15104 __sync_lock_test_and_set(&c1, c3);
15105 __sync_lock_release(&c1);
15106 __sync_synchronize();
15111 if ac_fn_cxx_try_link "$LINENO"; then :
15112 glibcxx_cv_atomic_bool=yes
15114 glibcxx_cv_atomic_bool=no
15116 rm -f core conftest.err conftest.$ac_objext \
15117 conftest$ac_exeext conftest.$ac_ext
15121 if test $glibcxx_cv_atomic_bool = yes; then
15123 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15127 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15130 $as_echo_n "checking for atomic builtins for short... " >&6; }
15131 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15132 $as_echo_n "(cached) " >&6
15135 if test x$gcc_no_link = xyes; then
15136 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15139 /* end confdefs.h. */
15144 typedef short atomic_type;
15147 const atomic_type c3(0);
15148 __sync_fetch_and_add(&c1, c2);
15149 __sync_val_compare_and_swap(&c1, c3, c2);
15150 __sync_lock_test_and_set(&c1, c3);
15151 __sync_lock_release(&c1);
15152 __sync_synchronize();
15157 if ac_fn_cxx_try_link "$LINENO"; then :
15158 glibcxx_cv_atomic_short=yes
15160 glibcxx_cv_atomic_short=no
15162 rm -f core conftest.err conftest.$ac_objext \
15163 conftest$ac_exeext conftest.$ac_ext
15167 if test $glibcxx_cv_atomic_short = yes; then
15169 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15173 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15176 $as_echo_n "checking for atomic builtins for int... " >&6; }
15177 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15178 $as_echo_n "(cached) " >&6
15181 if test x$gcc_no_link = xyes; then
15182 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15185 /* end confdefs.h. */
15190 typedef int atomic_type;
15193 const atomic_type c3(0);
15194 __sync_fetch_and_add(&c1, c2);
15195 __sync_val_compare_and_swap(&c1, c3, c2);
15196 __sync_lock_test_and_set(&c1, c3);
15197 __sync_lock_release(&c1);
15198 __sync_synchronize();
15203 if ac_fn_cxx_try_link "$LINENO"; then :
15204 glibcxx_cv_atomic_int=yes
15206 glibcxx_cv_atomic_int=no
15208 rm -f core conftest.err conftest.$ac_objext \
15209 conftest$ac_exeext conftest.$ac_ext
15213 if test $glibcxx_cv_atomic_int = yes; then
15215 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15219 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15222 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15223 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15224 $as_echo_n "(cached) " >&6
15227 if test x$gcc_no_link = xyes; then
15228 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15231 /* end confdefs.h. */
15236 typedef long long atomic_type;
15239 const atomic_type c3(0);
15240 __sync_fetch_and_add(&c1, c2);
15241 __sync_val_compare_and_swap(&c1, c3, c2);
15242 __sync_lock_test_and_set(&c1, c3);
15243 __sync_lock_release(&c1);
15244 __sync_synchronize();
15249 if ac_fn_cxx_try_link "$LINENO"; then :
15250 glibcxx_cv_atomic_long_long=yes
15252 glibcxx_cv_atomic_long_long=no
15254 rm -f core conftest.err conftest.$ac_objext \
15255 conftest$ac_exeext conftest.$ac_ext
15259 if test $glibcxx_cv_atomic_long_long = yes; then
15261 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15265 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15271 # Compile unoptimized.
15274 # Fake what AC_TRY_COMPILE does.
15276 cat > conftest.$ac_ext << EOF
15277 #line 15277 "configure"
15280 typedef bool atomic_type;
15283 const atomic_type c3(0);
15284 __sync_fetch_and_add(&c1, c2);
15285 __sync_val_compare_and_swap(&c1, c3, c2);
15286 __sync_lock_test_and_set(&c1, c3);
15287 __sync_lock_release(&c1);
15288 __sync_synchronize();
15293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15294 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15295 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15296 (eval $ac_compile) 2>&5
15298 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15299 test $ac_status = 0; }; then
15300 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15301 glibcxx_cv_atomic_bool=no
15304 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15306 glibcxx_cv_atomic_bool=yes
15309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15310 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15313 cat > conftest.$ac_ext << EOF
15314 #line 15314 "configure"
15317 typedef short atomic_type;
15320 const atomic_type c3(0);
15321 __sync_fetch_and_add(&c1, c2);
15322 __sync_val_compare_and_swap(&c1, c3, c2);
15323 __sync_lock_test_and_set(&c1, c3);
15324 __sync_lock_release(&c1);
15325 __sync_synchronize();
15330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15331 $as_echo_n "checking for atomic builtins for short... " >&6; }
15332 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15333 (eval $ac_compile) 2>&5
15335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15336 test $ac_status = 0; }; then
15337 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15338 glibcxx_cv_atomic_short=no
15341 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15343 glibcxx_cv_atomic_short=yes
15346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15347 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15350 cat > conftest.$ac_ext << EOF
15351 #line 15351 "configure"
15354 // NB: _Atomic_word not necessarily int.
15355 typedef int atomic_type;
15358 const atomic_type c3(0);
15359 __sync_fetch_and_add(&c1, c2);
15360 __sync_val_compare_and_swap(&c1, c3, c2);
15361 __sync_lock_test_and_set(&c1, c3);
15362 __sync_lock_release(&c1);
15363 __sync_synchronize();
15368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15369 $as_echo_n "checking for atomic builtins for int... " >&6; }
15370 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15371 (eval $ac_compile) 2>&5
15373 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15374 test $ac_status = 0; }; then
15375 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15376 glibcxx_cv_atomic_int=no
15379 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15381 glibcxx_cv_atomic_int=yes
15384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15385 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15388 cat > conftest.$ac_ext << EOF
15389 #line 15389 "configure"
15392 typedef long long atomic_type;
15395 const atomic_type c3(0);
15396 __sync_fetch_and_add(&c1, c2);
15397 __sync_val_compare_and_swap(&c1, c3, c2);
15398 __sync_lock_test_and_set(&c1, c3);
15399 __sync_lock_release(&c1);
15400 __sync_synchronize();
15405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15406 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15407 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15408 (eval $ac_compile) 2>&5
15410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15411 test $ac_status = 0; }; then
15412 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15413 glibcxx_cv_atomic_long_long=no
15416 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15418 glibcxx_cv_atomic_long_long=yes
15421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15422 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15427 CXXFLAGS="$old_CXXFLAGS"
15429 ac_cpp='$CPP $CPPFLAGS'
15430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15435 # Set atomicity_dir to builtins if either of above tests pass.
15436 if test $glibcxx_cv_atomic_int = yes || test $glibcxx_cv_atomic_bool = yes ; then
15437 atomicity_dir=cpu/generic/atomicity_builtins
15440 # If still generic, set to mutex.
15441 if test $atomicity_dir = "cpu/generic" ; then
15442 atomicity_dir=cpu/generic/atomicity_mutex
15443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15444 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15445 if test "x$target_thread_file" = xsingle; then
15446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15447 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15449 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15452 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15454 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15461 # Fake what AC_TRY_COMPILE does, without linking as this is
15462 # unnecessary for this test.
15464 cat > conftest.$ac_ext << EOF
15465 #line 15465 "configure"
15475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15476 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15477 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15478 (eval $ac_compile) 2>&5
15480 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15481 test $ac_status = 0; }; then
15483 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15490 $as_echo "$enable_dfp" >&6; }
15494 # Checks for compiler support that doesn't require linking.
15496 # All these tests are for C++; save the language and the compiler flags.
15497 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15498 # found in GLIBCXX_CONFIGURE.
15501 ac_cpp='$CXXCPP $CPPFLAGS'
15502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15506 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15507 ac_save_CXXFLAGS="$CXXFLAGS"
15509 # Check for maintainer-mode bits.
15510 if test x"$USE_MAINTAINER_MODE" = xno; then
15516 # Check for -ffunction-sections -fdata-sections
15517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15518 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15519 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15521 /* end confdefs.h. */
15522 int foo; void bar() { };
15531 if ac_fn_cxx_try_compile "$LINENO"; then :
15536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15537 if test "$ac_test_CXXFLAGS" = set; then
15538 CXXFLAGS="$ac_save_CXXFLAGS"
15540 # this is the suspicious part
15543 if test x"$ac_fdsections" = x"yes"; then
15544 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15547 $as_echo "$ac_fdsections" >&6; }
15550 ac_cpp='$CPP $CPPFLAGS'
15551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15559 # Enable all the variable C++ runtime options that don't require linking.
15561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15562 $as_echo_n "checking for underlying I/O to use... " >&6; }
15563 # Check whether --enable-cstdio was given.
15564 if test "${enable_cstdio+set}" = set; then :
15565 enableval=$enable_cstdio;
15566 case "$enableval" in
15568 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15572 enable_cstdio=stdio
15577 # Now that libio has been removed, you can have any color you want as long
15578 # as it's black. This is one big no-op until other packages are added, but
15579 # showing the framework never hurts.
15580 case ${enable_cstdio} in
15582 CSTDIO_H=config/io/c_io_stdio.h
15583 BASIC_FILE_H=config/io/basic_file_stdio.h
15584 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15586 $as_echo "stdio" >&6; }
15595 # Check whether --enable-clocale was given.
15596 if test "${enable_clocale+set}" = set; then :
15597 enableval=$enable_clocale;
15598 case "$enableval" in
15599 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
15600 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15604 enable_clocale=auto
15609 # Deal with gettext issues. Default to not using it (=no) until we detect
15610 # support for it later. Let the user turn it off via --e/d, but let that
15611 # default to on for easier handling.
15613 # Check whether --enable-nls was given.
15614 if test "${enable_nls+set}" = set; then :
15615 enableval=$enable_nls;
15621 # Either a known packaage, or "auto"
15622 if test $enable_clocale = no || test $enable_clocale = yes; then
15623 enable_clocale=auto
15625 enable_clocale_flag=$enable_clocale
15627 # Probe for locale model to use if none specified.
15628 # Default to "generic".
15629 if test $enable_clocale_flag = auto; then
15630 case ${target_os} in
15631 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15632 enable_clocale_flag=gnu
15634 darwin* | freebsd*)
15635 enable_clocale_flag=darwin
15638 enable_clocale_flag=generic
15643 # Sanity check model, and test for special functionality.
15644 if test $enable_clocale_flag = gnu; then
15645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15646 /* end confdefs.h. */
15648 #include <features.h>
15649 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15654 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15655 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15656 enable_clocale_flag=gnu
15658 enable_clocale_flag=generic
15663 # Set it to scream when it hurts.
15664 ac_save_CFLAGS="$CFLAGS"
15665 CFLAGS="-Wimplicit-function-declaration -Werror"
15667 # Use strxfrm_l if available.
15668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15669 /* end confdefs.h. */
15670 #define _GNU_SOURCE 1
15671 #include <string.h>
15672 #include <locale.h>
15676 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15681 if ac_fn_c_try_compile "$LINENO"; then :
15683 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15688 # Use strerror_l if available.
15689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15690 /* end confdefs.h. */
15691 #define _GNU_SOURCE 1
15692 #include <string.h>
15693 #include <locale.h>
15697 __locale_t loc; strerror_l(5, loc);
15702 if ac_fn_c_try_compile "$LINENO"; then :
15704 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15709 CFLAGS="$ac_save_CFLAGS"
15712 # Perhaps use strerror_r if available, and strerror_l isn't.
15713 ac_save_CFLAGS="$CFLAGS"
15714 CFLAGS="-Wimplicit-function-declaration -Werror"
15715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15716 /* end confdefs.h. */
15717 #define _GNU_SOURCE 1
15718 #include <string.h>
15719 #include <locale.h>
15723 char s[128]; strerror_r(5, s, 128);
15728 if ac_fn_c_try_compile "$LINENO"; then :
15730 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15734 CFLAGS="$ac_save_CFLAGS"
15736 # Set configure bits for specified locale package
15737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15738 $as_echo_n "checking for C locale to use... " >&6; }
15739 case ${enable_clocale_flag} in
15741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15742 $as_echo "generic" >&6; }
15744 CLOCALE_H=config/locale/generic/c_locale.h
15745 CLOCALE_CC=config/locale/generic/c_locale.cc
15746 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15747 CCOLLATE_CC=config/locale/generic/collate_members.cc
15748 CCTYPE_CC=config/locale/generic/ctype_members.cc
15749 CMESSAGES_H=config/locale/generic/messages_members.h
15750 CMESSAGES_CC=config/locale/generic/messages_members.cc
15751 CMONEY_CC=config/locale/generic/monetary_members.cc
15752 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15753 CTIME_H=config/locale/generic/time_members.h
15754 CTIME_CC=config/locale/generic/time_members.cc
15755 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15759 $as_echo "darwin or freebsd" >&6; }
15761 CLOCALE_H=config/locale/generic/c_locale.h
15762 CLOCALE_CC=config/locale/generic/c_locale.cc
15763 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15764 CCOLLATE_CC=config/locale/generic/collate_members.cc
15765 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15766 CMESSAGES_H=config/locale/generic/messages_members.h
15767 CMESSAGES_CC=config/locale/generic/messages_members.cc
15768 CMONEY_CC=config/locale/generic/monetary_members.cc
15769 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15770 CTIME_H=config/locale/generic/time_members.h
15771 CTIME_CC=config/locale/generic/time_members.cc
15772 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15777 $as_echo "gnu" >&6; }
15779 # Declare intention to use gettext, and add support for specific
15781 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15782 ALL_LINGUAS="de fr"
15784 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15785 # Extract the first word of "msgfmt", so it can be a program name with args.
15786 set dummy msgfmt; ac_word=$2
15787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15788 $as_echo_n "checking for $ac_word... " >&6; }
15789 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15790 $as_echo_n "(cached) " >&6
15792 if test -n "$check_msgfmt"; then
15793 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15796 for as_dir in $PATH
15799 test -z "$as_dir" && as_dir=.
15800 for ac_exec_ext in '' $ac_executable_extensions; do
15801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15802 ac_cv_prog_check_msgfmt="yes"
15803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15810 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15813 check_msgfmt=$ac_cv_prog_check_msgfmt
15814 if test -n "$check_msgfmt"; then
15815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15816 $as_echo "$check_msgfmt" >&6; }
15818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15819 $as_echo "no" >&6; }
15823 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15826 # Export the build objects.
15827 for ling in $ALL_LINGUAS; do \
15828 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15829 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15834 CLOCALE_H=config/locale/gnu/c_locale.h
15835 CLOCALE_CC=config/locale/gnu/c_locale.cc
15836 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15837 CCOLLATE_CC=config/locale/gnu/collate_members.cc
15838 CCTYPE_CC=config/locale/gnu/ctype_members.cc
15839 CMESSAGES_H=config/locale/gnu/messages_members.h
15840 CMESSAGES_CC=config/locale/gnu/messages_members.cc
15841 CMONEY_CC=config/locale/gnu/monetary_members.cc
15842 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15843 CTIME_H=config/locale/gnu/time_members.h
15844 CTIME_CC=config/locale/gnu/time_members.cc
15845 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15849 $as_echo "IEEE 1003.1" >&6; }
15851 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15852 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15853 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15854 CCOLLATE_CC=config/locale/generic/collate_members.cc
15855 CCTYPE_CC=config/locale/generic/ctype_members.cc
15856 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15857 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15858 CMONEY_CC=config/locale/generic/monetary_members.cc
15859 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15860 CTIME_H=config/locale/generic/time_members.h
15861 CTIME_CC=config/locale/generic/time_members.cc
15862 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15866 # This is where the testsuite looks for locale catalogs, using the
15867 # -DLOCALEDIR define during testsuite compilation.
15868 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15871 # A standalone libintl (e.g., GNU libintl) may be in use.
15872 if test $USE_NLS = yes; then
15873 for ac_header in libintl.h
15875 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15876 if test "x$ac_cv_header_libintl_h" = x""yes; then :
15877 cat >>confdefs.h <<_ACEOF
15878 #define HAVE_LIBINTL_H 1
15887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
15888 $as_echo_n "checking for library containing gettext... " >&6; }
15889 if test "${ac_cv_search_gettext+set}" = set; then :
15890 $as_echo_n "(cached) " >&6
15892 ac_func_search_save_LIBS=$LIBS
15893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15894 /* end confdefs.h. */
15896 /* Override any GCC internal prototype to avoid an error.
15897 Use char because int might match the return type of a GCC
15898 builtin and then its argument prototype would still apply. */
15911 for ac_lib in '' intl; do
15912 if test -z "$ac_lib"; then
15913 ac_res="none required"
15916 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15918 if test x$gcc_no_link = xyes; then
15919 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15921 if ac_fn_c_try_link "$LINENO"; then :
15922 ac_cv_search_gettext=$ac_res
15924 rm -f core conftest.err conftest.$ac_objext \
15926 if test "${ac_cv_search_gettext+set}" = set; then :
15930 if test "${ac_cv_search_gettext+set}" = set; then :
15933 ac_cv_search_gettext=no
15935 rm conftest.$ac_ext
15936 LIBS=$ac_func_search_save_LIBS
15938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
15939 $as_echo "$ac_cv_search_gettext" >&6; }
15940 ac_res=$ac_cv_search_gettext
15941 if test "$ac_res" != no; then :
15942 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15949 if test $USE_NLS = yes; then
15951 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
15970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
15971 $as_echo_n "checking for std::allocator base class... " >&6; }
15972 # Check whether --enable-libstdcxx-allocator was given.
15973 if test "${enable_libstdcxx_allocator+set}" = set; then :
15974 enableval=$enable_libstdcxx_allocator;
15975 case "$enableval" in
15976 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
15977 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
15981 enable_libstdcxx_allocator=auto
15986 # If they didn't use this option switch, or if they specified --enable
15987 # with no specific model, we'll have to look for one. If they
15988 # specified --disable (???), do likewise.
15989 if test $enable_libstdcxx_allocator = no ||
15990 test $enable_libstdcxx_allocator = yes;
15992 enable_libstdcxx_allocator=auto
15995 # Either a known package, or "auto". Auto implies the default choice
15996 # for a particular platform.
15997 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
15999 # Probe for host-specific support if no specific model is specified.
16000 # Default to "new".
16001 if test $enable_libstdcxx_allocator_flag = auto; then
16002 case ${target_os} in
16003 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16004 enable_libstdcxx_allocator_flag=new
16007 enable_libstdcxx_allocator_flag=new
16011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16012 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16015 # Set configure bits for specified locale package
16016 case ${enable_libstdcxx_allocator_flag} in
16018 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16019 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16022 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16023 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16026 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16027 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16030 ALLOCATOR_H=config/allocator/new_allocator_base.h
16031 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16034 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16035 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16043 # Check whether --enable-cheaders was given.
16044 if test "${enable_cheaders+set}" = set; then :
16045 enableval=$enable_cheaders;
16046 case "$enableval" in
16047 c|c_std|c_global) ;;
16048 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16052 enable_cheaders=$c_model
16056 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16057 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16059 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16061 # Allow overrides to configure.host here.
16062 if test $enable_cheaders = c_global; then
16063 c_compatibility=yes
16066 if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
16077 # Check whether --enable-long-long was given.
16078 if test "${enable_long_long+set}" = set; then :
16079 enableval=$enable_long_long;
16080 case "$enableval" in
16082 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16086 enable_long_long=yes
16090 if test $enable_long_long = yes; then
16092 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16096 $as_echo_n "checking for enabled long long specializations... " >&6; }
16097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16098 $as_echo "$enable_long_long" >&6; }
16101 # Check whether --enable-wchar_t was given.
16102 if test "${enable_wchar_t+set}" = set; then :
16103 enableval=$enable_wchar_t;
16104 case "$enableval" in
16106 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16115 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16116 for ac_header in wchar.h
16118 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16119 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16120 cat >>confdefs.h <<_ACEOF
16121 #define HAVE_WCHAR_H 1
16130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16131 $as_echo_n "checking for mbstate_t... " >&6; }
16132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16133 /* end confdefs.h. */
16138 mbstate_t teststate;
16143 if ac_fn_c_try_compile "$LINENO"; then :
16148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16150 $as_echo "$have_mbstate_t" >&6; }
16151 if test x"$have_mbstate_t" = xyes; then
16153 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16157 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16159 for ac_header in wctype.h
16161 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16162 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16163 cat >>confdefs.h <<_ACEOF
16164 #define HAVE_WCTYPE_H 1
16166 ac_has_wctype_h=yes
16174 if test x"$enable_wchar_t" = x"yes"; then
16178 ac_cpp='$CXXCPP $CPPFLAGS'
16179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16184 if test x"$ac_has_wchar_h" = xyes &&
16185 test x"$ac_has_wctype_h" = xyes; then
16186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16187 /* end confdefs.h. */
16189 #include <stddef.h>
16192 long j = WCHAR_MIN;
16193 long k = WCHAR_MAX;
16258 if ac_fn_cxx_try_compile "$LINENO"; then :
16263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16269 ac_cpp='$CPP $CPPFLAGS'
16270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16276 if test x"$enable_wchar_t" = x"yes"; then
16278 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16283 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16285 $as_echo "$enable_wchar_t" >&6; }
16289 # Check whether --enable-c99 was given.
16290 if test "${enable_c99+set}" = set; then :
16291 enableval=$enable_c99;
16292 case "$enableval" in
16294 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16303 if test x"$enable_c99" = x"yes"; then
16307 ac_cpp='$CXXCPP $CPPFLAGS'
16308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16313 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16314 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16315 # spuriously enabled.
16316 # Long term, -std=c++0x could be even better, could manage to explicitely
16317 # request C99 facilities to the underlying C headers.
16318 ac_save_CXXFLAGS="$CXXFLAGS"
16319 CXXFLAGS="$CXXFLAGS -std=c++98"
16320 ac_save_LIBS="$LIBS"
16321 ac_save_gcc_no_link="$gcc_no_link"
16323 if test x$gcc_no_link != xyes; then
16324 # Use -fno-exceptions to that the C driver can link these tests without
16325 # hitting undefined references to personality routines.
16326 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16328 $as_echo_n "checking for sin in -lm... " >&6; }
16329 if test "${ac_cv_lib_m_sin+set}" = set; then :
16330 $as_echo_n "(cached) " >&6
16332 ac_check_lib_save_LIBS=$LIBS
16334 if test x$gcc_no_link = xyes; then
16335 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16338 /* end confdefs.h. */
16340 /* Override any GCC internal prototype to avoid an error.
16341 Use char because int might match the return type of a GCC
16342 builtin and then its argument prototype would still apply. */
16355 if ac_fn_cxx_try_link "$LINENO"; then :
16356 ac_cv_lib_m_sin=yes
16360 rm -f core conftest.err conftest.$ac_objext \
16361 conftest$ac_exeext conftest.$ac_ext
16362 LIBS=$ac_check_lib_save_LIBS
16364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16365 $as_echo "$ac_cv_lib_m_sin" >&6; }
16366 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16372 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16379 # Check for the existence of <math.h> functions used if C99 is enabled.
16380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16381 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16382 if test "${glibcxx_cv_c99_math+set}" = set; then :
16383 $as_echo_n "(cached) " >&6
16386 if test x$gcc_no_link = xyes; then
16387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16388 /* end confdefs.h. */
16390 volatile double d1, d2;
16395 i = fpclassify(d1);
16401 i = isgreater(d1, d2);
16402 i = isgreaterequal(d1, d2);
16403 i = isless(d1, d2);
16404 i = islessequal(d1, d2);
16405 i = islessgreater(d1, d2);
16406 i = islessgreater(d1, d2);
16407 i = isunordered(d1, d2);
16413 if ac_fn_cxx_try_compile "$LINENO"; then :
16414 glibcxx_cv_c99_math=yes
16416 glibcxx_cv_c99_math=no
16418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16420 if test x$gcc_no_link = xyes; then
16421 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16424 /* end confdefs.h. */
16426 volatile double d1, d2;
16431 i = fpclassify(d1);
16437 i = isgreater(d1, d2);
16438 i = isgreaterequal(d1, d2);
16439 i = isless(d1, d2);
16440 i = islessequal(d1, d2);
16441 i = islessgreater(d1, d2);
16442 i = islessgreater(d1, d2);
16443 i = isunordered(d1, d2);
16449 if ac_fn_cxx_try_link "$LINENO"; then :
16450 glibcxx_cv_c99_math=yes
16452 glibcxx_cv_c99_math=no
16454 rm -f core conftest.err conftest.$ac_objext \
16455 conftest$ac_exeext conftest.$ac_ext
16460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16461 $as_echo "$glibcxx_cv_c99_math" >&6; }
16462 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16464 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16468 # Check for the existence of <complex.h> complex math functions.
16469 # This is necessary even though libstdc++ uses the builtin versions
16470 # of these functions, because if the builtin cannot be used, a reference
16471 # to the library function is emitted.
16472 for ac_header in tgmath.h
16474 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16475 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16476 cat >>confdefs.h <<_ACEOF
16477 #define HAVE_TGMATH_H 1
16479 ac_has_tgmath_h=yes
16486 for ac_header in complex.h
16488 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16489 if test "x$ac_cv_header_complex_h" = x""yes; then :
16490 cat >>confdefs.h <<_ACEOF
16491 #define HAVE_COMPLEX_H 1
16493 ac_has_complex_h=yes
16495 ac_has_complex_h=no
16500 glibcxx_cv_c99_complex=no;
16501 if test x"$ac_has_complex_h" = x"yes"; then
16502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16503 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16504 if test x$gcc_no_link = xyes; then
16505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16506 /* end confdefs.h. */
16507 #include <complex.h>
16508 typedef __complex__ float float_type;
16509 typedef __complex__ double double_type;
16510 typedef __complex__ long double ld_type;
16511 volatile float_type tmpf;
16512 volatile double_type tmpd;
16513 volatile ld_type tmpld;
16516 volatile long double ld;
16522 tmpf = ccosf(tmpf);
16523 tmpf = ccoshf(tmpf);
16524 tmpf = cexpf(tmpf);
16525 tmpf = clogf(tmpf);
16526 tmpf = csinf(tmpf);
16527 tmpf = csinhf(tmpf);
16528 tmpf = csqrtf(tmpf);
16529 tmpf = ctanf(tmpf);
16530 tmpf = ctanhf(tmpf);
16531 tmpf = cpowf(tmpf, tmpf);
16532 tmpf = cprojf(tmpf);
16536 tmpd = ccosh(tmpd);
16540 tmpd = csinh(tmpd);
16541 tmpd = csqrt(tmpd);
16543 tmpd = ctanh(tmpd);
16544 tmpd = cpow(tmpd, tmpd);
16545 tmpd = cproj(tmpd);
16548 tmpld = ccosl(tmpld);
16549 tmpld = ccoshl(tmpld);
16550 tmpld = cexpl(tmpld);
16551 tmpld = clogl(tmpld);
16552 tmpld = csinl(tmpld);
16553 tmpld = csinhl(tmpld);
16554 tmpld = csqrtl(tmpld);
16555 tmpld = ctanl(tmpld);
16556 tmpld = ctanhl(tmpld);
16557 tmpld = cpowl(tmpld, tmpld);
16558 tmpld = cprojl(tmpld);
16564 if ac_fn_cxx_try_compile "$LINENO"; then :
16565 glibcxx_cv_c99_complex=yes
16567 glibcxx_cv_c99_complex=no
16569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16571 if test x$gcc_no_link = xyes; then
16572 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16575 /* end confdefs.h. */
16576 #include <complex.h>
16577 typedef __complex__ float float_type;
16578 typedef __complex__ double double_type;
16579 typedef __complex__ long double ld_type;
16580 volatile float_type tmpf;
16581 volatile double_type tmpd;
16582 volatile ld_type tmpld;
16585 volatile long double ld;
16591 tmpf = ccosf(tmpf);
16592 tmpf = ccoshf(tmpf);
16593 tmpf = cexpf(tmpf);
16594 tmpf = clogf(tmpf);
16595 tmpf = csinf(tmpf);
16596 tmpf = csinhf(tmpf);
16597 tmpf = csqrtf(tmpf);
16598 tmpf = ctanf(tmpf);
16599 tmpf = ctanhf(tmpf);
16600 tmpf = cpowf(tmpf, tmpf);
16601 tmpf = cprojf(tmpf);
16605 tmpd = ccosh(tmpd);
16609 tmpd = csinh(tmpd);
16610 tmpd = csqrt(tmpd);
16612 tmpd = ctanh(tmpd);
16613 tmpd = cpow(tmpd, tmpd);
16614 tmpd = cproj(tmpd);
16617 tmpld = ccosl(tmpld);
16618 tmpld = ccoshl(tmpld);
16619 tmpld = cexpl(tmpld);
16620 tmpld = clogl(tmpld);
16621 tmpld = csinl(tmpld);
16622 tmpld = csinhl(tmpld);
16623 tmpld = csqrtl(tmpld);
16624 tmpld = ctanl(tmpld);
16625 tmpld = ctanhl(tmpld);
16626 tmpld = cpowl(tmpld, tmpld);
16627 tmpld = cprojl(tmpld);
16633 if ac_fn_cxx_try_link "$LINENO"; then :
16634 glibcxx_cv_c99_complex=yes
16636 glibcxx_cv_c99_complex=no
16638 rm -f core conftest.err conftest.$ac_objext \
16639 conftest$ac_exeext conftest.$ac_ext
16642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16643 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16644 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16646 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16650 # Check for the existence in <stdio.h> of vscanf, et. al.
16651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16652 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16653 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16654 $as_echo_n "(cached) " >&6
16657 if test x$gcc_no_link = xyes; then
16658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16659 /* end confdefs.h. */
16661 #include <stdarg.h>
16662 void foo(char* fmt, ...)
16664 va_list args; va_start(args, fmt);
16665 vfscanf(stderr, "%i", args);
16666 vscanf("%i", args);
16667 vsnprintf(fmt, 0, "%i", args);
16668 vsscanf(fmt, "%i", args);
16673 snprintf("12", 0, "%i");
16678 if ac_fn_cxx_try_compile "$LINENO"; then :
16679 glibcxx_cv_c99_stdio=yes
16681 glibcxx_cv_c99_stdio=no
16683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16685 if test x$gcc_no_link = xyes; then
16686 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16689 /* end confdefs.h. */
16691 #include <stdarg.h>
16692 void foo(char* fmt, ...)
16694 va_list args; va_start(args, fmt);
16695 vfscanf(stderr, "%i", args);
16696 vscanf("%i", args);
16697 vsnprintf(fmt, 0, "%i", args);
16698 vsscanf(fmt, "%i", args);
16703 snprintf("12", 0, "%i");
16708 if ac_fn_cxx_try_link "$LINENO"; then :
16709 glibcxx_cv_c99_stdio=yes
16711 glibcxx_cv_c99_stdio=no
16713 rm -f core conftest.err conftest.$ac_objext \
16714 conftest$ac_exeext conftest.$ac_ext
16719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16720 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16722 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16724 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16725 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16726 $as_echo_n "(cached) " >&6
16729 if test x$gcc_no_link = xyes; then
16730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16731 /* end confdefs.h. */
16732 #include <stdlib.h>
16734 volatile long double ld;
16735 volatile unsigned long long ll;
16741 f = strtof("gnu", &tmp);
16742 ld = strtold("gnu", &tmp);
16743 ll = strtoll("gnu", &tmp, 10);
16744 ll = strtoull("gnu", &tmp, 10);
16746 mydivt = lldiv(10,1);
16756 if ac_fn_cxx_try_compile "$LINENO"; then :
16757 glibcxx_cv_c99_stdlib=yes
16759 glibcxx_cv_c99_stdlib=no
16761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16763 if test x$gcc_no_link = xyes; then
16764 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16767 /* end confdefs.h. */
16768 #include <stdlib.h>
16770 volatile long double ld;
16771 volatile unsigned long long ll;
16777 f = strtof("gnu", &tmp);
16778 ld = strtold("gnu", &tmp);
16779 ll = strtoll("gnu", &tmp, 10);
16780 ll = strtoull("gnu", &tmp, 10);
16782 mydivt = lldiv(10,1);
16792 if ac_fn_cxx_try_link "$LINENO"; then :
16793 glibcxx_cv_c99_stdlib=yes
16795 glibcxx_cv_c99_stdlib=no
16797 rm -f core conftest.err conftest.$ac_objext \
16798 conftest$ac_exeext conftest.$ac_ext
16803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16804 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16806 # Check for the existence in <wchar.h> of wcstold, etc.
16807 glibcxx_cv_c99_wchar=no;
16808 if test x"$ac_has_wchar_h" = xyes &&
16809 test x"$ac_has_wctype_h" = xyes; then
16810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16811 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16813 /* end confdefs.h. */
16830 if ac_fn_cxx_try_compile "$LINENO"; then :
16831 glibcxx_cv_c99_wchar=yes
16833 glibcxx_cv_c99_wchar=no
16835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16837 # Checks for wide character functions that may not be present.
16838 # Injection of these is wrapped with guard macros.
16839 # NB: only put functions here, instead of immediately above, if
16840 # absolutely necessary.
16841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16842 /* end confdefs.h. */
16844 namespace test { using ::vfwscanf; }
16853 if ac_fn_cxx_try_compile "$LINENO"; then :
16855 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
16858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16861 /* end confdefs.h. */
16863 namespace test { using ::vswscanf; }
16872 if ac_fn_cxx_try_compile "$LINENO"; then :
16874 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
16877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16880 /* end confdefs.h. */
16882 namespace test { using ::vwscanf; }
16891 if ac_fn_cxx_try_compile "$LINENO"; then :
16893 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
16896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16899 /* end confdefs.h. */
16901 namespace test { using ::wcstof; }
16910 if ac_fn_cxx_try_compile "$LINENO"; then :
16912 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
16915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16918 /* end confdefs.h. */
16919 #include <wctype.h>
16923 wint_t t; int i = iswblank(t);
16928 if ac_fn_cxx_try_compile "$LINENO"; then :
16930 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
16933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
16936 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
16939 # Option parsed, now set things appropriately.
16940 if test x"$glibcxx_cv_c99_math" = x"no" ||
16941 test x"$glibcxx_cv_c99_complex" = x"no" ||
16942 test x"$glibcxx_cv_c99_stdio" = x"no" ||
16943 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
16944 test x"$glibcxx_cv_c99_wchar" = x"no"; then
16948 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
16952 gcc_no_link="$ac_save_gcc_no_link"
16953 LIBS="$ac_save_LIBS"
16954 CXXFLAGS="$ac_save_CXXFLAGS"
16956 ac_cpp='$CPP $CPPFLAGS'
16957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
16964 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
16965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
16966 $as_echo "$enable_c99" >&6; }
16969 # Check whether --enable-concept-checks was given.
16970 if test "${enable_concept_checks+set}" = set; then :
16971 enableval=$enable_concept_checks;
16972 case "$enableval" in
16974 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
16978 enable_concept_checks=no
16982 if test $enable_concept_checks = yes; then
16984 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
16989 # Check whether --enable-libstdcxx-debug-flags was given.
16990 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
16991 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
16992 xno | x) enable_libstdcxx_debug_flags= ;;
16994 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
16997 enable_libstdcxx_debug_flags="-g3 -O0"
17002 # Option parsed, now set things appropriately
17003 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17006 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17007 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17011 $as_echo_n "checking for additional debug build... " >&6; }
17012 # Check whether --enable-libstdcxx-debug was given.
17013 if test "${enable_libstdcxx_debug+set}" = set; then :
17014 enableval=$enable_libstdcxx_debug;
17015 case "$enableval" in
17017 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17021 enable_libstdcxx_debug=no
17025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17026 $as_echo "$enable_libstdcxx_debug" >&6; }
17031 enable_parallel=no;
17033 # See if configured libgomp/omp.h exists. (libgomp may be in
17034 # noconfigdirs but not explicitly disabled.)
17035 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17036 enable_parallel=yes;
17038 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17039 $as_echo "$as_me: target-libgomp not built" >&6;}
17042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17043 $as_echo_n "checking for parallel mode support... " >&6; }
17044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17045 $as_echo "$enable_parallel" >&6; }
17048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17049 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17050 # Check whether --enable-cxx-flags was given.
17051 if test "${enable_cxx_flags+set}" = set; then :
17052 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17053 xno | x) enable_cxx_flags= ;;
17055 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17063 # Run through flags (either default or command-line) and set anything
17064 # extra (e.g., #defines) that must accompany particular g++ options.
17065 if test -n "$enable_cxx_flags"; then
17066 for f in $enable_cxx_flags; do
17070 *) # and we're trying to pass /what/ exactly?
17071 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17076 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17078 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17082 # Check whether --enable-fully-dynamic-string was given.
17083 if test "${enable_fully_dynamic_string+set}" = set; then :
17084 enableval=$enable_fully_dynamic_string;
17085 case "$enableval" in
17087 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17091 enable_fully_dynamic_string=no
17095 if test $enable_fully_dynamic_string = yes; then
17097 $as_echo "#define _GLIBCXX_FULLY_DYNAMIC_STRING 1" >>confdefs.h
17102 # Checks for operating systems support that doesn't require linking.
17105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17106 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17107 if test "${glibcxx_cv_system_error1+set}" = set; then :
17108 $as_echo_n "(cached) " >&6
17111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17112 /* end confdefs.h. */
17117 int i = EOWNERDEAD;
17122 if ac_fn_c_try_compile "$LINENO"; then :
17123 glibcxx_cv_system_error1=yes
17125 glibcxx_cv_system_error1=no
17127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17132 $as_echo "$glibcxx_cv_system_error1" >&6; }
17133 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17135 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17139 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17140 if test "${glibcxx_cv_system_error2+set}" = set; then :
17141 $as_echo_n "(cached) " >&6
17144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17145 /* end confdefs.h. */
17150 int i = ENOTRECOVERABLE;
17155 if ac_fn_c_try_compile "$LINENO"; then :
17156 glibcxx_cv_system_error2=yes
17158 glibcxx_cv_system_error2=no
17160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17165 $as_echo "$glibcxx_cv_system_error2" >&6; }
17166 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17168 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17172 $as_echo_n "checking for ENOLINK... " >&6; }
17173 if test "${glibcxx_cv_system_error3+set}" = set; then :
17174 $as_echo_n "(cached) " >&6
17177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17178 /* end confdefs.h. */
17188 if ac_fn_c_try_compile "$LINENO"; then :
17189 glibcxx_cv_system_error3=yes
17191 glibcxx_cv_system_error3=no
17193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17198 $as_echo "$glibcxx_cv_system_error3" >&6; }
17199 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17201 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17205 $as_echo_n "checking for EPROTO... " >&6; }
17206 if test "${glibcxx_cv_system_error4+set}" = set; then :
17207 $as_echo_n "(cached) " >&6
17210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17211 /* end confdefs.h. */
17221 if ac_fn_c_try_compile "$LINENO"; then :
17222 glibcxx_cv_system_error4=yes
17224 glibcxx_cv_system_error4=no
17226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17231 $as_echo "$glibcxx_cv_system_error4" >&6; }
17232 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17234 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17238 $as_echo_n "checking for ENODATA... " >&6; }
17239 if test "${glibcxx_cv_system_error5+set}" = set; then :
17240 $as_echo_n "(cached) " >&6
17243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17244 /* end confdefs.h. */
17254 if ac_fn_c_try_compile "$LINENO"; then :
17255 glibcxx_cv_system_error5=yes
17257 glibcxx_cv_system_error5=no
17259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17264 $as_echo "$glibcxx_cv_system_error5" >&6; }
17265 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17267 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17271 $as_echo_n "checking for ENOSR... " >&6; }
17272 if test "${glibcxx_cv_system_error6+set}" = set; then :
17273 $as_echo_n "(cached) " >&6
17276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17277 /* end confdefs.h. */
17287 if ac_fn_c_try_compile "$LINENO"; then :
17288 glibcxx_cv_system_error6=yes
17290 glibcxx_cv_system_error6=no
17292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17297 $as_echo "$glibcxx_cv_system_error6" >&6; }
17298 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17300 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17304 $as_echo_n "checking for ENOSTR... " >&6; }
17305 if test "${glibcxx_cv_system_error7+set}" = set; then :
17306 $as_echo_n "(cached) " >&6
17309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17310 /* end confdefs.h. */
17320 if ac_fn_c_try_compile "$LINENO"; then :
17321 glibcxx_cv_system_error7=yes
17323 glibcxx_cv_system_error7=no
17325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17330 $as_echo "$glibcxx_cv_system_error7" >&6; }
17331 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17333 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17337 $as_echo_n "checking for ETIME... " >&6; }
17338 if test "${glibcxx_cv_system_error8+set}" = set; then :
17339 $as_echo_n "(cached) " >&6
17342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17343 /* end confdefs.h. */
17353 if ac_fn_c_try_compile "$LINENO"; then :
17354 glibcxx_cv_system_error8=yes
17356 glibcxx_cv_system_error8=no
17358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17363 $as_echo "$glibcxx_cv_system_error8" >&6; }
17364 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17366 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17370 $as_echo_n "checking for EBADMSG... " >&6; }
17371 if test "${glibcxx_cv_system_error9+set}" = set; then :
17372 $as_echo_n "(cached) " >&6
17375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17376 /* end confdefs.h. */
17386 if ac_fn_c_try_compile "$LINENO"; then :
17387 glibcxx_cv_system_error9=yes
17389 glibcxx_cv_system_error9=no
17391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17396 $as_echo "$glibcxx_cv_system_error9" >&6; }
17397 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17399 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17403 $as_echo_n "checking for ECANCELED... " >&6; }
17404 if test "${glibcxx_cv_system_error10+set}" = set; then :
17405 $as_echo_n "(cached) " >&6
17408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17409 /* end confdefs.h. */
17419 if ac_fn_c_try_compile "$LINENO"; then :
17420 glibcxx_cv_system_error10=yes
17422 glibcxx_cv_system_error10=no
17424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17429 $as_echo "$glibcxx_cv_system_error10" >&6; }
17430 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17432 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17436 $as_echo_n "checking for EOVERFLOW... " >&6; }
17437 if test "${glibcxx_cv_system_error11+set}" = set; then :
17438 $as_echo_n "(cached) " >&6
17441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17442 /* end confdefs.h. */
17452 if ac_fn_c_try_compile "$LINENO"; then :
17453 glibcxx_cv_system_error11=yes
17455 glibcxx_cv_system_error11=no
17457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17462 $as_echo "$glibcxx_cv_system_error11" >&6; }
17463 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17465 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17469 $as_echo_n "checking for ENOTSUP... " >&6; }
17470 if test "${glibcxx_cv_system_error12+set}" = set; then :
17471 $as_echo_n "(cached) " >&6
17474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17475 /* end confdefs.h. */
17485 if ac_fn_c_try_compile "$LINENO"; then :
17486 glibcxx_cv_system_error12=yes
17488 glibcxx_cv_system_error12=no
17490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17495 $as_echo "$glibcxx_cv_system_error12" >&6; }
17496 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17498 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17502 $as_echo_n "checking for EIDRM... " >&6; }
17503 if test "${glibcxx_cv_system_error13+set}" = set; then :
17504 $as_echo_n "(cached) " >&6
17507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17508 /* end confdefs.h. */
17518 if ac_fn_c_try_compile "$LINENO"; then :
17519 glibcxx_cv_system_error13=yes
17521 glibcxx_cv_system_error13=no
17523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17528 $as_echo "$glibcxx_cv_system_error13" >&6; }
17529 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17531 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17535 $as_echo_n "checking for ETXTBSY... " >&6; }
17536 if test "${glibcxx_cv_system_error14+set}" = set; then :
17537 $as_echo_n "(cached) " >&6
17540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17541 /* end confdefs.h. */
17551 if ac_fn_c_try_compile "$LINENO"; then :
17552 glibcxx_cv_system_error14=yes
17554 glibcxx_cv_system_error14=no
17556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17561 $as_echo "$glibcxx_cv_system_error14" >&6; }
17562 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17564 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17570 # For the streamoff typedef.
17575 ac_cpp='$CXXCPP $CPPFLAGS'
17576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
17582 $as_echo_n "checking for int64_t... " >&6; }
17583 if test "${glibcxx_cv_INT64_T+set}" = set; then :
17584 $as_echo_n "(cached) " >&6
17587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17588 /* end confdefs.h. */
17589 #include <stdint.h>
17598 if ac_fn_cxx_try_compile "$LINENO"; then :
17599 glibcxx_cv_INT64_T=yes
17601 glibcxx_cv_INT64_T=no
17603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17608 if test $glibcxx_cv_INT64_T = yes; then
17610 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
17612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
17613 $as_echo "$glibcxx_cv_INT64_T" >&6; }
17615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
17616 $as_echo_n "checking for int64_t as long... " >&6; }
17617 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
17618 $as_echo_n "(cached) " >&6
17621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17622 /* end confdefs.h. */
17623 #include <stdint.h>
17624 template<typename, typename> struct same { enum { value = -1 }; };
17625 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17626 int array[same<int64_t, long>::value];
17635 if ac_fn_cxx_try_compile "$LINENO"; then :
17636 glibcxx_cv_int64_t_long=yes
17638 glibcxx_cv_int64_t_long=no
17640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17645 if test $glibcxx_cv_int64_t_long = yes; then
17647 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
17649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
17650 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
17653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
17654 $as_echo_n "checking for int64_t as long long... " >&6; }
17655 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
17656 $as_echo_n "(cached) " >&6
17659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17660 /* end confdefs.h. */
17661 #include <stdint.h>
17662 template<typename, typename> struct same { enum { value = -1 }; };
17663 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17664 int array[same<int64_t, long long>::value];
17673 if ac_fn_cxx_try_compile "$LINENO"; then :
17674 glibcxx_cv_int64_t_long_long=yes
17676 glibcxx_cv_int64_t_long_long=no
17678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17683 if test $glibcxx_cv_int64_t_long_long = yes; then
17685 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
17687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
17688 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
17693 ac_cpp='$CPP $CPPFLAGS'
17694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17704 ac_cpp='$CXXCPP $CPPFLAGS'
17705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17709 ac_save_CXXFLAGS="$CXXFLAGS"
17710 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
17712 $as_echo_n "checking for LFS support... " >&6; }
17713 if test "${glibcxx_cv_LFS+set}" = set; then :
17714 $as_echo_n "(cached) " >&6
17717 if test x$gcc_no_link = xyes; then
17718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17719 /* end confdefs.h. */
17720 #include <unistd.h>
17722 #include <sys/stat.h>
17729 fseeko64(fp, 0, SEEK_CUR);
17731 lseek64(1, 0, SEEK_CUR);
17738 if ac_fn_cxx_try_compile "$LINENO"; then :
17743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17745 if test x$gcc_no_link = xyes; then
17746 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17749 /* end confdefs.h. */
17750 #include <unistd.h>
17752 #include <sys/stat.h>
17759 fseeko64(fp, 0, SEEK_CUR);
17761 lseek64(1, 0, SEEK_CUR);
17768 if ac_fn_cxx_try_link "$LINENO"; then :
17773 rm -f core conftest.err conftest.$ac_objext \
17774 conftest$ac_exeext conftest.$ac_ext
17779 if test $glibcxx_cv_LFS = yes; then
17781 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
17784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
17785 $as_echo "$glibcxx_cv_LFS" >&6; }
17786 CXXFLAGS="$ac_save_CXXFLAGS"
17788 ac_cpp='$CPP $CPPFLAGS'
17789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17795 # For showmanyc_helper().
17796 for ac_header in sys/ioctl.h sys/filio.h
17798 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17799 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17800 eval as_val=\$$as_ac_Header
17801 if test "x$as_val" = x""yes; then :
17802 cat >>confdefs.h <<_ACEOF
17803 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17814 ac_cpp='$CXXCPP $CPPFLAGS'
17815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17819 ac_save_CXXFLAGS="$CXXFLAGS"
17820 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
17823 $as_echo_n "checking for poll... " >&6; }
17824 if test "${glibcxx_cv_POLL+set}" = set; then :
17825 $as_echo_n "(cached) " >&6
17828 if test x$gcc_no_link = xyes; then
17829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17830 /* end confdefs.h. */
17835 struct pollfd pfd[1];
17836 pfd[0].events = POLLIN;
17842 if ac_fn_cxx_try_compile "$LINENO"; then :
17843 glibcxx_cv_POLL=yes
17847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17849 if test x$gcc_no_link = xyes; then
17850 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17853 /* end confdefs.h. */
17858 struct pollfd pfd[1];
17859 pfd[0].events = POLLIN;
17865 if ac_fn_cxx_try_link "$LINENO"; then :
17866 glibcxx_cv_POLL=yes
17870 rm -f core conftest.err conftest.$ac_objext \
17871 conftest$ac_exeext conftest.$ac_ext
17876 if test $glibcxx_cv_POLL = yes; then
17878 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
17882 $as_echo "$glibcxx_cv_POLL" >&6; }
17884 CXXFLAGS="$ac_save_CXXFLAGS"
17886 ac_cpp='$CPP $CPPFLAGS'
17887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17896 ac_cpp='$CXXCPP $CPPFLAGS'
17897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17901 ac_save_CXXFLAGS="$CXXFLAGS"
17902 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
17905 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
17906 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
17907 $as_echo_n "(cached) " >&6
17910 if test x$gcc_no_link = xyes; then
17911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17912 /* end confdefs.h. */
17913 #include <sys/stat.h>
17917 struct stat buffer;
17919 S_ISREG(buffer.st_mode);
17924 if ac_fn_cxx_try_compile "$LINENO"; then :
17925 glibcxx_cv_S_ISREG=yes
17927 glibcxx_cv_S_ISREG=no
17929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17931 if test x$gcc_no_link = xyes; then
17932 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17935 /* end confdefs.h. */
17936 #include <sys/stat.h>
17940 struct stat buffer;
17942 S_ISREG(buffer.st_mode);
17947 if ac_fn_cxx_try_link "$LINENO"; then :
17948 glibcxx_cv_S_ISREG=yes
17950 glibcxx_cv_S_ISREG=no
17952 rm -f core conftest.err conftest.$ac_objext \
17953 conftest$ac_exeext conftest.$ac_ext
17958 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
17959 $as_echo_n "(cached) " >&6
17962 if test x$gcc_no_link = xyes; then
17963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17964 /* end confdefs.h. */
17965 #include <sys/stat.h>
17969 struct stat buffer;
17971 S_IFREG & buffer.st_mode;
17976 if ac_fn_cxx_try_compile "$LINENO"; then :
17977 glibcxx_cv_S_IFREG=yes
17979 glibcxx_cv_S_IFREG=no
17981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17983 if test x$gcc_no_link = xyes; then
17984 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17987 /* end confdefs.h. */
17988 #include <sys/stat.h>
17992 struct stat buffer;
17994 S_IFREG & buffer.st_mode;
17999 if ac_fn_cxx_try_link "$LINENO"; then :
18000 glibcxx_cv_S_IFREG=yes
18002 glibcxx_cv_S_IFREG=no
18004 rm -f core conftest.err conftest.$ac_objext \
18005 conftest$ac_exeext conftest.$ac_ext
18011 if test $glibcxx_cv_S_ISREG = yes; then
18013 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18016 elif test $glibcxx_cv_S_IFREG = yes; then
18018 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18023 $as_echo "$res" >&6; }
18025 CXXFLAGS="$ac_save_CXXFLAGS"
18027 ac_cpp='$CPP $CPPFLAGS'
18028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18035 for ac_header in sys/uio.h
18037 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18038 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18039 cat >>confdefs.h <<_ACEOF
18040 #define HAVE_SYS_UIO_H 1
18051 ac_cpp='$CXXCPP $CPPFLAGS'
18052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18056 ac_save_CXXFLAGS="$CXXFLAGS"
18057 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18060 $as_echo_n "checking for writev... " >&6; }
18061 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18062 $as_echo_n "(cached) " >&6
18065 if test x$gcc_no_link = xyes; then
18066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18067 /* end confdefs.h. */
18068 #include <sys/uio.h>
18072 struct iovec iov[2];
18078 if ac_fn_cxx_try_compile "$LINENO"; then :
18079 glibcxx_cv_WRITEV=yes
18081 glibcxx_cv_WRITEV=no
18083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18085 if test x$gcc_no_link = xyes; then
18086 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18089 /* end confdefs.h. */
18090 #include <sys/uio.h>
18094 struct iovec iov[2];
18100 if ac_fn_cxx_try_link "$LINENO"; then :
18101 glibcxx_cv_WRITEV=yes
18103 glibcxx_cv_WRITEV=no
18105 rm -f core conftest.err conftest.$ac_objext \
18106 conftest$ac_exeext conftest.$ac_ext
18111 if test $glibcxx_cv_WRITEV = yes; then
18113 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18117 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18119 CXXFLAGS="$ac_save_CXXFLAGS"
18121 ac_cpp='$CPP $CPPFLAGS'
18122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18128 # For C99 support to TR1.
18133 ac_cpp='$CXXCPP $CPPFLAGS'
18134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18139 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18140 # undefined and fake C99 facilities may be spuriously enabled.
18141 ac_save_CXXFLAGS="$CXXFLAGS"
18142 CXXFLAGS="$CXXFLAGS -std=c++98"
18144 # Check for the existence of <complex.h> complex math functions used
18146 for ac_header in complex.h
18148 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18149 if test "x$ac_cv_header_complex_h" = x""yes; then :
18150 cat >>confdefs.h <<_ACEOF
18151 #define HAVE_COMPLEX_H 1
18153 ac_has_complex_h=yes
18155 ac_has_complex_h=no
18160 ac_c99_complex_tr1=no;
18161 if test x"$ac_has_complex_h" = x"yes"; then
18162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18163 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18165 /* end confdefs.h. */
18166 #include <complex.h>
18170 typedef __complex__ float float_type; float_type tmpf;
18177 typedef __complex__ double double_type; double_type tmpd;
18184 typedef __complex__ long double ld_type; ld_type tmpld;
18196 if ac_fn_cxx_try_compile "$LINENO"; then :
18197 ac_c99_complex_tr1=yes
18199 ac_c99_complex_tr1=no
18201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18204 $as_echo "$ac_c99_complex_tr1" >&6; }
18205 if test x"$ac_c99_complex_tr1" = x"yes"; then
18207 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18211 # Check for the existence of <ctype.h> functions.
18212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18213 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18214 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18215 $as_echo_n "(cached) " >&6
18218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18219 /* end confdefs.h. */
18232 if ac_fn_cxx_try_compile "$LINENO"; then :
18233 glibcxx_cv_c99_ctype_tr1=yes
18235 glibcxx_cv_c99_ctype_tr1=no
18237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18242 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18243 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18245 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18249 # Check for the existence of <fenv.h> functions.
18250 for ac_header in fenv.h
18252 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18253 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18254 cat >>confdefs.h <<_ACEOF
18255 #define HAVE_FENV_H 1
18264 ac_c99_fenv_tr1=no;
18265 if test x"$ac_has_fenv_h" = x"yes"; then
18266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18267 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18269 /* end confdefs.h. */
18278 ret = feclearexcept(except);
18279 ret = fegetexceptflag(pflag, except);
18280 ret = feraiseexcept(except);
18281 ret = fesetexceptflag(pflag, except);
18282 ret = fetestexcept(except);
18283 ret = fegetround();
18284 ret = fesetround(mode);
18285 ret = fegetenv(penv);
18286 ret = feholdexcept(penv);
18287 ret = fesetenv(penv);
18288 ret = feupdateenv(penv);
18294 if ac_fn_cxx_try_compile "$LINENO"; then :
18295 ac_c99_fenv_tr1=yes
18299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18302 $as_echo "$ac_c99_fenv_tr1" >&6; }
18303 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18305 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18309 # Check for the existence of <stdint.h> types.
18310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18311 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18312 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18313 $as_echo_n "(cached) " >&6
18316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18317 /* end confdefs.h. */
18318 #define __STDC_LIMIT_MACROS
18319 #define __STDC_CONSTANT_MACROS
18320 #include <stdint.h>
18324 typedef int8_t my_int8_t;
18325 my_int8_t i8 = INT8_MIN;
18327 typedef int16_t my_int16_t;
18328 my_int16_t i16 = INT16_MIN;
18330 typedef int32_t my_int32_t;
18331 my_int32_t i32 = INT32_MIN;
18333 typedef int64_t my_int64_t;
18334 my_int64_t i64 = INT64_MIN;
18336 typedef int_fast8_t my_int_fast8_t;
18337 my_int_fast8_t if8 = INT_FAST8_MIN;
18338 if8 = INT_FAST8_MAX;
18339 typedef int_fast16_t my_int_fast16_t;
18340 my_int_fast16_t if16 = INT_FAST16_MIN;
18341 if16 = INT_FAST16_MAX;
18342 typedef int_fast32_t my_int_fast32_t;
18343 my_int_fast32_t if32 = INT_FAST32_MIN;
18344 if32 = INT_FAST32_MAX;
18345 typedef int_fast64_t my_int_fast64_t;
18346 my_int_fast64_t if64 = INT_FAST64_MIN;
18347 if64 = INT_FAST64_MAX;
18348 typedef int_least8_t my_int_least8_t;
18349 my_int_least8_t il8 = INT_LEAST8_MIN;
18350 il8 = INT_LEAST8_MAX;
18351 typedef int_least16_t my_int_least16_t;
18352 my_int_least16_t il16 = INT_LEAST16_MIN;
18353 il16 = INT_LEAST16_MAX;
18354 typedef int_least32_t my_int_least32_t;
18355 my_int_least32_t il32 = INT_LEAST32_MIN;
18356 il32 = INT_LEAST32_MAX;
18357 typedef int_least64_t my_int_least64_t;
18358 my_int_least64_t il64 = INT_LEAST64_MIN;
18359 il64 = INT_LEAST64_MAX;
18360 typedef intmax_t my_intmax_t;
18361 my_intmax_t im = INTMAX_MAX;
18363 typedef intptr_t my_intptr_t;
18364 my_intptr_t ip = INTPTR_MAX;
18366 typedef uint8_t my_uint8_t;
18367 my_uint8_t ui8 = UINT8_MAX;
18369 typedef uint16_t my_uint16_t;
18370 my_uint16_t ui16 = UINT16_MAX;
18372 typedef uint32_t my_uint32_t;
18373 my_uint32_t ui32 = UINT32_MAX;
18375 typedef uint64_t my_uint64_t;
18376 my_uint64_t ui64 = UINT64_MAX;
18378 typedef uint_fast8_t my_uint_fast8_t;
18379 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18380 uif8 = UINT_FAST8_MAX;
18381 typedef uint_fast16_t my_uint_fast16_t;
18382 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18383 uif16 = UINT_FAST16_MAX;
18384 typedef uint_fast32_t my_uint_fast32_t;
18385 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18386 uif32 = UINT_FAST32_MAX;
18387 typedef uint_fast64_t my_uint_fast64_t;
18388 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18389 uif64 = UINT_FAST64_MAX;
18390 typedef uint_least8_t my_uint_least8_t;
18391 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18392 uil8 = UINT_LEAST8_MAX;
18393 typedef uint_least16_t my_uint_least16_t;
18394 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18395 uil16 = UINT_LEAST16_MAX;
18396 typedef uint_least32_t my_uint_least32_t;
18397 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18398 uil32 = UINT_LEAST32_MAX;
18399 typedef uint_least64_t my_uint_least64_t;
18400 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18401 uil64 = UINT_LEAST64_MAX;
18402 typedef uintmax_t my_uintmax_t;
18403 my_uintmax_t uim = UINTMAX_MAX;
18405 typedef uintptr_t my_uintptr_t;
18406 my_uintptr_t uip = UINTPTR_MAX;
18413 if ac_fn_cxx_try_compile "$LINENO"; then :
18414 glibcxx_cv_c99_stdint_tr1=yes
18416 glibcxx_cv_c99_stdint_tr1=no
18418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18423 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18424 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18426 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18430 # Check for the existence of <math.h> functions.
18431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18432 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18433 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18434 $as_echo_n "(cached) " >&6
18437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18438 /* end confdefs.h. */
18443 typedef double_t my_double_t;
18444 typedef float_t my_float_t;
18457 copysign(0.0, 0.0);
18458 copysignf(0.0f, 0.0f);
18459 copysignl(0.0l, 0.0l);
18475 fma(0.0, 0.0, 0.0);
18476 fmaf(0.0f, 0.0f, 0.0f);
18477 fmal(0.0l, 0.0l, 0.0l);
18485 hypotf(0.0f, 0.0f);
18486 hypotl(0.0l, 0.0l);
18520 nextafter(0.0, 0.0);
18521 nextafterf(0.0f, 0.0f);
18522 nextafterl(0.0l, 0.0l);
18523 nexttoward(0.0, 0.0);
18524 nexttowardf(0.0f, 0.0f);
18525 nexttowardl(0.0l, 0.0l);
18526 remainder(0.0, 0.0);
18527 remainderf(0.0f, 0.0f);
18528 remainderl(0.0l, 0.0l);
18529 remquo(0.0, 0.0, 0);
18530 remquof(0.0f, 0.0f, 0);
18531 remquol(0.0l, 0.0l, 0);
18539 scalblnf(0.0f, 0l);
18540 scalblnl(0.0l, 0l);
18555 if ac_fn_cxx_try_compile "$LINENO"; then :
18556 glibcxx_cv_c99_math_tr1=yes
18558 glibcxx_cv_c99_math_tr1=no
18560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
18565 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
18566 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
18568 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
18572 # Check for the existence of <inttypes.h> functions (NB: doesn't make
18573 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18574 ac_c99_inttypes_tr1=no;
18575 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
18577 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18579 /* end confdefs.h. */
18580 #include <inttypes.h>
18584 intmax_t i, numer, denom, base;
18587 intmax_t ret = imaxabs(i);
18588 imaxdiv_t dret = imaxdiv(numer, denom);
18589 ret = strtoimax(s, endptr, base);
18590 uintmax_t uret = strtoumax(s, endptr, base);
18596 if ac_fn_cxx_try_compile "$LINENO"; then :
18597 ac_c99_inttypes_tr1=yes
18599 ac_c99_inttypes_tr1=no
18601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
18604 $as_echo "$ac_c99_inttypes_tr1" >&6; }
18605 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
18607 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
18611 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
18612 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18613 ac_c99_inttypes_wchar_t_tr1=no;
18614 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
18616 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18618 /* end confdefs.h. */
18619 #include <inttypes.h>
18626 intmax_t ret = wcstoimax(s, endptr, base);
18627 uintmax_t uret = wcstoumax(s, endptr, base);
18633 if ac_fn_cxx_try_compile "$LINENO"; then :
18634 ac_c99_inttypes_wchar_t_tr1=yes
18636 ac_c99_inttypes_wchar_t_tr1=no
18638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
18641 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
18642 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
18644 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
18648 # Check for the existence of the <stdbool.h> header.
18649 for ac_header in stdbool.h
18651 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
18652 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
18653 cat >>confdefs.h <<_ACEOF
18654 #define HAVE_STDBOOL_H 1
18662 CXXFLAGS="$ac_save_CXXFLAGS"
18664 ac_cpp='$CPP $CPPFLAGS'
18665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18671 # For common values of EOF, SEEK_CUR, SEEK_END.
18674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2" >&5
18675 $as_echo_n "checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2... " >&6; }
18676 if test "${glibcxx_cv_stdio_macros+set}" = set; then :
18677 $as_echo_n "(cached) " >&6
18680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18681 /* end confdefs.h. */
18686 #if ((EOF != -1) || (SEEK_CUR != 1) || (SEEK_END != 2))
18694 if ac_fn_c_try_compile "$LINENO"; then :
18695 glibcxx_cv_stdio_macros=yes
18697 glibcxx_cv_stdio_macros=no
18699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_macros" >&5
18704 $as_echo "$glibcxx_cv_stdio_macros" >&6; }
18705 if test x"$glibcxx_cv_stdio_macros" = x"yes"; then
18707 $as_echo "#define _GLIBCXX_STDIO_MACROS 1" >>confdefs.h
18713 # For gettimeofday support.
18716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18717 $as_echo_n "checking for gettimeofday... " >&6; }
18721 ac_cpp='$CXXCPP $CPPFLAGS'
18722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18726 ac_save_CXXFLAGS="$CXXFLAGS"
18727 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18729 ac_has_gettimeofday=no;
18730 for ac_header in sys/time.h
18732 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
18733 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
18734 cat >>confdefs.h <<_ACEOF
18735 #define HAVE_SYS_TIME_H 1
18737 ac_has_sys_time_h=yes
18739 ac_has_sys_time_h=no
18744 if test x"$ac_has_sys_time_h" = x"yes"; then
18745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18746 $as_echo_n "checking for gettimeofday... " >&6; }
18747 if test x$gcc_no_link = xyes; then
18748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18749 /* end confdefs.h. */
18750 #include <sys/time.h>
18754 timeval tv; gettimeofday(&tv, 0);
18759 if ac_fn_cxx_try_compile "$LINENO"; then :
18760 ac_has_gettimeofday=yes
18762 ac_has_gettimeofday=no
18764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18766 if test x$gcc_no_link = xyes; then
18767 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18770 /* end confdefs.h. */
18771 #include <sys/time.h>
18775 timeval tv; gettimeofday(&tv, 0);
18780 if ac_fn_cxx_try_link "$LINENO"; then :
18781 ac_has_gettimeofday=yes
18783 ac_has_gettimeofday=no
18785 rm -f core conftest.err conftest.$ac_objext \
18786 conftest$ac_exeext conftest.$ac_ext
18789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
18790 $as_echo "$ac_has_gettimeofday" >&6; }
18793 if test x"$ac_has_gettimeofday" = x"yes"; then
18795 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
18799 CXXFLAGS="$ac_save_CXXFLAGS"
18801 ac_cpp='$CPP $CPPFLAGS'
18802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18808 # For clock_gettime, nanosleep and sched_yield support.
18809 # NB: The default is [no], because otherwise it requires linking.
18812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
18813 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
18814 # Check whether --enable-libstdcxx-time was given.
18815 if test "${enable_libstdcxx_time+set}" = set; then :
18816 enableval=$enable_libstdcxx_time;
18817 case "$enableval" in
18819 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
18823 enable_libstdcxx_time=no
18830 ac_cpp='$CXXCPP $CPPFLAGS'
18831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18835 ac_save_CXXFLAGS="$CXXFLAGS"
18836 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18837 ac_save_LIBS="$LIBS"
18839 ac_has_clock_monotonic=no
18840 ac_has_clock_realtime=no
18841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
18842 $as_echo "$enable_libstdcxx_time" >&6; }
18844 if test x"$enable_libstdcxx_time" != x"no"; then
18846 if test x"$enable_libstdcxx_time" = x"rt"; then
18847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18848 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18849 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18850 $as_echo_n "(cached) " >&6
18852 ac_func_search_save_LIBS=$LIBS
18853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18854 /* end confdefs.h. */
18856 /* Override any GCC internal prototype to avoid an error.
18857 Use char because int might match the return type of a GCC
18858 builtin and then its argument prototype would still apply. */
18862 char clock_gettime ();
18866 return clock_gettime ();
18871 for ac_lib in '' rt posix4; do
18872 if test -z "$ac_lib"; then
18873 ac_res="none required"
18876 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18878 if test x$gcc_no_link = xyes; then
18879 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18881 if ac_fn_cxx_try_link "$LINENO"; then :
18882 ac_cv_search_clock_gettime=$ac_res
18884 rm -f core conftest.err conftest.$ac_objext \
18886 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18890 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18893 ac_cv_search_clock_gettime=no
18895 rm conftest.$ac_ext
18896 LIBS=$ac_func_search_save_LIBS
18898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18899 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18900 ac_res=$ac_cv_search_clock_gettime
18901 if test "$ac_res" != no; then :
18902 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
18907 $as_echo_n "checking for library containing nanosleep... " >&6; }
18908 if test "${ac_cv_search_nanosleep+set}" = set; then :
18909 $as_echo_n "(cached) " >&6
18911 ac_func_search_save_LIBS=$LIBS
18912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18913 /* end confdefs.h. */
18915 /* Override any GCC internal prototype to avoid an error.
18916 Use char because int might match the return type of a GCC
18917 builtin and then its argument prototype would still apply. */
18925 return nanosleep ();
18930 for ac_lib in '' rt posix4; do
18931 if test -z "$ac_lib"; then
18932 ac_res="none required"
18935 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18937 if test x$gcc_no_link = xyes; then
18938 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18940 if ac_fn_cxx_try_link "$LINENO"; then :
18941 ac_cv_search_nanosleep=$ac_res
18943 rm -f core conftest.err conftest.$ac_objext \
18945 if test "${ac_cv_search_nanosleep+set}" = set; then :
18949 if test "${ac_cv_search_nanosleep+set}" = set; then :
18952 ac_cv_search_nanosleep=no
18954 rm conftest.$ac_ext
18955 LIBS=$ac_func_search_save_LIBS
18957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
18958 $as_echo "$ac_cv_search_nanosleep" >&6; }
18959 ac_res=$ac_cv_search_nanosleep
18960 if test "$ac_res" != no; then :
18961 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18967 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18968 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18969 $as_echo_n "(cached) " >&6
18971 ac_func_search_save_LIBS=$LIBS
18972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18973 /* end confdefs.h. */
18975 /* Override any GCC internal prototype to avoid an error.
18976 Use char because int might match the return type of a GCC
18977 builtin and then its argument prototype would still apply. */
18981 char clock_gettime ();
18985 return clock_gettime ();
18990 for ac_lib in '' posix4; do
18991 if test -z "$ac_lib"; then
18992 ac_res="none required"
18995 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18997 if test x$gcc_no_link = xyes; then
18998 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19000 if ac_fn_cxx_try_link "$LINENO"; then :
19001 ac_cv_search_clock_gettime=$ac_res
19003 rm -f core conftest.err conftest.$ac_objext \
19005 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19009 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19012 ac_cv_search_clock_gettime=no
19014 rm conftest.$ac_ext
19015 LIBS=$ac_func_search_save_LIBS
19017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19018 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19019 ac_res=$ac_cv_search_clock_gettime
19020 if test "$ac_res" != no; then :
19021 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19026 $as_echo_n "checking for library containing nanosleep... " >&6; }
19027 if test "${ac_cv_search_nanosleep+set}" = set; then :
19028 $as_echo_n "(cached) " >&6
19030 ac_func_search_save_LIBS=$LIBS
19031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19032 /* end confdefs.h. */
19034 /* Override any GCC internal prototype to avoid an error.
19035 Use char because int might match the return type of a GCC
19036 builtin and then its argument prototype would still apply. */
19044 return nanosleep ();
19049 for ac_lib in '' posix4; do
19050 if test -z "$ac_lib"; then
19051 ac_res="none required"
19054 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19056 if test x$gcc_no_link = xyes; then
19057 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19059 if ac_fn_cxx_try_link "$LINENO"; then :
19060 ac_cv_search_nanosleep=$ac_res
19062 rm -f core conftest.err conftest.$ac_objext \
19064 if test "${ac_cv_search_nanosleep+set}" = set; then :
19068 if test "${ac_cv_search_nanosleep+set}" = set; then :
19071 ac_cv_search_nanosleep=no
19073 rm conftest.$ac_ext
19074 LIBS=$ac_func_search_save_LIBS
19076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19077 $as_echo "$ac_cv_search_nanosleep" >&6; }
19078 ac_res=$ac_cv_search_nanosleep
19079 if test "$ac_res" != no; then :
19080 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19086 case "$ac_cv_search_clock_gettime" in
19087 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19090 case "$ac_cv_search_nanosleep" in
19091 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19096 $as_echo_n "checking for library containing sched_yield... " >&6; }
19097 if test "${ac_cv_search_sched_yield+set}" = set; then :
19098 $as_echo_n "(cached) " >&6
19100 ac_func_search_save_LIBS=$LIBS
19101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19102 /* end confdefs.h. */
19104 /* Override any GCC internal prototype to avoid an error.
19105 Use char because int might match the return type of a GCC
19106 builtin and then its argument prototype would still apply. */
19110 char sched_yield ();
19114 return sched_yield ();
19119 for ac_lib in '' rt posix4; do
19120 if test -z "$ac_lib"; then
19121 ac_res="none required"
19124 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19126 if test x$gcc_no_link = xyes; then
19127 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19129 if ac_fn_cxx_try_link "$LINENO"; then :
19130 ac_cv_search_sched_yield=$ac_res
19132 rm -f core conftest.err conftest.$ac_objext \
19134 if test "${ac_cv_search_sched_yield+set}" = set; then :
19138 if test "${ac_cv_search_sched_yield+set}" = set; then :
19141 ac_cv_search_sched_yield=no
19143 rm conftest.$ac_ext
19144 LIBS=$ac_func_search_save_LIBS
19146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19147 $as_echo "$ac_cv_search_sched_yield" >&6; }
19148 ac_res=$ac_cv_search_sched_yield
19149 if test "$ac_res" != no; then :
19150 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19155 case "$ac_cv_search_sched_yield" in
19157 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19159 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19163 if test x"$enable_libstdcxx_time" = x"rt"; then
19164 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19166 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19172 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19177 for ac_header in unistd.h
19179 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19180 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19181 cat >>confdefs.h <<_ACEOF
19182 #define HAVE_UNISTD_H 1
19184 ac_has_unistd_h=yes
19192 if test x"$ac_has_unistd_h" = x"yes"; then
19193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19194 $as_echo_n "checking for monotonic clock... " >&6; }
19195 if test x$gcc_no_link = xyes; then
19196 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19199 /* end confdefs.h. */
19200 #include <unistd.h>
19206 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19209 clock_gettime(CLOCK_MONOTONIC, &tp);
19215 if ac_fn_cxx_try_link "$LINENO"; then :
19216 ac_has_clock_monotonic=yes
19218 ac_has_clock_monotonic=no
19220 rm -f core conftest.err conftest.$ac_objext \
19221 conftest$ac_exeext conftest.$ac_ext
19223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19224 $as_echo "$ac_has_clock_monotonic" >&6; }
19226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19227 $as_echo_n "checking for realtime clock... " >&6; }
19228 if test x$gcc_no_link = xyes; then
19229 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19232 /* end confdefs.h. */
19233 #include <unistd.h>
19239 #if _POSIX_TIMERS > 0
19242 clock_gettime(CLOCK_REALTIME, &tp);
19248 if ac_fn_cxx_try_link "$LINENO"; then :
19249 ac_has_clock_realtime=yes
19251 ac_has_clock_realtime=no
19253 rm -f core conftest.err conftest.$ac_objext \
19254 conftest$ac_exeext conftest.$ac_ext
19256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19257 $as_echo "$ac_has_clock_realtime" >&6; }
19259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19260 $as_echo_n "checking for nanosleep... " >&6; }
19261 if test x$gcc_no_link = xyes; then
19262 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19265 /* end confdefs.h. */
19266 #include <unistd.h>
19272 #if _POSIX_TIMERS > 0
19281 if ac_fn_cxx_try_link "$LINENO"; then :
19282 ac_has_nanosleep=yes
19284 ac_has_nanosleep=no
19286 rm -f core conftest.err conftest.$ac_objext \
19287 conftest$ac_exeext conftest.$ac_ext
19289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19290 $as_echo "$ac_has_nanosleep" >&6; }
19294 if test x"$ac_has_clock_monotonic" = x"yes"; then
19296 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19300 if test x"$ac_has_clock_realtime" = x"yes"; then
19302 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19306 if test x"$ac_has_nanosleep" = x"yes"; then
19308 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19314 CXXFLAGS="$ac_save_CXXFLAGS"
19315 LIBS="$ac_save_LIBS"
19317 ac_cpp='$CPP $CPPFLAGS'
19318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19324 # For gthread support
19328 ac_cpp='$CXXCPP $CPPFLAGS'
19329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19334 ac_save_CXXFLAGS="$CXXFLAGS"
19335 CXXFLAGS="$CXXFLAGS -fno-exceptions -I${toplevel_srcdir}/gcc"
19337 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
19338 case $target_thread_file in
19340 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
19343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
19344 $as_echo_n "checking for gthreads library... " >&6; }
19346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19347 /* end confdefs.h. */
19353 #ifndef __GTHREADS_CXX0X
19357 // In case of POSIX threads check _POSIX_TIMEOUTS too.
19358 #if (defined(_PTHREADS) \
19359 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
19367 if ac_fn_cxx_try_compile "$LINENO"; then :
19368 ac_has_gthreads=yes
19372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
19375 $as_echo "$ac_has_gthreads" >&6; }
19377 if test x"$ac_has_gthreads" = x"yes"; then
19379 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
19383 CXXFLAGS="$ac_save_CXXFLAGS"
19385 ac_cpp='$CPP $CPPFLAGS'
19386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19393 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19394 if test "x$ac_cv_header_locale_h" = x""yes; then :
19396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19397 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19398 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19399 $as_echo_n "(cached) " >&6
19401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19402 /* end confdefs.h. */
19403 #include <locale.h>
19412 if ac_fn_c_try_compile "$LINENO"; then :
19413 ac_cv_val_LC_MESSAGES=yes
19415 ac_cv_val_LC_MESSAGES=no
19417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19420 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19421 if test $ac_cv_val_LC_MESSAGES = yes; then
19423 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19432 # Check for available headers.
19433 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
19434 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
19435 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
19436 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
19439 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19440 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19441 eval as_val=\$$as_ac_Header
19442 if test "x$as_val" = x""yes; then :
19443 cat >>confdefs.h <<_ACEOF
19444 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19452 # Only do link tests if native. Else, hardcode.
19453 if $GLIBCXX_IS_NATIVE; then
19455 # We can do more elaborate tests that assume a working linker.
19460 # Check whether --with-gnu-ld was given.
19461 if test "${with_gnu_ld+set}" = set; then :
19462 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
19468 if test "$GCC" = yes; then
19469 # Check if gcc -print-prog-name=ld gives a path.
19470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
19471 $as_echo_n "checking for ld used by $CC... " >&6; }
19474 # gcc leaves a trailing carriage return which upsets mingw
19475 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
19477 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
19480 # Accept absolute paths.
19482 re_direlt='/[^/][^/]*/\.\./'
19483 # Canonicalize the pathname of ld
19484 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
19485 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
19486 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
19488 test -z "$LD" && LD="$ac_prog"
19491 # If it fails, then pretend we aren't using GCC.
19495 # If it is relative, then search for the first ld in PATH.
19496 with_gnu_ld=unknown
19499 elif test "$with_gnu_ld" = yes; then
19500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
19501 $as_echo_n "checking for GNU ld... " >&6; }
19503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
19504 $as_echo_n "checking for non-GNU ld... " >&6; }
19506 if test "${lt_cv_path_LD+set}" = set; then :
19507 $as_echo_n "(cached) " >&6
19509 if test -z "$LD"; then
19510 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
19511 for ac_dir in $PATH; do
19513 test -z "$ac_dir" && ac_dir=.
19514 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
19515 lt_cv_path_LD="$ac_dir/$ac_prog"
19516 # Check to see if the program is GNU ld. I'd rather use --version,
19517 # but apparently some variants of GNU ld only accept -v.
19518 # Break only if it was the GNU/non-GNU ld that we prefer.
19519 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
19520 *GNU* | *'with BFD'*)
19521 test "$with_gnu_ld" != no && break
19524 test "$with_gnu_ld" != yes && break
19531 lt_cv_path_LD="$LD" # Let the user override the test with a path.
19535 LD="$lt_cv_path_LD"
19536 if test -n "$LD"; then
19537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
19538 $as_echo "$LD" >&6; }
19540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19541 $as_echo "no" >&6; }
19543 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
19544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
19545 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
19546 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
19547 $as_echo_n "(cached) " >&6
19549 # I'd rather use --version here, but apparently some GNU lds only accept -v.
19550 case `$LD -v 2>&1 </dev/null` in
19551 *GNU* | *'with BFD'*)
19552 lt_cv_prog_gnu_ld=yes
19555 lt_cv_prog_gnu_ld=no
19559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
19560 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
19561 with_gnu_ld=$lt_cv_prog_gnu_ld
19569 # If we're not using GNU ld, then there's no point in even trying these
19570 # tests. Check for that first. We should have already tested for gld
19571 # by now (in libtool), but require it now just to be safe...
19572 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
19573 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
19577 # The name set by libtool depends on the version of libtool. Shame on us
19578 # for depending on an impl detail, but c'est la vie. Older versions used
19579 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
19580 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
19581 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
19582 # set (hence we're using an older libtool), then set it.
19583 if test x${with_gnu_ld+set} != xset; then
19584 if test x${ac_cv_prog_gnu_ld+set} != xset; then
19585 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
19588 with_gnu_ld=$ac_cv_prog_gnu_ld
19592 # Start by getting the version number. I think the libtool test already
19593 # does some of this, but throws away the result.
19594 glibcxx_ld_is_gold=no
19595 if test x"$with_gnu_ld" = x"yes"; then
19596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
19597 $as_echo_n "checking for ld version... " >&6; }
19599 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
19600 glibcxx_ld_is_gold=yes
19602 ldver=`$LD --version 2>/dev/null |
19603 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'`
19605 glibcxx_gnu_ld_version=`echo $ldver | \
19606 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
19607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
19608 $as_echo "$glibcxx_gnu_ld_version" >&6; }
19611 # Set --gc-sections.
19612 glibcxx_have_gc_sections=no
19613 if test "$glibcxx_ld_is_gold" = "yes"; then
19614 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
19615 glibcxx_have_gc_sections=yes
19618 glibcxx_gcsections_min_ld=21602
19619 if test x"$with_gnu_ld" = x"yes" &&
19620 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
19621 glibcxx_have_gc_sections=yes
19624 if test "$glibcxx_have_gc_sections" = "yes"; then
19625 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
19626 # NB: This flag only works reliably after 2.16.1. Configure tests
19627 # for this are difficult, so hard wire a value that should work.
19629 ac_test_CFLAGS="${CFLAGS+set}"
19630 ac_save_CFLAGS="$CFLAGS"
19631 CFLAGS='-Wl,--gc-sections'
19633 # Check for -Wl,--gc-sections
19634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
19635 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
19636 if test x$gcc_no_link = xyes; then
19637 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19640 /* end confdefs.h. */
19641 int one(void) { return 1; }
19642 int two(void) { return 2; }
19652 if ac_fn_c_try_link "$LINENO"; then :
19657 rm -f core conftest.err conftest.$ac_objext \
19658 conftest$ac_exeext conftest.$ac_ext
19659 if test "$ac_gcsections" = "yes"; then
19662 if $CC -c conftest.c; then
19663 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
19664 grep "Warning: gc-sections option ignored" > /dev/null; then
19668 rm -f conftest.c conftest.o conftest
19670 if test "$ac_gcsections" = "yes"; then
19671 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
19673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
19674 $as_echo "$ac_gcsections" >&6; }
19676 if test "$ac_test_CFLAGS" = set; then
19677 CFLAGS="$ac_save_CFLAGS"
19679 # this is the suspicious part
19685 # Note this is only for shared objects.
19687 if test x"$with_gnu_ld" = x"yes"; then
19688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
19689 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
19690 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
19691 if test -n "$cxx_z_relo"; then
19692 OPT_LDFLAGS="-Wl,-z,relro"
19695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
19696 $as_echo "$ac_ld_relro" >&6; }
19699 # Set linker optimization flags.
19700 if test x"$with_gnu_ld" = x"yes"; then
19701 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
19708 ac_test_CXXFLAGS="${CXXFLAGS+set}"
19709 ac_save_CXXFLAGS="$CXXFLAGS"
19710 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
19712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
19713 $as_echo_n "checking for sin in -lm... " >&6; }
19714 if test "${ac_cv_lib_m_sin+set}" = set; then :
19715 $as_echo_n "(cached) " >&6
19717 ac_check_lib_save_LIBS=$LIBS
19719 if test x$gcc_no_link = xyes; then
19720 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19723 /* end confdefs.h. */
19725 /* Override any GCC internal prototype to avoid an error.
19726 Use char because int might match the return type of a GCC
19727 builtin and then its argument prototype would still apply. */
19740 if ac_fn_c_try_link "$LINENO"; then :
19741 ac_cv_lib_m_sin=yes
19745 rm -f core conftest.err conftest.$ac_objext \
19746 conftest$ac_exeext conftest.$ac_ext
19747 LIBS=$ac_check_lib_save_LIBS
19749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
19750 $as_echo "$ac_cv_lib_m_sin" >&6; }
19751 if test "x$ac_cv_lib_m_sin" = x""yes; then :
19755 ac_save_LIBS="$LIBS"
19760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
19761 $as_echo_n "checking for isinf declaration... " >&6; }
19762 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
19763 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
19764 $as_echo_n "(cached) " >&6
19769 ac_cpp='$CXXCPP $CPPFLAGS'
19770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19775 /* end confdefs.h. */
19777 #ifdef HAVE_IEEEFP_H
19778 #include <ieeefp.h>
19789 if ac_fn_cxx_try_compile "$LINENO"; then :
19790 glibcxx_cv_func_isinf_use=yes
19792 glibcxx_cv_func_isinf_use=no
19794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19796 ac_cpp='$CPP $CPPFLAGS'
19797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
19806 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
19808 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
19809 for ac_func in isinf
19811 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
19812 if test "x$ac_cv_func_isinf" = x""yes; then :
19813 cat >>confdefs.h <<_ACEOF
19814 #define HAVE_ISINF 1
19822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
19823 $as_echo_n "checking for _isinf declaration... " >&6; }
19824 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
19825 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
19826 $as_echo_n "(cached) " >&6
19831 ac_cpp='$CXXCPP $CPPFLAGS'
19832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19837 /* end confdefs.h. */
19839 #ifdef HAVE_IEEEFP_H
19840 #include <ieeefp.h>
19851 if ac_fn_cxx_try_compile "$LINENO"; then :
19852 glibcxx_cv_func__isinf_use=yes
19854 glibcxx_cv_func__isinf_use=no
19856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19858 ac_cpp='$CPP $CPPFLAGS'
19859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
19868 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
19870 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
19871 for ac_func in _isinf
19873 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
19874 if test "x$ac_cv_func__isinf" = x""yes; then :
19875 cat >>confdefs.h <<_ACEOF
19876 #define HAVE__ISINF 1
19889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
19890 $as_echo_n "checking for isnan declaration... " >&6; }
19891 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
19892 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
19893 $as_echo_n "(cached) " >&6
19898 ac_cpp='$CXXCPP $CPPFLAGS'
19899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19904 /* end confdefs.h. */
19906 #ifdef HAVE_IEEEFP_H
19907 #include <ieeefp.h>
19918 if ac_fn_cxx_try_compile "$LINENO"; then :
19919 glibcxx_cv_func_isnan_use=yes
19921 glibcxx_cv_func_isnan_use=no
19923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19925 ac_cpp='$CPP $CPPFLAGS'
19926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
19935 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
19937 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
19938 for ac_func in isnan
19940 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
19941 if test "x$ac_cv_func_isnan" = x""yes; then :
19942 cat >>confdefs.h <<_ACEOF
19943 #define HAVE_ISNAN 1
19951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
19952 $as_echo_n "checking for _isnan declaration... " >&6; }
19953 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
19954 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
19955 $as_echo_n "(cached) " >&6
19960 ac_cpp='$CXXCPP $CPPFLAGS'
19961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19966 /* end confdefs.h. */
19968 #ifdef HAVE_IEEEFP_H
19969 #include <ieeefp.h>
19980 if ac_fn_cxx_try_compile "$LINENO"; then :
19981 glibcxx_cv_func__isnan_use=yes
19983 glibcxx_cv_func__isnan_use=no
19985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19987 ac_cpp='$CPP $CPPFLAGS'
19988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
19997 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
19999 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20000 for ac_func in _isnan
20002 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20003 if test "x$ac_cv_func__isnan" = x""yes; then :
20004 cat >>confdefs.h <<_ACEOF
20005 #define HAVE__ISNAN 1
20018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20019 $as_echo_n "checking for finite declaration... " >&6; }
20020 if test x${glibcxx_cv_func_finite_use+set} != xset; then
20021 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20022 $as_echo_n "(cached) " >&6
20027 ac_cpp='$CXXCPP $CPPFLAGS'
20028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20033 /* end confdefs.h. */
20035 #ifdef HAVE_IEEEFP_H
20036 #include <ieeefp.h>
20047 if ac_fn_cxx_try_compile "$LINENO"; then :
20048 glibcxx_cv_func_finite_use=yes
20050 glibcxx_cv_func_finite_use=no
20052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20054 ac_cpp='$CPP $CPPFLAGS'
20055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20064 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20066 if test x$glibcxx_cv_func_finite_use = x"yes"; then
20067 for ac_func in finite
20069 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20070 if test "x$ac_cv_func_finite" = x""yes; then :
20071 cat >>confdefs.h <<_ACEOF
20072 #define HAVE_FINITE 1
20080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
20081 $as_echo_n "checking for _finite declaration... " >&6; }
20082 if test x${glibcxx_cv_func__finite_use+set} != xset; then
20083 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
20084 $as_echo_n "(cached) " >&6
20089 ac_cpp='$CXXCPP $CPPFLAGS'
20090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20095 /* end confdefs.h. */
20097 #ifdef HAVE_IEEEFP_H
20098 #include <ieeefp.h>
20109 if ac_fn_cxx_try_compile "$LINENO"; then :
20110 glibcxx_cv_func__finite_use=yes
20112 glibcxx_cv_func__finite_use=no
20114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20116 ac_cpp='$CPP $CPPFLAGS'
20117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
20126 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
20128 if test x$glibcxx_cv_func__finite_use = x"yes"; then
20129 for ac_func in _finite
20131 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
20132 if test "x$ac_cv_func__finite" = x""yes; then :
20133 cat >>confdefs.h <<_ACEOF
20134 #define HAVE__FINITE 1
20147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
20148 $as_echo_n "checking for sincos declaration... " >&6; }
20149 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20150 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
20151 $as_echo_n "(cached) " >&6
20156 ac_cpp='$CXXCPP $CPPFLAGS'
20157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20162 /* end confdefs.h. */
20172 if ac_fn_cxx_try_compile "$LINENO"; then :
20173 glibcxx_cv_func_sincos_use=yes
20175 glibcxx_cv_func_sincos_use=no
20177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20179 ac_cpp='$CPP $CPPFLAGS'
20180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
20189 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
20191 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20192 for ac_func in sincos
20194 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
20195 if test "x$ac_cv_func_sincos" = x""yes; then :
20196 cat >>confdefs.h <<_ACEOF
20197 #define HAVE_SINCOS 1
20205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
20206 $as_echo_n "checking for _sincos declaration... " >&6; }
20207 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20208 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
20209 $as_echo_n "(cached) " >&6
20214 ac_cpp='$CXXCPP $CPPFLAGS'
20215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20220 /* end confdefs.h. */
20230 if ac_fn_cxx_try_compile "$LINENO"; then :
20231 glibcxx_cv_func__sincos_use=yes
20233 glibcxx_cv_func__sincos_use=no
20235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20237 ac_cpp='$CPP $CPPFLAGS'
20238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
20247 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
20249 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20250 for ac_func in _sincos
20252 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
20253 if test "x$ac_cv_func__sincos" = x""yes; then :
20254 cat >>confdefs.h <<_ACEOF
20255 #define HAVE__SINCOS 1
20268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
20269 $as_echo_n "checking for fpclass declaration... " >&6; }
20270 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20271 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
20272 $as_echo_n "(cached) " >&6
20277 ac_cpp='$CXXCPP $CPPFLAGS'
20278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20283 /* end confdefs.h. */
20285 #ifdef HAVE_IEEEFP_H
20286 #include <ieeefp.h>
20297 if ac_fn_cxx_try_compile "$LINENO"; then :
20298 glibcxx_cv_func_fpclass_use=yes
20300 glibcxx_cv_func_fpclass_use=no
20302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20304 ac_cpp='$CPP $CPPFLAGS'
20305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
20314 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
20316 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20317 for ac_func in fpclass
20319 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
20320 if test "x$ac_cv_func_fpclass" = x""yes; then :
20321 cat >>confdefs.h <<_ACEOF
20322 #define HAVE_FPCLASS 1
20330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
20331 $as_echo_n "checking for _fpclass declaration... " >&6; }
20332 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20333 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
20334 $as_echo_n "(cached) " >&6
20339 ac_cpp='$CXXCPP $CPPFLAGS'
20340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20345 /* end confdefs.h. */
20347 #ifdef HAVE_IEEEFP_H
20348 #include <ieeefp.h>
20359 if ac_fn_cxx_try_compile "$LINENO"; then :
20360 glibcxx_cv_func__fpclass_use=yes
20362 glibcxx_cv_func__fpclass_use=no
20364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20366 ac_cpp='$CPP $CPPFLAGS'
20367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
20376 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
20378 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20379 for ac_func in _fpclass
20381 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
20382 if test "x$ac_cv_func__fpclass" = x""yes; then :
20383 cat >>confdefs.h <<_ACEOF
20384 #define HAVE__FPCLASS 1
20397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
20398 $as_echo_n "checking for qfpclass declaration... " >&6; }
20399 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
20400 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
20401 $as_echo_n "(cached) " >&6
20406 ac_cpp='$CXXCPP $CPPFLAGS'
20407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20412 /* end confdefs.h. */
20414 #ifdef HAVE_IEEEFP_H
20415 #include <ieeefp.h>
20426 if ac_fn_cxx_try_compile "$LINENO"; then :
20427 glibcxx_cv_func_qfpclass_use=yes
20429 glibcxx_cv_func_qfpclass_use=no
20431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20433 ac_cpp='$CPP $CPPFLAGS'
20434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
20443 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
20445 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
20446 for ac_func in qfpclass
20448 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
20449 if test "x$ac_cv_func_qfpclass" = x""yes; then :
20450 cat >>confdefs.h <<_ACEOF
20451 #define HAVE_QFPCLASS 1
20459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
20460 $as_echo_n "checking for _qfpclass declaration... " >&6; }
20461 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
20462 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
20463 $as_echo_n "(cached) " >&6
20468 ac_cpp='$CXXCPP $CPPFLAGS'
20469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20474 /* end confdefs.h. */
20476 #ifdef HAVE_IEEEFP_H
20477 #include <ieeefp.h>
20488 if ac_fn_cxx_try_compile "$LINENO"; then :
20489 glibcxx_cv_func__qfpclass_use=yes
20491 glibcxx_cv_func__qfpclass_use=no
20493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20495 ac_cpp='$CPP $CPPFLAGS'
20496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
20505 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
20507 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
20508 for ac_func in _qfpclass
20510 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
20511 if test "x$ac_cv_func__qfpclass" = x""yes; then :
20512 cat >>confdefs.h <<_ACEOF
20513 #define HAVE__QFPCLASS 1
20526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
20527 $as_echo_n "checking for hypot declaration... " >&6; }
20528 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
20529 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
20530 $as_echo_n "(cached) " >&6
20535 ac_cpp='$CXXCPP $CPPFLAGS'
20536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20541 /* end confdefs.h. */
20551 if ac_fn_cxx_try_compile "$LINENO"; then :
20552 glibcxx_cv_func_hypot_use=yes
20554 glibcxx_cv_func_hypot_use=no
20556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20558 ac_cpp='$CPP $CPPFLAGS'
20559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
20568 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
20570 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
20571 for ac_func in hypot
20573 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
20574 if test "x$ac_cv_func_hypot" = x""yes; then :
20575 cat >>confdefs.h <<_ACEOF
20576 #define HAVE_HYPOT 1
20584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
20585 $as_echo_n "checking for _hypot declaration... " >&6; }
20586 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
20587 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
20588 $as_echo_n "(cached) " >&6
20593 ac_cpp='$CXXCPP $CPPFLAGS'
20594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20599 /* end confdefs.h. */
20609 if ac_fn_cxx_try_compile "$LINENO"; then :
20610 glibcxx_cv_func__hypot_use=yes
20612 glibcxx_cv_func__hypot_use=no
20614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20616 ac_cpp='$CPP $CPPFLAGS'
20617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
20626 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
20628 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
20629 for ac_func in _hypot
20631 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
20632 if test "x$ac_cv_func__hypot" = x""yes; then :
20633 cat >>confdefs.h <<_ACEOF
20634 #define HAVE__HYPOT 1
20647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
20648 $as_echo_n "checking for float trig functions... " >&6; }
20649 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
20650 $as_echo_n "(cached) " >&6
20655 ac_cpp='$CXXCPP $CPPFLAGS'
20656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20661 /* end confdefs.h. */
20666 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
20671 if ac_fn_cxx_try_compile "$LINENO"; then :
20672 glibcxx_cv_func_float_trig_use=yes
20674 glibcxx_cv_func_float_trig_use=no
20676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20678 ac_cpp='$CPP $CPPFLAGS'
20679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
20686 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
20687 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
20688 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
20690 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20691 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20692 eval as_val=\$$as_ac_var
20693 if test "x$as_val" = x""yes; then :
20694 cat >>confdefs.h <<_ACEOF
20695 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
20703 $as_echo_n "checking for _float trig functions... " >&6; }
20704 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
20705 $as_echo_n "(cached) " >&6
20710 ac_cpp='$CXXCPP $CPPFLAGS'
20711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20716 /* end confdefs.h. */
20721 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
20726 if ac_fn_cxx_try_compile "$LINENO"; then :
20727 glibcxx_cv_func__float_trig_use=yes
20729 glibcxx_cv_func__float_trig_use=no
20731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20733 ac_cpp='$CPP $CPPFLAGS'
20734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
20741 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
20742 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
20743 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
20745 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20746 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20747 eval as_val=\$$as_ac_var
20748 if test "x$as_val" = x""yes; then :
20749 cat >>confdefs.h <<_ACEOF
20750 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
20764 $as_echo_n "checking for float round functions... " >&6; }
20765 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
20766 $as_echo_n "(cached) " >&6
20771 ac_cpp='$CXXCPP $CPPFLAGS'
20772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20777 /* end confdefs.h. */
20782 ceilf (0); floorf (0);
20787 if ac_fn_cxx_try_compile "$LINENO"; then :
20788 glibcxx_cv_func_float_round_use=yes
20790 glibcxx_cv_func_float_round_use=no
20792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20794 ac_cpp='$CPP $CPPFLAGS'
20795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
20802 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
20803 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
20804 for ac_func in ceilf floorf
20806 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20807 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20808 eval as_val=\$$as_ac_var
20809 if test "x$as_val" = x""yes; then :
20810 cat >>confdefs.h <<_ACEOF
20811 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
20819 $as_echo_n "checking for _float round functions... " >&6; }
20820 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
20821 $as_echo_n "(cached) " >&6
20826 ac_cpp='$CXXCPP $CPPFLAGS'
20827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20832 /* end confdefs.h. */
20837 _ceilf (0); _floorf (0);
20842 if ac_fn_cxx_try_compile "$LINENO"; then :
20843 glibcxx_cv_func__float_round_use=yes
20845 glibcxx_cv_func__float_round_use=no
20847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20849 ac_cpp='$CPP $CPPFLAGS'
20850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
20857 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
20858 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
20859 for ac_func in _ceilf _floorf
20861 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20862 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20863 eval as_val=\$$as_ac_var
20864 if test "x$as_val" = x""yes; then :
20865 cat >>confdefs.h <<_ACEOF
20866 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
20881 $as_echo_n "checking for expf declaration... " >&6; }
20882 if test x${glibcxx_cv_func_expf_use+set} != xset; then
20883 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
20884 $as_echo_n "(cached) " >&6
20889 ac_cpp='$CXXCPP $CPPFLAGS'
20890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20895 /* end confdefs.h. */
20897 #ifdef HAVE_IEEEFP_H
20898 #include <ieeefp.h>
20909 if ac_fn_cxx_try_compile "$LINENO"; then :
20910 glibcxx_cv_func_expf_use=yes
20912 glibcxx_cv_func_expf_use=no
20914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20916 ac_cpp='$CPP $CPPFLAGS'
20917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
20926 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
20928 if test x$glibcxx_cv_func_expf_use = x"yes"; then
20929 for ac_func in expf
20931 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
20932 if test "x$ac_cv_func_expf" = x""yes; then :
20933 cat >>confdefs.h <<_ACEOF
20934 #define HAVE_EXPF 1
20942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
20943 $as_echo_n "checking for _expf declaration... " >&6; }
20944 if test x${glibcxx_cv_func__expf_use+set} != xset; then
20945 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
20946 $as_echo_n "(cached) " >&6
20951 ac_cpp='$CXXCPP $CPPFLAGS'
20952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20957 /* end confdefs.h. */
20959 #ifdef HAVE_IEEEFP_H
20960 #include <ieeefp.h>
20971 if ac_fn_cxx_try_compile "$LINENO"; then :
20972 glibcxx_cv_func__expf_use=yes
20974 glibcxx_cv_func__expf_use=no
20976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20978 ac_cpp='$CPP $CPPFLAGS'
20979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
20988 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
20990 if test x$glibcxx_cv_func__expf_use = x"yes"; then
20991 for ac_func in _expf
20993 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
20994 if test "x$ac_cv_func__expf" = x""yes; then :
20995 cat >>confdefs.h <<_ACEOF
20996 #define HAVE__EXPF 1
21009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21010 $as_echo_n "checking for isnanf declaration... " >&6; }
21011 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21012 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21013 $as_echo_n "(cached) " >&6
21018 ac_cpp='$CXXCPP $CPPFLAGS'
21019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21024 /* end confdefs.h. */
21026 #ifdef HAVE_IEEEFP_H
21027 #include <ieeefp.h>
21038 if ac_fn_cxx_try_compile "$LINENO"; then :
21039 glibcxx_cv_func_isnanf_use=yes
21041 glibcxx_cv_func_isnanf_use=no
21043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21045 ac_cpp='$CPP $CPPFLAGS'
21046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21055 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21057 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21058 for ac_func in isnanf
21060 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21061 if test "x$ac_cv_func_isnanf" = x""yes; then :
21062 cat >>confdefs.h <<_ACEOF
21063 #define HAVE_ISNANF 1
21071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21072 $as_echo_n "checking for _isnanf declaration... " >&6; }
21073 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21074 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
21075 $as_echo_n "(cached) " >&6
21080 ac_cpp='$CXXCPP $CPPFLAGS'
21081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21086 /* end confdefs.h. */
21088 #ifdef HAVE_IEEEFP_H
21089 #include <ieeefp.h>
21100 if ac_fn_cxx_try_compile "$LINENO"; then :
21101 glibcxx_cv_func__isnanf_use=yes
21103 glibcxx_cv_func__isnanf_use=no
21105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21107 ac_cpp='$CPP $CPPFLAGS'
21108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
21117 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
21119 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
21120 for ac_func in _isnanf
21122 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
21123 if test "x$ac_cv_func__isnanf" = x""yes; then :
21124 cat >>confdefs.h <<_ACEOF
21125 #define HAVE__ISNANF 1
21138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
21139 $as_echo_n "checking for isinff declaration... " >&6; }
21140 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
21141 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
21142 $as_echo_n "(cached) " >&6
21147 ac_cpp='$CXXCPP $CPPFLAGS'
21148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21153 /* end confdefs.h. */
21155 #ifdef HAVE_IEEEFP_H
21156 #include <ieeefp.h>
21167 if ac_fn_cxx_try_compile "$LINENO"; then :
21168 glibcxx_cv_func_isinff_use=yes
21170 glibcxx_cv_func_isinff_use=no
21172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21174 ac_cpp='$CPP $CPPFLAGS'
21175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
21184 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
21186 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
21187 for ac_func in isinff
21189 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
21190 if test "x$ac_cv_func_isinff" = x""yes; then :
21191 cat >>confdefs.h <<_ACEOF
21192 #define HAVE_ISINFF 1
21200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
21201 $as_echo_n "checking for _isinff declaration... " >&6; }
21202 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
21203 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
21204 $as_echo_n "(cached) " >&6
21209 ac_cpp='$CXXCPP $CPPFLAGS'
21210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21215 /* end confdefs.h. */
21217 #ifdef HAVE_IEEEFP_H
21218 #include <ieeefp.h>
21229 if ac_fn_cxx_try_compile "$LINENO"; then :
21230 glibcxx_cv_func__isinff_use=yes
21232 glibcxx_cv_func__isinff_use=no
21234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21236 ac_cpp='$CPP $CPPFLAGS'
21237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
21246 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
21248 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
21249 for ac_func in _isinff
21251 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
21252 if test "x$ac_cv_func__isinff" = x""yes; then :
21253 cat >>confdefs.h <<_ACEOF
21254 #define HAVE__ISINFF 1
21267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
21268 $as_echo_n "checking for atan2f declaration... " >&6; }
21269 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
21270 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
21271 $as_echo_n "(cached) " >&6
21276 ac_cpp='$CXXCPP $CPPFLAGS'
21277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21282 /* end confdefs.h. */
21292 if ac_fn_cxx_try_compile "$LINENO"; then :
21293 glibcxx_cv_func_atan2f_use=yes
21295 glibcxx_cv_func_atan2f_use=no
21297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21299 ac_cpp='$CPP $CPPFLAGS'
21300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
21309 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
21311 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
21312 for ac_func in atan2f
21314 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
21315 if test "x$ac_cv_func_atan2f" = x""yes; then :
21316 cat >>confdefs.h <<_ACEOF
21317 #define HAVE_ATAN2F 1
21325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
21326 $as_echo_n "checking for _atan2f declaration... " >&6; }
21327 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
21328 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
21329 $as_echo_n "(cached) " >&6
21334 ac_cpp='$CXXCPP $CPPFLAGS'
21335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21340 /* end confdefs.h. */
21350 if ac_fn_cxx_try_compile "$LINENO"; then :
21351 glibcxx_cv_func__atan2f_use=yes
21353 glibcxx_cv_func__atan2f_use=no
21355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21357 ac_cpp='$CPP $CPPFLAGS'
21358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
21367 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
21369 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
21370 for ac_func in _atan2f
21372 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
21373 if test "x$ac_cv_func__atan2f" = x""yes; then :
21374 cat >>confdefs.h <<_ACEOF
21375 #define HAVE__ATAN2F 1
21388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
21389 $as_echo_n "checking for fabsf declaration... " >&6; }
21390 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
21391 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
21392 $as_echo_n "(cached) " >&6
21397 ac_cpp='$CXXCPP $CPPFLAGS'
21398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21403 /* end confdefs.h. */
21405 #ifdef HAVE_IEEEFP_H
21406 #include <ieeefp.h>
21417 if ac_fn_cxx_try_compile "$LINENO"; then :
21418 glibcxx_cv_func_fabsf_use=yes
21420 glibcxx_cv_func_fabsf_use=no
21422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21424 ac_cpp='$CPP $CPPFLAGS'
21425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
21434 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
21436 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
21437 for ac_func in fabsf
21439 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
21440 if test "x$ac_cv_func_fabsf" = x""yes; then :
21441 cat >>confdefs.h <<_ACEOF
21442 #define HAVE_FABSF 1
21450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
21451 $as_echo_n "checking for _fabsf declaration... " >&6; }
21452 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
21453 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
21454 $as_echo_n "(cached) " >&6
21459 ac_cpp='$CXXCPP $CPPFLAGS'
21460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21465 /* end confdefs.h. */
21467 #ifdef HAVE_IEEEFP_H
21468 #include <ieeefp.h>
21479 if ac_fn_cxx_try_compile "$LINENO"; then :
21480 glibcxx_cv_func__fabsf_use=yes
21482 glibcxx_cv_func__fabsf_use=no
21484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21486 ac_cpp='$CPP $CPPFLAGS'
21487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
21496 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
21498 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
21499 for ac_func in _fabsf
21501 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
21502 if test "x$ac_cv_func__fabsf" = x""yes; then :
21503 cat >>confdefs.h <<_ACEOF
21504 #define HAVE__FABSF 1
21517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
21518 $as_echo_n "checking for fmodf declaration... " >&6; }
21519 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
21520 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
21521 $as_echo_n "(cached) " >&6
21526 ac_cpp='$CXXCPP $CPPFLAGS'
21527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21532 /* end confdefs.h. */
21542 if ac_fn_cxx_try_compile "$LINENO"; then :
21543 glibcxx_cv_func_fmodf_use=yes
21545 glibcxx_cv_func_fmodf_use=no
21547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21549 ac_cpp='$CPP $CPPFLAGS'
21550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
21559 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
21561 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
21562 for ac_func in fmodf
21564 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
21565 if test "x$ac_cv_func_fmodf" = x""yes; then :
21566 cat >>confdefs.h <<_ACEOF
21567 #define HAVE_FMODF 1
21575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
21576 $as_echo_n "checking for _fmodf declaration... " >&6; }
21577 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
21578 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
21579 $as_echo_n "(cached) " >&6
21584 ac_cpp='$CXXCPP $CPPFLAGS'
21585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21590 /* end confdefs.h. */
21600 if ac_fn_cxx_try_compile "$LINENO"; then :
21601 glibcxx_cv_func__fmodf_use=yes
21603 glibcxx_cv_func__fmodf_use=no
21605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21607 ac_cpp='$CPP $CPPFLAGS'
21608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
21617 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
21619 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
21620 for ac_func in _fmodf
21622 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
21623 if test "x$ac_cv_func__fmodf" = x""yes; then :
21624 cat >>confdefs.h <<_ACEOF
21625 #define HAVE__FMODF 1
21638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
21639 $as_echo_n "checking for frexpf declaration... " >&6; }
21640 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
21641 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
21642 $as_echo_n "(cached) " >&6
21647 ac_cpp='$CXXCPP $CPPFLAGS'
21648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21653 /* end confdefs.h. */
21663 if ac_fn_cxx_try_compile "$LINENO"; then :
21664 glibcxx_cv_func_frexpf_use=yes
21666 glibcxx_cv_func_frexpf_use=no
21668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21670 ac_cpp='$CPP $CPPFLAGS'
21671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
21680 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
21682 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
21683 for ac_func in frexpf
21685 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
21686 if test "x$ac_cv_func_frexpf" = x""yes; then :
21687 cat >>confdefs.h <<_ACEOF
21688 #define HAVE_FREXPF 1
21696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
21697 $as_echo_n "checking for _frexpf declaration... " >&6; }
21698 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
21699 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
21700 $as_echo_n "(cached) " >&6
21705 ac_cpp='$CXXCPP $CPPFLAGS'
21706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21711 /* end confdefs.h. */
21721 if ac_fn_cxx_try_compile "$LINENO"; then :
21722 glibcxx_cv_func__frexpf_use=yes
21724 glibcxx_cv_func__frexpf_use=no
21726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21728 ac_cpp='$CPP $CPPFLAGS'
21729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
21738 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
21740 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
21741 for ac_func in _frexpf
21743 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
21744 if test "x$ac_cv_func__frexpf" = x""yes; then :
21745 cat >>confdefs.h <<_ACEOF
21746 #define HAVE__FREXPF 1
21759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
21760 $as_echo_n "checking for hypotf declaration... " >&6; }
21761 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
21762 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
21763 $as_echo_n "(cached) " >&6
21768 ac_cpp='$CXXCPP $CPPFLAGS'
21769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21774 /* end confdefs.h. */
21784 if ac_fn_cxx_try_compile "$LINENO"; then :
21785 glibcxx_cv_func_hypotf_use=yes
21787 glibcxx_cv_func_hypotf_use=no
21789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21791 ac_cpp='$CPP $CPPFLAGS'
21792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
21801 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
21803 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
21804 for ac_func in hypotf
21806 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
21807 if test "x$ac_cv_func_hypotf" = x""yes; then :
21808 cat >>confdefs.h <<_ACEOF
21809 #define HAVE_HYPOTF 1
21817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
21818 $as_echo_n "checking for _hypotf declaration... " >&6; }
21819 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
21820 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
21821 $as_echo_n "(cached) " >&6
21826 ac_cpp='$CXXCPP $CPPFLAGS'
21827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21832 /* end confdefs.h. */
21842 if ac_fn_cxx_try_compile "$LINENO"; then :
21843 glibcxx_cv_func__hypotf_use=yes
21845 glibcxx_cv_func__hypotf_use=no
21847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21849 ac_cpp='$CPP $CPPFLAGS'
21850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
21859 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
21861 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
21862 for ac_func in _hypotf
21864 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
21865 if test "x$ac_cv_func__hypotf" = x""yes; then :
21866 cat >>confdefs.h <<_ACEOF
21867 #define HAVE__HYPOTF 1
21880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
21881 $as_echo_n "checking for ldexpf declaration... " >&6; }
21882 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
21883 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
21884 $as_echo_n "(cached) " >&6
21889 ac_cpp='$CXXCPP $CPPFLAGS'
21890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21895 /* end confdefs.h. */
21905 if ac_fn_cxx_try_compile "$LINENO"; then :
21906 glibcxx_cv_func_ldexpf_use=yes
21908 glibcxx_cv_func_ldexpf_use=no
21910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21912 ac_cpp='$CPP $CPPFLAGS'
21913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
21922 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
21924 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
21925 for ac_func in ldexpf
21927 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
21928 if test "x$ac_cv_func_ldexpf" = x""yes; then :
21929 cat >>confdefs.h <<_ACEOF
21930 #define HAVE_LDEXPF 1
21938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
21939 $as_echo_n "checking for _ldexpf declaration... " >&6; }
21940 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
21941 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
21942 $as_echo_n "(cached) " >&6
21947 ac_cpp='$CXXCPP $CPPFLAGS'
21948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21953 /* end confdefs.h. */
21963 if ac_fn_cxx_try_compile "$LINENO"; then :
21964 glibcxx_cv_func__ldexpf_use=yes
21966 glibcxx_cv_func__ldexpf_use=no
21968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21970 ac_cpp='$CPP $CPPFLAGS'
21971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
21980 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
21982 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
21983 for ac_func in _ldexpf
21985 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
21986 if test "x$ac_cv_func__ldexpf" = x""yes; then :
21987 cat >>confdefs.h <<_ACEOF
21988 #define HAVE__LDEXPF 1
22001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22002 $as_echo_n "checking for logf declaration... " >&6; }
22003 if test x${glibcxx_cv_func_logf_use+set} != xset; then
22004 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22005 $as_echo_n "(cached) " >&6
22010 ac_cpp='$CXXCPP $CPPFLAGS'
22011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22016 /* end confdefs.h. */
22018 #ifdef HAVE_IEEEFP_H
22019 #include <ieeefp.h>
22030 if ac_fn_cxx_try_compile "$LINENO"; then :
22031 glibcxx_cv_func_logf_use=yes
22033 glibcxx_cv_func_logf_use=no
22035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22037 ac_cpp='$CPP $CPPFLAGS'
22038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22047 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22049 if test x$glibcxx_cv_func_logf_use = x"yes"; then
22050 for ac_func in logf
22052 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22053 if test "x$ac_cv_func_logf" = x""yes; then :
22054 cat >>confdefs.h <<_ACEOF
22055 #define HAVE_LOGF 1
22063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22064 $as_echo_n "checking for _logf declaration... " >&6; }
22065 if test x${glibcxx_cv_func__logf_use+set} != xset; then
22066 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22067 $as_echo_n "(cached) " >&6
22072 ac_cpp='$CXXCPP $CPPFLAGS'
22073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22078 /* end confdefs.h. */
22080 #ifdef HAVE_IEEEFP_H
22081 #include <ieeefp.h>
22092 if ac_fn_cxx_try_compile "$LINENO"; then :
22093 glibcxx_cv_func__logf_use=yes
22095 glibcxx_cv_func__logf_use=no
22097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22099 ac_cpp='$CPP $CPPFLAGS'
22100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
22109 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
22111 if test x$glibcxx_cv_func__logf_use = x"yes"; then
22112 for ac_func in _logf
22114 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
22115 if test "x$ac_cv_func__logf" = x""yes; then :
22116 cat >>confdefs.h <<_ACEOF
22117 #define HAVE__LOGF 1
22130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
22131 $as_echo_n "checking for log10f declaration... " >&6; }
22132 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
22133 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
22134 $as_echo_n "(cached) " >&6
22139 ac_cpp='$CXXCPP $CPPFLAGS'
22140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22145 /* end confdefs.h. */
22147 #ifdef HAVE_IEEEFP_H
22148 #include <ieeefp.h>
22159 if ac_fn_cxx_try_compile "$LINENO"; then :
22160 glibcxx_cv_func_log10f_use=yes
22162 glibcxx_cv_func_log10f_use=no
22164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22166 ac_cpp='$CPP $CPPFLAGS'
22167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
22176 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
22178 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
22179 for ac_func in log10f
22181 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
22182 if test "x$ac_cv_func_log10f" = x""yes; then :
22183 cat >>confdefs.h <<_ACEOF
22184 #define HAVE_LOG10F 1
22192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
22193 $as_echo_n "checking for _log10f declaration... " >&6; }
22194 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
22195 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
22196 $as_echo_n "(cached) " >&6
22201 ac_cpp='$CXXCPP $CPPFLAGS'
22202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22207 /* end confdefs.h. */
22209 #ifdef HAVE_IEEEFP_H
22210 #include <ieeefp.h>
22221 if ac_fn_cxx_try_compile "$LINENO"; then :
22222 glibcxx_cv_func__log10f_use=yes
22224 glibcxx_cv_func__log10f_use=no
22226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22228 ac_cpp='$CPP $CPPFLAGS'
22229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
22238 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
22240 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
22241 for ac_func in _log10f
22243 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
22244 if test "x$ac_cv_func__log10f" = x""yes; then :
22245 cat >>confdefs.h <<_ACEOF
22246 #define HAVE__LOG10F 1
22259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
22260 $as_echo_n "checking for modff declaration... " >&6; }
22261 if test x${glibcxx_cv_func_modff_use+set} != xset; then
22262 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
22263 $as_echo_n "(cached) " >&6
22268 ac_cpp='$CXXCPP $CPPFLAGS'
22269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22274 /* end confdefs.h. */
22284 if ac_fn_cxx_try_compile "$LINENO"; then :
22285 glibcxx_cv_func_modff_use=yes
22287 glibcxx_cv_func_modff_use=no
22289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22291 ac_cpp='$CPP $CPPFLAGS'
22292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
22301 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
22303 if test x$glibcxx_cv_func_modff_use = x"yes"; then
22304 for ac_func in modff
22306 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
22307 if test "x$ac_cv_func_modff" = x""yes; then :
22308 cat >>confdefs.h <<_ACEOF
22309 #define HAVE_MODFF 1
22317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
22318 $as_echo_n "checking for _modff declaration... " >&6; }
22319 if test x${glibcxx_cv_func__modff_use+set} != xset; then
22320 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
22321 $as_echo_n "(cached) " >&6
22326 ac_cpp='$CXXCPP $CPPFLAGS'
22327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22332 /* end confdefs.h. */
22342 if ac_fn_cxx_try_compile "$LINENO"; then :
22343 glibcxx_cv_func__modff_use=yes
22345 glibcxx_cv_func__modff_use=no
22347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22349 ac_cpp='$CPP $CPPFLAGS'
22350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
22359 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
22361 if test x$glibcxx_cv_func__modff_use = x"yes"; then
22362 for ac_func in _modff
22364 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
22365 if test "x$ac_cv_func__modff" = x""yes; then :
22366 cat >>confdefs.h <<_ACEOF
22367 #define HAVE__MODFF 1
22380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
22381 $as_echo_n "checking for modf declaration... " >&6; }
22382 if test x${glibcxx_cv_func_modf_use+set} != xset; then
22383 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
22384 $as_echo_n "(cached) " >&6
22389 ac_cpp='$CXXCPP $CPPFLAGS'
22390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22395 /* end confdefs.h. */
22405 if ac_fn_cxx_try_compile "$LINENO"; then :
22406 glibcxx_cv_func_modf_use=yes
22408 glibcxx_cv_func_modf_use=no
22410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22412 ac_cpp='$CPP $CPPFLAGS'
22413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
22422 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
22424 if test x$glibcxx_cv_func_modf_use = x"yes"; then
22425 for ac_func in modf
22427 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
22428 if test "x$ac_cv_func_modf" = x""yes; then :
22429 cat >>confdefs.h <<_ACEOF
22430 #define HAVE_MODF 1
22438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
22439 $as_echo_n "checking for _modf declaration... " >&6; }
22440 if test x${glibcxx_cv_func__modf_use+set} != xset; then
22441 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
22442 $as_echo_n "(cached) " >&6
22447 ac_cpp='$CXXCPP $CPPFLAGS'
22448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22453 /* end confdefs.h. */
22463 if ac_fn_cxx_try_compile "$LINENO"; then :
22464 glibcxx_cv_func__modf_use=yes
22466 glibcxx_cv_func__modf_use=no
22468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22470 ac_cpp='$CPP $CPPFLAGS'
22471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
22480 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
22482 if test x$glibcxx_cv_func__modf_use = x"yes"; then
22483 for ac_func in _modf
22485 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
22486 if test "x$ac_cv_func__modf" = x""yes; then :
22487 cat >>confdefs.h <<_ACEOF
22488 #define HAVE__MODF 1
22501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
22502 $as_echo_n "checking for powf declaration... " >&6; }
22503 if test x${glibcxx_cv_func_powf_use+set} != xset; then
22504 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
22505 $as_echo_n "(cached) " >&6
22510 ac_cpp='$CXXCPP $CPPFLAGS'
22511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22516 /* end confdefs.h. */
22526 if ac_fn_cxx_try_compile "$LINENO"; then :
22527 glibcxx_cv_func_powf_use=yes
22529 glibcxx_cv_func_powf_use=no
22531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22533 ac_cpp='$CPP $CPPFLAGS'
22534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
22543 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
22545 if test x$glibcxx_cv_func_powf_use = x"yes"; then
22546 for ac_func in powf
22548 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
22549 if test "x$ac_cv_func_powf" = x""yes; then :
22550 cat >>confdefs.h <<_ACEOF
22551 #define HAVE_POWF 1
22559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
22560 $as_echo_n "checking for _powf declaration... " >&6; }
22561 if test x${glibcxx_cv_func__powf_use+set} != xset; then
22562 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
22563 $as_echo_n "(cached) " >&6
22568 ac_cpp='$CXXCPP $CPPFLAGS'
22569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22574 /* end confdefs.h. */
22584 if ac_fn_cxx_try_compile "$LINENO"; then :
22585 glibcxx_cv_func__powf_use=yes
22587 glibcxx_cv_func__powf_use=no
22589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22591 ac_cpp='$CPP $CPPFLAGS'
22592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
22601 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
22603 if test x$glibcxx_cv_func__powf_use = x"yes"; then
22604 for ac_func in _powf
22606 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
22607 if test "x$ac_cv_func__powf" = x""yes; then :
22608 cat >>confdefs.h <<_ACEOF
22609 #define HAVE__POWF 1
22622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
22623 $as_echo_n "checking for sqrtf declaration... " >&6; }
22624 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
22625 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
22626 $as_echo_n "(cached) " >&6
22631 ac_cpp='$CXXCPP $CPPFLAGS'
22632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22637 /* end confdefs.h. */
22639 #ifdef HAVE_IEEEFP_H
22640 #include <ieeefp.h>
22651 if ac_fn_cxx_try_compile "$LINENO"; then :
22652 glibcxx_cv_func_sqrtf_use=yes
22654 glibcxx_cv_func_sqrtf_use=no
22656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22658 ac_cpp='$CPP $CPPFLAGS'
22659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
22668 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
22670 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
22671 for ac_func in sqrtf
22673 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
22674 if test "x$ac_cv_func_sqrtf" = x""yes; then :
22675 cat >>confdefs.h <<_ACEOF
22676 #define HAVE_SQRTF 1
22684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
22685 $as_echo_n "checking for _sqrtf declaration... " >&6; }
22686 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
22687 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
22688 $as_echo_n "(cached) " >&6
22693 ac_cpp='$CXXCPP $CPPFLAGS'
22694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22699 /* end confdefs.h. */
22701 #ifdef HAVE_IEEEFP_H
22702 #include <ieeefp.h>
22713 if ac_fn_cxx_try_compile "$LINENO"; then :
22714 glibcxx_cv_func__sqrtf_use=yes
22716 glibcxx_cv_func__sqrtf_use=no
22718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22720 ac_cpp='$CPP $CPPFLAGS'
22721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
22730 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
22732 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
22733 for ac_func in _sqrtf
22735 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
22736 if test "x$ac_cv_func__sqrtf" = x""yes; then :
22737 cat >>confdefs.h <<_ACEOF
22738 #define HAVE__SQRTF 1
22751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
22752 $as_echo_n "checking for sincosf declaration... " >&6; }
22753 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
22754 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
22755 $as_echo_n "(cached) " >&6
22760 ac_cpp='$CXXCPP $CPPFLAGS'
22761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22766 /* end confdefs.h. */
22776 if ac_fn_cxx_try_compile "$LINENO"; then :
22777 glibcxx_cv_func_sincosf_use=yes
22779 glibcxx_cv_func_sincosf_use=no
22781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22783 ac_cpp='$CPP $CPPFLAGS'
22784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
22793 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
22795 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
22796 for ac_func in sincosf
22798 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
22799 if test "x$ac_cv_func_sincosf" = x""yes; then :
22800 cat >>confdefs.h <<_ACEOF
22801 #define HAVE_SINCOSF 1
22809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
22810 $as_echo_n "checking for _sincosf declaration... " >&6; }
22811 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
22812 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
22813 $as_echo_n "(cached) " >&6
22818 ac_cpp='$CXXCPP $CPPFLAGS'
22819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22824 /* end confdefs.h. */
22834 if ac_fn_cxx_try_compile "$LINENO"; then :
22835 glibcxx_cv_func__sincosf_use=yes
22837 glibcxx_cv_func__sincosf_use=no
22839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22841 ac_cpp='$CPP $CPPFLAGS'
22842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
22851 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
22853 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
22854 for ac_func in _sincosf
22856 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
22857 if test "x$ac_cv_func__sincosf" = x""yes; then :
22858 cat >>confdefs.h <<_ACEOF
22859 #define HAVE__SINCOSF 1
22872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
22873 $as_echo_n "checking for finitef declaration... " >&6; }
22874 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
22875 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
22876 $as_echo_n "(cached) " >&6
22881 ac_cpp='$CXXCPP $CPPFLAGS'
22882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22887 /* end confdefs.h. */
22889 #ifdef HAVE_IEEEFP_H
22890 #include <ieeefp.h>
22901 if ac_fn_cxx_try_compile "$LINENO"; then :
22902 glibcxx_cv_func_finitef_use=yes
22904 glibcxx_cv_func_finitef_use=no
22906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22908 ac_cpp='$CPP $CPPFLAGS'
22909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
22918 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
22920 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
22921 for ac_func in finitef
22923 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
22924 if test "x$ac_cv_func_finitef" = x""yes; then :
22925 cat >>confdefs.h <<_ACEOF
22926 #define HAVE_FINITEF 1
22934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
22935 $as_echo_n "checking for _finitef declaration... " >&6; }
22936 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
22937 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
22938 $as_echo_n "(cached) " >&6
22943 ac_cpp='$CXXCPP $CPPFLAGS'
22944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22949 /* end confdefs.h. */
22951 #ifdef HAVE_IEEEFP_H
22952 #include <ieeefp.h>
22963 if ac_fn_cxx_try_compile "$LINENO"; then :
22964 glibcxx_cv_func__finitef_use=yes
22966 glibcxx_cv_func__finitef_use=no
22968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22970 ac_cpp='$CPP $CPPFLAGS'
22971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
22980 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
22982 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
22983 for ac_func in _finitef
22985 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
22986 if test "x$ac_cv_func__finitef" = x""yes; then :
22987 cat >>confdefs.h <<_ACEOF
22988 #define HAVE__FINITEF 1
23001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23002 $as_echo_n "checking for long double trig functions... " >&6; }
23003 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23004 $as_echo_n "(cached) " >&6
23009 ac_cpp='$CXXCPP $CPPFLAGS'
23010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23015 /* end confdefs.h. */
23020 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23025 if ac_fn_cxx_try_compile "$LINENO"; then :
23026 glibcxx_cv_func_long_double_trig_use=yes
23028 glibcxx_cv_func_long_double_trig_use=no
23030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23032 ac_cpp='$CPP $CPPFLAGS'
23033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23040 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23041 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23042 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23044 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23045 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23046 eval as_val=\$$as_ac_var
23047 if test "x$as_val" = x""yes; then :
23048 cat >>confdefs.h <<_ACEOF
23049 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23057 $as_echo_n "checking for _long double trig functions... " >&6; }
23058 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23059 $as_echo_n "(cached) " >&6
23064 ac_cpp='$CXXCPP $CPPFLAGS'
23065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23070 /* end confdefs.h. */
23075 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23080 if ac_fn_cxx_try_compile "$LINENO"; then :
23081 glibcxx_cv_func__long_double_trig_use=yes
23083 glibcxx_cv_func__long_double_trig_use=no
23085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23087 ac_cpp='$CPP $CPPFLAGS'
23088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23095 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23096 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23097 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23099 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23100 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23101 eval as_val=\$$as_ac_var
23102 if test "x$as_val" = x""yes; then :
23103 cat >>confdefs.h <<_ACEOF
23104 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
23118 $as_echo_n "checking for long double round functions... " >&6; }
23119 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
23120 $as_echo_n "(cached) " >&6
23125 ac_cpp='$CXXCPP $CPPFLAGS'
23126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23131 /* end confdefs.h. */
23136 ceill (0); floorl (0);
23141 if ac_fn_cxx_try_compile "$LINENO"; then :
23142 glibcxx_cv_func_long_double_round_use=yes
23144 glibcxx_cv_func_long_double_round_use=no
23146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23148 ac_cpp='$CPP $CPPFLAGS'
23149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
23156 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
23157 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
23158 for ac_func in ceill floorl
23160 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23161 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23162 eval as_val=\$$as_ac_var
23163 if test "x$as_val" = x""yes; then :
23164 cat >>confdefs.h <<_ACEOF
23165 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
23173 $as_echo_n "checking for _long double round functions... " >&6; }
23174 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
23175 $as_echo_n "(cached) " >&6
23180 ac_cpp='$CXXCPP $CPPFLAGS'
23181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23186 /* end confdefs.h. */
23191 _ceill (0); _floorl (0);
23196 if ac_fn_cxx_try_compile "$LINENO"; then :
23197 glibcxx_cv_func__long_double_round_use=yes
23199 glibcxx_cv_func__long_double_round_use=no
23201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23203 ac_cpp='$CPP $CPPFLAGS'
23204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
23211 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
23212 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
23213 for ac_func in _ceill _floorl
23215 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23216 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23217 eval as_val=\$$as_ac_var
23218 if test "x$as_val" = x""yes; then :
23219 cat >>confdefs.h <<_ACEOF
23220 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
23235 $as_echo_n "checking for isnanl declaration... " >&6; }
23236 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
23237 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
23238 $as_echo_n "(cached) " >&6
23243 ac_cpp='$CXXCPP $CPPFLAGS'
23244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23249 /* end confdefs.h. */
23251 #ifdef HAVE_IEEEFP_H
23252 #include <ieeefp.h>
23263 if ac_fn_cxx_try_compile "$LINENO"; then :
23264 glibcxx_cv_func_isnanl_use=yes
23266 glibcxx_cv_func_isnanl_use=no
23268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23270 ac_cpp='$CPP $CPPFLAGS'
23271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
23280 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
23282 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
23283 for ac_func in isnanl
23285 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
23286 if test "x$ac_cv_func_isnanl" = x""yes; then :
23287 cat >>confdefs.h <<_ACEOF
23288 #define HAVE_ISNANL 1
23296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
23297 $as_echo_n "checking for _isnanl declaration... " >&6; }
23298 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
23299 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
23300 $as_echo_n "(cached) " >&6
23305 ac_cpp='$CXXCPP $CPPFLAGS'
23306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23311 /* end confdefs.h. */
23313 #ifdef HAVE_IEEEFP_H
23314 #include <ieeefp.h>
23325 if ac_fn_cxx_try_compile "$LINENO"; then :
23326 glibcxx_cv_func__isnanl_use=yes
23328 glibcxx_cv_func__isnanl_use=no
23330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23332 ac_cpp='$CPP $CPPFLAGS'
23333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
23342 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
23344 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
23345 for ac_func in _isnanl
23347 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
23348 if test "x$ac_cv_func__isnanl" = x""yes; then :
23349 cat >>confdefs.h <<_ACEOF
23350 #define HAVE__ISNANL 1
23363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
23364 $as_echo_n "checking for isinfl declaration... " >&6; }
23365 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
23366 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
23367 $as_echo_n "(cached) " >&6
23372 ac_cpp='$CXXCPP $CPPFLAGS'
23373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23378 /* end confdefs.h. */
23380 #ifdef HAVE_IEEEFP_H
23381 #include <ieeefp.h>
23392 if ac_fn_cxx_try_compile "$LINENO"; then :
23393 glibcxx_cv_func_isinfl_use=yes
23395 glibcxx_cv_func_isinfl_use=no
23397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23399 ac_cpp='$CPP $CPPFLAGS'
23400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
23409 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
23411 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
23412 for ac_func in isinfl
23414 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
23415 if test "x$ac_cv_func_isinfl" = x""yes; then :
23416 cat >>confdefs.h <<_ACEOF
23417 #define HAVE_ISINFL 1
23425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
23426 $as_echo_n "checking for _isinfl declaration... " >&6; }
23427 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
23428 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
23429 $as_echo_n "(cached) " >&6
23434 ac_cpp='$CXXCPP $CPPFLAGS'
23435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23440 /* end confdefs.h. */
23442 #ifdef HAVE_IEEEFP_H
23443 #include <ieeefp.h>
23454 if ac_fn_cxx_try_compile "$LINENO"; then :
23455 glibcxx_cv_func__isinfl_use=yes
23457 glibcxx_cv_func__isinfl_use=no
23459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23461 ac_cpp='$CPP $CPPFLAGS'
23462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
23471 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
23473 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
23474 for ac_func in _isinfl
23476 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
23477 if test "x$ac_cv_func__isinfl" = x""yes; then :
23478 cat >>confdefs.h <<_ACEOF
23479 #define HAVE__ISINFL 1
23492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
23493 $as_echo_n "checking for atan2l declaration... " >&6; }
23494 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
23495 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
23496 $as_echo_n "(cached) " >&6
23501 ac_cpp='$CXXCPP $CPPFLAGS'
23502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23507 /* end confdefs.h. */
23517 if ac_fn_cxx_try_compile "$LINENO"; then :
23518 glibcxx_cv_func_atan2l_use=yes
23520 glibcxx_cv_func_atan2l_use=no
23522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23524 ac_cpp='$CPP $CPPFLAGS'
23525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
23534 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
23536 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
23537 for ac_func in atan2l
23539 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
23540 if test "x$ac_cv_func_atan2l" = x""yes; then :
23541 cat >>confdefs.h <<_ACEOF
23542 #define HAVE_ATAN2L 1
23550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
23551 $as_echo_n "checking for _atan2l declaration... " >&6; }
23552 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
23553 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
23554 $as_echo_n "(cached) " >&6
23559 ac_cpp='$CXXCPP $CPPFLAGS'
23560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23565 /* end confdefs.h. */
23575 if ac_fn_cxx_try_compile "$LINENO"; then :
23576 glibcxx_cv_func__atan2l_use=yes
23578 glibcxx_cv_func__atan2l_use=no
23580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23582 ac_cpp='$CPP $CPPFLAGS'
23583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
23592 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
23594 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
23595 for ac_func in _atan2l
23597 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
23598 if test "x$ac_cv_func__atan2l" = x""yes; then :
23599 cat >>confdefs.h <<_ACEOF
23600 #define HAVE__ATAN2L 1
23613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
23614 $as_echo_n "checking for expl declaration... " >&6; }
23615 if test x${glibcxx_cv_func_expl_use+set} != xset; then
23616 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
23617 $as_echo_n "(cached) " >&6
23622 ac_cpp='$CXXCPP $CPPFLAGS'
23623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23628 /* end confdefs.h. */
23630 #ifdef HAVE_IEEEFP_H
23631 #include <ieeefp.h>
23642 if ac_fn_cxx_try_compile "$LINENO"; then :
23643 glibcxx_cv_func_expl_use=yes
23645 glibcxx_cv_func_expl_use=no
23647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23649 ac_cpp='$CPP $CPPFLAGS'
23650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
23659 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
23661 if test x$glibcxx_cv_func_expl_use = x"yes"; then
23662 for ac_func in expl
23664 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
23665 if test "x$ac_cv_func_expl" = x""yes; then :
23666 cat >>confdefs.h <<_ACEOF
23667 #define HAVE_EXPL 1
23675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
23676 $as_echo_n "checking for _expl declaration... " >&6; }
23677 if test x${glibcxx_cv_func__expl_use+set} != xset; then
23678 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
23679 $as_echo_n "(cached) " >&6
23684 ac_cpp='$CXXCPP $CPPFLAGS'
23685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23690 /* end confdefs.h. */
23692 #ifdef HAVE_IEEEFP_H
23693 #include <ieeefp.h>
23704 if ac_fn_cxx_try_compile "$LINENO"; then :
23705 glibcxx_cv_func__expl_use=yes
23707 glibcxx_cv_func__expl_use=no
23709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23711 ac_cpp='$CPP $CPPFLAGS'
23712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
23721 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
23723 if test x$glibcxx_cv_func__expl_use = x"yes"; then
23724 for ac_func in _expl
23726 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
23727 if test "x$ac_cv_func__expl" = x""yes; then :
23728 cat >>confdefs.h <<_ACEOF
23729 #define HAVE__EXPL 1
23742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
23743 $as_echo_n "checking for fabsl declaration... " >&6; }
23744 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
23745 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
23746 $as_echo_n "(cached) " >&6
23751 ac_cpp='$CXXCPP $CPPFLAGS'
23752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23757 /* end confdefs.h. */
23759 #ifdef HAVE_IEEEFP_H
23760 #include <ieeefp.h>
23771 if ac_fn_cxx_try_compile "$LINENO"; then :
23772 glibcxx_cv_func_fabsl_use=yes
23774 glibcxx_cv_func_fabsl_use=no
23776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23778 ac_cpp='$CPP $CPPFLAGS'
23779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
23788 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
23790 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
23791 for ac_func in fabsl
23793 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
23794 if test "x$ac_cv_func_fabsl" = x""yes; then :
23795 cat >>confdefs.h <<_ACEOF
23796 #define HAVE_FABSL 1
23804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
23805 $as_echo_n "checking for _fabsl declaration... " >&6; }
23806 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
23807 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
23808 $as_echo_n "(cached) " >&6
23813 ac_cpp='$CXXCPP $CPPFLAGS'
23814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23819 /* end confdefs.h. */
23821 #ifdef HAVE_IEEEFP_H
23822 #include <ieeefp.h>
23833 if ac_fn_cxx_try_compile "$LINENO"; then :
23834 glibcxx_cv_func__fabsl_use=yes
23836 glibcxx_cv_func__fabsl_use=no
23838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23840 ac_cpp='$CPP $CPPFLAGS'
23841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
23850 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
23852 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
23853 for ac_func in _fabsl
23855 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
23856 if test "x$ac_cv_func__fabsl" = x""yes; then :
23857 cat >>confdefs.h <<_ACEOF
23858 #define HAVE__FABSL 1
23871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
23872 $as_echo_n "checking for fmodl declaration... " >&6; }
23873 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
23874 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
23875 $as_echo_n "(cached) " >&6
23880 ac_cpp='$CXXCPP $CPPFLAGS'
23881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23886 /* end confdefs.h. */
23896 if ac_fn_cxx_try_compile "$LINENO"; then :
23897 glibcxx_cv_func_fmodl_use=yes
23899 glibcxx_cv_func_fmodl_use=no
23901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23903 ac_cpp='$CPP $CPPFLAGS'
23904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
23913 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
23915 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
23916 for ac_func in fmodl
23918 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
23919 if test "x$ac_cv_func_fmodl" = x""yes; then :
23920 cat >>confdefs.h <<_ACEOF
23921 #define HAVE_FMODL 1
23929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
23930 $as_echo_n "checking for _fmodl declaration... " >&6; }
23931 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
23932 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
23933 $as_echo_n "(cached) " >&6
23938 ac_cpp='$CXXCPP $CPPFLAGS'
23939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23944 /* end confdefs.h. */
23954 if ac_fn_cxx_try_compile "$LINENO"; then :
23955 glibcxx_cv_func__fmodl_use=yes
23957 glibcxx_cv_func__fmodl_use=no
23959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23961 ac_cpp='$CPP $CPPFLAGS'
23962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
23971 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
23973 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
23974 for ac_func in _fmodl
23976 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
23977 if test "x$ac_cv_func__fmodl" = x""yes; then :
23978 cat >>confdefs.h <<_ACEOF
23979 #define HAVE__FMODL 1
23992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
23993 $as_echo_n "checking for frexpl declaration... " >&6; }
23994 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
23995 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
23996 $as_echo_n "(cached) " >&6
24001 ac_cpp='$CXXCPP $CPPFLAGS'
24002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24007 /* end confdefs.h. */
24017 if ac_fn_cxx_try_compile "$LINENO"; then :
24018 glibcxx_cv_func_frexpl_use=yes
24020 glibcxx_cv_func_frexpl_use=no
24022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24024 ac_cpp='$CPP $CPPFLAGS'
24025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24034 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24036 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24037 for ac_func in frexpl
24039 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24040 if test "x$ac_cv_func_frexpl" = x""yes; then :
24041 cat >>confdefs.h <<_ACEOF
24042 #define HAVE_FREXPL 1
24050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24051 $as_echo_n "checking for _frexpl declaration... " >&6; }
24052 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24053 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24054 $as_echo_n "(cached) " >&6
24059 ac_cpp='$CXXCPP $CPPFLAGS'
24060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24065 /* end confdefs.h. */
24075 if ac_fn_cxx_try_compile "$LINENO"; then :
24076 glibcxx_cv_func__frexpl_use=yes
24078 glibcxx_cv_func__frexpl_use=no
24080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24082 ac_cpp='$CPP $CPPFLAGS'
24083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24092 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24094 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24095 for ac_func in _frexpl
24097 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24098 if test "x$ac_cv_func__frexpl" = x""yes; then :
24099 cat >>confdefs.h <<_ACEOF
24100 #define HAVE__FREXPL 1
24113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
24114 $as_echo_n "checking for hypotl declaration... " >&6; }
24115 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
24116 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
24117 $as_echo_n "(cached) " >&6
24122 ac_cpp='$CXXCPP $CPPFLAGS'
24123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24128 /* end confdefs.h. */
24138 if ac_fn_cxx_try_compile "$LINENO"; then :
24139 glibcxx_cv_func_hypotl_use=yes
24141 glibcxx_cv_func_hypotl_use=no
24143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24145 ac_cpp='$CPP $CPPFLAGS'
24146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
24155 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
24157 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
24158 for ac_func in hypotl
24160 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
24161 if test "x$ac_cv_func_hypotl" = x""yes; then :
24162 cat >>confdefs.h <<_ACEOF
24163 #define HAVE_HYPOTL 1
24171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
24172 $as_echo_n "checking for _hypotl declaration... " >&6; }
24173 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
24174 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
24175 $as_echo_n "(cached) " >&6
24180 ac_cpp='$CXXCPP $CPPFLAGS'
24181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24186 /* end confdefs.h. */
24196 if ac_fn_cxx_try_compile "$LINENO"; then :
24197 glibcxx_cv_func__hypotl_use=yes
24199 glibcxx_cv_func__hypotl_use=no
24201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24203 ac_cpp='$CPP $CPPFLAGS'
24204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
24213 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
24215 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
24216 for ac_func in _hypotl
24218 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
24219 if test "x$ac_cv_func__hypotl" = x""yes; then :
24220 cat >>confdefs.h <<_ACEOF
24221 #define HAVE__HYPOTL 1
24234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
24235 $as_echo_n "checking for ldexpl declaration... " >&6; }
24236 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
24237 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
24238 $as_echo_n "(cached) " >&6
24243 ac_cpp='$CXXCPP $CPPFLAGS'
24244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24249 /* end confdefs.h. */
24259 if ac_fn_cxx_try_compile "$LINENO"; then :
24260 glibcxx_cv_func_ldexpl_use=yes
24262 glibcxx_cv_func_ldexpl_use=no
24264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24266 ac_cpp='$CPP $CPPFLAGS'
24267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
24276 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
24278 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
24279 for ac_func in ldexpl
24281 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
24282 if test "x$ac_cv_func_ldexpl" = x""yes; then :
24283 cat >>confdefs.h <<_ACEOF
24284 #define HAVE_LDEXPL 1
24292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
24293 $as_echo_n "checking for _ldexpl declaration... " >&6; }
24294 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
24295 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
24296 $as_echo_n "(cached) " >&6
24301 ac_cpp='$CXXCPP $CPPFLAGS'
24302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24307 /* end confdefs.h. */
24317 if ac_fn_cxx_try_compile "$LINENO"; then :
24318 glibcxx_cv_func__ldexpl_use=yes
24320 glibcxx_cv_func__ldexpl_use=no
24322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24324 ac_cpp='$CPP $CPPFLAGS'
24325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
24334 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
24336 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
24337 for ac_func in _ldexpl
24339 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
24340 if test "x$ac_cv_func__ldexpl" = x""yes; then :
24341 cat >>confdefs.h <<_ACEOF
24342 #define HAVE__LDEXPL 1
24355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
24356 $as_echo_n "checking for logl declaration... " >&6; }
24357 if test x${glibcxx_cv_func_logl_use+set} != xset; then
24358 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
24359 $as_echo_n "(cached) " >&6
24364 ac_cpp='$CXXCPP $CPPFLAGS'
24365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24370 /* end confdefs.h. */
24372 #ifdef HAVE_IEEEFP_H
24373 #include <ieeefp.h>
24384 if ac_fn_cxx_try_compile "$LINENO"; then :
24385 glibcxx_cv_func_logl_use=yes
24387 glibcxx_cv_func_logl_use=no
24389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24391 ac_cpp='$CPP $CPPFLAGS'
24392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
24401 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
24403 if test x$glibcxx_cv_func_logl_use = x"yes"; then
24404 for ac_func in logl
24406 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
24407 if test "x$ac_cv_func_logl" = x""yes; then :
24408 cat >>confdefs.h <<_ACEOF
24409 #define HAVE_LOGL 1
24417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
24418 $as_echo_n "checking for _logl declaration... " >&6; }
24419 if test x${glibcxx_cv_func__logl_use+set} != xset; then
24420 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
24421 $as_echo_n "(cached) " >&6
24426 ac_cpp='$CXXCPP $CPPFLAGS'
24427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24432 /* end confdefs.h. */
24434 #ifdef HAVE_IEEEFP_H
24435 #include <ieeefp.h>
24446 if ac_fn_cxx_try_compile "$LINENO"; then :
24447 glibcxx_cv_func__logl_use=yes
24449 glibcxx_cv_func__logl_use=no
24451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24453 ac_cpp='$CPP $CPPFLAGS'
24454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
24463 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
24465 if test x$glibcxx_cv_func__logl_use = x"yes"; then
24466 for ac_func in _logl
24468 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
24469 if test "x$ac_cv_func__logl" = x""yes; then :
24470 cat >>confdefs.h <<_ACEOF
24471 #define HAVE__LOGL 1
24484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
24485 $as_echo_n "checking for log10l declaration... " >&6; }
24486 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
24487 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
24488 $as_echo_n "(cached) " >&6
24493 ac_cpp='$CXXCPP $CPPFLAGS'
24494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24499 /* end confdefs.h. */
24501 #ifdef HAVE_IEEEFP_H
24502 #include <ieeefp.h>
24513 if ac_fn_cxx_try_compile "$LINENO"; then :
24514 glibcxx_cv_func_log10l_use=yes
24516 glibcxx_cv_func_log10l_use=no
24518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24520 ac_cpp='$CPP $CPPFLAGS'
24521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
24530 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
24532 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
24533 for ac_func in log10l
24535 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
24536 if test "x$ac_cv_func_log10l" = x""yes; then :
24537 cat >>confdefs.h <<_ACEOF
24538 #define HAVE_LOG10L 1
24546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
24547 $as_echo_n "checking for _log10l declaration... " >&6; }
24548 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
24549 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
24550 $as_echo_n "(cached) " >&6
24555 ac_cpp='$CXXCPP $CPPFLAGS'
24556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24561 /* end confdefs.h. */
24563 #ifdef HAVE_IEEEFP_H
24564 #include <ieeefp.h>
24575 if ac_fn_cxx_try_compile "$LINENO"; then :
24576 glibcxx_cv_func__log10l_use=yes
24578 glibcxx_cv_func__log10l_use=no
24580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24582 ac_cpp='$CPP $CPPFLAGS'
24583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
24592 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
24594 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
24595 for ac_func in _log10l
24597 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
24598 if test "x$ac_cv_func__log10l" = x""yes; then :
24599 cat >>confdefs.h <<_ACEOF
24600 #define HAVE__LOG10L 1
24613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
24614 $as_echo_n "checking for modfl declaration... " >&6; }
24615 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
24616 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
24617 $as_echo_n "(cached) " >&6
24622 ac_cpp='$CXXCPP $CPPFLAGS'
24623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24628 /* end confdefs.h. */
24638 if ac_fn_cxx_try_compile "$LINENO"; then :
24639 glibcxx_cv_func_modfl_use=yes
24641 glibcxx_cv_func_modfl_use=no
24643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24645 ac_cpp='$CPP $CPPFLAGS'
24646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
24655 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
24657 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
24658 for ac_func in modfl
24660 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
24661 if test "x$ac_cv_func_modfl" = x""yes; then :
24662 cat >>confdefs.h <<_ACEOF
24663 #define HAVE_MODFL 1
24671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
24672 $as_echo_n "checking for _modfl declaration... " >&6; }
24673 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24674 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
24675 $as_echo_n "(cached) " >&6
24680 ac_cpp='$CXXCPP $CPPFLAGS'
24681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24686 /* end confdefs.h. */
24696 if ac_fn_cxx_try_compile "$LINENO"; then :
24697 glibcxx_cv_func__modfl_use=yes
24699 glibcxx_cv_func__modfl_use=no
24701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24703 ac_cpp='$CPP $CPPFLAGS'
24704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
24713 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
24715 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24716 for ac_func in _modfl
24718 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
24719 if test "x$ac_cv_func__modfl" = x""yes; then :
24720 cat >>confdefs.h <<_ACEOF
24721 #define HAVE__MODFL 1
24734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
24735 $as_echo_n "checking for powl declaration... " >&6; }
24736 if test x${glibcxx_cv_func_powl_use+set} != xset; then
24737 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
24738 $as_echo_n "(cached) " >&6
24743 ac_cpp='$CXXCPP $CPPFLAGS'
24744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24749 /* end confdefs.h. */
24759 if ac_fn_cxx_try_compile "$LINENO"; then :
24760 glibcxx_cv_func_powl_use=yes
24762 glibcxx_cv_func_powl_use=no
24764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24766 ac_cpp='$CPP $CPPFLAGS'
24767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
24776 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
24778 if test x$glibcxx_cv_func_powl_use = x"yes"; then
24779 for ac_func in powl
24781 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
24782 if test "x$ac_cv_func_powl" = x""yes; then :
24783 cat >>confdefs.h <<_ACEOF
24784 #define HAVE_POWL 1
24792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
24793 $as_echo_n "checking for _powl declaration... " >&6; }
24794 if test x${glibcxx_cv_func__powl_use+set} != xset; then
24795 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
24796 $as_echo_n "(cached) " >&6
24801 ac_cpp='$CXXCPP $CPPFLAGS'
24802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24807 /* end confdefs.h. */
24817 if ac_fn_cxx_try_compile "$LINENO"; then :
24818 glibcxx_cv_func__powl_use=yes
24820 glibcxx_cv_func__powl_use=no
24822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24824 ac_cpp='$CPP $CPPFLAGS'
24825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
24834 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
24836 if test x$glibcxx_cv_func__powl_use = x"yes"; then
24837 for ac_func in _powl
24839 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
24840 if test "x$ac_cv_func__powl" = x""yes; then :
24841 cat >>confdefs.h <<_ACEOF
24842 #define HAVE__POWL 1
24855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
24856 $as_echo_n "checking for sqrtl declaration... " >&6; }
24857 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24858 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
24859 $as_echo_n "(cached) " >&6
24864 ac_cpp='$CXXCPP $CPPFLAGS'
24865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24870 /* end confdefs.h. */
24872 #ifdef HAVE_IEEEFP_H
24873 #include <ieeefp.h>
24884 if ac_fn_cxx_try_compile "$LINENO"; then :
24885 glibcxx_cv_func_sqrtl_use=yes
24887 glibcxx_cv_func_sqrtl_use=no
24889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24891 ac_cpp='$CPP $CPPFLAGS'
24892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
24901 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
24903 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24904 for ac_func in sqrtl
24906 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
24907 if test "x$ac_cv_func_sqrtl" = x""yes; then :
24908 cat >>confdefs.h <<_ACEOF
24909 #define HAVE_SQRTL 1
24917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
24918 $as_echo_n "checking for _sqrtl declaration... " >&6; }
24919 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
24920 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
24921 $as_echo_n "(cached) " >&6
24926 ac_cpp='$CXXCPP $CPPFLAGS'
24927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24932 /* end confdefs.h. */
24934 #ifdef HAVE_IEEEFP_H
24935 #include <ieeefp.h>
24946 if ac_fn_cxx_try_compile "$LINENO"; then :
24947 glibcxx_cv_func__sqrtl_use=yes
24949 glibcxx_cv_func__sqrtl_use=no
24951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24953 ac_cpp='$CPP $CPPFLAGS'
24954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
24963 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
24965 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
24966 for ac_func in _sqrtl
24968 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
24969 if test "x$ac_cv_func__sqrtl" = x""yes; then :
24970 cat >>confdefs.h <<_ACEOF
24971 #define HAVE__SQRTL 1
24984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
24985 $as_echo_n "checking for sincosl declaration... " >&6; }
24986 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
24987 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
24988 $as_echo_n "(cached) " >&6
24993 ac_cpp='$CXXCPP $CPPFLAGS'
24994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24999 /* end confdefs.h. */
25009 if ac_fn_cxx_try_compile "$LINENO"; then :
25010 glibcxx_cv_func_sincosl_use=yes
25012 glibcxx_cv_func_sincosl_use=no
25014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25016 ac_cpp='$CPP $CPPFLAGS'
25017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25026 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25028 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25029 for ac_func in sincosl
25031 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25032 if test "x$ac_cv_func_sincosl" = x""yes; then :
25033 cat >>confdefs.h <<_ACEOF
25034 #define HAVE_SINCOSL 1
25042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25043 $as_echo_n "checking for _sincosl declaration... " >&6; }
25044 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25045 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25046 $as_echo_n "(cached) " >&6
25051 ac_cpp='$CXXCPP $CPPFLAGS'
25052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25057 /* end confdefs.h. */
25067 if ac_fn_cxx_try_compile "$LINENO"; then :
25068 glibcxx_cv_func__sincosl_use=yes
25070 glibcxx_cv_func__sincosl_use=no
25072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25074 ac_cpp='$CPP $CPPFLAGS'
25075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
25084 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
25086 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25087 for ac_func in _sincosl
25089 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
25090 if test "x$ac_cv_func__sincosl" = x""yes; then :
25091 cat >>confdefs.h <<_ACEOF
25092 #define HAVE__SINCOSL 1
25105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25106 $as_echo_n "checking for finitel declaration... " >&6; }
25107 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25108 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
25109 $as_echo_n "(cached) " >&6
25114 ac_cpp='$CXXCPP $CPPFLAGS'
25115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25120 /* end confdefs.h. */
25122 #ifdef HAVE_IEEEFP_H
25123 #include <ieeefp.h>
25134 if ac_fn_cxx_try_compile "$LINENO"; then :
25135 glibcxx_cv_func_finitel_use=yes
25137 glibcxx_cv_func_finitel_use=no
25139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25141 ac_cpp='$CPP $CPPFLAGS'
25142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
25151 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
25153 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25154 for ac_func in finitel
25156 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
25157 if test "x$ac_cv_func_finitel" = x""yes; then :
25158 cat >>confdefs.h <<_ACEOF
25159 #define HAVE_FINITEL 1
25167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
25168 $as_echo_n "checking for _finitel declaration... " >&6; }
25169 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25170 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
25171 $as_echo_n "(cached) " >&6
25176 ac_cpp='$CXXCPP $CPPFLAGS'
25177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25182 /* end confdefs.h. */
25184 #ifdef HAVE_IEEEFP_H
25185 #include <ieeefp.h>
25196 if ac_fn_cxx_try_compile "$LINENO"; then :
25197 glibcxx_cv_func__finitel_use=yes
25199 glibcxx_cv_func__finitel_use=no
25201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25203 ac_cpp='$CPP $CPPFLAGS'
25204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
25213 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
25215 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25216 for ac_func in _finitel
25218 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
25219 if test "x$ac_cv_func__finitel" = x""yes; then :
25220 cat >>confdefs.h <<_ACEOF
25221 #define HAVE__FINITEL 1
25233 LIBS="$ac_save_LIBS"
25234 CXXFLAGS="$ac_save_CXXFLAGS"
25237 ac_test_CXXFLAGS="${CXXFLAGS+set}"
25238 ac_save_CXXFLAGS="$CXXFLAGS"
25239 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
25242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
25243 $as_echo_n "checking for strtold declaration... " >&6; }
25244 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
25245 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
25246 $as_echo_n "(cached) " >&6
25251 ac_cpp='$CXXCPP $CPPFLAGS'
25252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25257 /* end confdefs.h. */
25258 #include <stdlib.h>
25267 if ac_fn_cxx_try_compile "$LINENO"; then :
25268 glibcxx_cv_func_strtold_use=yes
25270 glibcxx_cv_func_strtold_use=no
25272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25274 ac_cpp='$CPP $CPPFLAGS'
25275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
25284 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
25285 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
25286 for ac_func in strtold
25288 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
25289 if test "x$ac_cv_func_strtold" = x""yes; then :
25290 cat >>confdefs.h <<_ACEOF
25291 #define HAVE_STRTOLD 1
25302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
25303 $as_echo_n "checking for strtof declaration... " >&6; }
25304 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
25305 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
25306 $as_echo_n "(cached) " >&6
25311 ac_cpp='$CXXCPP $CPPFLAGS'
25312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25317 /* end confdefs.h. */
25318 #include <stdlib.h>
25327 if ac_fn_cxx_try_compile "$LINENO"; then :
25328 glibcxx_cv_func_strtof_use=yes
25330 glibcxx_cv_func_strtof_use=no
25332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25334 ac_cpp='$CPP $CPPFLAGS'
25335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
25344 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
25345 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
25346 for ac_func in strtof
25348 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
25349 if test "x$ac_cv_func_strtof" = x""yes; then :
25350 cat >>confdefs.h <<_ACEOF
25351 #define HAVE_STRTOF 1
25362 CXXFLAGS="$ac_save_CXXFLAGS"
25365 # For /dev/random and /dev/urandom for TR1.
25368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
25369 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
25370 if test "${glibcxx_cv_random_tr1+set}" = set; then :
25371 $as_echo_n "(cached) " >&6
25374 if test -r /dev/random && test -r /dev/urandom; then
25375 glibcxx_cv_random_tr1=yes;
25377 glibcxx_cv_random_tr1=no;
25382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
25383 $as_echo "$glibcxx_cv_random_tr1" >&6; }
25385 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
25387 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
25396 # Check whether --enable-tls was given.
25397 if test "${enable_tls+set}" = set; then :
25398 enableval=$enable_tls;
25399 case "$enableval" in
25401 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
25409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
25410 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
25411 if test "${gcc_cv_have_tls+set}" = set; then :
25412 $as_echo_n "(cached) " >&6
25415 if test "$cross_compiling" = yes; then :
25416 if test x$gcc_no_link = xyes; then
25417 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25420 /* end confdefs.h. */
25421 __thread int a; int b; int main() { return a = b; }
25423 if ac_fn_c_try_link "$LINENO"; then :
25424 chktls_save_LDFLAGS="$LDFLAGS"
25427 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
25430 chktls_save_CFLAGS="$CFLAGS"
25431 CFLAGS="-fPIC $CFLAGS"
25432 if test x$gcc_no_link = xyes; then
25433 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25436 /* end confdefs.h. */
25437 int f() { return 0; }
25439 if ac_fn_c_try_link "$LINENO"; then :
25440 if test x$gcc_no_link = xyes; then
25441 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25444 /* end confdefs.h. */
25445 __thread int a; int b; int f() { return a = b; }
25447 if ac_fn_c_try_link "$LINENO"; then :
25448 gcc_cv_have_tls=yes
25452 rm -f core conftest.err conftest.$ac_objext \
25453 conftest$ac_exeext conftest.$ac_ext
25455 gcc_cv_have_tls=yes
25457 rm -f core conftest.err conftest.$ac_objext \
25458 conftest$ac_exeext conftest.$ac_ext
25459 CFLAGS="$chktls_save_CFLAGS"
25460 LDFLAGS="$chktls_save_LDFLAGS"
25464 rm -f core conftest.err conftest.$ac_objext \
25465 conftest$ac_exeext conftest.$ac_ext
25469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25470 /* end confdefs.h. */
25471 __thread int a; int b; int main() { return a = b; }
25473 if ac_fn_c_try_run "$LINENO"; then :
25474 chktls_save_LDFLAGS="$LDFLAGS"
25475 LDFLAGS="-static $LDFLAGS"
25476 if test x$gcc_no_link = xyes; then
25477 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25480 /* end confdefs.h. */
25481 int main() { return 0; }
25483 if ac_fn_c_try_link "$LINENO"; then :
25484 if test "$cross_compiling" = yes; then :
25485 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25486 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25487 as_fn_error "cannot run test program while cross compiling
25488 See \`config.log' for more details." "$LINENO" 5; }
25490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25491 /* end confdefs.h. */
25492 __thread int a; int b; int main() { return a = b; }
25494 if ac_fn_c_try_run "$LINENO"; then :
25495 gcc_cv_have_tls=yes
25499 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25500 conftest.$ac_objext conftest.beam conftest.$ac_ext
25504 gcc_cv_have_tls=yes
25506 rm -f core conftest.err conftest.$ac_objext \
25507 conftest$ac_exeext conftest.$ac_ext
25508 LDFLAGS="$chktls_save_LDFLAGS"
25509 if test $gcc_cv_have_tls = yes; then
25510 chktls_save_CFLAGS="$CFLAGS"
25511 thread_CFLAGS=failed
25512 for flag in '' '-pthread' '-lpthread'; do
25513 CFLAGS="$flag $chktls_save_CFLAGS"
25514 if test x$gcc_no_link = xyes; then
25515 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25518 /* end confdefs.h. */
25519 #include <pthread.h>
25520 void *g(void *d) { return NULL; }
25524 pthread_t t; pthread_create(&t,NULL,g,NULL);
25529 if ac_fn_c_try_link "$LINENO"; then :
25530 thread_CFLAGS="$flag"
25532 rm -f core conftest.err conftest.$ac_objext \
25533 conftest$ac_exeext conftest.$ac_ext
25534 if test "X$thread_CFLAGS" != Xfailed; then
25538 CFLAGS="$chktls_save_CFLAGS"
25539 if test "X$thread_CFLAGS" != Xfailed; then
25540 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
25541 if test "$cross_compiling" = yes; then :
25542 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25543 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25544 as_fn_error "cannot run test program while cross compiling
25545 See \`config.log' for more details." "$LINENO" 5; }
25547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25548 /* end confdefs.h. */
25549 #include <pthread.h>
25551 static int *a_in_other_thread;
25553 thread_func (void *arg)
25555 a_in_other_thread = &a;
25562 void *thread_retval;
25563 int *a_in_main_thread;
25564 if (pthread_create (&thread, (pthread_attr_t *)0,
25565 thread_func, (void *)0))
25567 a_in_main_thread = &a;
25568 if (pthread_join (thread, &thread_retval))
25570 return (a_in_other_thread == a_in_main_thread);
25575 if ac_fn_c_try_run "$LINENO"; then :
25576 gcc_cv_have_tls=yes
25580 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25581 conftest.$ac_objext conftest.beam conftest.$ac_ext
25584 CFLAGS="$chktls_save_CFLAGS"
25590 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25591 conftest.$ac_objext conftest.beam conftest.$ac_ext
25595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
25596 $as_echo "$gcc_cv_have_tls" >&6; }
25597 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
25599 $as_echo "#define HAVE_TLS 1" >>confdefs.h
25603 # For iconv support.
25605 if test "X$prefix" = "XNONE"; then
25606 acl_final_prefix="$ac_default_prefix"
25608 acl_final_prefix="$prefix"
25610 if test "X$exec_prefix" = "XNONE"; then
25611 acl_final_exec_prefix='${prefix}'
25613 acl_final_exec_prefix="$exec_prefix"
25615 acl_save_prefix="$prefix"
25616 prefix="$acl_final_prefix"
25617 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
25618 prefix="$acl_save_prefix"
25621 # Check whether --with-gnu-ld was given.
25622 if test "${with_gnu_ld+set}" = set; then :
25623 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
25628 # Prepare PATH_SEPARATOR.
25629 # The user is always right.
25630 if test "${PATH_SEPARATOR+set}" != set; then
25631 echo "#! /bin/sh" >conf$$.sh
25632 echo "exit 0" >>conf$$.sh
25634 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25642 if test "$GCC" = yes; then
25643 # Check if gcc -print-prog-name=ld gives a path.
25644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
25645 $as_echo_n "checking for ld used by GCC... " >&6; }
25648 # gcc leaves a trailing carriage return which upsets mingw
25649 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
25651 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
25654 # Accept absolute paths.
25655 [\\/]* | [A-Za-z]:[\\/]*)
25656 re_direlt='/[^/][^/]*/\.\./'
25657 # Canonicalize the path of ld
25658 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
25659 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
25660 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
25662 test -z "$LD" && LD="$ac_prog"
25665 # If it fails, then pretend we aren't using GCC.
25669 # If it is relative, then search for the first ld in PATH.
25670 with_gnu_ld=unknown
25673 elif test "$with_gnu_ld" = yes; then
25674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
25675 $as_echo_n "checking for GNU ld... " >&6; }
25677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
25678 $as_echo_n "checking for non-GNU ld... " >&6; }
25680 if test "${acl_cv_path_LD+set}" = set; then :
25681 $as_echo_n "(cached) " >&6
25683 if test -z "$LD"; then
25684 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
25685 for ac_dir in $PATH; do
25686 test -z "$ac_dir" && ac_dir=.
25687 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
25688 acl_cv_path_LD="$ac_dir/$ac_prog"
25689 # Check to see if the program is GNU ld. I'd rather use --version,
25690 # but apparently some GNU ld's only accept -v.
25691 # Break only if it was the GNU/non-GNU ld that we prefer.
25692 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
25693 test "$with_gnu_ld" != no && break
25695 test "$with_gnu_ld" != yes && break
25701 acl_cv_path_LD="$LD" # Let the user override the test with a path.
25705 LD="$acl_cv_path_LD"
25706 if test -n "$LD"; then
25707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
25708 $as_echo "$LD" >&6; }
25710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25711 $as_echo "no" >&6; }
25713 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
25714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
25715 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
25716 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
25717 $as_echo_n "(cached) " >&6
25719 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
25720 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
25721 acl_cv_prog_gnu_ld=yes
25723 acl_cv_prog_gnu_ld=no
25726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
25727 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
25728 with_gnu_ld=$acl_cv_prog_gnu_ld
25732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
25733 $as_echo_n "checking for shared library run path origin... " >&6; }
25734 if test "${acl_cv_rpath+set}" = set; then :
25735 $as_echo_n "(cached) " >&6
25738 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
25739 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
25741 rm -f ./conftest.sh
25745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
25746 $as_echo "$acl_cv_rpath" >&6; }
25748 libext="$acl_cv_libext"
25749 shlibext="$acl_cv_shlibext"
25750 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
25751 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
25752 hardcode_direct="$acl_cv_hardcode_direct"
25753 hardcode_minus_L="$acl_cv_hardcode_minus_L"
25754 # Check whether --enable-rpath was given.
25755 if test "${enable_rpath+set}" = set; then :
25756 enableval=$enable_rpath; :
25770 acl_save_prefix="$prefix"
25771 prefix="$acl_final_prefix"
25772 acl_save_exec_prefix="$exec_prefix"
25773 exec_prefix="$acl_final_exec_prefix"
25775 eval additional_includedir=\"$includedir\"
25776 eval additional_libdir=\"$libdir\"
25778 exec_prefix="$acl_save_exec_prefix"
25779 prefix="$acl_save_prefix"
25782 # Check whether --with-libiconv-prefix was given.
25783 if test "${with_libiconv_prefix+set}" = set; then :
25784 withval=$with_libiconv_prefix;
25785 if test "X$withval" = "Xno"; then
25788 if test "X$withval" = "X"; then
25790 acl_save_prefix="$prefix"
25791 prefix="$acl_final_prefix"
25792 acl_save_exec_prefix="$exec_prefix"
25793 exec_prefix="$acl_final_exec_prefix"
25795 eval additional_includedir=\"$includedir\"
25796 eval additional_libdir=\"$libdir\"
25798 exec_prefix="$acl_save_exec_prefix"
25799 prefix="$acl_save_prefix"
25802 additional_includedir="$withval/include"
25803 additional_libdir="$withval/lib"
25814 names_already_handled=
25815 names_next_round='iconv '
25816 while test -n "$names_next_round"; do
25817 names_this_round="$names_next_round"
25819 for name in $names_this_round; do
25821 for n in $names_already_handled; do
25822 if test "$n" = "$name"; then
25823 already_handled=yes
25827 if test -z "$already_handled"; then
25828 names_already_handled="$names_already_handled $name"
25829 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
25830 eval value=\"\$HAVE_LIB$uppername\"
25831 if test -n "$value"; then
25832 if test "$value" = yes; then
25833 eval value=\"\$LIB$uppername\"
25834 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
25835 eval value=\"\$LTLIB$uppername\"
25836 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
25845 if test $use_additional = yes; then
25846 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
25847 found_dir="$additional_libdir"
25848 found_so="$additional_libdir/lib$name.$shlibext"
25849 if test -f "$additional_libdir/lib$name.la"; then
25850 found_la="$additional_libdir/lib$name.la"
25853 if test -f "$additional_libdir/lib$name.$libext"; then
25854 found_dir="$additional_libdir"
25855 found_a="$additional_libdir/lib$name.$libext"
25856 if test -f "$additional_libdir/lib$name.la"; then
25857 found_la="$additional_libdir/lib$name.la"
25862 if test "X$found_dir" = "X"; then
25863 for x in $LDFLAGS $LTLIBICONV; do
25865 acl_save_prefix="$prefix"
25866 prefix="$acl_final_prefix"
25867 acl_save_exec_prefix="$exec_prefix"
25868 exec_prefix="$acl_final_exec_prefix"
25870 exec_prefix="$acl_save_exec_prefix"
25871 prefix="$acl_save_prefix"
25875 dir=`echo "X$x" | sed -e 's/^X-L//'`
25876 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
25878 found_so="$dir/lib$name.$shlibext"
25879 if test -f "$dir/lib$name.la"; then
25880 found_la="$dir/lib$name.la"
25883 if test -f "$dir/lib$name.$libext"; then
25885 found_a="$dir/lib$name.$libext"
25886 if test -f "$dir/lib$name.la"; then
25887 found_la="$dir/lib$name.la"
25893 if test "X$found_dir" != "X"; then
25898 if test "X$found_dir" != "X"; then
25899 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
25900 if test "X$found_so" != "X"; then
25901 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
25902 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25905 for x in $ltrpathdirs; do
25906 if test "X$x" = "X$found_dir"; then
25911 if test -z "$haveit"; then
25912 ltrpathdirs="$ltrpathdirs $found_dir"
25914 if test "$hardcode_direct" = yes; then
25915 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25917 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
25918 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25920 for x in $rpathdirs; do
25921 if test "X$x" = "X$found_dir"; then
25926 if test -z "$haveit"; then
25927 rpathdirs="$rpathdirs $found_dir"
25931 for x in $LDFLAGS $LIBICONV; do
25933 acl_save_prefix="$prefix"
25934 prefix="$acl_final_prefix"
25935 acl_save_exec_prefix="$exec_prefix"
25936 exec_prefix="$acl_final_exec_prefix"
25938 exec_prefix="$acl_save_exec_prefix"
25939 prefix="$acl_save_prefix"
25941 if test "X$x" = "X-L$found_dir"; then
25946 if test -z "$haveit"; then
25947 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
25949 if test "$hardcode_minus_L" != no; then
25950 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25952 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
25958 if test "X$found_a" != "X"; then
25959 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
25961 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
25964 additional_includedir=
25965 case "$found_dir" in
25967 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
25968 additional_includedir="$basedir/include"
25971 if test "X$additional_includedir" != "X"; then
25972 if test "X$additional_includedir" != "X/usr/include"; then
25974 if test "X$additional_includedir" = "X/usr/local/include"; then
25975 if test -n "$GCC"; then
25977 linux*) haveit=yes;;
25981 if test -z "$haveit"; then
25982 for x in $CPPFLAGS $INCICONV; do
25984 acl_save_prefix="$prefix"
25985 prefix="$acl_final_prefix"
25986 acl_save_exec_prefix="$exec_prefix"
25987 exec_prefix="$acl_final_exec_prefix"
25989 exec_prefix="$acl_save_exec_prefix"
25990 prefix="$acl_save_prefix"
25992 if test "X$x" = "X-I$additional_includedir"; then
25997 if test -z "$haveit"; then
25998 if test -d "$additional_includedir"; then
25999 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26005 if test -n "$found_la"; then
26006 save_libdir="$libdir"
26007 case "$found_la" in
26008 */* | *\\*) . "$found_la" ;;
26009 *) . "./$found_la" ;;
26011 libdir="$save_libdir"
26012 for dep in $dependency_libs; do
26015 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26016 if test "X$additional_libdir" != "X/usr/lib"; then
26018 if test "X$additional_libdir" = "X/usr/local/lib"; then
26019 if test -n "$GCC"; then
26021 linux*) haveit=yes;;
26025 if test -z "$haveit"; then
26027 for x in $LDFLAGS $LIBICONV; do
26029 acl_save_prefix="$prefix"
26030 prefix="$acl_final_prefix"
26031 acl_save_exec_prefix="$exec_prefix"
26032 exec_prefix="$acl_final_exec_prefix"
26034 exec_prefix="$acl_save_exec_prefix"
26035 prefix="$acl_save_prefix"
26037 if test "X$x" = "X-L$additional_libdir"; then
26042 if test -z "$haveit"; then
26043 if test -d "$additional_libdir"; then
26044 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26048 for x in $LDFLAGS $LTLIBICONV; do
26050 acl_save_prefix="$prefix"
26051 prefix="$acl_final_prefix"
26052 acl_save_exec_prefix="$exec_prefix"
26053 exec_prefix="$acl_final_exec_prefix"
26055 exec_prefix="$acl_save_exec_prefix"
26056 prefix="$acl_save_prefix"
26058 if test "X$x" = "X-L$additional_libdir"; then
26063 if test -z "$haveit"; then
26064 if test -d "$additional_libdir"; then
26065 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26072 dir=`echo "X$dep" | sed -e 's/^X-R//'`
26073 if test "$enable_rpath" != no; then
26075 for x in $rpathdirs; do
26076 if test "X$x" = "X$dir"; then
26081 if test -z "$haveit"; then
26082 rpathdirs="$rpathdirs $dir"
26085 for x in $ltrpathdirs; do
26086 if test "X$x" = "X$dir"; then
26091 if test -z "$haveit"; then
26092 ltrpathdirs="$ltrpathdirs $dir"
26097 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26100 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26103 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
26104 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26110 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26111 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26117 if test "X$rpathdirs" != "X"; then
26118 if test -n "$hardcode_libdir_separator"; then
26120 for found_dir in $rpathdirs; do
26121 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
26123 acl_save_libdir="$libdir"
26125 eval flag=\"$hardcode_libdir_flag_spec\"
26126 libdir="$acl_save_libdir"
26127 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26129 for found_dir in $rpathdirs; do
26130 acl_save_libdir="$libdir"
26131 libdir="$found_dir"
26132 eval flag=\"$hardcode_libdir_flag_spec\"
26133 libdir="$acl_save_libdir"
26134 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26138 if test "X$ltrpathdirs" != "X"; then
26139 for found_dir in $ltrpathdirs; do
26140 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
26150 am_save_CPPFLAGS="$CPPFLAGS"
26152 for element in $INCICONV; do
26154 for x in $CPPFLAGS; do
26156 acl_save_prefix="$prefix"
26157 prefix="$acl_final_prefix"
26158 acl_save_exec_prefix="$exec_prefix"
26159 exec_prefix="$acl_final_exec_prefix"
26161 exec_prefix="$acl_save_exec_prefix"
26162 prefix="$acl_save_prefix"
26164 if test "X$x" = "X$element"; then
26169 if test -z "$haveit"; then
26170 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
26175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
26176 $as_echo_n "checking for iconv... " >&6; }
26177 if test "${am_cv_func_iconv+set}" = set; then :
26178 $as_echo_n "(cached) " >&6
26181 am_cv_func_iconv="no, consider installing GNU libiconv"
26183 if test x$gcc_no_link = xyes; then
26184 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26187 /* end confdefs.h. */
26188 #include <stdlib.h>
26193 iconv_t cd = iconv_open("","");
26194 iconv(cd,NULL,NULL,NULL,NULL);
26200 if ac_fn_c_try_link "$LINENO"; then :
26201 am_cv_func_iconv=yes
26203 rm -f core conftest.err conftest.$ac_objext \
26204 conftest$ac_exeext conftest.$ac_ext
26205 if test "$am_cv_func_iconv" != yes; then
26206 am_save_LIBS="$LIBS"
26207 LIBS="$LIBS $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_lib_iconv=yes
26227 am_cv_func_iconv=yes
26229 rm -f core conftest.err conftest.$ac_objext \
26230 conftest$ac_exeext conftest.$ac_ext
26231 LIBS="$am_save_LIBS"
26235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
26236 $as_echo "$am_cv_func_iconv" >&6; }
26237 if test "$am_cv_func_iconv" = yes; then
26239 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26242 if test "$am_cv_lib_iconv" = yes; then
26243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
26244 $as_echo_n "checking how to link with libiconv... " >&6; }
26245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
26246 $as_echo "$LIBICONV" >&6; }
26248 CPPFLAGS="$am_save_CPPFLAGS"
26255 if test "$am_cv_func_iconv" = yes; then
26256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
26257 $as_echo_n "checking for iconv declaration... " >&6; }
26258 if test "${am_cv_proto_iconv+set}" = set; then :
26259 $as_echo_n "(cached) " >&6
26262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26263 /* end confdefs.h. */
26265 #include <stdlib.h>
26271 #if defined(__STDC__) || defined(__cplusplus)
26272 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26285 if ac_fn_c_try_compile "$LINENO"; then :
26286 am_cv_proto_iconv_arg1=""
26288 am_cv_proto_iconv_arg1="const"
26290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26291 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);"
26294 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
26295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
26296 }$am_cv_proto_iconv" >&5
26298 }$am_cv_proto_iconv" >&6; }
26300 cat >>confdefs.h <<_ACEOF
26301 #define ICONV_CONST $am_cv_proto_iconv_arg1
26309 # This lets us hard-code the functionality we know we'll have in the cross
26310 # target environment. "Let" is a sugar-coated word placed on an especially
26311 # dull and tedious hack, actually.
26313 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
26314 # that involve linking, can't be used:
26315 # "cannot open sim-crt0.o"
26316 # "cannot open crt0.o"
26317 # etc. All this is because there currently exists no unified, consistent
26318 # way for top level CC information to be passed down to target directories:
26319 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
26320 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
26321 # crosses can be removed.
26323 # If Canadian cross, then don't pick up tools from the build directory.
26324 # Used only in GLIBCXX_EXPORT_INCLUDES.
26325 if test -n "$with_cross_host" &&
26326 test x"$build_alias" != x"$with_cross_host" &&
26327 test x"$build" != x"$target";
26334 # Construct crosses by hand, eliminating bits that need ld...
26335 # GLIBCXX_CHECK_MATH_SUPPORT
26337 # First, test for "known" system libraries. We may be using newlib even
26338 # on a hosted environment.
26339 if test "x${with_newlib}" = "xyes"; then
26340 os_include_dir="os/newlib"
26341 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
26344 # GLIBCXX_CHECK_STDLIB_SUPPORT
26345 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
26348 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
26350 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
26352 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
26354 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
26356 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
26358 $as_echo "#define HAVE_COSF 1" >>confdefs.h
26360 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
26362 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
26364 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
26366 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
26368 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
26370 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
26372 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
26374 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
26376 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
26378 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
26380 $as_echo "#define HAVE_POWF 1" >>confdefs.h
26382 $as_echo "#define HAVE_SINF 1" >>confdefs.h
26384 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
26386 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
26388 $as_echo "#define HAVE_TANF 1" >>confdefs.h
26390 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
26393 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26397 # Base decisions on target environment.
26399 arm*-*-symbianelf*)
26400 # This is a freestanding configuration; there is nothing to do here.
26404 # These definitions are for the SDE C library rather than newlib.
26405 SECTION_FLAGS='-ffunction-sections -fdata-sections'
26408 # All these tests are for C++; save the language and the compiler flags.
26409 # The CXXFLAGS thing is suspicious, but based on similar bits previously
26410 # found in GLIBCXX_CONFIGURE.
26413 ac_cpp='$CXXCPP $CPPFLAGS'
26414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26418 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26419 ac_save_CXXFLAGS="$CXXFLAGS"
26421 # Check for maintainer-mode bits.
26422 if test x"$USE_MAINTAINER_MODE" = xno; then
26428 # Check for -ffunction-sections -fdata-sections
26429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
26430 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
26431 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
26432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26433 /* end confdefs.h. */
26434 int foo; void bar() { };
26443 if ac_fn_cxx_try_compile "$LINENO"; then :
26448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26449 if test "$ac_test_CXXFLAGS" = set; then
26450 CXXFLAGS="$ac_save_CXXFLAGS"
26452 # this is the suspicious part
26455 if test x"$ac_fdsections" = x"yes"; then
26456 SECTION_FLAGS='-ffunction-sections -fdata-sections'
26458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
26459 $as_echo "$ac_fdsections" >&6; }
26462 ac_cpp='$CPP $CPPFLAGS'
26463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26471 # If we're not using GNU ld, then there's no point in even trying these
26472 # tests. Check for that first. We should have already tested for gld
26473 # by now (in libtool), but require it now just to be safe...
26474 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
26475 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
26479 # The name set by libtool depends on the version of libtool. Shame on us
26480 # for depending on an impl detail, but c'est la vie. Older versions used
26481 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
26482 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
26483 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
26484 # set (hence we're using an older libtool), then set it.
26485 if test x${with_gnu_ld+set} != xset; then
26486 if test x${ac_cv_prog_gnu_ld+set} != xset; then
26487 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
26490 with_gnu_ld=$ac_cv_prog_gnu_ld
26494 # Start by getting the version number. I think the libtool test already
26495 # does some of this, but throws away the result.
26496 glibcxx_ld_is_gold=no
26497 if test x"$with_gnu_ld" = x"yes"; then
26498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
26499 $as_echo_n "checking for ld version... " >&6; }
26501 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
26502 glibcxx_ld_is_gold=yes
26504 ldver=`$LD --version 2>/dev/null |
26505 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'`
26507 glibcxx_gnu_ld_version=`echo $ldver | \
26508 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
26509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
26510 $as_echo "$glibcxx_gnu_ld_version" >&6; }
26513 # Set --gc-sections.
26514 glibcxx_have_gc_sections=no
26515 if test "$glibcxx_ld_is_gold" = "yes"; then
26516 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
26517 glibcxx_have_gc_sections=yes
26520 glibcxx_gcsections_min_ld=21602
26521 if test x"$with_gnu_ld" = x"yes" &&
26522 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
26523 glibcxx_have_gc_sections=yes
26526 if test "$glibcxx_have_gc_sections" = "yes"; then
26527 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
26528 # NB: This flag only works reliably after 2.16.1. Configure tests
26529 # for this are difficult, so hard wire a value that should work.
26531 ac_test_CFLAGS="${CFLAGS+set}"
26532 ac_save_CFLAGS="$CFLAGS"
26533 CFLAGS='-Wl,--gc-sections'
26535 # Check for -Wl,--gc-sections
26536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
26537 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
26538 if test x$gcc_no_link = xyes; then
26539 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26542 /* end confdefs.h. */
26543 int one(void) { return 1; }
26544 int two(void) { return 2; }
26554 if ac_fn_c_try_link "$LINENO"; then :
26559 rm -f core conftest.err conftest.$ac_objext \
26560 conftest$ac_exeext conftest.$ac_ext
26561 if test "$ac_gcsections" = "yes"; then
26564 if $CC -c conftest.c; then
26565 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
26566 grep "Warning: gc-sections option ignored" > /dev/null; then
26570 rm -f conftest.c conftest.o conftest
26572 if test "$ac_gcsections" = "yes"; then
26573 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
26575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
26576 $as_echo "$ac_gcsections" >&6; }
26578 if test "$ac_test_CFLAGS" = set; then
26579 CFLAGS="$ac_save_CFLAGS"
26581 # this is the suspicious part
26587 # Note this is only for shared objects.
26589 if test x"$with_gnu_ld" = x"yes"; then
26590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
26591 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
26592 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
26593 if test -n "$cxx_z_relo"; then
26594 OPT_LDFLAGS="-Wl,-z,relro"
26597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
26598 $as_echo "$ac_ld_relro" >&6; }
26601 # Set linker optimization flags.
26602 if test x"$with_gnu_ld" = x"yes"; then
26603 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
26610 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26611 ac_save_CXXFLAGS="$CXXFLAGS"
26612 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
26615 $as_echo_n "checking for sin in -lm... " >&6; }
26616 if test "${ac_cv_lib_m_sin+set}" = set; then :
26617 $as_echo_n "(cached) " >&6
26619 ac_check_lib_save_LIBS=$LIBS
26621 if test x$gcc_no_link = xyes; then
26622 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26625 /* end confdefs.h. */
26627 /* Override any GCC internal prototype to avoid an error.
26628 Use char because int might match the return type of a GCC
26629 builtin and then its argument prototype would still apply. */
26642 if ac_fn_c_try_link "$LINENO"; then :
26643 ac_cv_lib_m_sin=yes
26647 rm -f core conftest.err conftest.$ac_objext \
26648 conftest$ac_exeext conftest.$ac_ext
26649 LIBS=$ac_check_lib_save_LIBS
26651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
26652 $as_echo "$ac_cv_lib_m_sin" >&6; }
26653 if test "x$ac_cv_lib_m_sin" = x""yes; then :
26657 ac_save_LIBS="$LIBS"
26662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
26663 $as_echo_n "checking for isinf declaration... " >&6; }
26664 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
26665 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
26666 $as_echo_n "(cached) " >&6
26671 ac_cpp='$CXXCPP $CPPFLAGS'
26672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26677 /* end confdefs.h. */
26679 #ifdef HAVE_IEEEFP_H
26680 #include <ieeefp.h>
26691 if ac_fn_cxx_try_compile "$LINENO"; then :
26692 glibcxx_cv_func_isinf_use=yes
26694 glibcxx_cv_func_isinf_use=no
26696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26698 ac_cpp='$CPP $CPPFLAGS'
26699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
26708 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
26710 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
26711 for ac_func in isinf
26713 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
26714 if test "x$ac_cv_func_isinf" = x""yes; then :
26715 cat >>confdefs.h <<_ACEOF
26716 #define HAVE_ISINF 1
26724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
26725 $as_echo_n "checking for _isinf declaration... " >&6; }
26726 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
26727 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
26728 $as_echo_n "(cached) " >&6
26733 ac_cpp='$CXXCPP $CPPFLAGS'
26734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26739 /* end confdefs.h. */
26741 #ifdef HAVE_IEEEFP_H
26742 #include <ieeefp.h>
26753 if ac_fn_cxx_try_compile "$LINENO"; then :
26754 glibcxx_cv_func__isinf_use=yes
26756 glibcxx_cv_func__isinf_use=no
26758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26760 ac_cpp='$CPP $CPPFLAGS'
26761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
26770 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
26772 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
26773 for ac_func in _isinf
26775 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
26776 if test "x$ac_cv_func__isinf" = x""yes; then :
26777 cat >>confdefs.h <<_ACEOF
26778 #define HAVE__ISINF 1
26791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
26792 $as_echo_n "checking for isnan declaration... " >&6; }
26793 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
26794 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
26795 $as_echo_n "(cached) " >&6
26800 ac_cpp='$CXXCPP $CPPFLAGS'
26801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26806 /* end confdefs.h. */
26808 #ifdef HAVE_IEEEFP_H
26809 #include <ieeefp.h>
26820 if ac_fn_cxx_try_compile "$LINENO"; then :
26821 glibcxx_cv_func_isnan_use=yes
26823 glibcxx_cv_func_isnan_use=no
26825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26827 ac_cpp='$CPP $CPPFLAGS'
26828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
26837 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
26839 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
26840 for ac_func in isnan
26842 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
26843 if test "x$ac_cv_func_isnan" = x""yes; then :
26844 cat >>confdefs.h <<_ACEOF
26845 #define HAVE_ISNAN 1
26853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
26854 $as_echo_n "checking for _isnan declaration... " >&6; }
26855 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
26856 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
26857 $as_echo_n "(cached) " >&6
26862 ac_cpp='$CXXCPP $CPPFLAGS'
26863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26868 /* end confdefs.h. */
26870 #ifdef HAVE_IEEEFP_H
26871 #include <ieeefp.h>
26882 if ac_fn_cxx_try_compile "$LINENO"; then :
26883 glibcxx_cv_func__isnan_use=yes
26885 glibcxx_cv_func__isnan_use=no
26887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26889 ac_cpp='$CPP $CPPFLAGS'
26890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
26899 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
26901 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
26902 for ac_func in _isnan
26904 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
26905 if test "x$ac_cv_func__isnan" = x""yes; then :
26906 cat >>confdefs.h <<_ACEOF
26907 #define HAVE__ISNAN 1
26920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
26921 $as_echo_n "checking for finite declaration... " >&6; }
26922 if test x${glibcxx_cv_func_finite_use+set} != xset; then
26923 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
26924 $as_echo_n "(cached) " >&6
26929 ac_cpp='$CXXCPP $CPPFLAGS'
26930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26935 /* end confdefs.h. */
26937 #ifdef HAVE_IEEEFP_H
26938 #include <ieeefp.h>
26949 if ac_fn_cxx_try_compile "$LINENO"; then :
26950 glibcxx_cv_func_finite_use=yes
26952 glibcxx_cv_func_finite_use=no
26954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26956 ac_cpp='$CPP $CPPFLAGS'
26957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
26966 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
26968 if test x$glibcxx_cv_func_finite_use = x"yes"; then
26969 for ac_func in finite
26971 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
26972 if test "x$ac_cv_func_finite" = x""yes; then :
26973 cat >>confdefs.h <<_ACEOF
26974 #define HAVE_FINITE 1
26982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
26983 $as_echo_n "checking for _finite declaration... " >&6; }
26984 if test x${glibcxx_cv_func__finite_use+set} != xset; then
26985 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
26986 $as_echo_n "(cached) " >&6
26991 ac_cpp='$CXXCPP $CPPFLAGS'
26992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26997 /* end confdefs.h. */
26999 #ifdef HAVE_IEEEFP_H
27000 #include <ieeefp.h>
27011 if ac_fn_cxx_try_compile "$LINENO"; then :
27012 glibcxx_cv_func__finite_use=yes
27014 glibcxx_cv_func__finite_use=no
27016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27018 ac_cpp='$CPP $CPPFLAGS'
27019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27028 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27030 if test x$glibcxx_cv_func__finite_use = x"yes"; then
27031 for ac_func in _finite
27033 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27034 if test "x$ac_cv_func__finite" = x""yes; then :
27035 cat >>confdefs.h <<_ACEOF
27036 #define HAVE__FINITE 1
27049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27050 $as_echo_n "checking for sincos declaration... " >&6; }
27051 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27052 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27053 $as_echo_n "(cached) " >&6
27058 ac_cpp='$CXXCPP $CPPFLAGS'
27059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27064 /* end confdefs.h. */
27074 if ac_fn_cxx_try_compile "$LINENO"; then :
27075 glibcxx_cv_func_sincos_use=yes
27077 glibcxx_cv_func_sincos_use=no
27079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27081 ac_cpp='$CPP $CPPFLAGS'
27082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
27091 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27093 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27094 for ac_func in sincos
27096 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27097 if test "x$ac_cv_func_sincos" = x""yes; then :
27098 cat >>confdefs.h <<_ACEOF
27099 #define HAVE_SINCOS 1
27107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
27108 $as_echo_n "checking for _sincos declaration... " >&6; }
27109 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
27110 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
27111 $as_echo_n "(cached) " >&6
27116 ac_cpp='$CXXCPP $CPPFLAGS'
27117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27122 /* end confdefs.h. */
27132 if ac_fn_cxx_try_compile "$LINENO"; then :
27133 glibcxx_cv_func__sincos_use=yes
27135 glibcxx_cv_func__sincos_use=no
27137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27139 ac_cpp='$CPP $CPPFLAGS'
27140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
27149 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
27151 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
27152 for ac_func in _sincos
27154 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
27155 if test "x$ac_cv_func__sincos" = x""yes; then :
27156 cat >>confdefs.h <<_ACEOF
27157 #define HAVE__SINCOS 1
27170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
27171 $as_echo_n "checking for fpclass declaration... " >&6; }
27172 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
27173 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
27174 $as_echo_n "(cached) " >&6
27179 ac_cpp='$CXXCPP $CPPFLAGS'
27180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27185 /* end confdefs.h. */
27187 #ifdef HAVE_IEEEFP_H
27188 #include <ieeefp.h>
27199 if ac_fn_cxx_try_compile "$LINENO"; then :
27200 glibcxx_cv_func_fpclass_use=yes
27202 glibcxx_cv_func_fpclass_use=no
27204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27206 ac_cpp='$CPP $CPPFLAGS'
27207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
27216 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
27218 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
27219 for ac_func in fpclass
27221 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
27222 if test "x$ac_cv_func_fpclass" = x""yes; then :
27223 cat >>confdefs.h <<_ACEOF
27224 #define HAVE_FPCLASS 1
27232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
27233 $as_echo_n "checking for _fpclass declaration... " >&6; }
27234 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
27235 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
27236 $as_echo_n "(cached) " >&6
27241 ac_cpp='$CXXCPP $CPPFLAGS'
27242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27247 /* end confdefs.h. */
27249 #ifdef HAVE_IEEEFP_H
27250 #include <ieeefp.h>
27261 if ac_fn_cxx_try_compile "$LINENO"; then :
27262 glibcxx_cv_func__fpclass_use=yes
27264 glibcxx_cv_func__fpclass_use=no
27266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27268 ac_cpp='$CPP $CPPFLAGS'
27269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
27278 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
27280 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
27281 for ac_func in _fpclass
27283 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
27284 if test "x$ac_cv_func__fpclass" = x""yes; then :
27285 cat >>confdefs.h <<_ACEOF
27286 #define HAVE__FPCLASS 1
27299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
27300 $as_echo_n "checking for qfpclass declaration... " >&6; }
27301 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
27302 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
27303 $as_echo_n "(cached) " >&6
27308 ac_cpp='$CXXCPP $CPPFLAGS'
27309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27314 /* end confdefs.h. */
27316 #ifdef HAVE_IEEEFP_H
27317 #include <ieeefp.h>
27328 if ac_fn_cxx_try_compile "$LINENO"; then :
27329 glibcxx_cv_func_qfpclass_use=yes
27331 glibcxx_cv_func_qfpclass_use=no
27333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27335 ac_cpp='$CPP $CPPFLAGS'
27336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
27345 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
27347 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
27348 for ac_func in qfpclass
27350 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
27351 if test "x$ac_cv_func_qfpclass" = x""yes; then :
27352 cat >>confdefs.h <<_ACEOF
27353 #define HAVE_QFPCLASS 1
27361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
27362 $as_echo_n "checking for _qfpclass declaration... " >&6; }
27363 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
27364 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
27365 $as_echo_n "(cached) " >&6
27370 ac_cpp='$CXXCPP $CPPFLAGS'
27371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27376 /* end confdefs.h. */
27378 #ifdef HAVE_IEEEFP_H
27379 #include <ieeefp.h>
27390 if ac_fn_cxx_try_compile "$LINENO"; then :
27391 glibcxx_cv_func__qfpclass_use=yes
27393 glibcxx_cv_func__qfpclass_use=no
27395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27397 ac_cpp='$CPP $CPPFLAGS'
27398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
27407 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
27409 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
27410 for ac_func in _qfpclass
27412 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
27413 if test "x$ac_cv_func__qfpclass" = x""yes; then :
27414 cat >>confdefs.h <<_ACEOF
27415 #define HAVE__QFPCLASS 1
27428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
27429 $as_echo_n "checking for hypot declaration... " >&6; }
27430 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
27431 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
27432 $as_echo_n "(cached) " >&6
27437 ac_cpp='$CXXCPP $CPPFLAGS'
27438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27443 /* end confdefs.h. */
27453 if ac_fn_cxx_try_compile "$LINENO"; then :
27454 glibcxx_cv_func_hypot_use=yes
27456 glibcxx_cv_func_hypot_use=no
27458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27460 ac_cpp='$CPP $CPPFLAGS'
27461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
27470 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
27472 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
27473 for ac_func in hypot
27475 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
27476 if test "x$ac_cv_func_hypot" = x""yes; then :
27477 cat >>confdefs.h <<_ACEOF
27478 #define HAVE_HYPOT 1
27486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
27487 $as_echo_n "checking for _hypot declaration... " >&6; }
27488 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
27489 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
27490 $as_echo_n "(cached) " >&6
27495 ac_cpp='$CXXCPP $CPPFLAGS'
27496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27501 /* end confdefs.h. */
27511 if ac_fn_cxx_try_compile "$LINENO"; then :
27512 glibcxx_cv_func__hypot_use=yes
27514 glibcxx_cv_func__hypot_use=no
27516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27518 ac_cpp='$CPP $CPPFLAGS'
27519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
27528 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
27530 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
27531 for ac_func in _hypot
27533 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
27534 if test "x$ac_cv_func__hypot" = x""yes; then :
27535 cat >>confdefs.h <<_ACEOF
27536 #define HAVE__HYPOT 1
27549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
27550 $as_echo_n "checking for float trig functions... " >&6; }
27551 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
27552 $as_echo_n "(cached) " >&6
27557 ac_cpp='$CXXCPP $CPPFLAGS'
27558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27563 /* end confdefs.h. */
27568 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
27573 if ac_fn_cxx_try_compile "$LINENO"; then :
27574 glibcxx_cv_func_float_trig_use=yes
27576 glibcxx_cv_func_float_trig_use=no
27578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27580 ac_cpp='$CPP $CPPFLAGS'
27581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
27588 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
27589 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
27590 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
27592 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27593 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27594 eval as_val=\$$as_ac_var
27595 if test "x$as_val" = x""yes; then :
27596 cat >>confdefs.h <<_ACEOF
27597 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
27605 $as_echo_n "checking for _float trig functions... " >&6; }
27606 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
27607 $as_echo_n "(cached) " >&6
27612 ac_cpp='$CXXCPP $CPPFLAGS'
27613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27618 /* end confdefs.h. */
27623 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
27628 if ac_fn_cxx_try_compile "$LINENO"; then :
27629 glibcxx_cv_func__float_trig_use=yes
27631 glibcxx_cv_func__float_trig_use=no
27633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27635 ac_cpp='$CPP $CPPFLAGS'
27636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
27643 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
27644 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
27645 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
27647 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27648 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27649 eval as_val=\$$as_ac_var
27650 if test "x$as_val" = x""yes; then :
27651 cat >>confdefs.h <<_ACEOF
27652 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
27666 $as_echo_n "checking for float round functions... " >&6; }
27667 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
27668 $as_echo_n "(cached) " >&6
27673 ac_cpp='$CXXCPP $CPPFLAGS'
27674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27679 /* end confdefs.h. */
27684 ceilf (0); floorf (0);
27689 if ac_fn_cxx_try_compile "$LINENO"; then :
27690 glibcxx_cv_func_float_round_use=yes
27692 glibcxx_cv_func_float_round_use=no
27694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27696 ac_cpp='$CPP $CPPFLAGS'
27697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
27704 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
27705 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
27706 for ac_func in ceilf floorf
27708 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27709 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27710 eval as_val=\$$as_ac_var
27711 if test "x$as_val" = x""yes; then :
27712 cat >>confdefs.h <<_ACEOF
27713 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
27721 $as_echo_n "checking for _float round functions... " >&6; }
27722 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
27723 $as_echo_n "(cached) " >&6
27728 ac_cpp='$CXXCPP $CPPFLAGS'
27729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27734 /* end confdefs.h. */
27739 _ceilf (0); _floorf (0);
27744 if ac_fn_cxx_try_compile "$LINENO"; then :
27745 glibcxx_cv_func__float_round_use=yes
27747 glibcxx_cv_func__float_round_use=no
27749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27751 ac_cpp='$CPP $CPPFLAGS'
27752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
27759 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
27760 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
27761 for ac_func in _ceilf _floorf
27763 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27764 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27765 eval as_val=\$$as_ac_var
27766 if test "x$as_val" = x""yes; then :
27767 cat >>confdefs.h <<_ACEOF
27768 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
27783 $as_echo_n "checking for expf declaration... " >&6; }
27784 if test x${glibcxx_cv_func_expf_use+set} != xset; then
27785 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
27786 $as_echo_n "(cached) " >&6
27791 ac_cpp='$CXXCPP $CPPFLAGS'
27792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27797 /* end confdefs.h. */
27799 #ifdef HAVE_IEEEFP_H
27800 #include <ieeefp.h>
27811 if ac_fn_cxx_try_compile "$LINENO"; then :
27812 glibcxx_cv_func_expf_use=yes
27814 glibcxx_cv_func_expf_use=no
27816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27818 ac_cpp='$CPP $CPPFLAGS'
27819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
27828 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
27830 if test x$glibcxx_cv_func_expf_use = x"yes"; then
27831 for ac_func in expf
27833 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
27834 if test "x$ac_cv_func_expf" = x""yes; then :
27835 cat >>confdefs.h <<_ACEOF
27836 #define HAVE_EXPF 1
27844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
27845 $as_echo_n "checking for _expf declaration... " >&6; }
27846 if test x${glibcxx_cv_func__expf_use+set} != xset; then
27847 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
27848 $as_echo_n "(cached) " >&6
27853 ac_cpp='$CXXCPP $CPPFLAGS'
27854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27859 /* end confdefs.h. */
27861 #ifdef HAVE_IEEEFP_H
27862 #include <ieeefp.h>
27873 if ac_fn_cxx_try_compile "$LINENO"; then :
27874 glibcxx_cv_func__expf_use=yes
27876 glibcxx_cv_func__expf_use=no
27878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27880 ac_cpp='$CPP $CPPFLAGS'
27881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
27890 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
27892 if test x$glibcxx_cv_func__expf_use = x"yes"; then
27893 for ac_func in _expf
27895 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
27896 if test "x$ac_cv_func__expf" = x""yes; then :
27897 cat >>confdefs.h <<_ACEOF
27898 #define HAVE__EXPF 1
27911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
27912 $as_echo_n "checking for isnanf declaration... " >&6; }
27913 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
27914 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
27915 $as_echo_n "(cached) " >&6
27920 ac_cpp='$CXXCPP $CPPFLAGS'
27921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27926 /* end confdefs.h. */
27928 #ifdef HAVE_IEEEFP_H
27929 #include <ieeefp.h>
27940 if ac_fn_cxx_try_compile "$LINENO"; then :
27941 glibcxx_cv_func_isnanf_use=yes
27943 glibcxx_cv_func_isnanf_use=no
27945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27947 ac_cpp='$CPP $CPPFLAGS'
27948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
27957 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
27959 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
27960 for ac_func in isnanf
27962 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
27963 if test "x$ac_cv_func_isnanf" = x""yes; then :
27964 cat >>confdefs.h <<_ACEOF
27965 #define HAVE_ISNANF 1
27973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
27974 $as_echo_n "checking for _isnanf declaration... " >&6; }
27975 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
27976 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
27977 $as_echo_n "(cached) " >&6
27982 ac_cpp='$CXXCPP $CPPFLAGS'
27983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27988 /* end confdefs.h. */
27990 #ifdef HAVE_IEEEFP_H
27991 #include <ieeefp.h>
28002 if ac_fn_cxx_try_compile "$LINENO"; then :
28003 glibcxx_cv_func__isnanf_use=yes
28005 glibcxx_cv_func__isnanf_use=no
28007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28009 ac_cpp='$CPP $CPPFLAGS'
28010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28019 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28021 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28022 for ac_func in _isnanf
28024 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28025 if test "x$ac_cv_func__isnanf" = x""yes; then :
28026 cat >>confdefs.h <<_ACEOF
28027 #define HAVE__ISNANF 1
28040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28041 $as_echo_n "checking for isinff declaration... " >&6; }
28042 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28043 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28044 $as_echo_n "(cached) " >&6
28049 ac_cpp='$CXXCPP $CPPFLAGS'
28050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28055 /* end confdefs.h. */
28057 #ifdef HAVE_IEEEFP_H
28058 #include <ieeefp.h>
28069 if ac_fn_cxx_try_compile "$LINENO"; then :
28070 glibcxx_cv_func_isinff_use=yes
28072 glibcxx_cv_func_isinff_use=no
28074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28076 ac_cpp='$CPP $CPPFLAGS'
28077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
28086 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
28088 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28089 for ac_func in isinff
28091 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28092 if test "x$ac_cv_func_isinff" = x""yes; then :
28093 cat >>confdefs.h <<_ACEOF
28094 #define HAVE_ISINFF 1
28102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
28103 $as_echo_n "checking for _isinff declaration... " >&6; }
28104 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28105 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
28106 $as_echo_n "(cached) " >&6
28111 ac_cpp='$CXXCPP $CPPFLAGS'
28112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28117 /* end confdefs.h. */
28119 #ifdef HAVE_IEEEFP_H
28120 #include <ieeefp.h>
28131 if ac_fn_cxx_try_compile "$LINENO"; then :
28132 glibcxx_cv_func__isinff_use=yes
28134 glibcxx_cv_func__isinff_use=no
28136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28138 ac_cpp='$CPP $CPPFLAGS'
28139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
28148 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
28150 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
28151 for ac_func in _isinff
28153 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
28154 if test "x$ac_cv_func__isinff" = x""yes; then :
28155 cat >>confdefs.h <<_ACEOF
28156 #define HAVE__ISINFF 1
28169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
28170 $as_echo_n "checking for atan2f declaration... " >&6; }
28171 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
28172 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
28173 $as_echo_n "(cached) " >&6
28178 ac_cpp='$CXXCPP $CPPFLAGS'
28179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28184 /* end confdefs.h. */
28194 if ac_fn_cxx_try_compile "$LINENO"; then :
28195 glibcxx_cv_func_atan2f_use=yes
28197 glibcxx_cv_func_atan2f_use=no
28199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28201 ac_cpp='$CPP $CPPFLAGS'
28202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
28211 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
28213 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
28214 for ac_func in atan2f
28216 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
28217 if test "x$ac_cv_func_atan2f" = x""yes; then :
28218 cat >>confdefs.h <<_ACEOF
28219 #define HAVE_ATAN2F 1
28227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
28228 $as_echo_n "checking for _atan2f declaration... " >&6; }
28229 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
28230 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
28231 $as_echo_n "(cached) " >&6
28236 ac_cpp='$CXXCPP $CPPFLAGS'
28237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28242 /* end confdefs.h. */
28252 if ac_fn_cxx_try_compile "$LINENO"; then :
28253 glibcxx_cv_func__atan2f_use=yes
28255 glibcxx_cv_func__atan2f_use=no
28257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28259 ac_cpp='$CPP $CPPFLAGS'
28260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
28269 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
28271 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
28272 for ac_func in _atan2f
28274 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
28275 if test "x$ac_cv_func__atan2f" = x""yes; then :
28276 cat >>confdefs.h <<_ACEOF
28277 #define HAVE__ATAN2F 1
28290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
28291 $as_echo_n "checking for fabsf declaration... " >&6; }
28292 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
28293 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
28294 $as_echo_n "(cached) " >&6
28299 ac_cpp='$CXXCPP $CPPFLAGS'
28300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28305 /* end confdefs.h. */
28307 #ifdef HAVE_IEEEFP_H
28308 #include <ieeefp.h>
28319 if ac_fn_cxx_try_compile "$LINENO"; then :
28320 glibcxx_cv_func_fabsf_use=yes
28322 glibcxx_cv_func_fabsf_use=no
28324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28326 ac_cpp='$CPP $CPPFLAGS'
28327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
28336 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
28338 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
28339 for ac_func in fabsf
28341 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
28342 if test "x$ac_cv_func_fabsf" = x""yes; then :
28343 cat >>confdefs.h <<_ACEOF
28344 #define HAVE_FABSF 1
28352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
28353 $as_echo_n "checking for _fabsf declaration... " >&6; }
28354 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
28355 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
28356 $as_echo_n "(cached) " >&6
28361 ac_cpp='$CXXCPP $CPPFLAGS'
28362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28367 /* end confdefs.h. */
28369 #ifdef HAVE_IEEEFP_H
28370 #include <ieeefp.h>
28381 if ac_fn_cxx_try_compile "$LINENO"; then :
28382 glibcxx_cv_func__fabsf_use=yes
28384 glibcxx_cv_func__fabsf_use=no
28386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28388 ac_cpp='$CPP $CPPFLAGS'
28389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
28398 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
28400 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
28401 for ac_func in _fabsf
28403 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
28404 if test "x$ac_cv_func__fabsf" = x""yes; then :
28405 cat >>confdefs.h <<_ACEOF
28406 #define HAVE__FABSF 1
28419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
28420 $as_echo_n "checking for fmodf declaration... " >&6; }
28421 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
28422 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
28423 $as_echo_n "(cached) " >&6
28428 ac_cpp='$CXXCPP $CPPFLAGS'
28429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28434 /* end confdefs.h. */
28444 if ac_fn_cxx_try_compile "$LINENO"; then :
28445 glibcxx_cv_func_fmodf_use=yes
28447 glibcxx_cv_func_fmodf_use=no
28449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28451 ac_cpp='$CPP $CPPFLAGS'
28452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
28461 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
28463 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
28464 for ac_func in fmodf
28466 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
28467 if test "x$ac_cv_func_fmodf" = x""yes; then :
28468 cat >>confdefs.h <<_ACEOF
28469 #define HAVE_FMODF 1
28477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
28478 $as_echo_n "checking for _fmodf declaration... " >&6; }
28479 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
28480 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
28481 $as_echo_n "(cached) " >&6
28486 ac_cpp='$CXXCPP $CPPFLAGS'
28487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28492 /* end confdefs.h. */
28502 if ac_fn_cxx_try_compile "$LINENO"; then :
28503 glibcxx_cv_func__fmodf_use=yes
28505 glibcxx_cv_func__fmodf_use=no
28507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28509 ac_cpp='$CPP $CPPFLAGS'
28510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
28519 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
28521 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
28522 for ac_func in _fmodf
28524 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
28525 if test "x$ac_cv_func__fmodf" = x""yes; then :
28526 cat >>confdefs.h <<_ACEOF
28527 #define HAVE__FMODF 1
28540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
28541 $as_echo_n "checking for frexpf declaration... " >&6; }
28542 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
28543 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
28544 $as_echo_n "(cached) " >&6
28549 ac_cpp='$CXXCPP $CPPFLAGS'
28550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28555 /* end confdefs.h. */
28565 if ac_fn_cxx_try_compile "$LINENO"; then :
28566 glibcxx_cv_func_frexpf_use=yes
28568 glibcxx_cv_func_frexpf_use=no
28570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28572 ac_cpp='$CPP $CPPFLAGS'
28573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
28582 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
28584 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
28585 for ac_func in frexpf
28587 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
28588 if test "x$ac_cv_func_frexpf" = x""yes; then :
28589 cat >>confdefs.h <<_ACEOF
28590 #define HAVE_FREXPF 1
28598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
28599 $as_echo_n "checking for _frexpf declaration... " >&6; }
28600 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
28601 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
28602 $as_echo_n "(cached) " >&6
28607 ac_cpp='$CXXCPP $CPPFLAGS'
28608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28613 /* end confdefs.h. */
28623 if ac_fn_cxx_try_compile "$LINENO"; then :
28624 glibcxx_cv_func__frexpf_use=yes
28626 glibcxx_cv_func__frexpf_use=no
28628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28630 ac_cpp='$CPP $CPPFLAGS'
28631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
28640 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
28642 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
28643 for ac_func in _frexpf
28645 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
28646 if test "x$ac_cv_func__frexpf" = x""yes; then :
28647 cat >>confdefs.h <<_ACEOF
28648 #define HAVE__FREXPF 1
28661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
28662 $as_echo_n "checking for hypotf declaration... " >&6; }
28663 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
28664 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
28665 $as_echo_n "(cached) " >&6
28670 ac_cpp='$CXXCPP $CPPFLAGS'
28671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28676 /* end confdefs.h. */
28686 if ac_fn_cxx_try_compile "$LINENO"; then :
28687 glibcxx_cv_func_hypotf_use=yes
28689 glibcxx_cv_func_hypotf_use=no
28691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28693 ac_cpp='$CPP $CPPFLAGS'
28694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
28703 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
28705 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
28706 for ac_func in hypotf
28708 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
28709 if test "x$ac_cv_func_hypotf" = x""yes; then :
28710 cat >>confdefs.h <<_ACEOF
28711 #define HAVE_HYPOTF 1
28719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
28720 $as_echo_n "checking for _hypotf declaration... " >&6; }
28721 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
28722 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
28723 $as_echo_n "(cached) " >&6
28728 ac_cpp='$CXXCPP $CPPFLAGS'
28729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28734 /* end confdefs.h. */
28744 if ac_fn_cxx_try_compile "$LINENO"; then :
28745 glibcxx_cv_func__hypotf_use=yes
28747 glibcxx_cv_func__hypotf_use=no
28749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28751 ac_cpp='$CPP $CPPFLAGS'
28752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
28761 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
28763 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
28764 for ac_func in _hypotf
28766 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
28767 if test "x$ac_cv_func__hypotf" = x""yes; then :
28768 cat >>confdefs.h <<_ACEOF
28769 #define HAVE__HYPOTF 1
28782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
28783 $as_echo_n "checking for ldexpf declaration... " >&6; }
28784 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
28785 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
28786 $as_echo_n "(cached) " >&6
28791 ac_cpp='$CXXCPP $CPPFLAGS'
28792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28797 /* end confdefs.h. */
28807 if ac_fn_cxx_try_compile "$LINENO"; then :
28808 glibcxx_cv_func_ldexpf_use=yes
28810 glibcxx_cv_func_ldexpf_use=no
28812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28814 ac_cpp='$CPP $CPPFLAGS'
28815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
28824 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
28826 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
28827 for ac_func in ldexpf
28829 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
28830 if test "x$ac_cv_func_ldexpf" = x""yes; then :
28831 cat >>confdefs.h <<_ACEOF
28832 #define HAVE_LDEXPF 1
28840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
28841 $as_echo_n "checking for _ldexpf declaration... " >&6; }
28842 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
28843 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
28844 $as_echo_n "(cached) " >&6
28849 ac_cpp='$CXXCPP $CPPFLAGS'
28850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28855 /* end confdefs.h. */
28865 if ac_fn_cxx_try_compile "$LINENO"; then :
28866 glibcxx_cv_func__ldexpf_use=yes
28868 glibcxx_cv_func__ldexpf_use=no
28870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28872 ac_cpp='$CPP $CPPFLAGS'
28873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
28882 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
28884 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
28885 for ac_func in _ldexpf
28887 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
28888 if test "x$ac_cv_func__ldexpf" = x""yes; then :
28889 cat >>confdefs.h <<_ACEOF
28890 #define HAVE__LDEXPF 1
28903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
28904 $as_echo_n "checking for logf declaration... " >&6; }
28905 if test x${glibcxx_cv_func_logf_use+set} != xset; then
28906 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
28907 $as_echo_n "(cached) " >&6
28912 ac_cpp='$CXXCPP $CPPFLAGS'
28913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28918 /* end confdefs.h. */
28920 #ifdef HAVE_IEEEFP_H
28921 #include <ieeefp.h>
28932 if ac_fn_cxx_try_compile "$LINENO"; then :
28933 glibcxx_cv_func_logf_use=yes
28935 glibcxx_cv_func_logf_use=no
28937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28939 ac_cpp='$CPP $CPPFLAGS'
28940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
28949 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
28951 if test x$glibcxx_cv_func_logf_use = x"yes"; then
28952 for ac_func in logf
28954 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
28955 if test "x$ac_cv_func_logf" = x""yes; then :
28956 cat >>confdefs.h <<_ACEOF
28957 #define HAVE_LOGF 1
28965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
28966 $as_echo_n "checking for _logf declaration... " >&6; }
28967 if test x${glibcxx_cv_func__logf_use+set} != xset; then
28968 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
28969 $as_echo_n "(cached) " >&6
28974 ac_cpp='$CXXCPP $CPPFLAGS'
28975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28980 /* end confdefs.h. */
28982 #ifdef HAVE_IEEEFP_H
28983 #include <ieeefp.h>
28994 if ac_fn_cxx_try_compile "$LINENO"; then :
28995 glibcxx_cv_func__logf_use=yes
28997 glibcxx_cv_func__logf_use=no
28999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29001 ac_cpp='$CPP $CPPFLAGS'
29002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29011 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29013 if test x$glibcxx_cv_func__logf_use = x"yes"; then
29014 for ac_func in _logf
29016 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29017 if test "x$ac_cv_func__logf" = x""yes; then :
29018 cat >>confdefs.h <<_ACEOF
29019 #define HAVE__LOGF 1
29032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29033 $as_echo_n "checking for log10f declaration... " >&6; }
29034 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29035 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29036 $as_echo_n "(cached) " >&6
29041 ac_cpp='$CXXCPP $CPPFLAGS'
29042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29047 /* end confdefs.h. */
29049 #ifdef HAVE_IEEEFP_H
29050 #include <ieeefp.h>
29061 if ac_fn_cxx_try_compile "$LINENO"; then :
29062 glibcxx_cv_func_log10f_use=yes
29064 glibcxx_cv_func_log10f_use=no
29066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29068 ac_cpp='$CPP $CPPFLAGS'
29069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
29078 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
29080 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29081 for ac_func in log10f
29083 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
29084 if test "x$ac_cv_func_log10f" = x""yes; then :
29085 cat >>confdefs.h <<_ACEOF
29086 #define HAVE_LOG10F 1
29094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29095 $as_echo_n "checking for _log10f declaration... " >&6; }
29096 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29097 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
29098 $as_echo_n "(cached) " >&6
29103 ac_cpp='$CXXCPP $CPPFLAGS'
29104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29109 /* end confdefs.h. */
29111 #ifdef HAVE_IEEEFP_H
29112 #include <ieeefp.h>
29123 if ac_fn_cxx_try_compile "$LINENO"; then :
29124 glibcxx_cv_func__log10f_use=yes
29126 glibcxx_cv_func__log10f_use=no
29128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29130 ac_cpp='$CPP $CPPFLAGS'
29131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
29140 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
29142 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
29143 for ac_func in _log10f
29145 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
29146 if test "x$ac_cv_func__log10f" = x""yes; then :
29147 cat >>confdefs.h <<_ACEOF
29148 #define HAVE__LOG10F 1
29161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
29162 $as_echo_n "checking for modff declaration... " >&6; }
29163 if test x${glibcxx_cv_func_modff_use+set} != xset; then
29164 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
29165 $as_echo_n "(cached) " >&6
29170 ac_cpp='$CXXCPP $CPPFLAGS'
29171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29176 /* end confdefs.h. */
29186 if ac_fn_cxx_try_compile "$LINENO"; then :
29187 glibcxx_cv_func_modff_use=yes
29189 glibcxx_cv_func_modff_use=no
29191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29193 ac_cpp='$CPP $CPPFLAGS'
29194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
29203 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
29205 if test x$glibcxx_cv_func_modff_use = x"yes"; then
29206 for ac_func in modff
29208 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
29209 if test "x$ac_cv_func_modff" = x""yes; then :
29210 cat >>confdefs.h <<_ACEOF
29211 #define HAVE_MODFF 1
29219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
29220 $as_echo_n "checking for _modff declaration... " >&6; }
29221 if test x${glibcxx_cv_func__modff_use+set} != xset; then
29222 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
29223 $as_echo_n "(cached) " >&6
29228 ac_cpp='$CXXCPP $CPPFLAGS'
29229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29234 /* end confdefs.h. */
29244 if ac_fn_cxx_try_compile "$LINENO"; then :
29245 glibcxx_cv_func__modff_use=yes
29247 glibcxx_cv_func__modff_use=no
29249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29251 ac_cpp='$CPP $CPPFLAGS'
29252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
29261 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
29263 if test x$glibcxx_cv_func__modff_use = x"yes"; then
29264 for ac_func in _modff
29266 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
29267 if test "x$ac_cv_func__modff" = x""yes; then :
29268 cat >>confdefs.h <<_ACEOF
29269 #define HAVE__MODFF 1
29282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
29283 $as_echo_n "checking for modf declaration... " >&6; }
29284 if test x${glibcxx_cv_func_modf_use+set} != xset; then
29285 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
29286 $as_echo_n "(cached) " >&6
29291 ac_cpp='$CXXCPP $CPPFLAGS'
29292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29297 /* end confdefs.h. */
29307 if ac_fn_cxx_try_compile "$LINENO"; then :
29308 glibcxx_cv_func_modf_use=yes
29310 glibcxx_cv_func_modf_use=no
29312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29314 ac_cpp='$CPP $CPPFLAGS'
29315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
29324 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
29326 if test x$glibcxx_cv_func_modf_use = x"yes"; then
29327 for ac_func in modf
29329 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
29330 if test "x$ac_cv_func_modf" = x""yes; then :
29331 cat >>confdefs.h <<_ACEOF
29332 #define HAVE_MODF 1
29340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
29341 $as_echo_n "checking for _modf declaration... " >&6; }
29342 if test x${glibcxx_cv_func__modf_use+set} != xset; then
29343 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
29344 $as_echo_n "(cached) " >&6
29349 ac_cpp='$CXXCPP $CPPFLAGS'
29350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29355 /* end confdefs.h. */
29365 if ac_fn_cxx_try_compile "$LINENO"; then :
29366 glibcxx_cv_func__modf_use=yes
29368 glibcxx_cv_func__modf_use=no
29370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29372 ac_cpp='$CPP $CPPFLAGS'
29373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
29382 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
29384 if test x$glibcxx_cv_func__modf_use = x"yes"; then
29385 for ac_func in _modf
29387 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
29388 if test "x$ac_cv_func__modf" = x""yes; then :
29389 cat >>confdefs.h <<_ACEOF
29390 #define HAVE__MODF 1
29403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
29404 $as_echo_n "checking for powf declaration... " >&6; }
29405 if test x${glibcxx_cv_func_powf_use+set} != xset; then
29406 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
29407 $as_echo_n "(cached) " >&6
29412 ac_cpp='$CXXCPP $CPPFLAGS'
29413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29418 /* end confdefs.h. */
29428 if ac_fn_cxx_try_compile "$LINENO"; then :
29429 glibcxx_cv_func_powf_use=yes
29431 glibcxx_cv_func_powf_use=no
29433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29435 ac_cpp='$CPP $CPPFLAGS'
29436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
29445 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
29447 if test x$glibcxx_cv_func_powf_use = x"yes"; then
29448 for ac_func in powf
29450 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
29451 if test "x$ac_cv_func_powf" = x""yes; then :
29452 cat >>confdefs.h <<_ACEOF
29453 #define HAVE_POWF 1
29461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
29462 $as_echo_n "checking for _powf declaration... " >&6; }
29463 if test x${glibcxx_cv_func__powf_use+set} != xset; then
29464 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
29465 $as_echo_n "(cached) " >&6
29470 ac_cpp='$CXXCPP $CPPFLAGS'
29471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29476 /* end confdefs.h. */
29486 if ac_fn_cxx_try_compile "$LINENO"; then :
29487 glibcxx_cv_func__powf_use=yes
29489 glibcxx_cv_func__powf_use=no
29491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29493 ac_cpp='$CPP $CPPFLAGS'
29494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
29503 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
29505 if test x$glibcxx_cv_func__powf_use = x"yes"; then
29506 for ac_func in _powf
29508 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
29509 if test "x$ac_cv_func__powf" = x""yes; then :
29510 cat >>confdefs.h <<_ACEOF
29511 #define HAVE__POWF 1
29524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
29525 $as_echo_n "checking for sqrtf declaration... " >&6; }
29526 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
29527 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
29528 $as_echo_n "(cached) " >&6
29533 ac_cpp='$CXXCPP $CPPFLAGS'
29534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29539 /* end confdefs.h. */
29541 #ifdef HAVE_IEEEFP_H
29542 #include <ieeefp.h>
29553 if ac_fn_cxx_try_compile "$LINENO"; then :
29554 glibcxx_cv_func_sqrtf_use=yes
29556 glibcxx_cv_func_sqrtf_use=no
29558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29560 ac_cpp='$CPP $CPPFLAGS'
29561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
29570 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
29572 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
29573 for ac_func in sqrtf
29575 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
29576 if test "x$ac_cv_func_sqrtf" = x""yes; then :
29577 cat >>confdefs.h <<_ACEOF
29578 #define HAVE_SQRTF 1
29586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
29587 $as_echo_n "checking for _sqrtf declaration... " >&6; }
29588 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
29589 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
29590 $as_echo_n "(cached) " >&6
29595 ac_cpp='$CXXCPP $CPPFLAGS'
29596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29601 /* end confdefs.h. */
29603 #ifdef HAVE_IEEEFP_H
29604 #include <ieeefp.h>
29615 if ac_fn_cxx_try_compile "$LINENO"; then :
29616 glibcxx_cv_func__sqrtf_use=yes
29618 glibcxx_cv_func__sqrtf_use=no
29620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29622 ac_cpp='$CPP $CPPFLAGS'
29623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
29632 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
29634 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
29635 for ac_func in _sqrtf
29637 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
29638 if test "x$ac_cv_func__sqrtf" = x""yes; then :
29639 cat >>confdefs.h <<_ACEOF
29640 #define HAVE__SQRTF 1
29653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
29654 $as_echo_n "checking for sincosf declaration... " >&6; }
29655 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
29656 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
29657 $as_echo_n "(cached) " >&6
29662 ac_cpp='$CXXCPP $CPPFLAGS'
29663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29668 /* end confdefs.h. */
29678 if ac_fn_cxx_try_compile "$LINENO"; then :
29679 glibcxx_cv_func_sincosf_use=yes
29681 glibcxx_cv_func_sincosf_use=no
29683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29685 ac_cpp='$CPP $CPPFLAGS'
29686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
29695 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
29697 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
29698 for ac_func in sincosf
29700 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
29701 if test "x$ac_cv_func_sincosf" = x""yes; then :
29702 cat >>confdefs.h <<_ACEOF
29703 #define HAVE_SINCOSF 1
29711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
29712 $as_echo_n "checking for _sincosf declaration... " >&6; }
29713 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
29714 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
29715 $as_echo_n "(cached) " >&6
29720 ac_cpp='$CXXCPP $CPPFLAGS'
29721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29726 /* end confdefs.h. */
29736 if ac_fn_cxx_try_compile "$LINENO"; then :
29737 glibcxx_cv_func__sincosf_use=yes
29739 glibcxx_cv_func__sincosf_use=no
29741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29743 ac_cpp='$CPP $CPPFLAGS'
29744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
29753 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
29755 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
29756 for ac_func in _sincosf
29758 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
29759 if test "x$ac_cv_func__sincosf" = x""yes; then :
29760 cat >>confdefs.h <<_ACEOF
29761 #define HAVE__SINCOSF 1
29774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
29775 $as_echo_n "checking for finitef declaration... " >&6; }
29776 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
29777 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
29778 $as_echo_n "(cached) " >&6
29783 ac_cpp='$CXXCPP $CPPFLAGS'
29784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29789 /* end confdefs.h. */
29791 #ifdef HAVE_IEEEFP_H
29792 #include <ieeefp.h>
29803 if ac_fn_cxx_try_compile "$LINENO"; then :
29804 glibcxx_cv_func_finitef_use=yes
29806 glibcxx_cv_func_finitef_use=no
29808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29810 ac_cpp='$CPP $CPPFLAGS'
29811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
29820 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
29822 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
29823 for ac_func in finitef
29825 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
29826 if test "x$ac_cv_func_finitef" = x""yes; then :
29827 cat >>confdefs.h <<_ACEOF
29828 #define HAVE_FINITEF 1
29836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
29837 $as_echo_n "checking for _finitef declaration... " >&6; }
29838 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
29839 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
29840 $as_echo_n "(cached) " >&6
29845 ac_cpp='$CXXCPP $CPPFLAGS'
29846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29851 /* end confdefs.h. */
29853 #ifdef HAVE_IEEEFP_H
29854 #include <ieeefp.h>
29865 if ac_fn_cxx_try_compile "$LINENO"; then :
29866 glibcxx_cv_func__finitef_use=yes
29868 glibcxx_cv_func__finitef_use=no
29870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29872 ac_cpp='$CPP $CPPFLAGS'
29873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
29882 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
29884 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
29885 for ac_func in _finitef
29887 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
29888 if test "x$ac_cv_func__finitef" = x""yes; then :
29889 cat >>confdefs.h <<_ACEOF
29890 #define HAVE__FINITEF 1
29903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
29904 $as_echo_n "checking for long double trig functions... " >&6; }
29905 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
29906 $as_echo_n "(cached) " >&6
29911 ac_cpp='$CXXCPP $CPPFLAGS'
29912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29917 /* end confdefs.h. */
29922 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
29927 if ac_fn_cxx_try_compile "$LINENO"; then :
29928 glibcxx_cv_func_long_double_trig_use=yes
29930 glibcxx_cv_func_long_double_trig_use=no
29932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29934 ac_cpp='$CPP $CPPFLAGS'
29935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
29942 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
29943 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
29944 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
29946 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29947 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29948 eval as_val=\$$as_ac_var
29949 if test "x$as_val" = x""yes; then :
29950 cat >>confdefs.h <<_ACEOF
29951 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
29959 $as_echo_n "checking for _long double trig functions... " >&6; }
29960 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
29961 $as_echo_n "(cached) " >&6
29966 ac_cpp='$CXXCPP $CPPFLAGS'
29967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29972 /* end confdefs.h. */
29977 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
29982 if ac_fn_cxx_try_compile "$LINENO"; then :
29983 glibcxx_cv_func__long_double_trig_use=yes
29985 glibcxx_cv_func__long_double_trig_use=no
29987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29989 ac_cpp='$CPP $CPPFLAGS'
29990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
29997 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
29998 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
29999 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30001 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30002 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30003 eval as_val=\$$as_ac_var
30004 if test "x$as_val" = x""yes; then :
30005 cat >>confdefs.h <<_ACEOF
30006 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30020 $as_echo_n "checking for long double round functions... " >&6; }
30021 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30022 $as_echo_n "(cached) " >&6
30027 ac_cpp='$CXXCPP $CPPFLAGS'
30028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30033 /* end confdefs.h. */
30038 ceill (0); floorl (0);
30043 if ac_fn_cxx_try_compile "$LINENO"; then :
30044 glibcxx_cv_func_long_double_round_use=yes
30046 glibcxx_cv_func_long_double_round_use=no
30048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30050 ac_cpp='$CPP $CPPFLAGS'
30051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30058 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30059 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30060 for ac_func in ceill floorl
30062 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30063 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30064 eval as_val=\$$as_ac_var
30065 if test "x$as_val" = x""yes; then :
30066 cat >>confdefs.h <<_ACEOF
30067 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30075 $as_echo_n "checking for _long double round functions... " >&6; }
30076 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
30077 $as_echo_n "(cached) " >&6
30082 ac_cpp='$CXXCPP $CPPFLAGS'
30083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30088 /* end confdefs.h. */
30093 _ceill (0); _floorl (0);
30098 if ac_fn_cxx_try_compile "$LINENO"; then :
30099 glibcxx_cv_func__long_double_round_use=yes
30101 glibcxx_cv_func__long_double_round_use=no
30103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30105 ac_cpp='$CPP $CPPFLAGS'
30106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
30113 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
30114 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
30115 for ac_func in _ceill _floorl
30117 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30118 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30119 eval as_val=\$$as_ac_var
30120 if test "x$as_val" = x""yes; then :
30121 cat >>confdefs.h <<_ACEOF
30122 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
30137 $as_echo_n "checking for isnanl declaration... " >&6; }
30138 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
30139 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
30140 $as_echo_n "(cached) " >&6
30145 ac_cpp='$CXXCPP $CPPFLAGS'
30146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30151 /* end confdefs.h. */
30153 #ifdef HAVE_IEEEFP_H
30154 #include <ieeefp.h>
30165 if ac_fn_cxx_try_compile "$LINENO"; then :
30166 glibcxx_cv_func_isnanl_use=yes
30168 glibcxx_cv_func_isnanl_use=no
30170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30172 ac_cpp='$CPP $CPPFLAGS'
30173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
30182 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
30184 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
30185 for ac_func in isnanl
30187 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
30188 if test "x$ac_cv_func_isnanl" = x""yes; then :
30189 cat >>confdefs.h <<_ACEOF
30190 #define HAVE_ISNANL 1
30198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
30199 $as_echo_n "checking for _isnanl declaration... " >&6; }
30200 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
30201 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
30202 $as_echo_n "(cached) " >&6
30207 ac_cpp='$CXXCPP $CPPFLAGS'
30208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30213 /* end confdefs.h. */
30215 #ifdef HAVE_IEEEFP_H
30216 #include <ieeefp.h>
30227 if ac_fn_cxx_try_compile "$LINENO"; then :
30228 glibcxx_cv_func__isnanl_use=yes
30230 glibcxx_cv_func__isnanl_use=no
30232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30234 ac_cpp='$CPP $CPPFLAGS'
30235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
30244 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
30246 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
30247 for ac_func in _isnanl
30249 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
30250 if test "x$ac_cv_func__isnanl" = x""yes; then :
30251 cat >>confdefs.h <<_ACEOF
30252 #define HAVE__ISNANL 1
30265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
30266 $as_echo_n "checking for isinfl declaration... " >&6; }
30267 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
30268 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
30269 $as_echo_n "(cached) " >&6
30274 ac_cpp='$CXXCPP $CPPFLAGS'
30275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30280 /* end confdefs.h. */
30282 #ifdef HAVE_IEEEFP_H
30283 #include <ieeefp.h>
30294 if ac_fn_cxx_try_compile "$LINENO"; then :
30295 glibcxx_cv_func_isinfl_use=yes
30297 glibcxx_cv_func_isinfl_use=no
30299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30301 ac_cpp='$CPP $CPPFLAGS'
30302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
30311 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
30313 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
30314 for ac_func in isinfl
30316 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
30317 if test "x$ac_cv_func_isinfl" = x""yes; then :
30318 cat >>confdefs.h <<_ACEOF
30319 #define HAVE_ISINFL 1
30327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
30328 $as_echo_n "checking for _isinfl declaration... " >&6; }
30329 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
30330 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
30331 $as_echo_n "(cached) " >&6
30336 ac_cpp='$CXXCPP $CPPFLAGS'
30337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30342 /* end confdefs.h. */
30344 #ifdef HAVE_IEEEFP_H
30345 #include <ieeefp.h>
30356 if ac_fn_cxx_try_compile "$LINENO"; then :
30357 glibcxx_cv_func__isinfl_use=yes
30359 glibcxx_cv_func__isinfl_use=no
30361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30363 ac_cpp='$CPP $CPPFLAGS'
30364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
30373 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
30375 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30376 for ac_func in _isinfl
30378 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
30379 if test "x$ac_cv_func__isinfl" = x""yes; then :
30380 cat >>confdefs.h <<_ACEOF
30381 #define HAVE__ISINFL 1
30394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
30395 $as_echo_n "checking for atan2l declaration... " >&6; }
30396 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30397 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
30398 $as_echo_n "(cached) " >&6
30403 ac_cpp='$CXXCPP $CPPFLAGS'
30404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30409 /* end confdefs.h. */
30419 if ac_fn_cxx_try_compile "$LINENO"; then :
30420 glibcxx_cv_func_atan2l_use=yes
30422 glibcxx_cv_func_atan2l_use=no
30424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30426 ac_cpp='$CPP $CPPFLAGS'
30427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
30436 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
30438 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30439 for ac_func in atan2l
30441 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
30442 if test "x$ac_cv_func_atan2l" = x""yes; then :
30443 cat >>confdefs.h <<_ACEOF
30444 #define HAVE_ATAN2L 1
30452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
30453 $as_echo_n "checking for _atan2l declaration... " >&6; }
30454 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
30455 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
30456 $as_echo_n "(cached) " >&6
30461 ac_cpp='$CXXCPP $CPPFLAGS'
30462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30467 /* end confdefs.h. */
30477 if ac_fn_cxx_try_compile "$LINENO"; then :
30478 glibcxx_cv_func__atan2l_use=yes
30480 glibcxx_cv_func__atan2l_use=no
30482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30484 ac_cpp='$CPP $CPPFLAGS'
30485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
30494 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
30496 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
30497 for ac_func in _atan2l
30499 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
30500 if test "x$ac_cv_func__atan2l" = x""yes; then :
30501 cat >>confdefs.h <<_ACEOF
30502 #define HAVE__ATAN2L 1
30515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
30516 $as_echo_n "checking for expl declaration... " >&6; }
30517 if test x${glibcxx_cv_func_expl_use+set} != xset; then
30518 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
30519 $as_echo_n "(cached) " >&6
30524 ac_cpp='$CXXCPP $CPPFLAGS'
30525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30530 /* end confdefs.h. */
30532 #ifdef HAVE_IEEEFP_H
30533 #include <ieeefp.h>
30544 if ac_fn_cxx_try_compile "$LINENO"; then :
30545 glibcxx_cv_func_expl_use=yes
30547 glibcxx_cv_func_expl_use=no
30549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30551 ac_cpp='$CPP $CPPFLAGS'
30552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
30561 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
30563 if test x$glibcxx_cv_func_expl_use = x"yes"; then
30564 for ac_func in expl
30566 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
30567 if test "x$ac_cv_func_expl" = x""yes; then :
30568 cat >>confdefs.h <<_ACEOF
30569 #define HAVE_EXPL 1
30577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
30578 $as_echo_n "checking for _expl declaration... " >&6; }
30579 if test x${glibcxx_cv_func__expl_use+set} != xset; then
30580 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
30581 $as_echo_n "(cached) " >&6
30586 ac_cpp='$CXXCPP $CPPFLAGS'
30587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30592 /* end confdefs.h. */
30594 #ifdef HAVE_IEEEFP_H
30595 #include <ieeefp.h>
30606 if ac_fn_cxx_try_compile "$LINENO"; then :
30607 glibcxx_cv_func__expl_use=yes
30609 glibcxx_cv_func__expl_use=no
30611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30613 ac_cpp='$CPP $CPPFLAGS'
30614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
30623 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
30625 if test x$glibcxx_cv_func__expl_use = x"yes"; then
30626 for ac_func in _expl
30628 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
30629 if test "x$ac_cv_func__expl" = x""yes; then :
30630 cat >>confdefs.h <<_ACEOF
30631 #define HAVE__EXPL 1
30644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
30645 $as_echo_n "checking for fabsl declaration... " >&6; }
30646 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
30647 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
30648 $as_echo_n "(cached) " >&6
30653 ac_cpp='$CXXCPP $CPPFLAGS'
30654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30659 /* end confdefs.h. */
30661 #ifdef HAVE_IEEEFP_H
30662 #include <ieeefp.h>
30673 if ac_fn_cxx_try_compile "$LINENO"; then :
30674 glibcxx_cv_func_fabsl_use=yes
30676 glibcxx_cv_func_fabsl_use=no
30678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30680 ac_cpp='$CPP $CPPFLAGS'
30681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
30690 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
30692 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
30693 for ac_func in fabsl
30695 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
30696 if test "x$ac_cv_func_fabsl" = x""yes; then :
30697 cat >>confdefs.h <<_ACEOF
30698 #define HAVE_FABSL 1
30706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
30707 $as_echo_n "checking for _fabsl declaration... " >&6; }
30708 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
30709 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
30710 $as_echo_n "(cached) " >&6
30715 ac_cpp='$CXXCPP $CPPFLAGS'
30716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30721 /* end confdefs.h. */
30723 #ifdef HAVE_IEEEFP_H
30724 #include <ieeefp.h>
30735 if ac_fn_cxx_try_compile "$LINENO"; then :
30736 glibcxx_cv_func__fabsl_use=yes
30738 glibcxx_cv_func__fabsl_use=no
30740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30742 ac_cpp='$CPP $CPPFLAGS'
30743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
30752 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
30754 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
30755 for ac_func in _fabsl
30757 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
30758 if test "x$ac_cv_func__fabsl" = x""yes; then :
30759 cat >>confdefs.h <<_ACEOF
30760 #define HAVE__FABSL 1
30773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
30774 $as_echo_n "checking for fmodl declaration... " >&6; }
30775 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
30776 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
30777 $as_echo_n "(cached) " >&6
30782 ac_cpp='$CXXCPP $CPPFLAGS'
30783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30788 /* end confdefs.h. */
30798 if ac_fn_cxx_try_compile "$LINENO"; then :
30799 glibcxx_cv_func_fmodl_use=yes
30801 glibcxx_cv_func_fmodl_use=no
30803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30805 ac_cpp='$CPP $CPPFLAGS'
30806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
30815 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
30817 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
30818 for ac_func in fmodl
30820 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
30821 if test "x$ac_cv_func_fmodl" = x""yes; then :
30822 cat >>confdefs.h <<_ACEOF
30823 #define HAVE_FMODL 1
30831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
30832 $as_echo_n "checking for _fmodl declaration... " >&6; }
30833 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
30834 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
30835 $as_echo_n "(cached) " >&6
30840 ac_cpp='$CXXCPP $CPPFLAGS'
30841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30846 /* end confdefs.h. */
30856 if ac_fn_cxx_try_compile "$LINENO"; then :
30857 glibcxx_cv_func__fmodl_use=yes
30859 glibcxx_cv_func__fmodl_use=no
30861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30863 ac_cpp='$CPP $CPPFLAGS'
30864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
30873 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
30875 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
30876 for ac_func in _fmodl
30878 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
30879 if test "x$ac_cv_func__fmodl" = x""yes; then :
30880 cat >>confdefs.h <<_ACEOF
30881 #define HAVE__FMODL 1
30894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
30895 $as_echo_n "checking for frexpl declaration... " >&6; }
30896 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
30897 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
30898 $as_echo_n "(cached) " >&6
30903 ac_cpp='$CXXCPP $CPPFLAGS'
30904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30909 /* end confdefs.h. */
30919 if ac_fn_cxx_try_compile "$LINENO"; then :
30920 glibcxx_cv_func_frexpl_use=yes
30922 glibcxx_cv_func_frexpl_use=no
30924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30926 ac_cpp='$CPP $CPPFLAGS'
30927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
30936 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
30938 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
30939 for ac_func in frexpl
30941 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
30942 if test "x$ac_cv_func_frexpl" = x""yes; then :
30943 cat >>confdefs.h <<_ACEOF
30944 #define HAVE_FREXPL 1
30952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
30953 $as_echo_n "checking for _frexpl declaration... " >&6; }
30954 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
30955 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
30956 $as_echo_n "(cached) " >&6
30961 ac_cpp='$CXXCPP $CPPFLAGS'
30962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30967 /* end confdefs.h. */
30977 if ac_fn_cxx_try_compile "$LINENO"; then :
30978 glibcxx_cv_func__frexpl_use=yes
30980 glibcxx_cv_func__frexpl_use=no
30982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30984 ac_cpp='$CPP $CPPFLAGS'
30985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
30994 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
30996 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
30997 for ac_func in _frexpl
30999 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31000 if test "x$ac_cv_func__frexpl" = x""yes; then :
31001 cat >>confdefs.h <<_ACEOF
31002 #define HAVE__FREXPL 1
31015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31016 $as_echo_n "checking for hypotl declaration... " >&6; }
31017 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31018 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31019 $as_echo_n "(cached) " >&6
31024 ac_cpp='$CXXCPP $CPPFLAGS'
31025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31030 /* end confdefs.h. */
31040 if ac_fn_cxx_try_compile "$LINENO"; then :
31041 glibcxx_cv_func_hypotl_use=yes
31043 glibcxx_cv_func_hypotl_use=no
31045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31047 ac_cpp='$CPP $CPPFLAGS'
31048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31057 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31059 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31060 for ac_func in hypotl
31062 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31063 if test "x$ac_cv_func_hypotl" = x""yes; then :
31064 cat >>confdefs.h <<_ACEOF
31065 #define HAVE_HYPOTL 1
31073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31074 $as_echo_n "checking for _hypotl declaration... " >&6; }
31075 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31076 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
31077 $as_echo_n "(cached) " >&6
31082 ac_cpp='$CXXCPP $CPPFLAGS'
31083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31088 /* end confdefs.h. */
31098 if ac_fn_cxx_try_compile "$LINENO"; then :
31099 glibcxx_cv_func__hypotl_use=yes
31101 glibcxx_cv_func__hypotl_use=no
31103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31105 ac_cpp='$CPP $CPPFLAGS'
31106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
31115 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
31117 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
31118 for ac_func in _hypotl
31120 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
31121 if test "x$ac_cv_func__hypotl" = x""yes; then :
31122 cat >>confdefs.h <<_ACEOF
31123 #define HAVE__HYPOTL 1
31136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
31137 $as_echo_n "checking for ldexpl declaration... " >&6; }
31138 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
31139 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
31140 $as_echo_n "(cached) " >&6
31145 ac_cpp='$CXXCPP $CPPFLAGS'
31146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31151 /* end confdefs.h. */
31161 if ac_fn_cxx_try_compile "$LINENO"; then :
31162 glibcxx_cv_func_ldexpl_use=yes
31164 glibcxx_cv_func_ldexpl_use=no
31166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31168 ac_cpp='$CPP $CPPFLAGS'
31169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
31178 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
31180 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
31181 for ac_func in ldexpl
31183 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
31184 if test "x$ac_cv_func_ldexpl" = x""yes; then :
31185 cat >>confdefs.h <<_ACEOF
31186 #define HAVE_LDEXPL 1
31194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
31195 $as_echo_n "checking for _ldexpl declaration... " >&6; }
31196 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
31197 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
31198 $as_echo_n "(cached) " >&6
31203 ac_cpp='$CXXCPP $CPPFLAGS'
31204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31209 /* end confdefs.h. */
31219 if ac_fn_cxx_try_compile "$LINENO"; then :
31220 glibcxx_cv_func__ldexpl_use=yes
31222 glibcxx_cv_func__ldexpl_use=no
31224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31226 ac_cpp='$CPP $CPPFLAGS'
31227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
31236 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
31238 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
31239 for ac_func in _ldexpl
31241 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
31242 if test "x$ac_cv_func__ldexpl" = x""yes; then :
31243 cat >>confdefs.h <<_ACEOF
31244 #define HAVE__LDEXPL 1
31257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
31258 $as_echo_n "checking for logl declaration... " >&6; }
31259 if test x${glibcxx_cv_func_logl_use+set} != xset; then
31260 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
31261 $as_echo_n "(cached) " >&6
31266 ac_cpp='$CXXCPP $CPPFLAGS'
31267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31272 /* end confdefs.h. */
31274 #ifdef HAVE_IEEEFP_H
31275 #include <ieeefp.h>
31286 if ac_fn_cxx_try_compile "$LINENO"; then :
31287 glibcxx_cv_func_logl_use=yes
31289 glibcxx_cv_func_logl_use=no
31291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31293 ac_cpp='$CPP $CPPFLAGS'
31294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
31303 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
31305 if test x$glibcxx_cv_func_logl_use = x"yes"; then
31306 for ac_func in logl
31308 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
31309 if test "x$ac_cv_func_logl" = x""yes; then :
31310 cat >>confdefs.h <<_ACEOF
31311 #define HAVE_LOGL 1
31319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
31320 $as_echo_n "checking for _logl declaration... " >&6; }
31321 if test x${glibcxx_cv_func__logl_use+set} != xset; then
31322 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
31323 $as_echo_n "(cached) " >&6
31328 ac_cpp='$CXXCPP $CPPFLAGS'
31329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31334 /* end confdefs.h. */
31336 #ifdef HAVE_IEEEFP_H
31337 #include <ieeefp.h>
31348 if ac_fn_cxx_try_compile "$LINENO"; then :
31349 glibcxx_cv_func__logl_use=yes
31351 glibcxx_cv_func__logl_use=no
31353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31355 ac_cpp='$CPP $CPPFLAGS'
31356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
31365 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
31367 if test x$glibcxx_cv_func__logl_use = x"yes"; then
31368 for ac_func in _logl
31370 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
31371 if test "x$ac_cv_func__logl" = x""yes; then :
31372 cat >>confdefs.h <<_ACEOF
31373 #define HAVE__LOGL 1
31386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
31387 $as_echo_n "checking for log10l declaration... " >&6; }
31388 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
31389 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
31390 $as_echo_n "(cached) " >&6
31395 ac_cpp='$CXXCPP $CPPFLAGS'
31396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31401 /* end confdefs.h. */
31403 #ifdef HAVE_IEEEFP_H
31404 #include <ieeefp.h>
31415 if ac_fn_cxx_try_compile "$LINENO"; then :
31416 glibcxx_cv_func_log10l_use=yes
31418 glibcxx_cv_func_log10l_use=no
31420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31422 ac_cpp='$CPP $CPPFLAGS'
31423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
31432 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
31434 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
31435 for ac_func in log10l
31437 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
31438 if test "x$ac_cv_func_log10l" = x""yes; then :
31439 cat >>confdefs.h <<_ACEOF
31440 #define HAVE_LOG10L 1
31448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
31449 $as_echo_n "checking for _log10l declaration... " >&6; }
31450 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
31451 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
31452 $as_echo_n "(cached) " >&6
31457 ac_cpp='$CXXCPP $CPPFLAGS'
31458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31463 /* end confdefs.h. */
31465 #ifdef HAVE_IEEEFP_H
31466 #include <ieeefp.h>
31477 if ac_fn_cxx_try_compile "$LINENO"; then :
31478 glibcxx_cv_func__log10l_use=yes
31480 glibcxx_cv_func__log10l_use=no
31482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31484 ac_cpp='$CPP $CPPFLAGS'
31485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
31494 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
31496 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
31497 for ac_func in _log10l
31499 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
31500 if test "x$ac_cv_func__log10l" = x""yes; then :
31501 cat >>confdefs.h <<_ACEOF
31502 #define HAVE__LOG10L 1
31515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
31516 $as_echo_n "checking for modfl declaration... " >&6; }
31517 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
31518 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
31519 $as_echo_n "(cached) " >&6
31524 ac_cpp='$CXXCPP $CPPFLAGS'
31525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31530 /* end confdefs.h. */
31540 if ac_fn_cxx_try_compile "$LINENO"; then :
31541 glibcxx_cv_func_modfl_use=yes
31543 glibcxx_cv_func_modfl_use=no
31545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31547 ac_cpp='$CPP $CPPFLAGS'
31548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
31557 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
31559 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
31560 for ac_func in modfl
31562 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
31563 if test "x$ac_cv_func_modfl" = x""yes; then :
31564 cat >>confdefs.h <<_ACEOF
31565 #define HAVE_MODFL 1
31573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
31574 $as_echo_n "checking for _modfl declaration... " >&6; }
31575 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
31576 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
31577 $as_echo_n "(cached) " >&6
31582 ac_cpp='$CXXCPP $CPPFLAGS'
31583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31588 /* end confdefs.h. */
31598 if ac_fn_cxx_try_compile "$LINENO"; then :
31599 glibcxx_cv_func__modfl_use=yes
31601 glibcxx_cv_func__modfl_use=no
31603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31605 ac_cpp='$CPP $CPPFLAGS'
31606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
31615 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
31617 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
31618 for ac_func in _modfl
31620 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
31621 if test "x$ac_cv_func__modfl" = x""yes; then :
31622 cat >>confdefs.h <<_ACEOF
31623 #define HAVE__MODFL 1
31636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
31637 $as_echo_n "checking for powl declaration... " >&6; }
31638 if test x${glibcxx_cv_func_powl_use+set} != xset; then
31639 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
31640 $as_echo_n "(cached) " >&6
31645 ac_cpp='$CXXCPP $CPPFLAGS'
31646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31651 /* end confdefs.h. */
31661 if ac_fn_cxx_try_compile "$LINENO"; then :
31662 glibcxx_cv_func_powl_use=yes
31664 glibcxx_cv_func_powl_use=no
31666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31668 ac_cpp='$CPP $CPPFLAGS'
31669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
31678 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
31680 if test x$glibcxx_cv_func_powl_use = x"yes"; then
31681 for ac_func in powl
31683 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
31684 if test "x$ac_cv_func_powl" = x""yes; then :
31685 cat >>confdefs.h <<_ACEOF
31686 #define HAVE_POWL 1
31694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
31695 $as_echo_n "checking for _powl declaration... " >&6; }
31696 if test x${glibcxx_cv_func__powl_use+set} != xset; then
31697 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
31698 $as_echo_n "(cached) " >&6
31703 ac_cpp='$CXXCPP $CPPFLAGS'
31704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31709 /* end confdefs.h. */
31719 if ac_fn_cxx_try_compile "$LINENO"; then :
31720 glibcxx_cv_func__powl_use=yes
31722 glibcxx_cv_func__powl_use=no
31724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31726 ac_cpp='$CPP $CPPFLAGS'
31727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
31736 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
31738 if test x$glibcxx_cv_func__powl_use = x"yes"; then
31739 for ac_func in _powl
31741 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
31742 if test "x$ac_cv_func__powl" = x""yes; then :
31743 cat >>confdefs.h <<_ACEOF
31744 #define HAVE__POWL 1
31757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
31758 $as_echo_n "checking for sqrtl declaration... " >&6; }
31759 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
31760 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
31761 $as_echo_n "(cached) " >&6
31766 ac_cpp='$CXXCPP $CPPFLAGS'
31767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31772 /* end confdefs.h. */
31774 #ifdef HAVE_IEEEFP_H
31775 #include <ieeefp.h>
31786 if ac_fn_cxx_try_compile "$LINENO"; then :
31787 glibcxx_cv_func_sqrtl_use=yes
31789 glibcxx_cv_func_sqrtl_use=no
31791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31793 ac_cpp='$CPP $CPPFLAGS'
31794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
31803 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
31805 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
31806 for ac_func in sqrtl
31808 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
31809 if test "x$ac_cv_func_sqrtl" = x""yes; then :
31810 cat >>confdefs.h <<_ACEOF
31811 #define HAVE_SQRTL 1
31819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
31820 $as_echo_n "checking for _sqrtl declaration... " >&6; }
31821 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
31822 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
31823 $as_echo_n "(cached) " >&6
31828 ac_cpp='$CXXCPP $CPPFLAGS'
31829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31834 /* end confdefs.h. */
31836 #ifdef HAVE_IEEEFP_H
31837 #include <ieeefp.h>
31848 if ac_fn_cxx_try_compile "$LINENO"; then :
31849 glibcxx_cv_func__sqrtl_use=yes
31851 glibcxx_cv_func__sqrtl_use=no
31853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31855 ac_cpp='$CPP $CPPFLAGS'
31856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
31865 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
31867 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
31868 for ac_func in _sqrtl
31870 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
31871 if test "x$ac_cv_func__sqrtl" = x""yes; then :
31872 cat >>confdefs.h <<_ACEOF
31873 #define HAVE__SQRTL 1
31886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
31887 $as_echo_n "checking for sincosl declaration... " >&6; }
31888 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
31889 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
31890 $as_echo_n "(cached) " >&6
31895 ac_cpp='$CXXCPP $CPPFLAGS'
31896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31901 /* end confdefs.h. */
31911 if ac_fn_cxx_try_compile "$LINENO"; then :
31912 glibcxx_cv_func_sincosl_use=yes
31914 glibcxx_cv_func_sincosl_use=no
31916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31918 ac_cpp='$CPP $CPPFLAGS'
31919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
31928 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
31930 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
31931 for ac_func in sincosl
31933 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
31934 if test "x$ac_cv_func_sincosl" = x""yes; then :
31935 cat >>confdefs.h <<_ACEOF
31936 #define HAVE_SINCOSL 1
31944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
31945 $as_echo_n "checking for _sincosl declaration... " >&6; }
31946 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
31947 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
31948 $as_echo_n "(cached) " >&6
31953 ac_cpp='$CXXCPP $CPPFLAGS'
31954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31959 /* end confdefs.h. */
31969 if ac_fn_cxx_try_compile "$LINENO"; then :
31970 glibcxx_cv_func__sincosl_use=yes
31972 glibcxx_cv_func__sincosl_use=no
31974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31976 ac_cpp='$CPP $CPPFLAGS'
31977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
31986 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
31988 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
31989 for ac_func in _sincosl
31991 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
31992 if test "x$ac_cv_func__sincosl" = x""yes; then :
31993 cat >>confdefs.h <<_ACEOF
31994 #define HAVE__SINCOSL 1
32007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32008 $as_echo_n "checking for finitel declaration... " >&6; }
32009 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32010 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32011 $as_echo_n "(cached) " >&6
32016 ac_cpp='$CXXCPP $CPPFLAGS'
32017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32022 /* end confdefs.h. */
32024 #ifdef HAVE_IEEEFP_H
32025 #include <ieeefp.h>
32036 if ac_fn_cxx_try_compile "$LINENO"; then :
32037 glibcxx_cv_func_finitel_use=yes
32039 glibcxx_cv_func_finitel_use=no
32041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32043 ac_cpp='$CPP $CPPFLAGS'
32044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32053 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32055 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32056 for ac_func in finitel
32058 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32059 if test "x$ac_cv_func_finitel" = x""yes; then :
32060 cat >>confdefs.h <<_ACEOF
32061 #define HAVE_FINITEL 1
32069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32070 $as_echo_n "checking for _finitel declaration... " >&6; }
32071 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32072 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32073 $as_echo_n "(cached) " >&6
32078 ac_cpp='$CXXCPP $CPPFLAGS'
32079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32084 /* end confdefs.h. */
32086 #ifdef HAVE_IEEEFP_H
32087 #include <ieeefp.h>
32098 if ac_fn_cxx_try_compile "$LINENO"; then :
32099 glibcxx_cv_func__finitel_use=yes
32101 glibcxx_cv_func__finitel_use=no
32103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32105 ac_cpp='$CPP $CPPFLAGS'
32106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
32115 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
32117 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
32118 for ac_func in _finitel
32120 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
32121 if test "x$ac_cv_func__finitel" = x""yes; then :
32122 cat >>confdefs.h <<_ACEOF
32123 #define HAVE__FINITEL 1
32135 LIBS="$ac_save_LIBS"
32136 CXXFLAGS="$ac_save_CXXFLAGS"
32139 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32140 ac_save_CXXFLAGS="$CXXFLAGS"
32141 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
32145 $as_echo_n "checking for strtold declaration... " >&6; }
32146 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
32147 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
32148 $as_echo_n "(cached) " >&6
32153 ac_cpp='$CXXCPP $CPPFLAGS'
32154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32159 /* end confdefs.h. */
32160 #include <stdlib.h>
32169 if ac_fn_cxx_try_compile "$LINENO"; then :
32170 glibcxx_cv_func_strtold_use=yes
32172 glibcxx_cv_func_strtold_use=no
32174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32176 ac_cpp='$CPP $CPPFLAGS'
32177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
32186 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
32187 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
32188 for ac_func in strtold
32190 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
32191 if test "x$ac_cv_func_strtold" = x""yes; then :
32192 cat >>confdefs.h <<_ACEOF
32193 #define HAVE_STRTOLD 1
32204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
32205 $as_echo_n "checking for strtof declaration... " >&6; }
32206 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
32207 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
32208 $as_echo_n "(cached) " >&6
32213 ac_cpp='$CXXCPP $CPPFLAGS'
32214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32219 /* end confdefs.h. */
32220 #include <stdlib.h>
32229 if ac_fn_cxx_try_compile "$LINENO"; then :
32230 glibcxx_cv_func_strtof_use=yes
32232 glibcxx_cv_func_strtof_use=no
32234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32236 ac_cpp='$CPP $CPPFLAGS'
32237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
32246 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
32247 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
32248 for ac_func in strtof
32250 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
32251 if test "x$ac_cv_func_strtof" = x""yes; then :
32252 cat >>confdefs.h <<_ACEOF
32253 #define HAVE_STRTOF 1
32264 CXXFLAGS="$ac_save_CXXFLAGS"
32267 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
32269 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
32271 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
32273 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
32276 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
32278 $as_echo "#define HAVE_MODF 1" >>confdefs.h
32280 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
32286 # If we're not using GNU ld, then there's no point in even trying these
32287 # tests. Check for that first. We should have already tested for gld
32288 # by now (in libtool), but require it now just to be safe...
32289 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
32290 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
32294 # The name set by libtool depends on the version of libtool. Shame on us
32295 # for depending on an impl detail, but c'est la vie. Older versions used
32296 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
32297 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
32298 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
32299 # set (hence we're using an older libtool), then set it.
32300 if test x${with_gnu_ld+set} != xset; then
32301 if test x${ac_cv_prog_gnu_ld+set} != xset; then
32302 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
32305 with_gnu_ld=$ac_cv_prog_gnu_ld
32309 # Start by getting the version number. I think the libtool test already
32310 # does some of this, but throws away the result.
32311 glibcxx_ld_is_gold=no
32312 if test x"$with_gnu_ld" = x"yes"; then
32313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
32314 $as_echo_n "checking for ld version... " >&6; }
32316 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
32317 glibcxx_ld_is_gold=yes
32319 ldver=`$LD --version 2>/dev/null |
32320 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'`
32322 glibcxx_gnu_ld_version=`echo $ldver | \
32323 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
32324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
32325 $as_echo "$glibcxx_gnu_ld_version" >&6; }
32328 # Set --gc-sections.
32329 glibcxx_have_gc_sections=no
32330 if test "$glibcxx_ld_is_gold" = "yes"; then
32331 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
32332 glibcxx_have_gc_sections=yes
32335 glibcxx_gcsections_min_ld=21602
32336 if test x"$with_gnu_ld" = x"yes" &&
32337 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
32338 glibcxx_have_gc_sections=yes
32341 if test "$glibcxx_have_gc_sections" = "yes"; then
32342 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
32343 # NB: This flag only works reliably after 2.16.1. Configure tests
32344 # for this are difficult, so hard wire a value that should work.
32346 ac_test_CFLAGS="${CFLAGS+set}"
32347 ac_save_CFLAGS="$CFLAGS"
32348 CFLAGS='-Wl,--gc-sections'
32350 # Check for -Wl,--gc-sections
32351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
32352 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
32353 if test x$gcc_no_link = xyes; then
32354 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32357 /* end confdefs.h. */
32358 int one(void) { return 1; }
32359 int two(void) { return 2; }
32369 if ac_fn_c_try_link "$LINENO"; then :
32374 rm -f core conftest.err conftest.$ac_objext \
32375 conftest$ac_exeext conftest.$ac_ext
32376 if test "$ac_gcsections" = "yes"; then
32379 if $CC -c conftest.c; then
32380 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
32381 grep "Warning: gc-sections option ignored" > /dev/null; then
32385 rm -f conftest.c conftest.o conftest
32387 if test "$ac_gcsections" = "yes"; then
32388 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
32390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
32391 $as_echo "$ac_gcsections" >&6; }
32393 if test "$ac_test_CFLAGS" = set; then
32394 CFLAGS="$ac_save_CFLAGS"
32396 # this is the suspicious part
32402 # Note this is only for shared objects.
32404 if test x"$with_gnu_ld" = x"yes"; then
32405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
32406 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
32407 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
32408 if test -n "$cxx_z_relo"; then
32409 OPT_LDFLAGS="-Wl,-z,relro"
32412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
32413 $as_echo "$ac_ld_relro" >&6; }
32416 # Set linker optimization flags.
32417 if test x"$with_gnu_ld" = x"yes"; then
32418 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
32425 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32426 ac_save_CXXFLAGS="$CXXFLAGS"
32427 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
32430 $as_echo_n "checking for sin in -lm... " >&6; }
32431 if test "${ac_cv_lib_m_sin+set}" = set; then :
32432 $as_echo_n "(cached) " >&6
32434 ac_check_lib_save_LIBS=$LIBS
32436 if test x$gcc_no_link = xyes; then
32437 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32440 /* end confdefs.h. */
32442 /* Override any GCC internal prototype to avoid an error.
32443 Use char because int might match the return type of a GCC
32444 builtin and then its argument prototype would still apply. */
32457 if ac_fn_c_try_link "$LINENO"; then :
32458 ac_cv_lib_m_sin=yes
32462 rm -f core conftest.err conftest.$ac_objext \
32463 conftest$ac_exeext conftest.$ac_ext
32464 LIBS=$ac_check_lib_save_LIBS
32466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
32467 $as_echo "$ac_cv_lib_m_sin" >&6; }
32468 if test "x$ac_cv_lib_m_sin" = x""yes; then :
32472 ac_save_LIBS="$LIBS"
32477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
32478 $as_echo_n "checking for isinf declaration... " >&6; }
32479 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
32480 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
32481 $as_echo_n "(cached) " >&6
32486 ac_cpp='$CXXCPP $CPPFLAGS'
32487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32492 /* end confdefs.h. */
32494 #ifdef HAVE_IEEEFP_H
32495 #include <ieeefp.h>
32506 if ac_fn_cxx_try_compile "$LINENO"; then :
32507 glibcxx_cv_func_isinf_use=yes
32509 glibcxx_cv_func_isinf_use=no
32511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32513 ac_cpp='$CPP $CPPFLAGS'
32514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
32523 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
32525 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
32526 for ac_func in isinf
32528 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
32529 if test "x$ac_cv_func_isinf" = x""yes; then :
32530 cat >>confdefs.h <<_ACEOF
32531 #define HAVE_ISINF 1
32539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
32540 $as_echo_n "checking for _isinf declaration... " >&6; }
32541 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
32542 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
32543 $as_echo_n "(cached) " >&6
32548 ac_cpp='$CXXCPP $CPPFLAGS'
32549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32554 /* end confdefs.h. */
32556 #ifdef HAVE_IEEEFP_H
32557 #include <ieeefp.h>
32568 if ac_fn_cxx_try_compile "$LINENO"; then :
32569 glibcxx_cv_func__isinf_use=yes
32571 glibcxx_cv_func__isinf_use=no
32573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32575 ac_cpp='$CPP $CPPFLAGS'
32576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
32585 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
32587 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
32588 for ac_func in _isinf
32590 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
32591 if test "x$ac_cv_func__isinf" = x""yes; then :
32592 cat >>confdefs.h <<_ACEOF
32593 #define HAVE__ISINF 1
32606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
32607 $as_echo_n "checking for isnan declaration... " >&6; }
32608 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
32609 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
32610 $as_echo_n "(cached) " >&6
32615 ac_cpp='$CXXCPP $CPPFLAGS'
32616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32621 /* end confdefs.h. */
32623 #ifdef HAVE_IEEEFP_H
32624 #include <ieeefp.h>
32635 if ac_fn_cxx_try_compile "$LINENO"; then :
32636 glibcxx_cv_func_isnan_use=yes
32638 glibcxx_cv_func_isnan_use=no
32640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32642 ac_cpp='$CPP $CPPFLAGS'
32643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
32652 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
32654 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
32655 for ac_func in isnan
32657 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
32658 if test "x$ac_cv_func_isnan" = x""yes; then :
32659 cat >>confdefs.h <<_ACEOF
32660 #define HAVE_ISNAN 1
32668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
32669 $as_echo_n "checking for _isnan declaration... " >&6; }
32670 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
32671 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
32672 $as_echo_n "(cached) " >&6
32677 ac_cpp='$CXXCPP $CPPFLAGS'
32678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32683 /* end confdefs.h. */
32685 #ifdef HAVE_IEEEFP_H
32686 #include <ieeefp.h>
32697 if ac_fn_cxx_try_compile "$LINENO"; then :
32698 glibcxx_cv_func__isnan_use=yes
32700 glibcxx_cv_func__isnan_use=no
32702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32704 ac_cpp='$CPP $CPPFLAGS'
32705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
32714 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
32716 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
32717 for ac_func in _isnan
32719 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
32720 if test "x$ac_cv_func__isnan" = x""yes; then :
32721 cat >>confdefs.h <<_ACEOF
32722 #define HAVE__ISNAN 1
32735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
32736 $as_echo_n "checking for finite declaration... " >&6; }
32737 if test x${glibcxx_cv_func_finite_use+set} != xset; then
32738 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
32739 $as_echo_n "(cached) " >&6
32744 ac_cpp='$CXXCPP $CPPFLAGS'
32745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32750 /* end confdefs.h. */
32752 #ifdef HAVE_IEEEFP_H
32753 #include <ieeefp.h>
32764 if ac_fn_cxx_try_compile "$LINENO"; then :
32765 glibcxx_cv_func_finite_use=yes
32767 glibcxx_cv_func_finite_use=no
32769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32771 ac_cpp='$CPP $CPPFLAGS'
32772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
32781 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
32783 if test x$glibcxx_cv_func_finite_use = x"yes"; then
32784 for ac_func in finite
32786 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
32787 if test "x$ac_cv_func_finite" = x""yes; then :
32788 cat >>confdefs.h <<_ACEOF
32789 #define HAVE_FINITE 1
32797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
32798 $as_echo_n "checking for _finite declaration... " >&6; }
32799 if test x${glibcxx_cv_func__finite_use+set} != xset; then
32800 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
32801 $as_echo_n "(cached) " >&6
32806 ac_cpp='$CXXCPP $CPPFLAGS'
32807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32812 /* end confdefs.h. */
32814 #ifdef HAVE_IEEEFP_H
32815 #include <ieeefp.h>
32826 if ac_fn_cxx_try_compile "$LINENO"; then :
32827 glibcxx_cv_func__finite_use=yes
32829 glibcxx_cv_func__finite_use=no
32831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32833 ac_cpp='$CPP $CPPFLAGS'
32834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
32843 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
32845 if test x$glibcxx_cv_func__finite_use = x"yes"; then
32846 for ac_func in _finite
32848 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
32849 if test "x$ac_cv_func__finite" = x""yes; then :
32850 cat >>confdefs.h <<_ACEOF
32851 #define HAVE__FINITE 1
32864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
32865 $as_echo_n "checking for sincos declaration... " >&6; }
32866 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32867 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
32868 $as_echo_n "(cached) " >&6
32873 ac_cpp='$CXXCPP $CPPFLAGS'
32874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32879 /* end confdefs.h. */
32889 if ac_fn_cxx_try_compile "$LINENO"; then :
32890 glibcxx_cv_func_sincos_use=yes
32892 glibcxx_cv_func_sincos_use=no
32894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32896 ac_cpp='$CPP $CPPFLAGS'
32897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
32906 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
32908 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
32909 for ac_func in sincos
32911 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
32912 if test "x$ac_cv_func_sincos" = x""yes; then :
32913 cat >>confdefs.h <<_ACEOF
32914 #define HAVE_SINCOS 1
32922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
32923 $as_echo_n "checking for _sincos declaration... " >&6; }
32924 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
32925 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
32926 $as_echo_n "(cached) " >&6
32931 ac_cpp='$CXXCPP $CPPFLAGS'
32932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32937 /* end confdefs.h. */
32947 if ac_fn_cxx_try_compile "$LINENO"; then :
32948 glibcxx_cv_func__sincos_use=yes
32950 glibcxx_cv_func__sincos_use=no
32952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32954 ac_cpp='$CPP $CPPFLAGS'
32955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
32964 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
32966 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
32967 for ac_func in _sincos
32969 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
32970 if test "x$ac_cv_func__sincos" = x""yes; then :
32971 cat >>confdefs.h <<_ACEOF
32972 #define HAVE__SINCOS 1
32985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
32986 $as_echo_n "checking for fpclass declaration... " >&6; }
32987 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
32988 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
32989 $as_echo_n "(cached) " >&6
32994 ac_cpp='$CXXCPP $CPPFLAGS'
32995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33000 /* end confdefs.h. */
33002 #ifdef HAVE_IEEEFP_H
33003 #include <ieeefp.h>
33014 if ac_fn_cxx_try_compile "$LINENO"; then :
33015 glibcxx_cv_func_fpclass_use=yes
33017 glibcxx_cv_func_fpclass_use=no
33019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33021 ac_cpp='$CPP $CPPFLAGS'
33022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33031 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33033 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33034 for ac_func in fpclass
33036 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33037 if test "x$ac_cv_func_fpclass" = x""yes; then :
33038 cat >>confdefs.h <<_ACEOF
33039 #define HAVE_FPCLASS 1
33047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33048 $as_echo_n "checking for _fpclass declaration... " >&6; }
33049 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33050 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33051 $as_echo_n "(cached) " >&6
33056 ac_cpp='$CXXCPP $CPPFLAGS'
33057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33062 /* end confdefs.h. */
33064 #ifdef HAVE_IEEEFP_H
33065 #include <ieeefp.h>
33076 if ac_fn_cxx_try_compile "$LINENO"; then :
33077 glibcxx_cv_func__fpclass_use=yes
33079 glibcxx_cv_func__fpclass_use=no
33081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33083 ac_cpp='$CPP $CPPFLAGS'
33084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33093 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33095 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33096 for ac_func in _fpclass
33098 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
33099 if test "x$ac_cv_func__fpclass" = x""yes; then :
33100 cat >>confdefs.h <<_ACEOF
33101 #define HAVE__FPCLASS 1
33114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
33115 $as_echo_n "checking for qfpclass declaration... " >&6; }
33116 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33117 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
33118 $as_echo_n "(cached) " >&6
33123 ac_cpp='$CXXCPP $CPPFLAGS'
33124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33129 /* end confdefs.h. */
33131 #ifdef HAVE_IEEEFP_H
33132 #include <ieeefp.h>
33143 if ac_fn_cxx_try_compile "$LINENO"; then :
33144 glibcxx_cv_func_qfpclass_use=yes
33146 glibcxx_cv_func_qfpclass_use=no
33148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33150 ac_cpp='$CPP $CPPFLAGS'
33151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
33160 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
33162 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33163 for ac_func in qfpclass
33165 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
33166 if test "x$ac_cv_func_qfpclass" = x""yes; then :
33167 cat >>confdefs.h <<_ACEOF
33168 #define HAVE_QFPCLASS 1
33176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
33177 $as_echo_n "checking for _qfpclass declaration... " >&6; }
33178 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33179 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
33180 $as_echo_n "(cached) " >&6
33185 ac_cpp='$CXXCPP $CPPFLAGS'
33186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33191 /* end confdefs.h. */
33193 #ifdef HAVE_IEEEFP_H
33194 #include <ieeefp.h>
33205 if ac_fn_cxx_try_compile "$LINENO"; then :
33206 glibcxx_cv_func__qfpclass_use=yes
33208 glibcxx_cv_func__qfpclass_use=no
33210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33212 ac_cpp='$CPP $CPPFLAGS'
33213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
33222 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
33224 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33225 for ac_func in _qfpclass
33227 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
33228 if test "x$ac_cv_func__qfpclass" = x""yes; then :
33229 cat >>confdefs.h <<_ACEOF
33230 #define HAVE__QFPCLASS 1
33243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
33244 $as_echo_n "checking for hypot declaration... " >&6; }
33245 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33246 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
33247 $as_echo_n "(cached) " >&6
33252 ac_cpp='$CXXCPP $CPPFLAGS'
33253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33258 /* end confdefs.h. */
33268 if ac_fn_cxx_try_compile "$LINENO"; then :
33269 glibcxx_cv_func_hypot_use=yes
33271 glibcxx_cv_func_hypot_use=no
33273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33275 ac_cpp='$CPP $CPPFLAGS'
33276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
33285 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
33287 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33288 for ac_func in hypot
33290 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
33291 if test "x$ac_cv_func_hypot" = x""yes; then :
33292 cat >>confdefs.h <<_ACEOF
33293 #define HAVE_HYPOT 1
33301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
33302 $as_echo_n "checking for _hypot declaration... " >&6; }
33303 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
33304 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
33305 $as_echo_n "(cached) " >&6
33310 ac_cpp='$CXXCPP $CPPFLAGS'
33311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33316 /* end confdefs.h. */
33326 if ac_fn_cxx_try_compile "$LINENO"; then :
33327 glibcxx_cv_func__hypot_use=yes
33329 glibcxx_cv_func__hypot_use=no
33331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33333 ac_cpp='$CPP $CPPFLAGS'
33334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
33343 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
33345 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
33346 for ac_func in _hypot
33348 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
33349 if test "x$ac_cv_func__hypot" = x""yes; then :
33350 cat >>confdefs.h <<_ACEOF
33351 #define HAVE__HYPOT 1
33364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
33365 $as_echo_n "checking for float trig functions... " >&6; }
33366 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
33367 $as_echo_n "(cached) " >&6
33372 ac_cpp='$CXXCPP $CPPFLAGS'
33373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33378 /* end confdefs.h. */
33383 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
33388 if ac_fn_cxx_try_compile "$LINENO"; then :
33389 glibcxx_cv_func_float_trig_use=yes
33391 glibcxx_cv_func_float_trig_use=no
33393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33395 ac_cpp='$CPP $CPPFLAGS'
33396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
33403 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
33404 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
33405 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
33407 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33408 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33409 eval as_val=\$$as_ac_var
33410 if test "x$as_val" = x""yes; then :
33411 cat >>confdefs.h <<_ACEOF
33412 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
33420 $as_echo_n "checking for _float trig functions... " >&6; }
33421 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
33422 $as_echo_n "(cached) " >&6
33427 ac_cpp='$CXXCPP $CPPFLAGS'
33428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33433 /* end confdefs.h. */
33438 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
33443 if ac_fn_cxx_try_compile "$LINENO"; then :
33444 glibcxx_cv_func__float_trig_use=yes
33446 glibcxx_cv_func__float_trig_use=no
33448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33450 ac_cpp='$CPP $CPPFLAGS'
33451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
33458 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
33459 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
33460 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
33462 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33463 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33464 eval as_val=\$$as_ac_var
33465 if test "x$as_val" = x""yes; then :
33466 cat >>confdefs.h <<_ACEOF
33467 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
33481 $as_echo_n "checking for float round functions... " >&6; }
33482 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
33483 $as_echo_n "(cached) " >&6
33488 ac_cpp='$CXXCPP $CPPFLAGS'
33489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33494 /* end confdefs.h. */
33499 ceilf (0); floorf (0);
33504 if ac_fn_cxx_try_compile "$LINENO"; then :
33505 glibcxx_cv_func_float_round_use=yes
33507 glibcxx_cv_func_float_round_use=no
33509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33511 ac_cpp='$CPP $CPPFLAGS'
33512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
33519 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
33520 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
33521 for ac_func in ceilf floorf
33523 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33524 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33525 eval as_val=\$$as_ac_var
33526 if test "x$as_val" = x""yes; then :
33527 cat >>confdefs.h <<_ACEOF
33528 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
33536 $as_echo_n "checking for _float round functions... " >&6; }
33537 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
33538 $as_echo_n "(cached) " >&6
33543 ac_cpp='$CXXCPP $CPPFLAGS'
33544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33549 /* end confdefs.h. */
33554 _ceilf (0); _floorf (0);
33559 if ac_fn_cxx_try_compile "$LINENO"; then :
33560 glibcxx_cv_func__float_round_use=yes
33562 glibcxx_cv_func__float_round_use=no
33564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33566 ac_cpp='$CPP $CPPFLAGS'
33567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
33574 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
33575 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
33576 for ac_func in _ceilf _floorf
33578 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33579 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33580 eval as_val=\$$as_ac_var
33581 if test "x$as_val" = x""yes; then :
33582 cat >>confdefs.h <<_ACEOF
33583 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
33598 $as_echo_n "checking for expf declaration... " >&6; }
33599 if test x${glibcxx_cv_func_expf_use+set} != xset; then
33600 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
33601 $as_echo_n "(cached) " >&6
33606 ac_cpp='$CXXCPP $CPPFLAGS'
33607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33612 /* end confdefs.h. */
33614 #ifdef HAVE_IEEEFP_H
33615 #include <ieeefp.h>
33626 if ac_fn_cxx_try_compile "$LINENO"; then :
33627 glibcxx_cv_func_expf_use=yes
33629 glibcxx_cv_func_expf_use=no
33631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33633 ac_cpp='$CPP $CPPFLAGS'
33634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
33643 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
33645 if test x$glibcxx_cv_func_expf_use = x"yes"; then
33646 for ac_func in expf
33648 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
33649 if test "x$ac_cv_func_expf" = x""yes; then :
33650 cat >>confdefs.h <<_ACEOF
33651 #define HAVE_EXPF 1
33659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
33660 $as_echo_n "checking for _expf declaration... " >&6; }
33661 if test x${glibcxx_cv_func__expf_use+set} != xset; then
33662 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
33663 $as_echo_n "(cached) " >&6
33668 ac_cpp='$CXXCPP $CPPFLAGS'
33669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33674 /* end confdefs.h. */
33676 #ifdef HAVE_IEEEFP_H
33677 #include <ieeefp.h>
33688 if ac_fn_cxx_try_compile "$LINENO"; then :
33689 glibcxx_cv_func__expf_use=yes
33691 glibcxx_cv_func__expf_use=no
33693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33695 ac_cpp='$CPP $CPPFLAGS'
33696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
33705 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
33707 if test x$glibcxx_cv_func__expf_use = x"yes"; then
33708 for ac_func in _expf
33710 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
33711 if test "x$ac_cv_func__expf" = x""yes; then :
33712 cat >>confdefs.h <<_ACEOF
33713 #define HAVE__EXPF 1
33726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
33727 $as_echo_n "checking for isnanf declaration... " >&6; }
33728 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
33729 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
33730 $as_echo_n "(cached) " >&6
33735 ac_cpp='$CXXCPP $CPPFLAGS'
33736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33741 /* end confdefs.h. */
33743 #ifdef HAVE_IEEEFP_H
33744 #include <ieeefp.h>
33755 if ac_fn_cxx_try_compile "$LINENO"; then :
33756 glibcxx_cv_func_isnanf_use=yes
33758 glibcxx_cv_func_isnanf_use=no
33760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33762 ac_cpp='$CPP $CPPFLAGS'
33763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
33772 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
33774 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
33775 for ac_func in isnanf
33777 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
33778 if test "x$ac_cv_func_isnanf" = x""yes; then :
33779 cat >>confdefs.h <<_ACEOF
33780 #define HAVE_ISNANF 1
33788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
33789 $as_echo_n "checking for _isnanf declaration... " >&6; }
33790 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
33791 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
33792 $as_echo_n "(cached) " >&6
33797 ac_cpp='$CXXCPP $CPPFLAGS'
33798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33803 /* end confdefs.h. */
33805 #ifdef HAVE_IEEEFP_H
33806 #include <ieeefp.h>
33817 if ac_fn_cxx_try_compile "$LINENO"; then :
33818 glibcxx_cv_func__isnanf_use=yes
33820 glibcxx_cv_func__isnanf_use=no
33822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33824 ac_cpp='$CPP $CPPFLAGS'
33825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
33834 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
33836 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
33837 for ac_func in _isnanf
33839 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
33840 if test "x$ac_cv_func__isnanf" = x""yes; then :
33841 cat >>confdefs.h <<_ACEOF
33842 #define HAVE__ISNANF 1
33855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
33856 $as_echo_n "checking for isinff declaration... " >&6; }
33857 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
33858 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
33859 $as_echo_n "(cached) " >&6
33864 ac_cpp='$CXXCPP $CPPFLAGS'
33865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33870 /* end confdefs.h. */
33872 #ifdef HAVE_IEEEFP_H
33873 #include <ieeefp.h>
33884 if ac_fn_cxx_try_compile "$LINENO"; then :
33885 glibcxx_cv_func_isinff_use=yes
33887 glibcxx_cv_func_isinff_use=no
33889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33891 ac_cpp='$CPP $CPPFLAGS'
33892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
33901 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
33903 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
33904 for ac_func in isinff
33906 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
33907 if test "x$ac_cv_func_isinff" = x""yes; then :
33908 cat >>confdefs.h <<_ACEOF
33909 #define HAVE_ISINFF 1
33917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
33918 $as_echo_n "checking for _isinff declaration... " >&6; }
33919 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
33920 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
33921 $as_echo_n "(cached) " >&6
33926 ac_cpp='$CXXCPP $CPPFLAGS'
33927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33932 /* end confdefs.h. */
33934 #ifdef HAVE_IEEEFP_H
33935 #include <ieeefp.h>
33946 if ac_fn_cxx_try_compile "$LINENO"; then :
33947 glibcxx_cv_func__isinff_use=yes
33949 glibcxx_cv_func__isinff_use=no
33951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33953 ac_cpp='$CPP $CPPFLAGS'
33954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
33963 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
33965 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
33966 for ac_func in _isinff
33968 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
33969 if test "x$ac_cv_func__isinff" = x""yes; then :
33970 cat >>confdefs.h <<_ACEOF
33971 #define HAVE__ISINFF 1
33984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
33985 $as_echo_n "checking for atan2f declaration... " >&6; }
33986 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
33987 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
33988 $as_echo_n "(cached) " >&6
33993 ac_cpp='$CXXCPP $CPPFLAGS'
33994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33999 /* end confdefs.h. */
34009 if ac_fn_cxx_try_compile "$LINENO"; then :
34010 glibcxx_cv_func_atan2f_use=yes
34012 glibcxx_cv_func_atan2f_use=no
34014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34016 ac_cpp='$CPP $CPPFLAGS'
34017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34026 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34028 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34029 for ac_func in atan2f
34031 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34032 if test "x$ac_cv_func_atan2f" = x""yes; then :
34033 cat >>confdefs.h <<_ACEOF
34034 #define HAVE_ATAN2F 1
34042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34043 $as_echo_n "checking for _atan2f declaration... " >&6; }
34044 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34045 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34046 $as_echo_n "(cached) " >&6
34051 ac_cpp='$CXXCPP $CPPFLAGS'
34052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34057 /* end confdefs.h. */
34067 if ac_fn_cxx_try_compile "$LINENO"; then :
34068 glibcxx_cv_func__atan2f_use=yes
34070 glibcxx_cv_func__atan2f_use=no
34072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34074 ac_cpp='$CPP $CPPFLAGS'
34075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
34084 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
34086 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
34087 for ac_func in _atan2f
34089 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
34090 if test "x$ac_cv_func__atan2f" = x""yes; then :
34091 cat >>confdefs.h <<_ACEOF
34092 #define HAVE__ATAN2F 1
34105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
34106 $as_echo_n "checking for fabsf declaration... " >&6; }
34107 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
34108 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
34109 $as_echo_n "(cached) " >&6
34114 ac_cpp='$CXXCPP $CPPFLAGS'
34115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34120 /* end confdefs.h. */
34122 #ifdef HAVE_IEEEFP_H
34123 #include <ieeefp.h>
34134 if ac_fn_cxx_try_compile "$LINENO"; then :
34135 glibcxx_cv_func_fabsf_use=yes
34137 glibcxx_cv_func_fabsf_use=no
34139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34141 ac_cpp='$CPP $CPPFLAGS'
34142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
34151 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
34153 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
34154 for ac_func in fabsf
34156 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
34157 if test "x$ac_cv_func_fabsf" = x""yes; then :
34158 cat >>confdefs.h <<_ACEOF
34159 #define HAVE_FABSF 1
34167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
34168 $as_echo_n "checking for _fabsf declaration... " >&6; }
34169 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
34170 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
34171 $as_echo_n "(cached) " >&6
34176 ac_cpp='$CXXCPP $CPPFLAGS'
34177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34182 /* end confdefs.h. */
34184 #ifdef HAVE_IEEEFP_H
34185 #include <ieeefp.h>
34196 if ac_fn_cxx_try_compile "$LINENO"; then :
34197 glibcxx_cv_func__fabsf_use=yes
34199 glibcxx_cv_func__fabsf_use=no
34201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34203 ac_cpp='$CPP $CPPFLAGS'
34204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
34213 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
34215 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
34216 for ac_func in _fabsf
34218 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
34219 if test "x$ac_cv_func__fabsf" = x""yes; then :
34220 cat >>confdefs.h <<_ACEOF
34221 #define HAVE__FABSF 1
34234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
34235 $as_echo_n "checking for fmodf declaration... " >&6; }
34236 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
34237 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
34238 $as_echo_n "(cached) " >&6
34243 ac_cpp='$CXXCPP $CPPFLAGS'
34244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34249 /* end confdefs.h. */
34259 if ac_fn_cxx_try_compile "$LINENO"; then :
34260 glibcxx_cv_func_fmodf_use=yes
34262 glibcxx_cv_func_fmodf_use=no
34264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34266 ac_cpp='$CPP $CPPFLAGS'
34267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
34276 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
34278 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
34279 for ac_func in fmodf
34281 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
34282 if test "x$ac_cv_func_fmodf" = x""yes; then :
34283 cat >>confdefs.h <<_ACEOF
34284 #define HAVE_FMODF 1
34292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
34293 $as_echo_n "checking for _fmodf declaration... " >&6; }
34294 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
34295 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
34296 $as_echo_n "(cached) " >&6
34301 ac_cpp='$CXXCPP $CPPFLAGS'
34302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34307 /* end confdefs.h. */
34317 if ac_fn_cxx_try_compile "$LINENO"; then :
34318 glibcxx_cv_func__fmodf_use=yes
34320 glibcxx_cv_func__fmodf_use=no
34322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34324 ac_cpp='$CPP $CPPFLAGS'
34325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
34334 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
34336 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
34337 for ac_func in _fmodf
34339 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
34340 if test "x$ac_cv_func__fmodf" = x""yes; then :
34341 cat >>confdefs.h <<_ACEOF
34342 #define HAVE__FMODF 1
34355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
34356 $as_echo_n "checking for frexpf declaration... " >&6; }
34357 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
34358 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
34359 $as_echo_n "(cached) " >&6
34364 ac_cpp='$CXXCPP $CPPFLAGS'
34365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34370 /* end confdefs.h. */
34380 if ac_fn_cxx_try_compile "$LINENO"; then :
34381 glibcxx_cv_func_frexpf_use=yes
34383 glibcxx_cv_func_frexpf_use=no
34385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34387 ac_cpp='$CPP $CPPFLAGS'
34388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
34397 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
34399 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
34400 for ac_func in frexpf
34402 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
34403 if test "x$ac_cv_func_frexpf" = x""yes; then :
34404 cat >>confdefs.h <<_ACEOF
34405 #define HAVE_FREXPF 1
34413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
34414 $as_echo_n "checking for _frexpf declaration... " >&6; }
34415 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
34416 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
34417 $as_echo_n "(cached) " >&6
34422 ac_cpp='$CXXCPP $CPPFLAGS'
34423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34428 /* end confdefs.h. */
34438 if ac_fn_cxx_try_compile "$LINENO"; then :
34439 glibcxx_cv_func__frexpf_use=yes
34441 glibcxx_cv_func__frexpf_use=no
34443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34445 ac_cpp='$CPP $CPPFLAGS'
34446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
34455 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
34457 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
34458 for ac_func in _frexpf
34460 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
34461 if test "x$ac_cv_func__frexpf" = x""yes; then :
34462 cat >>confdefs.h <<_ACEOF
34463 #define HAVE__FREXPF 1
34476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
34477 $as_echo_n "checking for hypotf declaration... " >&6; }
34478 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
34479 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
34480 $as_echo_n "(cached) " >&6
34485 ac_cpp='$CXXCPP $CPPFLAGS'
34486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34491 /* end confdefs.h. */
34501 if ac_fn_cxx_try_compile "$LINENO"; then :
34502 glibcxx_cv_func_hypotf_use=yes
34504 glibcxx_cv_func_hypotf_use=no
34506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34508 ac_cpp='$CPP $CPPFLAGS'
34509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
34518 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
34520 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
34521 for ac_func in hypotf
34523 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
34524 if test "x$ac_cv_func_hypotf" = x""yes; then :
34525 cat >>confdefs.h <<_ACEOF
34526 #define HAVE_HYPOTF 1
34534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
34535 $as_echo_n "checking for _hypotf declaration... " >&6; }
34536 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
34537 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
34538 $as_echo_n "(cached) " >&6
34543 ac_cpp='$CXXCPP $CPPFLAGS'
34544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34549 /* end confdefs.h. */
34559 if ac_fn_cxx_try_compile "$LINENO"; then :
34560 glibcxx_cv_func__hypotf_use=yes
34562 glibcxx_cv_func__hypotf_use=no
34564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34566 ac_cpp='$CPP $CPPFLAGS'
34567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
34576 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
34578 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
34579 for ac_func in _hypotf
34581 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
34582 if test "x$ac_cv_func__hypotf" = x""yes; then :
34583 cat >>confdefs.h <<_ACEOF
34584 #define HAVE__HYPOTF 1
34597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
34598 $as_echo_n "checking for ldexpf declaration... " >&6; }
34599 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
34600 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
34601 $as_echo_n "(cached) " >&6
34606 ac_cpp='$CXXCPP $CPPFLAGS'
34607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34612 /* end confdefs.h. */
34622 if ac_fn_cxx_try_compile "$LINENO"; then :
34623 glibcxx_cv_func_ldexpf_use=yes
34625 glibcxx_cv_func_ldexpf_use=no
34627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34629 ac_cpp='$CPP $CPPFLAGS'
34630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
34639 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
34641 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
34642 for ac_func in ldexpf
34644 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
34645 if test "x$ac_cv_func_ldexpf" = x""yes; then :
34646 cat >>confdefs.h <<_ACEOF
34647 #define HAVE_LDEXPF 1
34655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
34656 $as_echo_n "checking for _ldexpf declaration... " >&6; }
34657 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
34658 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
34659 $as_echo_n "(cached) " >&6
34664 ac_cpp='$CXXCPP $CPPFLAGS'
34665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34670 /* end confdefs.h. */
34680 if ac_fn_cxx_try_compile "$LINENO"; then :
34681 glibcxx_cv_func__ldexpf_use=yes
34683 glibcxx_cv_func__ldexpf_use=no
34685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34687 ac_cpp='$CPP $CPPFLAGS'
34688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
34697 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
34699 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
34700 for ac_func in _ldexpf
34702 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
34703 if test "x$ac_cv_func__ldexpf" = x""yes; then :
34704 cat >>confdefs.h <<_ACEOF
34705 #define HAVE__LDEXPF 1
34718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
34719 $as_echo_n "checking for logf declaration... " >&6; }
34720 if test x${glibcxx_cv_func_logf_use+set} != xset; then
34721 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
34722 $as_echo_n "(cached) " >&6
34727 ac_cpp='$CXXCPP $CPPFLAGS'
34728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34733 /* end confdefs.h. */
34735 #ifdef HAVE_IEEEFP_H
34736 #include <ieeefp.h>
34747 if ac_fn_cxx_try_compile "$LINENO"; then :
34748 glibcxx_cv_func_logf_use=yes
34750 glibcxx_cv_func_logf_use=no
34752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34754 ac_cpp='$CPP $CPPFLAGS'
34755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
34764 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
34766 if test x$glibcxx_cv_func_logf_use = x"yes"; then
34767 for ac_func in logf
34769 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
34770 if test "x$ac_cv_func_logf" = x""yes; then :
34771 cat >>confdefs.h <<_ACEOF
34772 #define HAVE_LOGF 1
34780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
34781 $as_echo_n "checking for _logf declaration... " >&6; }
34782 if test x${glibcxx_cv_func__logf_use+set} != xset; then
34783 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
34784 $as_echo_n "(cached) " >&6
34789 ac_cpp='$CXXCPP $CPPFLAGS'
34790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34795 /* end confdefs.h. */
34797 #ifdef HAVE_IEEEFP_H
34798 #include <ieeefp.h>
34809 if ac_fn_cxx_try_compile "$LINENO"; then :
34810 glibcxx_cv_func__logf_use=yes
34812 glibcxx_cv_func__logf_use=no
34814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34816 ac_cpp='$CPP $CPPFLAGS'
34817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
34826 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
34828 if test x$glibcxx_cv_func__logf_use = x"yes"; then
34829 for ac_func in _logf
34831 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
34832 if test "x$ac_cv_func__logf" = x""yes; then :
34833 cat >>confdefs.h <<_ACEOF
34834 #define HAVE__LOGF 1
34847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
34848 $as_echo_n "checking for log10f declaration... " >&6; }
34849 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
34850 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
34851 $as_echo_n "(cached) " >&6
34856 ac_cpp='$CXXCPP $CPPFLAGS'
34857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34862 /* end confdefs.h. */
34864 #ifdef HAVE_IEEEFP_H
34865 #include <ieeefp.h>
34876 if ac_fn_cxx_try_compile "$LINENO"; then :
34877 glibcxx_cv_func_log10f_use=yes
34879 glibcxx_cv_func_log10f_use=no
34881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34883 ac_cpp='$CPP $CPPFLAGS'
34884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
34893 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
34895 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
34896 for ac_func in log10f
34898 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
34899 if test "x$ac_cv_func_log10f" = x""yes; then :
34900 cat >>confdefs.h <<_ACEOF
34901 #define HAVE_LOG10F 1
34909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
34910 $as_echo_n "checking for _log10f declaration... " >&6; }
34911 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
34912 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
34913 $as_echo_n "(cached) " >&6
34918 ac_cpp='$CXXCPP $CPPFLAGS'
34919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34924 /* end confdefs.h. */
34926 #ifdef HAVE_IEEEFP_H
34927 #include <ieeefp.h>
34938 if ac_fn_cxx_try_compile "$LINENO"; then :
34939 glibcxx_cv_func__log10f_use=yes
34941 glibcxx_cv_func__log10f_use=no
34943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34945 ac_cpp='$CPP $CPPFLAGS'
34946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
34955 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
34957 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
34958 for ac_func in _log10f
34960 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
34961 if test "x$ac_cv_func__log10f" = x""yes; then :
34962 cat >>confdefs.h <<_ACEOF
34963 #define HAVE__LOG10F 1
34976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
34977 $as_echo_n "checking for modff declaration... " >&6; }
34978 if test x${glibcxx_cv_func_modff_use+set} != xset; then
34979 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
34980 $as_echo_n "(cached) " >&6
34985 ac_cpp='$CXXCPP $CPPFLAGS'
34986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34991 /* end confdefs.h. */
35001 if ac_fn_cxx_try_compile "$LINENO"; then :
35002 glibcxx_cv_func_modff_use=yes
35004 glibcxx_cv_func_modff_use=no
35006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35008 ac_cpp='$CPP $CPPFLAGS'
35009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35018 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35020 if test x$glibcxx_cv_func_modff_use = x"yes"; then
35021 for ac_func in modff
35023 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35024 if test "x$ac_cv_func_modff" = x""yes; then :
35025 cat >>confdefs.h <<_ACEOF
35026 #define HAVE_MODFF 1
35034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35035 $as_echo_n "checking for _modff declaration... " >&6; }
35036 if test x${glibcxx_cv_func__modff_use+set} != xset; then
35037 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35038 $as_echo_n "(cached) " >&6
35043 ac_cpp='$CXXCPP $CPPFLAGS'
35044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35049 /* end confdefs.h. */
35059 if ac_fn_cxx_try_compile "$LINENO"; then :
35060 glibcxx_cv_func__modff_use=yes
35062 glibcxx_cv_func__modff_use=no
35064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35066 ac_cpp='$CPP $CPPFLAGS'
35067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35076 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
35078 if test x$glibcxx_cv_func__modff_use = x"yes"; then
35079 for ac_func in _modff
35081 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
35082 if test "x$ac_cv_func__modff" = x""yes; then :
35083 cat >>confdefs.h <<_ACEOF
35084 #define HAVE__MODFF 1
35097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35098 $as_echo_n "checking for modf declaration... " >&6; }
35099 if test x${glibcxx_cv_func_modf_use+set} != xset; then
35100 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
35101 $as_echo_n "(cached) " >&6
35106 ac_cpp='$CXXCPP $CPPFLAGS'
35107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35112 /* end confdefs.h. */
35122 if ac_fn_cxx_try_compile "$LINENO"; then :
35123 glibcxx_cv_func_modf_use=yes
35125 glibcxx_cv_func_modf_use=no
35127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35129 ac_cpp='$CPP $CPPFLAGS'
35130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
35139 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
35141 if test x$glibcxx_cv_func_modf_use = x"yes"; then
35142 for ac_func in modf
35144 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
35145 if test "x$ac_cv_func_modf" = x""yes; then :
35146 cat >>confdefs.h <<_ACEOF
35147 #define HAVE_MODF 1
35155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
35156 $as_echo_n "checking for _modf declaration... " >&6; }
35157 if test x${glibcxx_cv_func__modf_use+set} != xset; then
35158 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
35159 $as_echo_n "(cached) " >&6
35164 ac_cpp='$CXXCPP $CPPFLAGS'
35165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35170 /* end confdefs.h. */
35180 if ac_fn_cxx_try_compile "$LINENO"; then :
35181 glibcxx_cv_func__modf_use=yes
35183 glibcxx_cv_func__modf_use=no
35185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35187 ac_cpp='$CPP $CPPFLAGS'
35188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
35197 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
35199 if test x$glibcxx_cv_func__modf_use = x"yes"; then
35200 for ac_func in _modf
35202 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
35203 if test "x$ac_cv_func__modf" = x""yes; then :
35204 cat >>confdefs.h <<_ACEOF
35205 #define HAVE__MODF 1
35218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
35219 $as_echo_n "checking for powf declaration... " >&6; }
35220 if test x${glibcxx_cv_func_powf_use+set} != xset; then
35221 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
35222 $as_echo_n "(cached) " >&6
35227 ac_cpp='$CXXCPP $CPPFLAGS'
35228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35233 /* end confdefs.h. */
35243 if ac_fn_cxx_try_compile "$LINENO"; then :
35244 glibcxx_cv_func_powf_use=yes
35246 glibcxx_cv_func_powf_use=no
35248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35250 ac_cpp='$CPP $CPPFLAGS'
35251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
35260 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
35262 if test x$glibcxx_cv_func_powf_use = x"yes"; then
35263 for ac_func in powf
35265 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
35266 if test "x$ac_cv_func_powf" = x""yes; then :
35267 cat >>confdefs.h <<_ACEOF
35268 #define HAVE_POWF 1
35276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
35277 $as_echo_n "checking for _powf declaration... " >&6; }
35278 if test x${glibcxx_cv_func__powf_use+set} != xset; then
35279 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
35280 $as_echo_n "(cached) " >&6
35285 ac_cpp='$CXXCPP $CPPFLAGS'
35286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35291 /* end confdefs.h. */
35301 if ac_fn_cxx_try_compile "$LINENO"; then :
35302 glibcxx_cv_func__powf_use=yes
35304 glibcxx_cv_func__powf_use=no
35306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35308 ac_cpp='$CPP $CPPFLAGS'
35309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
35318 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
35320 if test x$glibcxx_cv_func__powf_use = x"yes"; then
35321 for ac_func in _powf
35323 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
35324 if test "x$ac_cv_func__powf" = x""yes; then :
35325 cat >>confdefs.h <<_ACEOF
35326 #define HAVE__POWF 1
35339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
35340 $as_echo_n "checking for sqrtf declaration... " >&6; }
35341 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
35342 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
35343 $as_echo_n "(cached) " >&6
35348 ac_cpp='$CXXCPP $CPPFLAGS'
35349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35354 /* end confdefs.h. */
35356 #ifdef HAVE_IEEEFP_H
35357 #include <ieeefp.h>
35368 if ac_fn_cxx_try_compile "$LINENO"; then :
35369 glibcxx_cv_func_sqrtf_use=yes
35371 glibcxx_cv_func_sqrtf_use=no
35373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35375 ac_cpp='$CPP $CPPFLAGS'
35376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
35385 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
35387 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
35388 for ac_func in sqrtf
35390 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
35391 if test "x$ac_cv_func_sqrtf" = x""yes; then :
35392 cat >>confdefs.h <<_ACEOF
35393 #define HAVE_SQRTF 1
35401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
35402 $as_echo_n "checking for _sqrtf declaration... " >&6; }
35403 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
35404 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
35405 $as_echo_n "(cached) " >&6
35410 ac_cpp='$CXXCPP $CPPFLAGS'
35411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35416 /* end confdefs.h. */
35418 #ifdef HAVE_IEEEFP_H
35419 #include <ieeefp.h>
35430 if ac_fn_cxx_try_compile "$LINENO"; then :
35431 glibcxx_cv_func__sqrtf_use=yes
35433 glibcxx_cv_func__sqrtf_use=no
35435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35437 ac_cpp='$CPP $CPPFLAGS'
35438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
35447 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
35449 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
35450 for ac_func in _sqrtf
35452 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
35453 if test "x$ac_cv_func__sqrtf" = x""yes; then :
35454 cat >>confdefs.h <<_ACEOF
35455 #define HAVE__SQRTF 1
35468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
35469 $as_echo_n "checking for sincosf declaration... " >&6; }
35470 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
35471 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
35472 $as_echo_n "(cached) " >&6
35477 ac_cpp='$CXXCPP $CPPFLAGS'
35478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35483 /* end confdefs.h. */
35493 if ac_fn_cxx_try_compile "$LINENO"; then :
35494 glibcxx_cv_func_sincosf_use=yes
35496 glibcxx_cv_func_sincosf_use=no
35498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35500 ac_cpp='$CPP $CPPFLAGS'
35501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
35510 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
35512 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
35513 for ac_func in sincosf
35515 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
35516 if test "x$ac_cv_func_sincosf" = x""yes; then :
35517 cat >>confdefs.h <<_ACEOF
35518 #define HAVE_SINCOSF 1
35526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
35527 $as_echo_n "checking for _sincosf declaration... " >&6; }
35528 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
35529 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
35530 $as_echo_n "(cached) " >&6
35535 ac_cpp='$CXXCPP $CPPFLAGS'
35536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35541 /* end confdefs.h. */
35551 if ac_fn_cxx_try_compile "$LINENO"; then :
35552 glibcxx_cv_func__sincosf_use=yes
35554 glibcxx_cv_func__sincosf_use=no
35556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35558 ac_cpp='$CPP $CPPFLAGS'
35559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
35568 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
35570 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
35571 for ac_func in _sincosf
35573 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
35574 if test "x$ac_cv_func__sincosf" = x""yes; then :
35575 cat >>confdefs.h <<_ACEOF
35576 #define HAVE__SINCOSF 1
35589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
35590 $as_echo_n "checking for finitef declaration... " >&6; }
35591 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
35592 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
35593 $as_echo_n "(cached) " >&6
35598 ac_cpp='$CXXCPP $CPPFLAGS'
35599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35604 /* end confdefs.h. */
35606 #ifdef HAVE_IEEEFP_H
35607 #include <ieeefp.h>
35618 if ac_fn_cxx_try_compile "$LINENO"; then :
35619 glibcxx_cv_func_finitef_use=yes
35621 glibcxx_cv_func_finitef_use=no
35623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35625 ac_cpp='$CPP $CPPFLAGS'
35626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
35635 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
35637 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
35638 for ac_func in finitef
35640 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
35641 if test "x$ac_cv_func_finitef" = x""yes; then :
35642 cat >>confdefs.h <<_ACEOF
35643 #define HAVE_FINITEF 1
35651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
35652 $as_echo_n "checking for _finitef declaration... " >&6; }
35653 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
35654 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
35655 $as_echo_n "(cached) " >&6
35660 ac_cpp='$CXXCPP $CPPFLAGS'
35661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35666 /* end confdefs.h. */
35668 #ifdef HAVE_IEEEFP_H
35669 #include <ieeefp.h>
35680 if ac_fn_cxx_try_compile "$LINENO"; then :
35681 glibcxx_cv_func__finitef_use=yes
35683 glibcxx_cv_func__finitef_use=no
35685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35687 ac_cpp='$CPP $CPPFLAGS'
35688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
35697 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
35699 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
35700 for ac_func in _finitef
35702 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
35703 if test "x$ac_cv_func__finitef" = x""yes; then :
35704 cat >>confdefs.h <<_ACEOF
35705 #define HAVE__FINITEF 1
35718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
35719 $as_echo_n "checking for long double trig functions... " >&6; }
35720 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
35721 $as_echo_n "(cached) " >&6
35726 ac_cpp='$CXXCPP $CPPFLAGS'
35727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35732 /* end confdefs.h. */
35737 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
35742 if ac_fn_cxx_try_compile "$LINENO"; then :
35743 glibcxx_cv_func_long_double_trig_use=yes
35745 glibcxx_cv_func_long_double_trig_use=no
35747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35749 ac_cpp='$CPP $CPPFLAGS'
35750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
35757 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
35758 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
35759 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
35761 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35762 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35763 eval as_val=\$$as_ac_var
35764 if test "x$as_val" = x""yes; then :
35765 cat >>confdefs.h <<_ACEOF
35766 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
35774 $as_echo_n "checking for _long double trig functions... " >&6; }
35775 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
35776 $as_echo_n "(cached) " >&6
35781 ac_cpp='$CXXCPP $CPPFLAGS'
35782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35787 /* end confdefs.h. */
35792 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
35797 if ac_fn_cxx_try_compile "$LINENO"; then :
35798 glibcxx_cv_func__long_double_trig_use=yes
35800 glibcxx_cv_func__long_double_trig_use=no
35802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35804 ac_cpp='$CPP $CPPFLAGS'
35805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
35812 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
35813 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
35814 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
35816 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35817 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35818 eval as_val=\$$as_ac_var
35819 if test "x$as_val" = x""yes; then :
35820 cat >>confdefs.h <<_ACEOF
35821 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
35835 $as_echo_n "checking for long double round functions... " >&6; }
35836 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
35837 $as_echo_n "(cached) " >&6
35842 ac_cpp='$CXXCPP $CPPFLAGS'
35843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35848 /* end confdefs.h. */
35853 ceill (0); floorl (0);
35858 if ac_fn_cxx_try_compile "$LINENO"; then :
35859 glibcxx_cv_func_long_double_round_use=yes
35861 glibcxx_cv_func_long_double_round_use=no
35863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35865 ac_cpp='$CPP $CPPFLAGS'
35866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
35873 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
35874 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
35875 for ac_func in ceill floorl
35877 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35878 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35879 eval as_val=\$$as_ac_var
35880 if test "x$as_val" = x""yes; then :
35881 cat >>confdefs.h <<_ACEOF
35882 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
35890 $as_echo_n "checking for _long double round functions... " >&6; }
35891 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
35892 $as_echo_n "(cached) " >&6
35897 ac_cpp='$CXXCPP $CPPFLAGS'
35898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35903 /* end confdefs.h. */
35908 _ceill (0); _floorl (0);
35913 if ac_fn_cxx_try_compile "$LINENO"; then :
35914 glibcxx_cv_func__long_double_round_use=yes
35916 glibcxx_cv_func__long_double_round_use=no
35918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35920 ac_cpp='$CPP $CPPFLAGS'
35921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
35928 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
35929 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
35930 for ac_func in _ceill _floorl
35932 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35933 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35934 eval as_val=\$$as_ac_var
35935 if test "x$as_val" = x""yes; then :
35936 cat >>confdefs.h <<_ACEOF
35937 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
35952 $as_echo_n "checking for isnanl declaration... " >&6; }
35953 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
35954 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
35955 $as_echo_n "(cached) " >&6
35960 ac_cpp='$CXXCPP $CPPFLAGS'
35961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35966 /* end confdefs.h. */
35968 #ifdef HAVE_IEEEFP_H
35969 #include <ieeefp.h>
35980 if ac_fn_cxx_try_compile "$LINENO"; then :
35981 glibcxx_cv_func_isnanl_use=yes
35983 glibcxx_cv_func_isnanl_use=no
35985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35987 ac_cpp='$CPP $CPPFLAGS'
35988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
35997 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
35999 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36000 for ac_func in isnanl
36002 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36003 if test "x$ac_cv_func_isnanl" = x""yes; then :
36004 cat >>confdefs.h <<_ACEOF
36005 #define HAVE_ISNANL 1
36013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36014 $as_echo_n "checking for _isnanl declaration... " >&6; }
36015 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36016 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36017 $as_echo_n "(cached) " >&6
36022 ac_cpp='$CXXCPP $CPPFLAGS'
36023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36028 /* end confdefs.h. */
36030 #ifdef HAVE_IEEEFP_H
36031 #include <ieeefp.h>
36042 if ac_fn_cxx_try_compile "$LINENO"; then :
36043 glibcxx_cv_func__isnanl_use=yes
36045 glibcxx_cv_func__isnanl_use=no
36047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36049 ac_cpp='$CPP $CPPFLAGS'
36050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36059 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36061 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36062 for ac_func in _isnanl
36064 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36065 if test "x$ac_cv_func__isnanl" = x""yes; then :
36066 cat >>confdefs.h <<_ACEOF
36067 #define HAVE__ISNANL 1
36080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36081 $as_echo_n "checking for isinfl declaration... " >&6; }
36082 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36083 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
36084 $as_echo_n "(cached) " >&6
36089 ac_cpp='$CXXCPP $CPPFLAGS'
36090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36095 /* end confdefs.h. */
36097 #ifdef HAVE_IEEEFP_H
36098 #include <ieeefp.h>
36109 if ac_fn_cxx_try_compile "$LINENO"; then :
36110 glibcxx_cv_func_isinfl_use=yes
36112 glibcxx_cv_func_isinfl_use=no
36114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36116 ac_cpp='$CPP $CPPFLAGS'
36117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
36126 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
36128 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36129 for ac_func in isinfl
36131 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
36132 if test "x$ac_cv_func_isinfl" = x""yes; then :
36133 cat >>confdefs.h <<_ACEOF
36134 #define HAVE_ISINFL 1
36142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
36143 $as_echo_n "checking for _isinfl declaration... " >&6; }
36144 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36145 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
36146 $as_echo_n "(cached) " >&6
36151 ac_cpp='$CXXCPP $CPPFLAGS'
36152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36157 /* end confdefs.h. */
36159 #ifdef HAVE_IEEEFP_H
36160 #include <ieeefp.h>
36171 if ac_fn_cxx_try_compile "$LINENO"; then :
36172 glibcxx_cv_func__isinfl_use=yes
36174 glibcxx_cv_func__isinfl_use=no
36176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36178 ac_cpp='$CPP $CPPFLAGS'
36179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
36188 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
36190 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
36191 for ac_func in _isinfl
36193 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
36194 if test "x$ac_cv_func__isinfl" = x""yes; then :
36195 cat >>confdefs.h <<_ACEOF
36196 #define HAVE__ISINFL 1
36209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
36210 $as_echo_n "checking for atan2l declaration... " >&6; }
36211 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
36212 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
36213 $as_echo_n "(cached) " >&6
36218 ac_cpp='$CXXCPP $CPPFLAGS'
36219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36224 /* end confdefs.h. */
36234 if ac_fn_cxx_try_compile "$LINENO"; then :
36235 glibcxx_cv_func_atan2l_use=yes
36237 glibcxx_cv_func_atan2l_use=no
36239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36241 ac_cpp='$CPP $CPPFLAGS'
36242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
36251 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
36253 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
36254 for ac_func in atan2l
36256 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
36257 if test "x$ac_cv_func_atan2l" = x""yes; then :
36258 cat >>confdefs.h <<_ACEOF
36259 #define HAVE_ATAN2L 1
36267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
36268 $as_echo_n "checking for _atan2l declaration... " >&6; }
36269 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
36270 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
36271 $as_echo_n "(cached) " >&6
36276 ac_cpp='$CXXCPP $CPPFLAGS'
36277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36282 /* end confdefs.h. */
36292 if ac_fn_cxx_try_compile "$LINENO"; then :
36293 glibcxx_cv_func__atan2l_use=yes
36295 glibcxx_cv_func__atan2l_use=no
36297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36299 ac_cpp='$CPP $CPPFLAGS'
36300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
36309 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
36311 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
36312 for ac_func in _atan2l
36314 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
36315 if test "x$ac_cv_func__atan2l" = x""yes; then :
36316 cat >>confdefs.h <<_ACEOF
36317 #define HAVE__ATAN2L 1
36330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
36331 $as_echo_n "checking for expl declaration... " >&6; }
36332 if test x${glibcxx_cv_func_expl_use+set} != xset; then
36333 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
36334 $as_echo_n "(cached) " >&6
36339 ac_cpp='$CXXCPP $CPPFLAGS'
36340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36345 /* end confdefs.h. */
36347 #ifdef HAVE_IEEEFP_H
36348 #include <ieeefp.h>
36359 if ac_fn_cxx_try_compile "$LINENO"; then :
36360 glibcxx_cv_func_expl_use=yes
36362 glibcxx_cv_func_expl_use=no
36364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36366 ac_cpp='$CPP $CPPFLAGS'
36367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
36376 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
36378 if test x$glibcxx_cv_func_expl_use = x"yes"; then
36379 for ac_func in expl
36381 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
36382 if test "x$ac_cv_func_expl" = x""yes; then :
36383 cat >>confdefs.h <<_ACEOF
36384 #define HAVE_EXPL 1
36392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
36393 $as_echo_n "checking for _expl declaration... " >&6; }
36394 if test x${glibcxx_cv_func__expl_use+set} != xset; then
36395 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
36396 $as_echo_n "(cached) " >&6
36401 ac_cpp='$CXXCPP $CPPFLAGS'
36402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36407 /* end confdefs.h. */
36409 #ifdef HAVE_IEEEFP_H
36410 #include <ieeefp.h>
36421 if ac_fn_cxx_try_compile "$LINENO"; then :
36422 glibcxx_cv_func__expl_use=yes
36424 glibcxx_cv_func__expl_use=no
36426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36428 ac_cpp='$CPP $CPPFLAGS'
36429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
36438 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
36440 if test x$glibcxx_cv_func__expl_use = x"yes"; then
36441 for ac_func in _expl
36443 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
36444 if test "x$ac_cv_func__expl" = x""yes; then :
36445 cat >>confdefs.h <<_ACEOF
36446 #define HAVE__EXPL 1
36459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
36460 $as_echo_n "checking for fabsl declaration... " >&6; }
36461 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
36462 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
36463 $as_echo_n "(cached) " >&6
36468 ac_cpp='$CXXCPP $CPPFLAGS'
36469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36474 /* end confdefs.h. */
36476 #ifdef HAVE_IEEEFP_H
36477 #include <ieeefp.h>
36488 if ac_fn_cxx_try_compile "$LINENO"; then :
36489 glibcxx_cv_func_fabsl_use=yes
36491 glibcxx_cv_func_fabsl_use=no
36493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36495 ac_cpp='$CPP $CPPFLAGS'
36496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
36505 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
36507 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
36508 for ac_func in fabsl
36510 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
36511 if test "x$ac_cv_func_fabsl" = x""yes; then :
36512 cat >>confdefs.h <<_ACEOF
36513 #define HAVE_FABSL 1
36521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
36522 $as_echo_n "checking for _fabsl declaration... " >&6; }
36523 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
36524 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
36525 $as_echo_n "(cached) " >&6
36530 ac_cpp='$CXXCPP $CPPFLAGS'
36531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36536 /* end confdefs.h. */
36538 #ifdef HAVE_IEEEFP_H
36539 #include <ieeefp.h>
36550 if ac_fn_cxx_try_compile "$LINENO"; then :
36551 glibcxx_cv_func__fabsl_use=yes
36553 glibcxx_cv_func__fabsl_use=no
36555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36557 ac_cpp='$CPP $CPPFLAGS'
36558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
36567 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
36569 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
36570 for ac_func in _fabsl
36572 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
36573 if test "x$ac_cv_func__fabsl" = x""yes; then :
36574 cat >>confdefs.h <<_ACEOF
36575 #define HAVE__FABSL 1
36588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
36589 $as_echo_n "checking for fmodl declaration... " >&6; }
36590 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
36591 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
36592 $as_echo_n "(cached) " >&6
36597 ac_cpp='$CXXCPP $CPPFLAGS'
36598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36603 /* end confdefs.h. */
36613 if ac_fn_cxx_try_compile "$LINENO"; then :
36614 glibcxx_cv_func_fmodl_use=yes
36616 glibcxx_cv_func_fmodl_use=no
36618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36620 ac_cpp='$CPP $CPPFLAGS'
36621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
36630 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
36632 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
36633 for ac_func in fmodl
36635 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
36636 if test "x$ac_cv_func_fmodl" = x""yes; then :
36637 cat >>confdefs.h <<_ACEOF
36638 #define HAVE_FMODL 1
36646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
36647 $as_echo_n "checking for _fmodl declaration... " >&6; }
36648 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
36649 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
36650 $as_echo_n "(cached) " >&6
36655 ac_cpp='$CXXCPP $CPPFLAGS'
36656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36661 /* end confdefs.h. */
36671 if ac_fn_cxx_try_compile "$LINENO"; then :
36672 glibcxx_cv_func__fmodl_use=yes
36674 glibcxx_cv_func__fmodl_use=no
36676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36678 ac_cpp='$CPP $CPPFLAGS'
36679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
36688 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
36690 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
36691 for ac_func in _fmodl
36693 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
36694 if test "x$ac_cv_func__fmodl" = x""yes; then :
36695 cat >>confdefs.h <<_ACEOF
36696 #define HAVE__FMODL 1
36709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
36710 $as_echo_n "checking for frexpl declaration... " >&6; }
36711 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
36712 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
36713 $as_echo_n "(cached) " >&6
36718 ac_cpp='$CXXCPP $CPPFLAGS'
36719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36724 /* end confdefs.h. */
36734 if ac_fn_cxx_try_compile "$LINENO"; then :
36735 glibcxx_cv_func_frexpl_use=yes
36737 glibcxx_cv_func_frexpl_use=no
36739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36741 ac_cpp='$CPP $CPPFLAGS'
36742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
36751 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
36753 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
36754 for ac_func in frexpl
36756 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
36757 if test "x$ac_cv_func_frexpl" = x""yes; then :
36758 cat >>confdefs.h <<_ACEOF
36759 #define HAVE_FREXPL 1
36767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
36768 $as_echo_n "checking for _frexpl declaration... " >&6; }
36769 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
36770 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
36771 $as_echo_n "(cached) " >&6
36776 ac_cpp='$CXXCPP $CPPFLAGS'
36777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36782 /* end confdefs.h. */
36792 if ac_fn_cxx_try_compile "$LINENO"; then :
36793 glibcxx_cv_func__frexpl_use=yes
36795 glibcxx_cv_func__frexpl_use=no
36797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36799 ac_cpp='$CPP $CPPFLAGS'
36800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
36809 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
36811 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
36812 for ac_func in _frexpl
36814 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
36815 if test "x$ac_cv_func__frexpl" = x""yes; then :
36816 cat >>confdefs.h <<_ACEOF
36817 #define HAVE__FREXPL 1
36830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
36831 $as_echo_n "checking for hypotl declaration... " >&6; }
36832 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
36833 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
36834 $as_echo_n "(cached) " >&6
36839 ac_cpp='$CXXCPP $CPPFLAGS'
36840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36845 /* end confdefs.h. */
36855 if ac_fn_cxx_try_compile "$LINENO"; then :
36856 glibcxx_cv_func_hypotl_use=yes
36858 glibcxx_cv_func_hypotl_use=no
36860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36862 ac_cpp='$CPP $CPPFLAGS'
36863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
36872 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
36874 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
36875 for ac_func in hypotl
36877 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
36878 if test "x$ac_cv_func_hypotl" = x""yes; then :
36879 cat >>confdefs.h <<_ACEOF
36880 #define HAVE_HYPOTL 1
36888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
36889 $as_echo_n "checking for _hypotl declaration... " >&6; }
36890 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
36891 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
36892 $as_echo_n "(cached) " >&6
36897 ac_cpp='$CXXCPP $CPPFLAGS'
36898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36903 /* end confdefs.h. */
36913 if ac_fn_cxx_try_compile "$LINENO"; then :
36914 glibcxx_cv_func__hypotl_use=yes
36916 glibcxx_cv_func__hypotl_use=no
36918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36920 ac_cpp='$CPP $CPPFLAGS'
36921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
36930 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
36932 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
36933 for ac_func in _hypotl
36935 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
36936 if test "x$ac_cv_func__hypotl" = x""yes; then :
36937 cat >>confdefs.h <<_ACEOF
36938 #define HAVE__HYPOTL 1
36951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
36952 $as_echo_n "checking for ldexpl declaration... " >&6; }
36953 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
36954 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
36955 $as_echo_n "(cached) " >&6
36960 ac_cpp='$CXXCPP $CPPFLAGS'
36961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36966 /* end confdefs.h. */
36976 if ac_fn_cxx_try_compile "$LINENO"; then :
36977 glibcxx_cv_func_ldexpl_use=yes
36979 glibcxx_cv_func_ldexpl_use=no
36981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36983 ac_cpp='$CPP $CPPFLAGS'
36984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
36993 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
36995 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
36996 for ac_func in ldexpl
36998 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
36999 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37000 cat >>confdefs.h <<_ACEOF
37001 #define HAVE_LDEXPL 1
37009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37010 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37011 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37012 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37013 $as_echo_n "(cached) " >&6
37018 ac_cpp='$CXXCPP $CPPFLAGS'
37019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37024 /* end confdefs.h. */
37034 if ac_fn_cxx_try_compile "$LINENO"; then :
37035 glibcxx_cv_func__ldexpl_use=yes
37037 glibcxx_cv_func__ldexpl_use=no
37039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37041 ac_cpp='$CPP $CPPFLAGS'
37042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37051 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37053 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37054 for ac_func in _ldexpl
37056 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37057 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37058 cat >>confdefs.h <<_ACEOF
37059 #define HAVE__LDEXPL 1
37072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37073 $as_echo_n "checking for logl declaration... " >&6; }
37074 if test x${glibcxx_cv_func_logl_use+set} != xset; then
37075 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37076 $as_echo_n "(cached) " >&6
37081 ac_cpp='$CXXCPP $CPPFLAGS'
37082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37087 /* end confdefs.h. */
37089 #ifdef HAVE_IEEEFP_H
37090 #include <ieeefp.h>
37101 if ac_fn_cxx_try_compile "$LINENO"; then :
37102 glibcxx_cv_func_logl_use=yes
37104 glibcxx_cv_func_logl_use=no
37106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37108 ac_cpp='$CPP $CPPFLAGS'
37109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
37118 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
37120 if test x$glibcxx_cv_func_logl_use = x"yes"; then
37121 for ac_func in logl
37123 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
37124 if test "x$ac_cv_func_logl" = x""yes; then :
37125 cat >>confdefs.h <<_ACEOF
37126 #define HAVE_LOGL 1
37134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
37135 $as_echo_n "checking for _logl declaration... " >&6; }
37136 if test x${glibcxx_cv_func__logl_use+set} != xset; then
37137 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
37138 $as_echo_n "(cached) " >&6
37143 ac_cpp='$CXXCPP $CPPFLAGS'
37144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37149 /* end confdefs.h. */
37151 #ifdef HAVE_IEEEFP_H
37152 #include <ieeefp.h>
37163 if ac_fn_cxx_try_compile "$LINENO"; then :
37164 glibcxx_cv_func__logl_use=yes
37166 glibcxx_cv_func__logl_use=no
37168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37170 ac_cpp='$CPP $CPPFLAGS'
37171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
37180 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
37182 if test x$glibcxx_cv_func__logl_use = x"yes"; then
37183 for ac_func in _logl
37185 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
37186 if test "x$ac_cv_func__logl" = x""yes; then :
37187 cat >>confdefs.h <<_ACEOF
37188 #define HAVE__LOGL 1
37201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
37202 $as_echo_n "checking for log10l declaration... " >&6; }
37203 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
37204 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
37205 $as_echo_n "(cached) " >&6
37210 ac_cpp='$CXXCPP $CPPFLAGS'
37211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37216 /* end confdefs.h. */
37218 #ifdef HAVE_IEEEFP_H
37219 #include <ieeefp.h>
37230 if ac_fn_cxx_try_compile "$LINENO"; then :
37231 glibcxx_cv_func_log10l_use=yes
37233 glibcxx_cv_func_log10l_use=no
37235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37237 ac_cpp='$CPP $CPPFLAGS'
37238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
37247 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
37249 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
37250 for ac_func in log10l
37252 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
37253 if test "x$ac_cv_func_log10l" = x""yes; then :
37254 cat >>confdefs.h <<_ACEOF
37255 #define HAVE_LOG10L 1
37263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
37264 $as_echo_n "checking for _log10l declaration... " >&6; }
37265 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
37266 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
37267 $as_echo_n "(cached) " >&6
37272 ac_cpp='$CXXCPP $CPPFLAGS'
37273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37278 /* end confdefs.h. */
37280 #ifdef HAVE_IEEEFP_H
37281 #include <ieeefp.h>
37292 if ac_fn_cxx_try_compile "$LINENO"; then :
37293 glibcxx_cv_func__log10l_use=yes
37295 glibcxx_cv_func__log10l_use=no
37297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37299 ac_cpp='$CPP $CPPFLAGS'
37300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
37309 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
37311 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
37312 for ac_func in _log10l
37314 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
37315 if test "x$ac_cv_func__log10l" = x""yes; then :
37316 cat >>confdefs.h <<_ACEOF
37317 #define HAVE__LOG10L 1
37330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
37331 $as_echo_n "checking for modfl declaration... " >&6; }
37332 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
37333 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
37334 $as_echo_n "(cached) " >&6
37339 ac_cpp='$CXXCPP $CPPFLAGS'
37340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37345 /* end confdefs.h. */
37355 if ac_fn_cxx_try_compile "$LINENO"; then :
37356 glibcxx_cv_func_modfl_use=yes
37358 glibcxx_cv_func_modfl_use=no
37360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37362 ac_cpp='$CPP $CPPFLAGS'
37363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
37372 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
37374 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
37375 for ac_func in modfl
37377 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
37378 if test "x$ac_cv_func_modfl" = x""yes; then :
37379 cat >>confdefs.h <<_ACEOF
37380 #define HAVE_MODFL 1
37388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
37389 $as_echo_n "checking for _modfl declaration... " >&6; }
37390 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
37391 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
37392 $as_echo_n "(cached) " >&6
37397 ac_cpp='$CXXCPP $CPPFLAGS'
37398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37403 /* end confdefs.h. */
37413 if ac_fn_cxx_try_compile "$LINENO"; then :
37414 glibcxx_cv_func__modfl_use=yes
37416 glibcxx_cv_func__modfl_use=no
37418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37420 ac_cpp='$CPP $CPPFLAGS'
37421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
37430 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
37432 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
37433 for ac_func in _modfl
37435 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
37436 if test "x$ac_cv_func__modfl" = x""yes; then :
37437 cat >>confdefs.h <<_ACEOF
37438 #define HAVE__MODFL 1
37451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
37452 $as_echo_n "checking for powl declaration... " >&6; }
37453 if test x${glibcxx_cv_func_powl_use+set} != xset; then
37454 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
37455 $as_echo_n "(cached) " >&6
37460 ac_cpp='$CXXCPP $CPPFLAGS'
37461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37466 /* end confdefs.h. */
37476 if ac_fn_cxx_try_compile "$LINENO"; then :
37477 glibcxx_cv_func_powl_use=yes
37479 glibcxx_cv_func_powl_use=no
37481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37483 ac_cpp='$CPP $CPPFLAGS'
37484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
37493 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
37495 if test x$glibcxx_cv_func_powl_use = x"yes"; then
37496 for ac_func in powl
37498 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
37499 if test "x$ac_cv_func_powl" = x""yes; then :
37500 cat >>confdefs.h <<_ACEOF
37501 #define HAVE_POWL 1
37509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
37510 $as_echo_n "checking for _powl declaration... " >&6; }
37511 if test x${glibcxx_cv_func__powl_use+set} != xset; then
37512 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
37513 $as_echo_n "(cached) " >&6
37518 ac_cpp='$CXXCPP $CPPFLAGS'
37519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37524 /* end confdefs.h. */
37534 if ac_fn_cxx_try_compile "$LINENO"; then :
37535 glibcxx_cv_func__powl_use=yes
37537 glibcxx_cv_func__powl_use=no
37539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37541 ac_cpp='$CPP $CPPFLAGS'
37542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
37551 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
37553 if test x$glibcxx_cv_func__powl_use = x"yes"; then
37554 for ac_func in _powl
37556 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
37557 if test "x$ac_cv_func__powl" = x""yes; then :
37558 cat >>confdefs.h <<_ACEOF
37559 #define HAVE__POWL 1
37572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
37573 $as_echo_n "checking for sqrtl declaration... " >&6; }
37574 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
37575 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
37576 $as_echo_n "(cached) " >&6
37581 ac_cpp='$CXXCPP $CPPFLAGS'
37582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37587 /* end confdefs.h. */
37589 #ifdef HAVE_IEEEFP_H
37590 #include <ieeefp.h>
37601 if ac_fn_cxx_try_compile "$LINENO"; then :
37602 glibcxx_cv_func_sqrtl_use=yes
37604 glibcxx_cv_func_sqrtl_use=no
37606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37608 ac_cpp='$CPP $CPPFLAGS'
37609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
37618 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
37620 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
37621 for ac_func in sqrtl
37623 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
37624 if test "x$ac_cv_func_sqrtl" = x""yes; then :
37625 cat >>confdefs.h <<_ACEOF
37626 #define HAVE_SQRTL 1
37634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
37635 $as_echo_n "checking for _sqrtl declaration... " >&6; }
37636 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
37637 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
37638 $as_echo_n "(cached) " >&6
37643 ac_cpp='$CXXCPP $CPPFLAGS'
37644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37649 /* end confdefs.h. */
37651 #ifdef HAVE_IEEEFP_H
37652 #include <ieeefp.h>
37663 if ac_fn_cxx_try_compile "$LINENO"; then :
37664 glibcxx_cv_func__sqrtl_use=yes
37666 glibcxx_cv_func__sqrtl_use=no
37668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37670 ac_cpp='$CPP $CPPFLAGS'
37671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
37680 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
37682 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
37683 for ac_func in _sqrtl
37685 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
37686 if test "x$ac_cv_func__sqrtl" = x""yes; then :
37687 cat >>confdefs.h <<_ACEOF
37688 #define HAVE__SQRTL 1
37701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
37702 $as_echo_n "checking for sincosl declaration... " >&6; }
37703 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
37704 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
37705 $as_echo_n "(cached) " >&6
37710 ac_cpp='$CXXCPP $CPPFLAGS'
37711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37716 /* end confdefs.h. */
37726 if ac_fn_cxx_try_compile "$LINENO"; then :
37727 glibcxx_cv_func_sincosl_use=yes
37729 glibcxx_cv_func_sincosl_use=no
37731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37733 ac_cpp='$CPP $CPPFLAGS'
37734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
37743 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
37745 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
37746 for ac_func in sincosl
37748 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
37749 if test "x$ac_cv_func_sincosl" = x""yes; then :
37750 cat >>confdefs.h <<_ACEOF
37751 #define HAVE_SINCOSL 1
37759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
37760 $as_echo_n "checking for _sincosl declaration... " >&6; }
37761 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
37762 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
37763 $as_echo_n "(cached) " >&6
37768 ac_cpp='$CXXCPP $CPPFLAGS'
37769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37774 /* end confdefs.h. */
37784 if ac_fn_cxx_try_compile "$LINENO"; then :
37785 glibcxx_cv_func__sincosl_use=yes
37787 glibcxx_cv_func__sincosl_use=no
37789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37791 ac_cpp='$CPP $CPPFLAGS'
37792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
37801 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
37803 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
37804 for ac_func in _sincosl
37806 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
37807 if test "x$ac_cv_func__sincosl" = x""yes; then :
37808 cat >>confdefs.h <<_ACEOF
37809 #define HAVE__SINCOSL 1
37822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
37823 $as_echo_n "checking for finitel declaration... " >&6; }
37824 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
37825 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
37826 $as_echo_n "(cached) " >&6
37831 ac_cpp='$CXXCPP $CPPFLAGS'
37832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37837 /* end confdefs.h. */
37839 #ifdef HAVE_IEEEFP_H
37840 #include <ieeefp.h>
37851 if ac_fn_cxx_try_compile "$LINENO"; then :
37852 glibcxx_cv_func_finitel_use=yes
37854 glibcxx_cv_func_finitel_use=no
37856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37858 ac_cpp='$CPP $CPPFLAGS'
37859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
37868 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
37870 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
37871 for ac_func in finitel
37873 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
37874 if test "x$ac_cv_func_finitel" = x""yes; then :
37875 cat >>confdefs.h <<_ACEOF
37876 #define HAVE_FINITEL 1
37884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
37885 $as_echo_n "checking for _finitel declaration... " >&6; }
37886 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
37887 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
37888 $as_echo_n "(cached) " >&6
37893 ac_cpp='$CXXCPP $CPPFLAGS'
37894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37899 /* end confdefs.h. */
37901 #ifdef HAVE_IEEEFP_H
37902 #include <ieeefp.h>
37913 if ac_fn_cxx_try_compile "$LINENO"; then :
37914 glibcxx_cv_func__finitel_use=yes
37916 glibcxx_cv_func__finitel_use=no
37918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37920 ac_cpp='$CPP $CPPFLAGS'
37921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
37930 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
37932 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
37933 for ac_func in _finitel
37935 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
37936 if test "x$ac_cv_func__finitel" = x""yes; then :
37937 cat >>confdefs.h <<_ACEOF
37938 #define HAVE__FINITEL 1
37950 LIBS="$ac_save_LIBS"
37951 CXXFLAGS="$ac_save_CXXFLAGS"
37954 ac_test_CXXFLAGS="${CXXFLAGS+set}"
37955 ac_save_CXXFLAGS="$CXXFLAGS"
37956 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
37959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
37960 $as_echo_n "checking for strtold declaration... " >&6; }
37961 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
37962 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
37963 $as_echo_n "(cached) " >&6
37968 ac_cpp='$CXXCPP $CPPFLAGS'
37969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37974 /* end confdefs.h. */
37975 #include <stdlib.h>
37984 if ac_fn_cxx_try_compile "$LINENO"; then :
37985 glibcxx_cv_func_strtold_use=yes
37987 glibcxx_cv_func_strtold_use=no
37989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37991 ac_cpp='$CPP $CPPFLAGS'
37992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38001 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38002 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38003 for ac_func in strtold
38005 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38006 if test "x$ac_cv_func_strtold" = x""yes; then :
38007 cat >>confdefs.h <<_ACEOF
38008 #define HAVE_STRTOLD 1
38019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38020 $as_echo_n "checking for strtof declaration... " >&6; }
38021 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38022 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38023 $as_echo_n "(cached) " >&6
38028 ac_cpp='$CXXCPP $CPPFLAGS'
38029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38034 /* end confdefs.h. */
38035 #include <stdlib.h>
38044 if ac_fn_cxx_try_compile "$LINENO"; then :
38045 glibcxx_cv_func_strtof_use=yes
38047 glibcxx_cv_func_strtof_use=no
38049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38051 ac_cpp='$CPP $CPPFLAGS'
38052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38061 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38062 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38063 for ac_func in strtof
38065 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38066 if test "x$ac_cv_func_strtof" = x""yes; then :
38067 cat >>confdefs.h <<_ACEOF
38068 #define HAVE_STRTOF 1
38079 CXXFLAGS="$ac_save_CXXFLAGS"
38081 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
38083 # We don't yet support AIX's TLS ABI.
38090 am_save_CPPFLAGS="$CPPFLAGS"
38092 for element in $INCICONV; do
38094 for x in $CPPFLAGS; do
38096 acl_save_prefix="$prefix"
38097 prefix="$acl_final_prefix"
38098 acl_save_exec_prefix="$exec_prefix"
38099 exec_prefix="$acl_final_exec_prefix"
38101 exec_prefix="$acl_save_exec_prefix"
38102 prefix="$acl_save_prefix"
38104 if test "X$x" = "X$element"; then
38109 if test -z "$haveit"; then
38110 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
38115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
38116 $as_echo_n "checking for iconv... " >&6; }
38117 if test "${am_cv_func_iconv+set}" = set; then :
38118 $as_echo_n "(cached) " >&6
38121 am_cv_func_iconv="no, consider installing GNU libiconv"
38123 if test x$gcc_no_link = xyes; then
38124 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38127 /* end confdefs.h. */
38128 #include <stdlib.h>
38133 iconv_t cd = iconv_open("","");
38134 iconv(cd,NULL,NULL,NULL,NULL);
38140 if ac_fn_c_try_link "$LINENO"; then :
38141 am_cv_func_iconv=yes
38143 rm -f core conftest.err conftest.$ac_objext \
38144 conftest$ac_exeext conftest.$ac_ext
38145 if test "$am_cv_func_iconv" != yes; then
38146 am_save_LIBS="$LIBS"
38147 LIBS="$LIBS $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_lib_iconv=yes
38167 am_cv_func_iconv=yes
38169 rm -f core conftest.err conftest.$ac_objext \
38170 conftest$ac_exeext conftest.$ac_ext
38171 LIBS="$am_save_LIBS"
38175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
38176 $as_echo "$am_cv_func_iconv" >&6; }
38177 if test "$am_cv_func_iconv" = yes; then
38179 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
38182 if test "$am_cv_lib_iconv" = yes; then
38183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
38184 $as_echo_n "checking how to link with libiconv... " >&6; }
38185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
38186 $as_echo "$LIBICONV" >&6; }
38188 CPPFLAGS="$am_save_CPPFLAGS"
38195 if test "$am_cv_func_iconv" = yes; then
38196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
38197 $as_echo_n "checking for iconv declaration... " >&6; }
38198 if test "${am_cv_proto_iconv+set}" = set; then :
38199 $as_echo_n "(cached) " >&6
38202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38203 /* end confdefs.h. */
38205 #include <stdlib.h>
38211 #if defined(__STDC__) || defined(__cplusplus)
38212 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38225 if ac_fn_c_try_compile "$LINENO"; then :
38226 am_cv_proto_iconv_arg1=""
38228 am_cv_proto_iconv_arg1="const"
38230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38231 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);"
38234 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
38235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
38236 }$am_cv_proto_iconv" >&5
38238 }$am_cv_proto_iconv" >&6; }
38240 cat >>confdefs.h <<_ACEOF
38241 #define ICONV_CONST $am_cv_proto_iconv_arg1
38249 # Darwin versions vary, but the linker should work in a cross environment,
38250 # so we just check for all the features here.
38251 # Check for available headers.
38253 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
38255 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38256 ac_save_CXXFLAGS="$CXXFLAGS"
38257 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
38260 $as_echo_n "checking for sin in -lm... " >&6; }
38261 if test "${ac_cv_lib_m_sin+set}" = set; then :
38262 $as_echo_n "(cached) " >&6
38264 ac_check_lib_save_LIBS=$LIBS
38266 if test x$gcc_no_link = xyes; then
38267 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38270 /* end confdefs.h. */
38272 /* Override any GCC internal prototype to avoid an error.
38273 Use char because int might match the return type of a GCC
38274 builtin and then its argument prototype would still apply. */
38287 if ac_fn_c_try_link "$LINENO"; then :
38288 ac_cv_lib_m_sin=yes
38292 rm -f core conftest.err conftest.$ac_objext \
38293 conftest$ac_exeext conftest.$ac_ext
38294 LIBS=$ac_check_lib_save_LIBS
38296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
38297 $as_echo "$ac_cv_lib_m_sin" >&6; }
38298 if test "x$ac_cv_lib_m_sin" = x""yes; then :
38302 ac_save_LIBS="$LIBS"
38307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
38308 $as_echo_n "checking for isinf declaration... " >&6; }
38309 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
38310 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
38311 $as_echo_n "(cached) " >&6
38316 ac_cpp='$CXXCPP $CPPFLAGS'
38317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38322 /* end confdefs.h. */
38324 #ifdef HAVE_IEEEFP_H
38325 #include <ieeefp.h>
38336 if ac_fn_cxx_try_compile "$LINENO"; then :
38337 glibcxx_cv_func_isinf_use=yes
38339 glibcxx_cv_func_isinf_use=no
38341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38343 ac_cpp='$CPP $CPPFLAGS'
38344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
38353 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
38355 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
38356 for ac_func in isinf
38358 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
38359 if test "x$ac_cv_func_isinf" = x""yes; then :
38360 cat >>confdefs.h <<_ACEOF
38361 #define HAVE_ISINF 1
38369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
38370 $as_echo_n "checking for _isinf declaration... " >&6; }
38371 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
38372 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
38373 $as_echo_n "(cached) " >&6
38378 ac_cpp='$CXXCPP $CPPFLAGS'
38379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38384 /* end confdefs.h. */
38386 #ifdef HAVE_IEEEFP_H
38387 #include <ieeefp.h>
38398 if ac_fn_cxx_try_compile "$LINENO"; then :
38399 glibcxx_cv_func__isinf_use=yes
38401 glibcxx_cv_func__isinf_use=no
38403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38405 ac_cpp='$CPP $CPPFLAGS'
38406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
38415 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
38417 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
38418 for ac_func in _isinf
38420 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
38421 if test "x$ac_cv_func__isinf" = x""yes; then :
38422 cat >>confdefs.h <<_ACEOF
38423 #define HAVE__ISINF 1
38436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
38437 $as_echo_n "checking for isnan declaration... " >&6; }
38438 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
38439 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
38440 $as_echo_n "(cached) " >&6
38445 ac_cpp='$CXXCPP $CPPFLAGS'
38446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38451 /* end confdefs.h. */
38453 #ifdef HAVE_IEEEFP_H
38454 #include <ieeefp.h>
38465 if ac_fn_cxx_try_compile "$LINENO"; then :
38466 glibcxx_cv_func_isnan_use=yes
38468 glibcxx_cv_func_isnan_use=no
38470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38472 ac_cpp='$CPP $CPPFLAGS'
38473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
38482 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
38484 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
38485 for ac_func in isnan
38487 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
38488 if test "x$ac_cv_func_isnan" = x""yes; then :
38489 cat >>confdefs.h <<_ACEOF
38490 #define HAVE_ISNAN 1
38498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
38499 $as_echo_n "checking for _isnan declaration... " >&6; }
38500 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
38501 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
38502 $as_echo_n "(cached) " >&6
38507 ac_cpp='$CXXCPP $CPPFLAGS'
38508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38513 /* end confdefs.h. */
38515 #ifdef HAVE_IEEEFP_H
38516 #include <ieeefp.h>
38527 if ac_fn_cxx_try_compile "$LINENO"; then :
38528 glibcxx_cv_func__isnan_use=yes
38530 glibcxx_cv_func__isnan_use=no
38532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38534 ac_cpp='$CPP $CPPFLAGS'
38535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
38544 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
38546 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
38547 for ac_func in _isnan
38549 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
38550 if test "x$ac_cv_func__isnan" = x""yes; then :
38551 cat >>confdefs.h <<_ACEOF
38552 #define HAVE__ISNAN 1
38565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
38566 $as_echo_n "checking for finite declaration... " >&6; }
38567 if test x${glibcxx_cv_func_finite_use+set} != xset; then
38568 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
38569 $as_echo_n "(cached) " >&6
38574 ac_cpp='$CXXCPP $CPPFLAGS'
38575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38580 /* end confdefs.h. */
38582 #ifdef HAVE_IEEEFP_H
38583 #include <ieeefp.h>
38594 if ac_fn_cxx_try_compile "$LINENO"; then :
38595 glibcxx_cv_func_finite_use=yes
38597 glibcxx_cv_func_finite_use=no
38599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38601 ac_cpp='$CPP $CPPFLAGS'
38602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
38611 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
38613 if test x$glibcxx_cv_func_finite_use = x"yes"; then
38614 for ac_func in finite
38616 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
38617 if test "x$ac_cv_func_finite" = x""yes; then :
38618 cat >>confdefs.h <<_ACEOF
38619 #define HAVE_FINITE 1
38627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
38628 $as_echo_n "checking for _finite declaration... " >&6; }
38629 if test x${glibcxx_cv_func__finite_use+set} != xset; then
38630 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
38631 $as_echo_n "(cached) " >&6
38636 ac_cpp='$CXXCPP $CPPFLAGS'
38637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38642 /* end confdefs.h. */
38644 #ifdef HAVE_IEEEFP_H
38645 #include <ieeefp.h>
38656 if ac_fn_cxx_try_compile "$LINENO"; then :
38657 glibcxx_cv_func__finite_use=yes
38659 glibcxx_cv_func__finite_use=no
38661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38663 ac_cpp='$CPP $CPPFLAGS'
38664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
38673 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
38675 if test x$glibcxx_cv_func__finite_use = x"yes"; then
38676 for ac_func in _finite
38678 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
38679 if test "x$ac_cv_func__finite" = x""yes; then :
38680 cat >>confdefs.h <<_ACEOF
38681 #define HAVE__FINITE 1
38694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
38695 $as_echo_n "checking for sincos declaration... " >&6; }
38696 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
38697 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
38698 $as_echo_n "(cached) " >&6
38703 ac_cpp='$CXXCPP $CPPFLAGS'
38704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38709 /* end confdefs.h. */
38719 if ac_fn_cxx_try_compile "$LINENO"; then :
38720 glibcxx_cv_func_sincos_use=yes
38722 glibcxx_cv_func_sincos_use=no
38724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38726 ac_cpp='$CPP $CPPFLAGS'
38727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
38736 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
38738 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
38739 for ac_func in sincos
38741 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
38742 if test "x$ac_cv_func_sincos" = x""yes; then :
38743 cat >>confdefs.h <<_ACEOF
38744 #define HAVE_SINCOS 1
38752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
38753 $as_echo_n "checking for _sincos declaration... " >&6; }
38754 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
38755 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
38756 $as_echo_n "(cached) " >&6
38761 ac_cpp='$CXXCPP $CPPFLAGS'
38762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38767 /* end confdefs.h. */
38777 if ac_fn_cxx_try_compile "$LINENO"; then :
38778 glibcxx_cv_func__sincos_use=yes
38780 glibcxx_cv_func__sincos_use=no
38782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38784 ac_cpp='$CPP $CPPFLAGS'
38785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
38794 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
38796 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
38797 for ac_func in _sincos
38799 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
38800 if test "x$ac_cv_func__sincos" = x""yes; then :
38801 cat >>confdefs.h <<_ACEOF
38802 #define HAVE__SINCOS 1
38815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
38816 $as_echo_n "checking for fpclass declaration... " >&6; }
38817 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
38818 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
38819 $as_echo_n "(cached) " >&6
38824 ac_cpp='$CXXCPP $CPPFLAGS'
38825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38830 /* end confdefs.h. */
38832 #ifdef HAVE_IEEEFP_H
38833 #include <ieeefp.h>
38844 if ac_fn_cxx_try_compile "$LINENO"; then :
38845 glibcxx_cv_func_fpclass_use=yes
38847 glibcxx_cv_func_fpclass_use=no
38849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38851 ac_cpp='$CPP $CPPFLAGS'
38852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
38861 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
38863 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
38864 for ac_func in fpclass
38866 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
38867 if test "x$ac_cv_func_fpclass" = x""yes; then :
38868 cat >>confdefs.h <<_ACEOF
38869 #define HAVE_FPCLASS 1
38877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
38878 $as_echo_n "checking for _fpclass declaration... " >&6; }
38879 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
38880 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
38881 $as_echo_n "(cached) " >&6
38886 ac_cpp='$CXXCPP $CPPFLAGS'
38887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38892 /* end confdefs.h. */
38894 #ifdef HAVE_IEEEFP_H
38895 #include <ieeefp.h>
38906 if ac_fn_cxx_try_compile "$LINENO"; then :
38907 glibcxx_cv_func__fpclass_use=yes
38909 glibcxx_cv_func__fpclass_use=no
38911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38913 ac_cpp='$CPP $CPPFLAGS'
38914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
38923 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
38925 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
38926 for ac_func in _fpclass
38928 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
38929 if test "x$ac_cv_func__fpclass" = x""yes; then :
38930 cat >>confdefs.h <<_ACEOF
38931 #define HAVE__FPCLASS 1
38944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
38945 $as_echo_n "checking for qfpclass declaration... " >&6; }
38946 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
38947 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
38948 $as_echo_n "(cached) " >&6
38953 ac_cpp='$CXXCPP $CPPFLAGS'
38954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38959 /* end confdefs.h. */
38961 #ifdef HAVE_IEEEFP_H
38962 #include <ieeefp.h>
38973 if ac_fn_cxx_try_compile "$LINENO"; then :
38974 glibcxx_cv_func_qfpclass_use=yes
38976 glibcxx_cv_func_qfpclass_use=no
38978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38980 ac_cpp='$CPP $CPPFLAGS'
38981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
38990 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
38992 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
38993 for ac_func in qfpclass
38995 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
38996 if test "x$ac_cv_func_qfpclass" = x""yes; then :
38997 cat >>confdefs.h <<_ACEOF
38998 #define HAVE_QFPCLASS 1
39006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39007 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39008 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39009 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39010 $as_echo_n "(cached) " >&6
39015 ac_cpp='$CXXCPP $CPPFLAGS'
39016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39021 /* end confdefs.h. */
39023 #ifdef HAVE_IEEEFP_H
39024 #include <ieeefp.h>
39035 if ac_fn_cxx_try_compile "$LINENO"; then :
39036 glibcxx_cv_func__qfpclass_use=yes
39038 glibcxx_cv_func__qfpclass_use=no
39040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39042 ac_cpp='$CPP $CPPFLAGS'
39043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39052 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39054 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39055 for ac_func in _qfpclass
39057 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39058 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39059 cat >>confdefs.h <<_ACEOF
39060 #define HAVE__QFPCLASS 1
39073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39074 $as_echo_n "checking for hypot declaration... " >&6; }
39075 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39076 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
39077 $as_echo_n "(cached) " >&6
39082 ac_cpp='$CXXCPP $CPPFLAGS'
39083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39088 /* end confdefs.h. */
39098 if ac_fn_cxx_try_compile "$LINENO"; then :
39099 glibcxx_cv_func_hypot_use=yes
39101 glibcxx_cv_func_hypot_use=no
39103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39105 ac_cpp='$CPP $CPPFLAGS'
39106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
39115 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
39117 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
39118 for ac_func in hypot
39120 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
39121 if test "x$ac_cv_func_hypot" = x""yes; then :
39122 cat >>confdefs.h <<_ACEOF
39123 #define HAVE_HYPOT 1
39131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
39132 $as_echo_n "checking for _hypot declaration... " >&6; }
39133 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
39134 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
39135 $as_echo_n "(cached) " >&6
39140 ac_cpp='$CXXCPP $CPPFLAGS'
39141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39146 /* end confdefs.h. */
39156 if ac_fn_cxx_try_compile "$LINENO"; then :
39157 glibcxx_cv_func__hypot_use=yes
39159 glibcxx_cv_func__hypot_use=no
39161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39163 ac_cpp='$CPP $CPPFLAGS'
39164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
39173 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
39175 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
39176 for ac_func in _hypot
39178 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
39179 if test "x$ac_cv_func__hypot" = x""yes; then :
39180 cat >>confdefs.h <<_ACEOF
39181 #define HAVE__HYPOT 1
39194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
39195 $as_echo_n "checking for float trig functions... " >&6; }
39196 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
39197 $as_echo_n "(cached) " >&6
39202 ac_cpp='$CXXCPP $CPPFLAGS'
39203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39208 /* end confdefs.h. */
39213 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
39218 if ac_fn_cxx_try_compile "$LINENO"; then :
39219 glibcxx_cv_func_float_trig_use=yes
39221 glibcxx_cv_func_float_trig_use=no
39223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39225 ac_cpp='$CPP $CPPFLAGS'
39226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
39233 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
39234 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
39235 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
39237 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39238 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39239 eval as_val=\$$as_ac_var
39240 if test "x$as_val" = x""yes; then :
39241 cat >>confdefs.h <<_ACEOF
39242 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
39250 $as_echo_n "checking for _float trig functions... " >&6; }
39251 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
39252 $as_echo_n "(cached) " >&6
39257 ac_cpp='$CXXCPP $CPPFLAGS'
39258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39263 /* end confdefs.h. */
39268 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
39273 if ac_fn_cxx_try_compile "$LINENO"; then :
39274 glibcxx_cv_func__float_trig_use=yes
39276 glibcxx_cv_func__float_trig_use=no
39278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39280 ac_cpp='$CPP $CPPFLAGS'
39281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
39288 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
39289 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
39290 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
39292 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39293 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39294 eval as_val=\$$as_ac_var
39295 if test "x$as_val" = x""yes; then :
39296 cat >>confdefs.h <<_ACEOF
39297 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
39311 $as_echo_n "checking for float round functions... " >&6; }
39312 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
39313 $as_echo_n "(cached) " >&6
39318 ac_cpp='$CXXCPP $CPPFLAGS'
39319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39324 /* end confdefs.h. */
39329 ceilf (0); floorf (0);
39334 if ac_fn_cxx_try_compile "$LINENO"; then :
39335 glibcxx_cv_func_float_round_use=yes
39337 glibcxx_cv_func_float_round_use=no
39339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39341 ac_cpp='$CPP $CPPFLAGS'
39342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
39349 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
39350 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
39351 for ac_func in ceilf floorf
39353 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39354 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39355 eval as_val=\$$as_ac_var
39356 if test "x$as_val" = x""yes; then :
39357 cat >>confdefs.h <<_ACEOF
39358 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
39366 $as_echo_n "checking for _float round functions... " >&6; }
39367 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
39368 $as_echo_n "(cached) " >&6
39373 ac_cpp='$CXXCPP $CPPFLAGS'
39374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39379 /* end confdefs.h. */
39384 _ceilf (0); _floorf (0);
39389 if ac_fn_cxx_try_compile "$LINENO"; then :
39390 glibcxx_cv_func__float_round_use=yes
39392 glibcxx_cv_func__float_round_use=no
39394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39396 ac_cpp='$CPP $CPPFLAGS'
39397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
39404 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
39405 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
39406 for ac_func in _ceilf _floorf
39408 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39409 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39410 eval as_val=\$$as_ac_var
39411 if test "x$as_val" = x""yes; then :
39412 cat >>confdefs.h <<_ACEOF
39413 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
39428 $as_echo_n "checking for expf declaration... " >&6; }
39429 if test x${glibcxx_cv_func_expf_use+set} != xset; then
39430 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
39431 $as_echo_n "(cached) " >&6
39436 ac_cpp='$CXXCPP $CPPFLAGS'
39437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39442 /* end confdefs.h. */
39444 #ifdef HAVE_IEEEFP_H
39445 #include <ieeefp.h>
39456 if ac_fn_cxx_try_compile "$LINENO"; then :
39457 glibcxx_cv_func_expf_use=yes
39459 glibcxx_cv_func_expf_use=no
39461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39463 ac_cpp='$CPP $CPPFLAGS'
39464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
39473 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
39475 if test x$glibcxx_cv_func_expf_use = x"yes"; then
39476 for ac_func in expf
39478 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
39479 if test "x$ac_cv_func_expf" = x""yes; then :
39480 cat >>confdefs.h <<_ACEOF
39481 #define HAVE_EXPF 1
39489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
39490 $as_echo_n "checking for _expf declaration... " >&6; }
39491 if test x${glibcxx_cv_func__expf_use+set} != xset; then
39492 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
39493 $as_echo_n "(cached) " >&6
39498 ac_cpp='$CXXCPP $CPPFLAGS'
39499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39504 /* end confdefs.h. */
39506 #ifdef HAVE_IEEEFP_H
39507 #include <ieeefp.h>
39518 if ac_fn_cxx_try_compile "$LINENO"; then :
39519 glibcxx_cv_func__expf_use=yes
39521 glibcxx_cv_func__expf_use=no
39523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39525 ac_cpp='$CPP $CPPFLAGS'
39526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
39535 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
39537 if test x$glibcxx_cv_func__expf_use = x"yes"; then
39538 for ac_func in _expf
39540 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
39541 if test "x$ac_cv_func__expf" = x""yes; then :
39542 cat >>confdefs.h <<_ACEOF
39543 #define HAVE__EXPF 1
39556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
39557 $as_echo_n "checking for isnanf declaration... " >&6; }
39558 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
39559 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
39560 $as_echo_n "(cached) " >&6
39565 ac_cpp='$CXXCPP $CPPFLAGS'
39566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39571 /* end confdefs.h. */
39573 #ifdef HAVE_IEEEFP_H
39574 #include <ieeefp.h>
39585 if ac_fn_cxx_try_compile "$LINENO"; then :
39586 glibcxx_cv_func_isnanf_use=yes
39588 glibcxx_cv_func_isnanf_use=no
39590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39592 ac_cpp='$CPP $CPPFLAGS'
39593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
39602 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
39604 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
39605 for ac_func in isnanf
39607 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
39608 if test "x$ac_cv_func_isnanf" = x""yes; then :
39609 cat >>confdefs.h <<_ACEOF
39610 #define HAVE_ISNANF 1
39618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
39619 $as_echo_n "checking for _isnanf declaration... " >&6; }
39620 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
39621 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
39622 $as_echo_n "(cached) " >&6
39627 ac_cpp='$CXXCPP $CPPFLAGS'
39628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39633 /* end confdefs.h. */
39635 #ifdef HAVE_IEEEFP_H
39636 #include <ieeefp.h>
39647 if ac_fn_cxx_try_compile "$LINENO"; then :
39648 glibcxx_cv_func__isnanf_use=yes
39650 glibcxx_cv_func__isnanf_use=no
39652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39654 ac_cpp='$CPP $CPPFLAGS'
39655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
39664 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
39666 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
39667 for ac_func in _isnanf
39669 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
39670 if test "x$ac_cv_func__isnanf" = x""yes; then :
39671 cat >>confdefs.h <<_ACEOF
39672 #define HAVE__ISNANF 1
39685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
39686 $as_echo_n "checking for isinff declaration... " >&6; }
39687 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
39688 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
39689 $as_echo_n "(cached) " >&6
39694 ac_cpp='$CXXCPP $CPPFLAGS'
39695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39700 /* end confdefs.h. */
39702 #ifdef HAVE_IEEEFP_H
39703 #include <ieeefp.h>
39714 if ac_fn_cxx_try_compile "$LINENO"; then :
39715 glibcxx_cv_func_isinff_use=yes
39717 glibcxx_cv_func_isinff_use=no
39719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39721 ac_cpp='$CPP $CPPFLAGS'
39722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
39731 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
39733 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
39734 for ac_func in isinff
39736 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
39737 if test "x$ac_cv_func_isinff" = x""yes; then :
39738 cat >>confdefs.h <<_ACEOF
39739 #define HAVE_ISINFF 1
39747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
39748 $as_echo_n "checking for _isinff declaration... " >&6; }
39749 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
39750 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
39751 $as_echo_n "(cached) " >&6
39756 ac_cpp='$CXXCPP $CPPFLAGS'
39757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39762 /* end confdefs.h. */
39764 #ifdef HAVE_IEEEFP_H
39765 #include <ieeefp.h>
39776 if ac_fn_cxx_try_compile "$LINENO"; then :
39777 glibcxx_cv_func__isinff_use=yes
39779 glibcxx_cv_func__isinff_use=no
39781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39783 ac_cpp='$CPP $CPPFLAGS'
39784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
39793 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
39795 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
39796 for ac_func in _isinff
39798 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
39799 if test "x$ac_cv_func__isinff" = x""yes; then :
39800 cat >>confdefs.h <<_ACEOF
39801 #define HAVE__ISINFF 1
39814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
39815 $as_echo_n "checking for atan2f declaration... " >&6; }
39816 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
39817 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
39818 $as_echo_n "(cached) " >&6
39823 ac_cpp='$CXXCPP $CPPFLAGS'
39824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39829 /* end confdefs.h. */
39839 if ac_fn_cxx_try_compile "$LINENO"; then :
39840 glibcxx_cv_func_atan2f_use=yes
39842 glibcxx_cv_func_atan2f_use=no
39844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39846 ac_cpp='$CPP $CPPFLAGS'
39847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
39856 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
39858 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
39859 for ac_func in atan2f
39861 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
39862 if test "x$ac_cv_func_atan2f" = x""yes; then :
39863 cat >>confdefs.h <<_ACEOF
39864 #define HAVE_ATAN2F 1
39872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
39873 $as_echo_n "checking for _atan2f declaration... " >&6; }
39874 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
39875 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
39876 $as_echo_n "(cached) " >&6
39881 ac_cpp='$CXXCPP $CPPFLAGS'
39882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39887 /* end confdefs.h. */
39897 if ac_fn_cxx_try_compile "$LINENO"; then :
39898 glibcxx_cv_func__atan2f_use=yes
39900 glibcxx_cv_func__atan2f_use=no
39902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39904 ac_cpp='$CPP $CPPFLAGS'
39905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
39914 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
39916 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
39917 for ac_func in _atan2f
39919 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
39920 if test "x$ac_cv_func__atan2f" = x""yes; then :
39921 cat >>confdefs.h <<_ACEOF
39922 #define HAVE__ATAN2F 1
39935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
39936 $as_echo_n "checking for fabsf declaration... " >&6; }
39937 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
39938 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
39939 $as_echo_n "(cached) " >&6
39944 ac_cpp='$CXXCPP $CPPFLAGS'
39945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39950 /* end confdefs.h. */
39952 #ifdef HAVE_IEEEFP_H
39953 #include <ieeefp.h>
39964 if ac_fn_cxx_try_compile "$LINENO"; then :
39965 glibcxx_cv_func_fabsf_use=yes
39967 glibcxx_cv_func_fabsf_use=no
39969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39971 ac_cpp='$CPP $CPPFLAGS'
39972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
39981 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
39983 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
39984 for ac_func in fabsf
39986 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
39987 if test "x$ac_cv_func_fabsf" = x""yes; then :
39988 cat >>confdefs.h <<_ACEOF
39989 #define HAVE_FABSF 1
39997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
39998 $as_echo_n "checking for _fabsf declaration... " >&6; }
39999 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40000 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40001 $as_echo_n "(cached) " >&6
40006 ac_cpp='$CXXCPP $CPPFLAGS'
40007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40012 /* end confdefs.h. */
40014 #ifdef HAVE_IEEEFP_H
40015 #include <ieeefp.h>
40026 if ac_fn_cxx_try_compile "$LINENO"; then :
40027 glibcxx_cv_func__fabsf_use=yes
40029 glibcxx_cv_func__fabsf_use=no
40031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40033 ac_cpp='$CPP $CPPFLAGS'
40034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40043 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40045 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40046 for ac_func in _fabsf
40048 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40049 if test "x$ac_cv_func__fabsf" = x""yes; then :
40050 cat >>confdefs.h <<_ACEOF
40051 #define HAVE__FABSF 1
40064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40065 $as_echo_n "checking for fmodf declaration... " >&6; }
40066 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40067 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40068 $as_echo_n "(cached) " >&6
40073 ac_cpp='$CXXCPP $CPPFLAGS'
40074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40079 /* end confdefs.h. */
40089 if ac_fn_cxx_try_compile "$LINENO"; then :
40090 glibcxx_cv_func_fmodf_use=yes
40092 glibcxx_cv_func_fmodf_use=no
40094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40096 ac_cpp='$CPP $CPPFLAGS'
40097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
40106 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
40108 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
40109 for ac_func in fmodf
40111 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
40112 if test "x$ac_cv_func_fmodf" = x""yes; then :
40113 cat >>confdefs.h <<_ACEOF
40114 #define HAVE_FMODF 1
40122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
40123 $as_echo_n "checking for _fmodf declaration... " >&6; }
40124 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
40125 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
40126 $as_echo_n "(cached) " >&6
40131 ac_cpp='$CXXCPP $CPPFLAGS'
40132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40137 /* end confdefs.h. */
40147 if ac_fn_cxx_try_compile "$LINENO"; then :
40148 glibcxx_cv_func__fmodf_use=yes
40150 glibcxx_cv_func__fmodf_use=no
40152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40154 ac_cpp='$CPP $CPPFLAGS'
40155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
40164 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
40166 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
40167 for ac_func in _fmodf
40169 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
40170 if test "x$ac_cv_func__fmodf" = x""yes; then :
40171 cat >>confdefs.h <<_ACEOF
40172 #define HAVE__FMODF 1
40185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
40186 $as_echo_n "checking for frexpf declaration... " >&6; }
40187 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
40188 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
40189 $as_echo_n "(cached) " >&6
40194 ac_cpp='$CXXCPP $CPPFLAGS'
40195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40200 /* end confdefs.h. */
40210 if ac_fn_cxx_try_compile "$LINENO"; then :
40211 glibcxx_cv_func_frexpf_use=yes
40213 glibcxx_cv_func_frexpf_use=no
40215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40217 ac_cpp='$CPP $CPPFLAGS'
40218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
40227 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
40229 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
40230 for ac_func in frexpf
40232 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
40233 if test "x$ac_cv_func_frexpf" = x""yes; then :
40234 cat >>confdefs.h <<_ACEOF
40235 #define HAVE_FREXPF 1
40243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
40244 $as_echo_n "checking for _frexpf declaration... " >&6; }
40245 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
40246 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
40247 $as_echo_n "(cached) " >&6
40252 ac_cpp='$CXXCPP $CPPFLAGS'
40253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40258 /* end confdefs.h. */
40268 if ac_fn_cxx_try_compile "$LINENO"; then :
40269 glibcxx_cv_func__frexpf_use=yes
40271 glibcxx_cv_func__frexpf_use=no
40273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40275 ac_cpp='$CPP $CPPFLAGS'
40276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
40285 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
40287 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
40288 for ac_func in _frexpf
40290 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
40291 if test "x$ac_cv_func__frexpf" = x""yes; then :
40292 cat >>confdefs.h <<_ACEOF
40293 #define HAVE__FREXPF 1
40306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
40307 $as_echo_n "checking for hypotf declaration... " >&6; }
40308 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
40309 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
40310 $as_echo_n "(cached) " >&6
40315 ac_cpp='$CXXCPP $CPPFLAGS'
40316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40321 /* end confdefs.h. */
40331 if ac_fn_cxx_try_compile "$LINENO"; then :
40332 glibcxx_cv_func_hypotf_use=yes
40334 glibcxx_cv_func_hypotf_use=no
40336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40338 ac_cpp='$CPP $CPPFLAGS'
40339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
40348 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
40350 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
40351 for ac_func in hypotf
40353 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
40354 if test "x$ac_cv_func_hypotf" = x""yes; then :
40355 cat >>confdefs.h <<_ACEOF
40356 #define HAVE_HYPOTF 1
40364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
40365 $as_echo_n "checking for _hypotf declaration... " >&6; }
40366 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
40367 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
40368 $as_echo_n "(cached) " >&6
40373 ac_cpp='$CXXCPP $CPPFLAGS'
40374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40379 /* end confdefs.h. */
40389 if ac_fn_cxx_try_compile "$LINENO"; then :
40390 glibcxx_cv_func__hypotf_use=yes
40392 glibcxx_cv_func__hypotf_use=no
40394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40396 ac_cpp='$CPP $CPPFLAGS'
40397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
40406 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
40408 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
40409 for ac_func in _hypotf
40411 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
40412 if test "x$ac_cv_func__hypotf" = x""yes; then :
40413 cat >>confdefs.h <<_ACEOF
40414 #define HAVE__HYPOTF 1
40427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
40428 $as_echo_n "checking for ldexpf declaration... " >&6; }
40429 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
40430 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
40431 $as_echo_n "(cached) " >&6
40436 ac_cpp='$CXXCPP $CPPFLAGS'
40437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40442 /* end confdefs.h. */
40452 if ac_fn_cxx_try_compile "$LINENO"; then :
40453 glibcxx_cv_func_ldexpf_use=yes
40455 glibcxx_cv_func_ldexpf_use=no
40457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40459 ac_cpp='$CPP $CPPFLAGS'
40460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
40469 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
40471 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
40472 for ac_func in ldexpf
40474 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
40475 if test "x$ac_cv_func_ldexpf" = x""yes; then :
40476 cat >>confdefs.h <<_ACEOF
40477 #define HAVE_LDEXPF 1
40485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
40486 $as_echo_n "checking for _ldexpf declaration... " >&6; }
40487 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
40488 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
40489 $as_echo_n "(cached) " >&6
40494 ac_cpp='$CXXCPP $CPPFLAGS'
40495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40500 /* end confdefs.h. */
40510 if ac_fn_cxx_try_compile "$LINENO"; then :
40511 glibcxx_cv_func__ldexpf_use=yes
40513 glibcxx_cv_func__ldexpf_use=no
40515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40517 ac_cpp='$CPP $CPPFLAGS'
40518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
40527 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
40529 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
40530 for ac_func in _ldexpf
40532 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
40533 if test "x$ac_cv_func__ldexpf" = x""yes; then :
40534 cat >>confdefs.h <<_ACEOF
40535 #define HAVE__LDEXPF 1
40548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
40549 $as_echo_n "checking for logf declaration... " >&6; }
40550 if test x${glibcxx_cv_func_logf_use+set} != xset; then
40551 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
40552 $as_echo_n "(cached) " >&6
40557 ac_cpp='$CXXCPP $CPPFLAGS'
40558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40563 /* end confdefs.h. */
40565 #ifdef HAVE_IEEEFP_H
40566 #include <ieeefp.h>
40577 if ac_fn_cxx_try_compile "$LINENO"; then :
40578 glibcxx_cv_func_logf_use=yes
40580 glibcxx_cv_func_logf_use=no
40582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40584 ac_cpp='$CPP $CPPFLAGS'
40585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
40594 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
40596 if test x$glibcxx_cv_func_logf_use = x"yes"; then
40597 for ac_func in logf
40599 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
40600 if test "x$ac_cv_func_logf" = x""yes; then :
40601 cat >>confdefs.h <<_ACEOF
40602 #define HAVE_LOGF 1
40610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
40611 $as_echo_n "checking for _logf declaration... " >&6; }
40612 if test x${glibcxx_cv_func__logf_use+set} != xset; then
40613 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
40614 $as_echo_n "(cached) " >&6
40619 ac_cpp='$CXXCPP $CPPFLAGS'
40620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40625 /* end confdefs.h. */
40627 #ifdef HAVE_IEEEFP_H
40628 #include <ieeefp.h>
40639 if ac_fn_cxx_try_compile "$LINENO"; then :
40640 glibcxx_cv_func__logf_use=yes
40642 glibcxx_cv_func__logf_use=no
40644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40646 ac_cpp='$CPP $CPPFLAGS'
40647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
40656 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
40658 if test x$glibcxx_cv_func__logf_use = x"yes"; then
40659 for ac_func in _logf
40661 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
40662 if test "x$ac_cv_func__logf" = x""yes; then :
40663 cat >>confdefs.h <<_ACEOF
40664 #define HAVE__LOGF 1
40677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
40678 $as_echo_n "checking for log10f declaration... " >&6; }
40679 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
40680 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
40681 $as_echo_n "(cached) " >&6
40686 ac_cpp='$CXXCPP $CPPFLAGS'
40687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40692 /* end confdefs.h. */
40694 #ifdef HAVE_IEEEFP_H
40695 #include <ieeefp.h>
40706 if ac_fn_cxx_try_compile "$LINENO"; then :
40707 glibcxx_cv_func_log10f_use=yes
40709 glibcxx_cv_func_log10f_use=no
40711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40713 ac_cpp='$CPP $CPPFLAGS'
40714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
40723 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
40725 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
40726 for ac_func in log10f
40728 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
40729 if test "x$ac_cv_func_log10f" = x""yes; then :
40730 cat >>confdefs.h <<_ACEOF
40731 #define HAVE_LOG10F 1
40739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
40740 $as_echo_n "checking for _log10f declaration... " >&6; }
40741 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
40742 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
40743 $as_echo_n "(cached) " >&6
40748 ac_cpp='$CXXCPP $CPPFLAGS'
40749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40754 /* end confdefs.h. */
40756 #ifdef HAVE_IEEEFP_H
40757 #include <ieeefp.h>
40768 if ac_fn_cxx_try_compile "$LINENO"; then :
40769 glibcxx_cv_func__log10f_use=yes
40771 glibcxx_cv_func__log10f_use=no
40773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40775 ac_cpp='$CPP $CPPFLAGS'
40776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
40785 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
40787 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
40788 for ac_func in _log10f
40790 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
40791 if test "x$ac_cv_func__log10f" = x""yes; then :
40792 cat >>confdefs.h <<_ACEOF
40793 #define HAVE__LOG10F 1
40806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
40807 $as_echo_n "checking for modff declaration... " >&6; }
40808 if test x${glibcxx_cv_func_modff_use+set} != xset; then
40809 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
40810 $as_echo_n "(cached) " >&6
40815 ac_cpp='$CXXCPP $CPPFLAGS'
40816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40821 /* end confdefs.h. */
40831 if ac_fn_cxx_try_compile "$LINENO"; then :
40832 glibcxx_cv_func_modff_use=yes
40834 glibcxx_cv_func_modff_use=no
40836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40838 ac_cpp='$CPP $CPPFLAGS'
40839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
40848 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
40850 if test x$glibcxx_cv_func_modff_use = x"yes"; then
40851 for ac_func in modff
40853 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
40854 if test "x$ac_cv_func_modff" = x""yes; then :
40855 cat >>confdefs.h <<_ACEOF
40856 #define HAVE_MODFF 1
40864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
40865 $as_echo_n "checking for _modff declaration... " >&6; }
40866 if test x${glibcxx_cv_func__modff_use+set} != xset; then
40867 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
40868 $as_echo_n "(cached) " >&6
40873 ac_cpp='$CXXCPP $CPPFLAGS'
40874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40879 /* end confdefs.h. */
40889 if ac_fn_cxx_try_compile "$LINENO"; then :
40890 glibcxx_cv_func__modff_use=yes
40892 glibcxx_cv_func__modff_use=no
40894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40896 ac_cpp='$CPP $CPPFLAGS'
40897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
40906 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
40908 if test x$glibcxx_cv_func__modff_use = x"yes"; then
40909 for ac_func in _modff
40911 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
40912 if test "x$ac_cv_func__modff" = x""yes; then :
40913 cat >>confdefs.h <<_ACEOF
40914 #define HAVE__MODFF 1
40927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
40928 $as_echo_n "checking for modf declaration... " >&6; }
40929 if test x${glibcxx_cv_func_modf_use+set} != xset; then
40930 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
40931 $as_echo_n "(cached) " >&6
40936 ac_cpp='$CXXCPP $CPPFLAGS'
40937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40942 /* end confdefs.h. */
40952 if ac_fn_cxx_try_compile "$LINENO"; then :
40953 glibcxx_cv_func_modf_use=yes
40955 glibcxx_cv_func_modf_use=no
40957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40959 ac_cpp='$CPP $CPPFLAGS'
40960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
40969 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
40971 if test x$glibcxx_cv_func_modf_use = x"yes"; then
40972 for ac_func in modf
40974 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
40975 if test "x$ac_cv_func_modf" = x""yes; then :
40976 cat >>confdefs.h <<_ACEOF
40977 #define HAVE_MODF 1
40985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
40986 $as_echo_n "checking for _modf declaration... " >&6; }
40987 if test x${glibcxx_cv_func__modf_use+set} != xset; then
40988 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
40989 $as_echo_n "(cached) " >&6
40994 ac_cpp='$CXXCPP $CPPFLAGS'
40995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41000 /* end confdefs.h. */
41010 if ac_fn_cxx_try_compile "$LINENO"; then :
41011 glibcxx_cv_func__modf_use=yes
41013 glibcxx_cv_func__modf_use=no
41015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41017 ac_cpp='$CPP $CPPFLAGS'
41018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41027 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41029 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41030 for ac_func in _modf
41032 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41033 if test "x$ac_cv_func__modf" = x""yes; then :
41034 cat >>confdefs.h <<_ACEOF
41035 #define HAVE__MODF 1
41048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41049 $as_echo_n "checking for powf declaration... " >&6; }
41050 if test x${glibcxx_cv_func_powf_use+set} != xset; then
41051 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41052 $as_echo_n "(cached) " >&6
41057 ac_cpp='$CXXCPP $CPPFLAGS'
41058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41063 /* end confdefs.h. */
41073 if ac_fn_cxx_try_compile "$LINENO"; then :
41074 glibcxx_cv_func_powf_use=yes
41076 glibcxx_cv_func_powf_use=no
41078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41080 ac_cpp='$CPP $CPPFLAGS'
41081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
41090 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41092 if test x$glibcxx_cv_func_powf_use = x"yes"; then
41093 for ac_func in powf
41095 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41096 if test "x$ac_cv_func_powf" = x""yes; then :
41097 cat >>confdefs.h <<_ACEOF
41098 #define HAVE_POWF 1
41106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
41107 $as_echo_n "checking for _powf declaration... " >&6; }
41108 if test x${glibcxx_cv_func__powf_use+set} != xset; then
41109 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
41110 $as_echo_n "(cached) " >&6
41115 ac_cpp='$CXXCPP $CPPFLAGS'
41116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41121 /* end confdefs.h. */
41131 if ac_fn_cxx_try_compile "$LINENO"; then :
41132 glibcxx_cv_func__powf_use=yes
41134 glibcxx_cv_func__powf_use=no
41136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41138 ac_cpp='$CPP $CPPFLAGS'
41139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
41148 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
41150 if test x$glibcxx_cv_func__powf_use = x"yes"; then
41151 for ac_func in _powf
41153 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
41154 if test "x$ac_cv_func__powf" = x""yes; then :
41155 cat >>confdefs.h <<_ACEOF
41156 #define HAVE__POWF 1
41169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
41170 $as_echo_n "checking for sqrtf declaration... " >&6; }
41171 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41172 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
41173 $as_echo_n "(cached) " >&6
41178 ac_cpp='$CXXCPP $CPPFLAGS'
41179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41184 /* end confdefs.h. */
41186 #ifdef HAVE_IEEEFP_H
41187 #include <ieeefp.h>
41198 if ac_fn_cxx_try_compile "$LINENO"; then :
41199 glibcxx_cv_func_sqrtf_use=yes
41201 glibcxx_cv_func_sqrtf_use=no
41203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41205 ac_cpp='$CPP $CPPFLAGS'
41206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
41215 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
41217 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41218 for ac_func in sqrtf
41220 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
41221 if test "x$ac_cv_func_sqrtf" = x""yes; then :
41222 cat >>confdefs.h <<_ACEOF
41223 #define HAVE_SQRTF 1
41231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
41232 $as_echo_n "checking for _sqrtf declaration... " >&6; }
41233 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41234 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
41235 $as_echo_n "(cached) " >&6
41240 ac_cpp='$CXXCPP $CPPFLAGS'
41241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41246 /* end confdefs.h. */
41248 #ifdef HAVE_IEEEFP_H
41249 #include <ieeefp.h>
41260 if ac_fn_cxx_try_compile "$LINENO"; then :
41261 glibcxx_cv_func__sqrtf_use=yes
41263 glibcxx_cv_func__sqrtf_use=no
41265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41267 ac_cpp='$CPP $CPPFLAGS'
41268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
41277 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
41279 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41280 for ac_func in _sqrtf
41282 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
41283 if test "x$ac_cv_func__sqrtf" = x""yes; then :
41284 cat >>confdefs.h <<_ACEOF
41285 #define HAVE__SQRTF 1
41298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
41299 $as_echo_n "checking for sincosf declaration... " >&6; }
41300 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
41301 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
41302 $as_echo_n "(cached) " >&6
41307 ac_cpp='$CXXCPP $CPPFLAGS'
41308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41313 /* end confdefs.h. */
41323 if ac_fn_cxx_try_compile "$LINENO"; then :
41324 glibcxx_cv_func_sincosf_use=yes
41326 glibcxx_cv_func_sincosf_use=no
41328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41330 ac_cpp='$CPP $CPPFLAGS'
41331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
41340 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
41342 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
41343 for ac_func in sincosf
41345 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
41346 if test "x$ac_cv_func_sincosf" = x""yes; then :
41347 cat >>confdefs.h <<_ACEOF
41348 #define HAVE_SINCOSF 1
41356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
41357 $as_echo_n "checking for _sincosf declaration... " >&6; }
41358 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
41359 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
41360 $as_echo_n "(cached) " >&6
41365 ac_cpp='$CXXCPP $CPPFLAGS'
41366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41371 /* end confdefs.h. */
41381 if ac_fn_cxx_try_compile "$LINENO"; then :
41382 glibcxx_cv_func__sincosf_use=yes
41384 glibcxx_cv_func__sincosf_use=no
41386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41388 ac_cpp='$CPP $CPPFLAGS'
41389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
41398 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
41400 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
41401 for ac_func in _sincosf
41403 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
41404 if test "x$ac_cv_func__sincosf" = x""yes; then :
41405 cat >>confdefs.h <<_ACEOF
41406 #define HAVE__SINCOSF 1
41419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
41420 $as_echo_n "checking for finitef declaration... " >&6; }
41421 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
41422 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
41423 $as_echo_n "(cached) " >&6
41428 ac_cpp='$CXXCPP $CPPFLAGS'
41429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41434 /* end confdefs.h. */
41436 #ifdef HAVE_IEEEFP_H
41437 #include <ieeefp.h>
41448 if ac_fn_cxx_try_compile "$LINENO"; then :
41449 glibcxx_cv_func_finitef_use=yes
41451 glibcxx_cv_func_finitef_use=no
41453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41455 ac_cpp='$CPP $CPPFLAGS'
41456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
41465 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
41467 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
41468 for ac_func in finitef
41470 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
41471 if test "x$ac_cv_func_finitef" = x""yes; then :
41472 cat >>confdefs.h <<_ACEOF
41473 #define HAVE_FINITEF 1
41481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
41482 $as_echo_n "checking for _finitef declaration... " >&6; }
41483 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
41484 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
41485 $as_echo_n "(cached) " >&6
41490 ac_cpp='$CXXCPP $CPPFLAGS'
41491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41496 /* end confdefs.h. */
41498 #ifdef HAVE_IEEEFP_H
41499 #include <ieeefp.h>
41510 if ac_fn_cxx_try_compile "$LINENO"; then :
41511 glibcxx_cv_func__finitef_use=yes
41513 glibcxx_cv_func__finitef_use=no
41515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41517 ac_cpp='$CPP $CPPFLAGS'
41518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
41527 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
41529 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
41530 for ac_func in _finitef
41532 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
41533 if test "x$ac_cv_func__finitef" = x""yes; then :
41534 cat >>confdefs.h <<_ACEOF
41535 #define HAVE__FINITEF 1
41548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
41549 $as_echo_n "checking for long double trig functions... " >&6; }
41550 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
41551 $as_echo_n "(cached) " >&6
41556 ac_cpp='$CXXCPP $CPPFLAGS'
41557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41562 /* end confdefs.h. */
41567 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
41572 if ac_fn_cxx_try_compile "$LINENO"; then :
41573 glibcxx_cv_func_long_double_trig_use=yes
41575 glibcxx_cv_func_long_double_trig_use=no
41577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41579 ac_cpp='$CPP $CPPFLAGS'
41580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
41587 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
41588 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
41589 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
41591 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41592 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41593 eval as_val=\$$as_ac_var
41594 if test "x$as_val" = x""yes; then :
41595 cat >>confdefs.h <<_ACEOF
41596 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
41604 $as_echo_n "checking for _long double trig functions... " >&6; }
41605 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
41606 $as_echo_n "(cached) " >&6
41611 ac_cpp='$CXXCPP $CPPFLAGS'
41612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41617 /* end confdefs.h. */
41622 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
41627 if ac_fn_cxx_try_compile "$LINENO"; then :
41628 glibcxx_cv_func__long_double_trig_use=yes
41630 glibcxx_cv_func__long_double_trig_use=no
41632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41634 ac_cpp='$CPP $CPPFLAGS'
41635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
41642 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
41643 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
41644 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
41646 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41647 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41648 eval as_val=\$$as_ac_var
41649 if test "x$as_val" = x""yes; then :
41650 cat >>confdefs.h <<_ACEOF
41651 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
41665 $as_echo_n "checking for long double round functions... " >&6; }
41666 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
41667 $as_echo_n "(cached) " >&6
41672 ac_cpp='$CXXCPP $CPPFLAGS'
41673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41678 /* end confdefs.h. */
41683 ceill (0); floorl (0);
41688 if ac_fn_cxx_try_compile "$LINENO"; then :
41689 glibcxx_cv_func_long_double_round_use=yes
41691 glibcxx_cv_func_long_double_round_use=no
41693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41695 ac_cpp='$CPP $CPPFLAGS'
41696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
41703 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
41704 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41705 for ac_func in ceill floorl
41707 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41708 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41709 eval as_val=\$$as_ac_var
41710 if test "x$as_val" = x""yes; then :
41711 cat >>confdefs.h <<_ACEOF
41712 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
41720 $as_echo_n "checking for _long double round functions... " >&6; }
41721 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
41722 $as_echo_n "(cached) " >&6
41727 ac_cpp='$CXXCPP $CPPFLAGS'
41728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41733 /* end confdefs.h. */
41738 _ceill (0); _floorl (0);
41743 if ac_fn_cxx_try_compile "$LINENO"; then :
41744 glibcxx_cv_func__long_double_round_use=yes
41746 glibcxx_cv_func__long_double_round_use=no
41748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41750 ac_cpp='$CPP $CPPFLAGS'
41751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
41758 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
41759 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
41760 for ac_func in _ceill _floorl
41762 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41763 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41764 eval as_val=\$$as_ac_var
41765 if test "x$as_val" = x""yes; then :
41766 cat >>confdefs.h <<_ACEOF
41767 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
41782 $as_echo_n "checking for isnanl declaration... " >&6; }
41783 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
41784 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
41785 $as_echo_n "(cached) " >&6
41790 ac_cpp='$CXXCPP $CPPFLAGS'
41791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41796 /* end confdefs.h. */
41798 #ifdef HAVE_IEEEFP_H
41799 #include <ieeefp.h>
41810 if ac_fn_cxx_try_compile "$LINENO"; then :
41811 glibcxx_cv_func_isnanl_use=yes
41813 glibcxx_cv_func_isnanl_use=no
41815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41817 ac_cpp='$CPP $CPPFLAGS'
41818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
41827 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
41829 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
41830 for ac_func in isnanl
41832 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
41833 if test "x$ac_cv_func_isnanl" = x""yes; then :
41834 cat >>confdefs.h <<_ACEOF
41835 #define HAVE_ISNANL 1
41843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
41844 $as_echo_n "checking for _isnanl declaration... " >&6; }
41845 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
41846 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
41847 $as_echo_n "(cached) " >&6
41852 ac_cpp='$CXXCPP $CPPFLAGS'
41853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41858 /* end confdefs.h. */
41860 #ifdef HAVE_IEEEFP_H
41861 #include <ieeefp.h>
41872 if ac_fn_cxx_try_compile "$LINENO"; then :
41873 glibcxx_cv_func__isnanl_use=yes
41875 glibcxx_cv_func__isnanl_use=no
41877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41879 ac_cpp='$CPP $CPPFLAGS'
41880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
41889 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
41891 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
41892 for ac_func in _isnanl
41894 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
41895 if test "x$ac_cv_func__isnanl" = x""yes; then :
41896 cat >>confdefs.h <<_ACEOF
41897 #define HAVE__ISNANL 1
41910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
41911 $as_echo_n "checking for isinfl declaration... " >&6; }
41912 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
41913 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
41914 $as_echo_n "(cached) " >&6
41919 ac_cpp='$CXXCPP $CPPFLAGS'
41920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41925 /* end confdefs.h. */
41927 #ifdef HAVE_IEEEFP_H
41928 #include <ieeefp.h>
41939 if ac_fn_cxx_try_compile "$LINENO"; then :
41940 glibcxx_cv_func_isinfl_use=yes
41942 glibcxx_cv_func_isinfl_use=no
41944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41946 ac_cpp='$CPP $CPPFLAGS'
41947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
41956 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
41958 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
41959 for ac_func in isinfl
41961 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
41962 if test "x$ac_cv_func_isinfl" = x""yes; then :
41963 cat >>confdefs.h <<_ACEOF
41964 #define HAVE_ISINFL 1
41972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
41973 $as_echo_n "checking for _isinfl declaration... " >&6; }
41974 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
41975 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
41976 $as_echo_n "(cached) " >&6
41981 ac_cpp='$CXXCPP $CPPFLAGS'
41982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41987 /* end confdefs.h. */
41989 #ifdef HAVE_IEEEFP_H
41990 #include <ieeefp.h>
42001 if ac_fn_cxx_try_compile "$LINENO"; then :
42002 glibcxx_cv_func__isinfl_use=yes
42004 glibcxx_cv_func__isinfl_use=no
42006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42008 ac_cpp='$CPP $CPPFLAGS'
42009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42018 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42020 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42021 for ac_func in _isinfl
42023 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42024 if test "x$ac_cv_func__isinfl" = x""yes; then :
42025 cat >>confdefs.h <<_ACEOF
42026 #define HAVE__ISINFL 1
42039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42040 $as_echo_n "checking for atan2l declaration... " >&6; }
42041 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42042 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42043 $as_echo_n "(cached) " >&6
42048 ac_cpp='$CXXCPP $CPPFLAGS'
42049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42054 /* end confdefs.h. */
42064 if ac_fn_cxx_try_compile "$LINENO"; then :
42065 glibcxx_cv_func_atan2l_use=yes
42067 glibcxx_cv_func_atan2l_use=no
42069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42071 ac_cpp='$CPP $CPPFLAGS'
42072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
42081 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
42083 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42084 for ac_func in atan2l
42086 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
42087 if test "x$ac_cv_func_atan2l" = x""yes; then :
42088 cat >>confdefs.h <<_ACEOF
42089 #define HAVE_ATAN2L 1
42097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42098 $as_echo_n "checking for _atan2l declaration... " >&6; }
42099 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42100 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
42101 $as_echo_n "(cached) " >&6
42106 ac_cpp='$CXXCPP $CPPFLAGS'
42107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42112 /* end confdefs.h. */
42122 if ac_fn_cxx_try_compile "$LINENO"; then :
42123 glibcxx_cv_func__atan2l_use=yes
42125 glibcxx_cv_func__atan2l_use=no
42127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42129 ac_cpp='$CPP $CPPFLAGS'
42130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
42139 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
42141 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42142 for ac_func in _atan2l
42144 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
42145 if test "x$ac_cv_func__atan2l" = x""yes; then :
42146 cat >>confdefs.h <<_ACEOF
42147 #define HAVE__ATAN2L 1
42160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
42161 $as_echo_n "checking for expl declaration... " >&6; }
42162 if test x${glibcxx_cv_func_expl_use+set} != xset; then
42163 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
42164 $as_echo_n "(cached) " >&6
42169 ac_cpp='$CXXCPP $CPPFLAGS'
42170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42175 /* end confdefs.h. */
42177 #ifdef HAVE_IEEEFP_H
42178 #include <ieeefp.h>
42189 if ac_fn_cxx_try_compile "$LINENO"; then :
42190 glibcxx_cv_func_expl_use=yes
42192 glibcxx_cv_func_expl_use=no
42194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42196 ac_cpp='$CPP $CPPFLAGS'
42197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
42206 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
42208 if test x$glibcxx_cv_func_expl_use = x"yes"; then
42209 for ac_func in expl
42211 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
42212 if test "x$ac_cv_func_expl" = x""yes; then :
42213 cat >>confdefs.h <<_ACEOF
42214 #define HAVE_EXPL 1
42222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
42223 $as_echo_n "checking for _expl declaration... " >&6; }
42224 if test x${glibcxx_cv_func__expl_use+set} != xset; then
42225 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
42226 $as_echo_n "(cached) " >&6
42231 ac_cpp='$CXXCPP $CPPFLAGS'
42232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42237 /* end confdefs.h. */
42239 #ifdef HAVE_IEEEFP_H
42240 #include <ieeefp.h>
42251 if ac_fn_cxx_try_compile "$LINENO"; then :
42252 glibcxx_cv_func__expl_use=yes
42254 glibcxx_cv_func__expl_use=no
42256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42258 ac_cpp='$CPP $CPPFLAGS'
42259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
42268 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
42270 if test x$glibcxx_cv_func__expl_use = x"yes"; then
42271 for ac_func in _expl
42273 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
42274 if test "x$ac_cv_func__expl" = x""yes; then :
42275 cat >>confdefs.h <<_ACEOF
42276 #define HAVE__EXPL 1
42289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
42290 $as_echo_n "checking for fabsl declaration... " >&6; }
42291 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
42292 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
42293 $as_echo_n "(cached) " >&6
42298 ac_cpp='$CXXCPP $CPPFLAGS'
42299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42304 /* end confdefs.h. */
42306 #ifdef HAVE_IEEEFP_H
42307 #include <ieeefp.h>
42318 if ac_fn_cxx_try_compile "$LINENO"; then :
42319 glibcxx_cv_func_fabsl_use=yes
42321 glibcxx_cv_func_fabsl_use=no
42323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42325 ac_cpp='$CPP $CPPFLAGS'
42326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
42335 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
42337 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
42338 for ac_func in fabsl
42340 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
42341 if test "x$ac_cv_func_fabsl" = x""yes; then :
42342 cat >>confdefs.h <<_ACEOF
42343 #define HAVE_FABSL 1
42351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
42352 $as_echo_n "checking for _fabsl declaration... " >&6; }
42353 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
42354 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
42355 $as_echo_n "(cached) " >&6
42360 ac_cpp='$CXXCPP $CPPFLAGS'
42361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42366 /* end confdefs.h. */
42368 #ifdef HAVE_IEEEFP_H
42369 #include <ieeefp.h>
42380 if ac_fn_cxx_try_compile "$LINENO"; then :
42381 glibcxx_cv_func__fabsl_use=yes
42383 glibcxx_cv_func__fabsl_use=no
42385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42387 ac_cpp='$CPP $CPPFLAGS'
42388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
42397 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
42399 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
42400 for ac_func in _fabsl
42402 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
42403 if test "x$ac_cv_func__fabsl" = x""yes; then :
42404 cat >>confdefs.h <<_ACEOF
42405 #define HAVE__FABSL 1
42418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
42419 $as_echo_n "checking for fmodl declaration... " >&6; }
42420 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
42421 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
42422 $as_echo_n "(cached) " >&6
42427 ac_cpp='$CXXCPP $CPPFLAGS'
42428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42433 /* end confdefs.h. */
42443 if ac_fn_cxx_try_compile "$LINENO"; then :
42444 glibcxx_cv_func_fmodl_use=yes
42446 glibcxx_cv_func_fmodl_use=no
42448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42450 ac_cpp='$CPP $CPPFLAGS'
42451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
42460 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
42462 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
42463 for ac_func in fmodl
42465 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
42466 if test "x$ac_cv_func_fmodl" = x""yes; then :
42467 cat >>confdefs.h <<_ACEOF
42468 #define HAVE_FMODL 1
42476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
42477 $as_echo_n "checking for _fmodl declaration... " >&6; }
42478 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
42479 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
42480 $as_echo_n "(cached) " >&6
42485 ac_cpp='$CXXCPP $CPPFLAGS'
42486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42491 /* end confdefs.h. */
42501 if ac_fn_cxx_try_compile "$LINENO"; then :
42502 glibcxx_cv_func__fmodl_use=yes
42504 glibcxx_cv_func__fmodl_use=no
42506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42508 ac_cpp='$CPP $CPPFLAGS'
42509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
42518 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
42520 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
42521 for ac_func in _fmodl
42523 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
42524 if test "x$ac_cv_func__fmodl" = x""yes; then :
42525 cat >>confdefs.h <<_ACEOF
42526 #define HAVE__FMODL 1
42539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
42540 $as_echo_n "checking for frexpl declaration... " >&6; }
42541 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
42542 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
42543 $as_echo_n "(cached) " >&6
42548 ac_cpp='$CXXCPP $CPPFLAGS'
42549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42554 /* end confdefs.h. */
42564 if ac_fn_cxx_try_compile "$LINENO"; then :
42565 glibcxx_cv_func_frexpl_use=yes
42567 glibcxx_cv_func_frexpl_use=no
42569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42571 ac_cpp='$CPP $CPPFLAGS'
42572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
42581 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
42583 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
42584 for ac_func in frexpl
42586 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
42587 if test "x$ac_cv_func_frexpl" = x""yes; then :
42588 cat >>confdefs.h <<_ACEOF
42589 #define HAVE_FREXPL 1
42597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
42598 $as_echo_n "checking for _frexpl declaration... " >&6; }
42599 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
42600 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
42601 $as_echo_n "(cached) " >&6
42606 ac_cpp='$CXXCPP $CPPFLAGS'
42607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42612 /* end confdefs.h. */
42622 if ac_fn_cxx_try_compile "$LINENO"; then :
42623 glibcxx_cv_func__frexpl_use=yes
42625 glibcxx_cv_func__frexpl_use=no
42627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42629 ac_cpp='$CPP $CPPFLAGS'
42630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
42639 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
42641 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
42642 for ac_func in _frexpl
42644 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
42645 if test "x$ac_cv_func__frexpl" = x""yes; then :
42646 cat >>confdefs.h <<_ACEOF
42647 #define HAVE__FREXPL 1
42660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
42661 $as_echo_n "checking for hypotl declaration... " >&6; }
42662 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
42663 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
42664 $as_echo_n "(cached) " >&6
42669 ac_cpp='$CXXCPP $CPPFLAGS'
42670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42675 /* end confdefs.h. */
42685 if ac_fn_cxx_try_compile "$LINENO"; then :
42686 glibcxx_cv_func_hypotl_use=yes
42688 glibcxx_cv_func_hypotl_use=no
42690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42692 ac_cpp='$CPP $CPPFLAGS'
42693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
42702 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
42704 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
42705 for ac_func in hypotl
42707 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
42708 if test "x$ac_cv_func_hypotl" = x""yes; then :
42709 cat >>confdefs.h <<_ACEOF
42710 #define HAVE_HYPOTL 1
42718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
42719 $as_echo_n "checking for _hypotl declaration... " >&6; }
42720 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
42721 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
42722 $as_echo_n "(cached) " >&6
42727 ac_cpp='$CXXCPP $CPPFLAGS'
42728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42733 /* end confdefs.h. */
42743 if ac_fn_cxx_try_compile "$LINENO"; then :
42744 glibcxx_cv_func__hypotl_use=yes
42746 glibcxx_cv_func__hypotl_use=no
42748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42750 ac_cpp='$CPP $CPPFLAGS'
42751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
42760 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
42762 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
42763 for ac_func in _hypotl
42765 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
42766 if test "x$ac_cv_func__hypotl" = x""yes; then :
42767 cat >>confdefs.h <<_ACEOF
42768 #define HAVE__HYPOTL 1
42781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
42782 $as_echo_n "checking for ldexpl declaration... " >&6; }
42783 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
42784 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
42785 $as_echo_n "(cached) " >&6
42790 ac_cpp='$CXXCPP $CPPFLAGS'
42791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42796 /* end confdefs.h. */
42806 if ac_fn_cxx_try_compile "$LINENO"; then :
42807 glibcxx_cv_func_ldexpl_use=yes
42809 glibcxx_cv_func_ldexpl_use=no
42811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42813 ac_cpp='$CPP $CPPFLAGS'
42814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
42823 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
42825 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
42826 for ac_func in ldexpl
42828 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
42829 if test "x$ac_cv_func_ldexpl" = x""yes; then :
42830 cat >>confdefs.h <<_ACEOF
42831 #define HAVE_LDEXPL 1
42839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
42840 $as_echo_n "checking for _ldexpl declaration... " >&6; }
42841 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
42842 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
42843 $as_echo_n "(cached) " >&6
42848 ac_cpp='$CXXCPP $CPPFLAGS'
42849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42854 /* end confdefs.h. */
42864 if ac_fn_cxx_try_compile "$LINENO"; then :
42865 glibcxx_cv_func__ldexpl_use=yes
42867 glibcxx_cv_func__ldexpl_use=no
42869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42871 ac_cpp='$CPP $CPPFLAGS'
42872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
42881 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
42883 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
42884 for ac_func in _ldexpl
42886 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
42887 if test "x$ac_cv_func__ldexpl" = x""yes; then :
42888 cat >>confdefs.h <<_ACEOF
42889 #define HAVE__LDEXPL 1
42902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
42903 $as_echo_n "checking for logl declaration... " >&6; }
42904 if test x${glibcxx_cv_func_logl_use+set} != xset; then
42905 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
42906 $as_echo_n "(cached) " >&6
42911 ac_cpp='$CXXCPP $CPPFLAGS'
42912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42917 /* end confdefs.h. */
42919 #ifdef HAVE_IEEEFP_H
42920 #include <ieeefp.h>
42931 if ac_fn_cxx_try_compile "$LINENO"; then :
42932 glibcxx_cv_func_logl_use=yes
42934 glibcxx_cv_func_logl_use=no
42936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42938 ac_cpp='$CPP $CPPFLAGS'
42939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
42948 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
42950 if test x$glibcxx_cv_func_logl_use = x"yes"; then
42951 for ac_func in logl
42953 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
42954 if test "x$ac_cv_func_logl" = x""yes; then :
42955 cat >>confdefs.h <<_ACEOF
42956 #define HAVE_LOGL 1
42964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
42965 $as_echo_n "checking for _logl declaration... " >&6; }
42966 if test x${glibcxx_cv_func__logl_use+set} != xset; then
42967 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
42968 $as_echo_n "(cached) " >&6
42973 ac_cpp='$CXXCPP $CPPFLAGS'
42974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42979 /* end confdefs.h. */
42981 #ifdef HAVE_IEEEFP_H
42982 #include <ieeefp.h>
42993 if ac_fn_cxx_try_compile "$LINENO"; then :
42994 glibcxx_cv_func__logl_use=yes
42996 glibcxx_cv_func__logl_use=no
42998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43000 ac_cpp='$CPP $CPPFLAGS'
43001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43010 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43012 if test x$glibcxx_cv_func__logl_use = x"yes"; then
43013 for ac_func in _logl
43015 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43016 if test "x$ac_cv_func__logl" = x""yes; then :
43017 cat >>confdefs.h <<_ACEOF
43018 #define HAVE__LOGL 1
43031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43032 $as_echo_n "checking for log10l declaration... " >&6; }
43033 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43034 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43035 $as_echo_n "(cached) " >&6
43040 ac_cpp='$CXXCPP $CPPFLAGS'
43041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43046 /* end confdefs.h. */
43048 #ifdef HAVE_IEEEFP_H
43049 #include <ieeefp.h>
43060 if ac_fn_cxx_try_compile "$LINENO"; then :
43061 glibcxx_cv_func_log10l_use=yes
43063 glibcxx_cv_func_log10l_use=no
43065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43067 ac_cpp='$CPP $CPPFLAGS'
43068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
43077 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
43079 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
43080 for ac_func in log10l
43082 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
43083 if test "x$ac_cv_func_log10l" = x""yes; then :
43084 cat >>confdefs.h <<_ACEOF
43085 #define HAVE_LOG10L 1
43093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43094 $as_echo_n "checking for _log10l declaration... " >&6; }
43095 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43096 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
43097 $as_echo_n "(cached) " >&6
43102 ac_cpp='$CXXCPP $CPPFLAGS'
43103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43108 /* end confdefs.h. */
43110 #ifdef HAVE_IEEEFP_H
43111 #include <ieeefp.h>
43122 if ac_fn_cxx_try_compile "$LINENO"; then :
43123 glibcxx_cv_func__log10l_use=yes
43125 glibcxx_cv_func__log10l_use=no
43127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43129 ac_cpp='$CPP $CPPFLAGS'
43130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
43139 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
43141 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
43142 for ac_func in _log10l
43144 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
43145 if test "x$ac_cv_func__log10l" = x""yes; then :
43146 cat >>confdefs.h <<_ACEOF
43147 #define HAVE__LOG10L 1
43160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
43161 $as_echo_n "checking for modfl declaration... " >&6; }
43162 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
43163 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
43164 $as_echo_n "(cached) " >&6
43169 ac_cpp='$CXXCPP $CPPFLAGS'
43170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43175 /* end confdefs.h. */
43185 if ac_fn_cxx_try_compile "$LINENO"; then :
43186 glibcxx_cv_func_modfl_use=yes
43188 glibcxx_cv_func_modfl_use=no
43190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43192 ac_cpp='$CPP $CPPFLAGS'
43193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
43202 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
43204 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
43205 for ac_func in modfl
43207 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
43208 if test "x$ac_cv_func_modfl" = x""yes; then :
43209 cat >>confdefs.h <<_ACEOF
43210 #define HAVE_MODFL 1
43218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
43219 $as_echo_n "checking for _modfl declaration... " >&6; }
43220 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
43221 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
43222 $as_echo_n "(cached) " >&6
43227 ac_cpp='$CXXCPP $CPPFLAGS'
43228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43233 /* end confdefs.h. */
43243 if ac_fn_cxx_try_compile "$LINENO"; then :
43244 glibcxx_cv_func__modfl_use=yes
43246 glibcxx_cv_func__modfl_use=no
43248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43250 ac_cpp='$CPP $CPPFLAGS'
43251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
43260 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
43262 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
43263 for ac_func in _modfl
43265 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
43266 if test "x$ac_cv_func__modfl" = x""yes; then :
43267 cat >>confdefs.h <<_ACEOF
43268 #define HAVE__MODFL 1
43281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
43282 $as_echo_n "checking for powl declaration... " >&6; }
43283 if test x${glibcxx_cv_func_powl_use+set} != xset; then
43284 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
43285 $as_echo_n "(cached) " >&6
43290 ac_cpp='$CXXCPP $CPPFLAGS'
43291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43296 /* end confdefs.h. */
43306 if ac_fn_cxx_try_compile "$LINENO"; then :
43307 glibcxx_cv_func_powl_use=yes
43309 glibcxx_cv_func_powl_use=no
43311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43313 ac_cpp='$CPP $CPPFLAGS'
43314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
43323 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
43325 if test x$glibcxx_cv_func_powl_use = x"yes"; then
43326 for ac_func in powl
43328 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
43329 if test "x$ac_cv_func_powl" = x""yes; then :
43330 cat >>confdefs.h <<_ACEOF
43331 #define HAVE_POWL 1
43339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
43340 $as_echo_n "checking for _powl declaration... " >&6; }
43341 if test x${glibcxx_cv_func__powl_use+set} != xset; then
43342 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
43343 $as_echo_n "(cached) " >&6
43348 ac_cpp='$CXXCPP $CPPFLAGS'
43349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43354 /* end confdefs.h. */
43364 if ac_fn_cxx_try_compile "$LINENO"; then :
43365 glibcxx_cv_func__powl_use=yes
43367 glibcxx_cv_func__powl_use=no
43369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43371 ac_cpp='$CPP $CPPFLAGS'
43372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
43381 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
43383 if test x$glibcxx_cv_func__powl_use = x"yes"; then
43384 for ac_func in _powl
43386 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
43387 if test "x$ac_cv_func__powl" = x""yes; then :
43388 cat >>confdefs.h <<_ACEOF
43389 #define HAVE__POWL 1
43402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
43403 $as_echo_n "checking for sqrtl declaration... " >&6; }
43404 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
43405 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
43406 $as_echo_n "(cached) " >&6
43411 ac_cpp='$CXXCPP $CPPFLAGS'
43412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43417 /* end confdefs.h. */
43419 #ifdef HAVE_IEEEFP_H
43420 #include <ieeefp.h>
43431 if ac_fn_cxx_try_compile "$LINENO"; then :
43432 glibcxx_cv_func_sqrtl_use=yes
43434 glibcxx_cv_func_sqrtl_use=no
43436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43438 ac_cpp='$CPP $CPPFLAGS'
43439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
43448 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
43450 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
43451 for ac_func in sqrtl
43453 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
43454 if test "x$ac_cv_func_sqrtl" = x""yes; then :
43455 cat >>confdefs.h <<_ACEOF
43456 #define HAVE_SQRTL 1
43464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
43465 $as_echo_n "checking for _sqrtl declaration... " >&6; }
43466 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
43467 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
43468 $as_echo_n "(cached) " >&6
43473 ac_cpp='$CXXCPP $CPPFLAGS'
43474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43479 /* end confdefs.h. */
43481 #ifdef HAVE_IEEEFP_H
43482 #include <ieeefp.h>
43493 if ac_fn_cxx_try_compile "$LINENO"; then :
43494 glibcxx_cv_func__sqrtl_use=yes
43496 glibcxx_cv_func__sqrtl_use=no
43498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43500 ac_cpp='$CPP $CPPFLAGS'
43501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
43510 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
43512 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
43513 for ac_func in _sqrtl
43515 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
43516 if test "x$ac_cv_func__sqrtl" = x""yes; then :
43517 cat >>confdefs.h <<_ACEOF
43518 #define HAVE__SQRTL 1
43531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
43532 $as_echo_n "checking for sincosl declaration... " >&6; }
43533 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
43534 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
43535 $as_echo_n "(cached) " >&6
43540 ac_cpp='$CXXCPP $CPPFLAGS'
43541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43546 /* end confdefs.h. */
43556 if ac_fn_cxx_try_compile "$LINENO"; then :
43557 glibcxx_cv_func_sincosl_use=yes
43559 glibcxx_cv_func_sincosl_use=no
43561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43563 ac_cpp='$CPP $CPPFLAGS'
43564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
43573 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
43575 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
43576 for ac_func in sincosl
43578 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
43579 if test "x$ac_cv_func_sincosl" = x""yes; then :
43580 cat >>confdefs.h <<_ACEOF
43581 #define HAVE_SINCOSL 1
43589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
43590 $as_echo_n "checking for _sincosl declaration... " >&6; }
43591 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
43592 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
43593 $as_echo_n "(cached) " >&6
43598 ac_cpp='$CXXCPP $CPPFLAGS'
43599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43604 /* end confdefs.h. */
43614 if ac_fn_cxx_try_compile "$LINENO"; then :
43615 glibcxx_cv_func__sincosl_use=yes
43617 glibcxx_cv_func__sincosl_use=no
43619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43621 ac_cpp='$CPP $CPPFLAGS'
43622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
43631 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
43633 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
43634 for ac_func in _sincosl
43636 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
43637 if test "x$ac_cv_func__sincosl" = x""yes; then :
43638 cat >>confdefs.h <<_ACEOF
43639 #define HAVE__SINCOSL 1
43652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
43653 $as_echo_n "checking for finitel declaration... " >&6; }
43654 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
43655 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
43656 $as_echo_n "(cached) " >&6
43661 ac_cpp='$CXXCPP $CPPFLAGS'
43662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43667 /* end confdefs.h. */
43669 #ifdef HAVE_IEEEFP_H
43670 #include <ieeefp.h>
43681 if ac_fn_cxx_try_compile "$LINENO"; then :
43682 glibcxx_cv_func_finitel_use=yes
43684 glibcxx_cv_func_finitel_use=no
43686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43688 ac_cpp='$CPP $CPPFLAGS'
43689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
43698 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
43700 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
43701 for ac_func in finitel
43703 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
43704 if test "x$ac_cv_func_finitel" = x""yes; then :
43705 cat >>confdefs.h <<_ACEOF
43706 #define HAVE_FINITEL 1
43714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
43715 $as_echo_n "checking for _finitel declaration... " >&6; }
43716 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
43717 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
43718 $as_echo_n "(cached) " >&6
43723 ac_cpp='$CXXCPP $CPPFLAGS'
43724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43729 /* end confdefs.h. */
43731 #ifdef HAVE_IEEEFP_H
43732 #include <ieeefp.h>
43743 if ac_fn_cxx_try_compile "$LINENO"; then :
43744 glibcxx_cv_func__finitel_use=yes
43746 glibcxx_cv_func__finitel_use=no
43748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43750 ac_cpp='$CPP $CPPFLAGS'
43751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
43760 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
43762 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
43763 for ac_func in _finitel
43765 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
43766 if test "x$ac_cv_func__finitel" = x""yes; then :
43767 cat >>confdefs.h <<_ACEOF
43768 #define HAVE__FINITEL 1
43780 LIBS="$ac_save_LIBS"
43781 CXXFLAGS="$ac_save_CXXFLAGS"
43784 ac_test_CXXFLAGS="${CXXFLAGS+set}"
43785 ac_save_CXXFLAGS="$CXXFLAGS"
43786 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
43790 $as_echo_n "checking for strtold declaration... " >&6; }
43791 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
43792 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
43793 $as_echo_n "(cached) " >&6
43798 ac_cpp='$CXXCPP $CPPFLAGS'
43799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43804 /* end confdefs.h. */
43805 #include <stdlib.h>
43814 if ac_fn_cxx_try_compile "$LINENO"; then :
43815 glibcxx_cv_func_strtold_use=yes
43817 glibcxx_cv_func_strtold_use=no
43819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43821 ac_cpp='$CPP $CPPFLAGS'
43822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
43831 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
43832 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
43833 for ac_func in strtold
43835 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
43836 if test "x$ac_cv_func_strtold" = x""yes; then :
43837 cat >>confdefs.h <<_ACEOF
43838 #define HAVE_STRTOLD 1
43849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
43850 $as_echo_n "checking for strtof declaration... " >&6; }
43851 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
43852 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
43853 $as_echo_n "(cached) " >&6
43858 ac_cpp='$CXXCPP $CPPFLAGS'
43859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43864 /* end confdefs.h. */
43865 #include <stdlib.h>
43874 if ac_fn_cxx_try_compile "$LINENO"; then :
43875 glibcxx_cv_func_strtof_use=yes
43877 glibcxx_cv_func_strtof_use=no
43879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43881 ac_cpp='$CPP $CPPFLAGS'
43882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
43891 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
43892 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
43893 for ac_func in strtof
43895 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
43896 if test "x$ac_cv_func_strtof" = x""yes; then :
43897 cat >>confdefs.h <<_ACEOF
43898 #define HAVE_STRTOF 1
43909 CXXFLAGS="$ac_save_CXXFLAGS"
43914 # GLIBCXX_CHECK_MATH_SUPPORT
43915 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
43917 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
43919 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
43921 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
43923 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
43928 SECTION_FLAGS='-ffunction-sections -fdata-sections'
43931 # If we're not using GNU ld, then there's no point in even trying these
43932 # tests. Check for that first. We should have already tested for gld
43933 # by now (in libtool), but require it now just to be safe...
43934 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
43935 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
43939 # The name set by libtool depends on the version of libtool. Shame on us
43940 # for depending on an impl detail, but c'est la vie. Older versions used
43941 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
43942 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
43943 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
43944 # set (hence we're using an older libtool), then set it.
43945 if test x${with_gnu_ld+set} != xset; then
43946 if test x${ac_cv_prog_gnu_ld+set} != xset; then
43947 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
43950 with_gnu_ld=$ac_cv_prog_gnu_ld
43954 # Start by getting the version number. I think the libtool test already
43955 # does some of this, but throws away the result.
43956 glibcxx_ld_is_gold=no
43957 if test x"$with_gnu_ld" = x"yes"; then
43958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
43959 $as_echo_n "checking for ld version... " >&6; }
43961 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
43962 glibcxx_ld_is_gold=yes
43964 ldver=`$LD --version 2>/dev/null |
43965 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'`
43967 glibcxx_gnu_ld_version=`echo $ldver | \
43968 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
43969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
43970 $as_echo "$glibcxx_gnu_ld_version" >&6; }
43973 # Set --gc-sections.
43974 glibcxx_have_gc_sections=no
43975 if test "$glibcxx_ld_is_gold" = "yes"; then
43976 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
43977 glibcxx_have_gc_sections=yes
43980 glibcxx_gcsections_min_ld=21602
43981 if test x"$with_gnu_ld" = x"yes" &&
43982 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
43983 glibcxx_have_gc_sections=yes
43986 if test "$glibcxx_have_gc_sections" = "yes"; then
43987 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
43988 # NB: This flag only works reliably after 2.16.1. Configure tests
43989 # for this are difficult, so hard wire a value that should work.
43991 ac_test_CFLAGS="${CFLAGS+set}"
43992 ac_save_CFLAGS="$CFLAGS"
43993 CFLAGS='-Wl,--gc-sections'
43995 # Check for -Wl,--gc-sections
43996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
43997 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
43998 if test x$gcc_no_link = xyes; then
43999 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44002 /* end confdefs.h. */
44003 int one(void) { return 1; }
44004 int two(void) { return 2; }
44014 if ac_fn_c_try_link "$LINENO"; then :
44019 rm -f core conftest.err conftest.$ac_objext \
44020 conftest$ac_exeext conftest.$ac_ext
44021 if test "$ac_gcsections" = "yes"; then
44024 if $CC -c conftest.c; then
44025 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44026 grep "Warning: gc-sections option ignored" > /dev/null; then
44030 rm -f conftest.c conftest.o conftest
44032 if test "$ac_gcsections" = "yes"; then
44033 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44036 $as_echo "$ac_gcsections" >&6; }
44038 if test "$ac_test_CFLAGS" = set; then
44039 CFLAGS="$ac_save_CFLAGS"
44041 # this is the suspicious part
44047 # Note this is only for shared objects.
44049 if test x"$with_gnu_ld" = x"yes"; then
44050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44051 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44052 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44053 if test -n "$cxx_z_relo"; then
44054 OPT_LDFLAGS="-Wl,-z,relro"
44057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44058 $as_echo "$ac_ld_relro" >&6; }
44061 # Set linker optimization flags.
44062 if test x"$with_gnu_ld" = x"yes"; then
44063 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44069 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44071 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44073 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44075 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44077 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44079 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
44081 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44083 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44085 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44088 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44090 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44092 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44094 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44096 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44098 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44100 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44102 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44104 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44106 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
44108 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44110 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44112 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
44114 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44116 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44118 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
44120 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44122 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44124 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44126 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44128 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44130 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44132 if test x"long_double_math_on_this_cpu" = x"yes"; then
44133 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
44135 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
44137 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
44142 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44145 # If we're not using GNU ld, then there's no point in even trying these
44146 # tests. Check for that first. We should have already tested for gld
44147 # by now (in libtool), but require it now just to be safe...
44148 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44149 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44153 # The name set by libtool depends on the version of libtool. Shame on us
44154 # for depending on an impl detail, but c'est la vie. Older versions used
44155 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44156 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44157 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44158 # set (hence we're using an older libtool), then set it.
44159 if test x${with_gnu_ld+set} != xset; then
44160 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44161 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44164 with_gnu_ld=$ac_cv_prog_gnu_ld
44168 # Start by getting the version number. I think the libtool test already
44169 # does some of this, but throws away the result.
44170 glibcxx_ld_is_gold=no
44171 if test x"$with_gnu_ld" = x"yes"; then
44172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44173 $as_echo_n "checking for ld version... " >&6; }
44175 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44176 glibcxx_ld_is_gold=yes
44178 ldver=`$LD --version 2>/dev/null |
44179 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'`
44181 glibcxx_gnu_ld_version=`echo $ldver | \
44182 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44184 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44187 # Set --gc-sections.
44188 glibcxx_have_gc_sections=no
44189 if test "$glibcxx_ld_is_gold" = "yes"; then
44190 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44191 glibcxx_have_gc_sections=yes
44194 glibcxx_gcsections_min_ld=21602
44195 if test x"$with_gnu_ld" = x"yes" &&
44196 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44197 glibcxx_have_gc_sections=yes
44200 if test "$glibcxx_have_gc_sections" = "yes"; then
44201 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44202 # NB: This flag only works reliably after 2.16.1. Configure tests
44203 # for this are difficult, so hard wire a value that should work.
44205 ac_test_CFLAGS="${CFLAGS+set}"
44206 ac_save_CFLAGS="$CFLAGS"
44207 CFLAGS='-Wl,--gc-sections'
44209 # Check for -Wl,--gc-sections
44210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44211 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44212 if test x$gcc_no_link = xyes; then
44213 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44216 /* end confdefs.h. */
44217 int one(void) { return 1; }
44218 int two(void) { return 2; }
44228 if ac_fn_c_try_link "$LINENO"; then :
44233 rm -f core conftest.err conftest.$ac_objext \
44234 conftest$ac_exeext conftest.$ac_ext
44235 if test "$ac_gcsections" = "yes"; then
44238 if $CC -c conftest.c; then
44239 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44240 grep "Warning: gc-sections option ignored" > /dev/null; then
44244 rm -f conftest.c conftest.o conftest
44246 if test "$ac_gcsections" = "yes"; then
44247 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44250 $as_echo "$ac_gcsections" >&6; }
44252 if test "$ac_test_CFLAGS" = set; then
44253 CFLAGS="$ac_save_CFLAGS"
44255 # this is the suspicious part
44261 # Note this is only for shared objects.
44263 if test x"$with_gnu_ld" = x"yes"; then
44264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44265 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44266 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44267 if test -n "$cxx_z_relo"; then
44268 OPT_LDFLAGS="-Wl,-z,relro"
44271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44272 $as_echo "$ac_ld_relro" >&6; }
44275 # Set linker optimization flags.
44276 if test x"$with_gnu_ld" = x"yes"; then
44277 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44284 # GLIBCXX_CHECK_MATH_SUPPORT
44285 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44287 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44289 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44291 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44293 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44295 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44297 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44299 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44301 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44303 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44305 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44307 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44309 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44311 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44313 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44315 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44317 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44319 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44321 $as_echo "#define HAVE_MODF 1" >>confdefs.h
44323 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44325 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44328 # GLIBCXX_CHECK_STDLIB_SUPPORT
44329 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
44334 # Check whether --enable-tls was given.
44335 if test "${enable_tls+set}" = set; then :
44336 enableval=$enable_tls;
44337 case "$enableval" in
44339 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
44347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
44348 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
44349 if test "${gcc_cv_have_tls+set}" = set; then :
44350 $as_echo_n "(cached) " >&6
44353 if test "$cross_compiling" = yes; then :
44354 if test x$gcc_no_link = xyes; then
44355 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44358 /* end confdefs.h. */
44359 __thread int a; int b; int main() { return a = b; }
44361 if ac_fn_c_try_link "$LINENO"; then :
44362 chktls_save_LDFLAGS="$LDFLAGS"
44365 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
44368 chktls_save_CFLAGS="$CFLAGS"
44369 CFLAGS="-fPIC $CFLAGS"
44370 if test x$gcc_no_link = xyes; then
44371 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44374 /* end confdefs.h. */
44375 int f() { return 0; }
44377 if ac_fn_c_try_link "$LINENO"; then :
44378 if test x$gcc_no_link = xyes; then
44379 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44382 /* end confdefs.h. */
44383 __thread int a; int b; int f() { return a = b; }
44385 if ac_fn_c_try_link "$LINENO"; then :
44386 gcc_cv_have_tls=yes
44390 rm -f core conftest.err conftest.$ac_objext \
44391 conftest$ac_exeext conftest.$ac_ext
44393 gcc_cv_have_tls=yes
44395 rm -f core conftest.err conftest.$ac_objext \
44396 conftest$ac_exeext conftest.$ac_ext
44397 CFLAGS="$chktls_save_CFLAGS"
44398 LDFLAGS="$chktls_save_LDFLAGS"
44402 rm -f core conftest.err conftest.$ac_objext \
44403 conftest$ac_exeext conftest.$ac_ext
44407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44408 /* end confdefs.h. */
44409 __thread int a; int b; int main() { return a = b; }
44411 if ac_fn_c_try_run "$LINENO"; then :
44412 chktls_save_LDFLAGS="$LDFLAGS"
44413 LDFLAGS="-static $LDFLAGS"
44414 if test x$gcc_no_link = xyes; then
44415 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44418 /* end confdefs.h. */
44419 int main() { return 0; }
44421 if ac_fn_c_try_link "$LINENO"; then :
44422 if test "$cross_compiling" = yes; then :
44423 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44424 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44425 as_fn_error "cannot run test program while cross compiling
44426 See \`config.log' for more details." "$LINENO" 5; }
44428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44429 /* end confdefs.h. */
44430 __thread int a; int b; int main() { return a = b; }
44432 if ac_fn_c_try_run "$LINENO"; then :
44433 gcc_cv_have_tls=yes
44437 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44438 conftest.$ac_objext conftest.beam conftest.$ac_ext
44442 gcc_cv_have_tls=yes
44444 rm -f core conftest.err conftest.$ac_objext \
44445 conftest$ac_exeext conftest.$ac_ext
44446 LDFLAGS="$chktls_save_LDFLAGS"
44447 if test $gcc_cv_have_tls = yes; then
44448 chktls_save_CFLAGS="$CFLAGS"
44449 thread_CFLAGS=failed
44450 for flag in '' '-pthread' '-lpthread'; do
44451 CFLAGS="$flag $chktls_save_CFLAGS"
44452 if test x$gcc_no_link = xyes; then
44453 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44456 /* end confdefs.h. */
44457 #include <pthread.h>
44458 void *g(void *d) { return NULL; }
44462 pthread_t t; pthread_create(&t,NULL,g,NULL);
44467 if ac_fn_c_try_link "$LINENO"; then :
44468 thread_CFLAGS="$flag"
44470 rm -f core conftest.err conftest.$ac_objext \
44471 conftest$ac_exeext conftest.$ac_ext
44472 if test "X$thread_CFLAGS" != Xfailed; then
44476 CFLAGS="$chktls_save_CFLAGS"
44477 if test "X$thread_CFLAGS" != Xfailed; then
44478 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
44479 if test "$cross_compiling" = yes; then :
44480 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44481 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44482 as_fn_error "cannot run test program while cross compiling
44483 See \`config.log' for more details." "$LINENO" 5; }
44485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44486 /* end confdefs.h. */
44487 #include <pthread.h>
44489 static int *a_in_other_thread;
44491 thread_func (void *arg)
44493 a_in_other_thread = &a;
44500 void *thread_retval;
44501 int *a_in_main_thread;
44502 if (pthread_create (&thread, (pthread_attr_t *)0,
44503 thread_func, (void *)0))
44505 a_in_main_thread = &a;
44506 if (pthread_join (thread, &thread_retval))
44508 return (a_in_other_thread == a_in_main_thread);
44513 if ac_fn_c_try_run "$LINENO"; then :
44514 gcc_cv_have_tls=yes
44518 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44519 conftest.$ac_objext conftest.beam conftest.$ac_ext
44522 CFLAGS="$chktls_save_CFLAGS"
44528 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44529 conftest.$ac_objext conftest.beam conftest.$ac_ext
44533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
44534 $as_echo "$gcc_cv_have_tls" >&6; }
44535 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
44537 $as_echo "#define HAVE_TLS 1" >>confdefs.h
44542 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44544 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
44546 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44548 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44550 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44555 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
44557 # All these tests are for C++; save the language and the compiler flags.
44558 # The CXXFLAGS thing is suspicious, but based on similar bits previously
44559 # found in GLIBCXX_CONFIGURE.
44562 ac_cpp='$CXXCPP $CPPFLAGS'
44563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44567 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44568 ac_save_CXXFLAGS="$CXXFLAGS"
44570 # Check for maintainer-mode bits.
44571 if test x"$USE_MAINTAINER_MODE" = xno; then
44577 # Check for -ffunction-sections -fdata-sections
44578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
44579 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
44580 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
44581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44582 /* end confdefs.h. */
44583 int foo; void bar() { };
44592 if ac_fn_cxx_try_compile "$LINENO"; then :
44597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44598 if test "$ac_test_CXXFLAGS" = set; then
44599 CXXFLAGS="$ac_save_CXXFLAGS"
44601 # this is the suspicious part
44604 if test x"$ac_fdsections" = x"yes"; then
44605 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
44608 $as_echo "$ac_fdsections" >&6; }
44611 ac_cpp='$CPP $CPPFLAGS'
44612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44620 # If we're not using GNU ld, then there's no point in even trying these
44621 # tests. Check for that first. We should have already tested for gld
44622 # by now (in libtool), but require it now just to be safe...
44623 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44624 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44628 # The name set by libtool depends on the version of libtool. Shame on us
44629 # for depending on an impl detail, but c'est la vie. Older versions used
44630 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44631 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44632 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44633 # set (hence we're using an older libtool), then set it.
44634 if test x${with_gnu_ld+set} != xset; then
44635 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44636 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44639 with_gnu_ld=$ac_cv_prog_gnu_ld
44643 # Start by getting the version number. I think the libtool test already
44644 # does some of this, but throws away the result.
44645 glibcxx_ld_is_gold=no
44646 if test x"$with_gnu_ld" = x"yes"; then
44647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44648 $as_echo_n "checking for ld version... " >&6; }
44650 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44651 glibcxx_ld_is_gold=yes
44653 ldver=`$LD --version 2>/dev/null |
44654 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'`
44656 glibcxx_gnu_ld_version=`echo $ldver | \
44657 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44659 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44662 # Set --gc-sections.
44663 glibcxx_have_gc_sections=no
44664 if test "$glibcxx_ld_is_gold" = "yes"; then
44665 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44666 glibcxx_have_gc_sections=yes
44669 glibcxx_gcsections_min_ld=21602
44670 if test x"$with_gnu_ld" = x"yes" &&
44671 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44672 glibcxx_have_gc_sections=yes
44675 if test "$glibcxx_have_gc_sections" = "yes"; then
44676 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44677 # NB: This flag only works reliably after 2.16.1. Configure tests
44678 # for this are difficult, so hard wire a value that should work.
44680 ac_test_CFLAGS="${CFLAGS+set}"
44681 ac_save_CFLAGS="$CFLAGS"
44682 CFLAGS='-Wl,--gc-sections'
44684 # Check for -Wl,--gc-sections
44685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44686 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44687 if test x$gcc_no_link = xyes; then
44688 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44691 /* end confdefs.h. */
44692 int one(void) { return 1; }
44693 int two(void) { return 2; }
44703 if ac_fn_c_try_link "$LINENO"; then :
44708 rm -f core conftest.err conftest.$ac_objext \
44709 conftest$ac_exeext conftest.$ac_ext
44710 if test "$ac_gcsections" = "yes"; then
44713 if $CC -c conftest.c; then
44714 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44715 grep "Warning: gc-sections option ignored" > /dev/null; then
44719 rm -f conftest.c conftest.o conftest
44721 if test "$ac_gcsections" = "yes"; then
44722 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44725 $as_echo "$ac_gcsections" >&6; }
44727 if test "$ac_test_CFLAGS" = set; then
44728 CFLAGS="$ac_save_CFLAGS"
44730 # this is the suspicious part
44736 # Note this is only for shared objects.
44738 if test x"$with_gnu_ld" = x"yes"; then
44739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44740 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44741 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44742 if test -n "$cxx_z_relo"; then
44743 OPT_LDFLAGS="-Wl,-z,relro"
44746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44747 $as_echo "$ac_ld_relro" >&6; }
44750 # Set linker optimization flags.
44751 if test x"$with_gnu_ld" = x"yes"; then
44752 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44759 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44760 ac_save_CXXFLAGS="$CXXFLAGS"
44761 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
44764 $as_echo_n "checking for sin in -lm... " >&6; }
44765 if test "${ac_cv_lib_m_sin+set}" = set; then :
44766 $as_echo_n "(cached) " >&6
44768 ac_check_lib_save_LIBS=$LIBS
44770 if test x$gcc_no_link = xyes; then
44771 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44774 /* end confdefs.h. */
44776 /* Override any GCC internal prototype to avoid an error.
44777 Use char because int might match the return type of a GCC
44778 builtin and then its argument prototype would still apply. */
44791 if ac_fn_c_try_link "$LINENO"; then :
44792 ac_cv_lib_m_sin=yes
44796 rm -f core conftest.err conftest.$ac_objext \
44797 conftest$ac_exeext conftest.$ac_ext
44798 LIBS=$ac_check_lib_save_LIBS
44800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
44801 $as_echo "$ac_cv_lib_m_sin" >&6; }
44802 if test "x$ac_cv_lib_m_sin" = x""yes; then :
44806 ac_save_LIBS="$LIBS"
44811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
44812 $as_echo_n "checking for isinf declaration... " >&6; }
44813 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
44814 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
44815 $as_echo_n "(cached) " >&6
44820 ac_cpp='$CXXCPP $CPPFLAGS'
44821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44826 /* end confdefs.h. */
44828 #ifdef HAVE_IEEEFP_H
44829 #include <ieeefp.h>
44840 if ac_fn_cxx_try_compile "$LINENO"; then :
44841 glibcxx_cv_func_isinf_use=yes
44843 glibcxx_cv_func_isinf_use=no
44845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44847 ac_cpp='$CPP $CPPFLAGS'
44848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
44857 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
44859 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
44860 for ac_func in isinf
44862 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
44863 if test "x$ac_cv_func_isinf" = x""yes; then :
44864 cat >>confdefs.h <<_ACEOF
44865 #define HAVE_ISINF 1
44873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
44874 $as_echo_n "checking for _isinf declaration... " >&6; }
44875 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
44876 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
44877 $as_echo_n "(cached) " >&6
44882 ac_cpp='$CXXCPP $CPPFLAGS'
44883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44888 /* end confdefs.h. */
44890 #ifdef HAVE_IEEEFP_H
44891 #include <ieeefp.h>
44902 if ac_fn_cxx_try_compile "$LINENO"; then :
44903 glibcxx_cv_func__isinf_use=yes
44905 glibcxx_cv_func__isinf_use=no
44907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44909 ac_cpp='$CPP $CPPFLAGS'
44910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
44919 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
44921 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
44922 for ac_func in _isinf
44924 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
44925 if test "x$ac_cv_func__isinf" = x""yes; then :
44926 cat >>confdefs.h <<_ACEOF
44927 #define HAVE__ISINF 1
44940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
44941 $as_echo_n "checking for isnan declaration... " >&6; }
44942 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
44943 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
44944 $as_echo_n "(cached) " >&6
44949 ac_cpp='$CXXCPP $CPPFLAGS'
44950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44955 /* end confdefs.h. */
44957 #ifdef HAVE_IEEEFP_H
44958 #include <ieeefp.h>
44969 if ac_fn_cxx_try_compile "$LINENO"; then :
44970 glibcxx_cv_func_isnan_use=yes
44972 glibcxx_cv_func_isnan_use=no
44974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44976 ac_cpp='$CPP $CPPFLAGS'
44977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
44986 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
44988 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
44989 for ac_func in isnan
44991 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
44992 if test "x$ac_cv_func_isnan" = x""yes; then :
44993 cat >>confdefs.h <<_ACEOF
44994 #define HAVE_ISNAN 1
45002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45003 $as_echo_n "checking for _isnan declaration... " >&6; }
45004 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45005 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45006 $as_echo_n "(cached) " >&6
45011 ac_cpp='$CXXCPP $CPPFLAGS'
45012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45017 /* end confdefs.h. */
45019 #ifdef HAVE_IEEEFP_H
45020 #include <ieeefp.h>
45031 if ac_fn_cxx_try_compile "$LINENO"; then :
45032 glibcxx_cv_func__isnan_use=yes
45034 glibcxx_cv_func__isnan_use=no
45036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45038 ac_cpp='$CPP $CPPFLAGS'
45039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45048 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45050 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45051 for ac_func in _isnan
45053 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45054 if test "x$ac_cv_func__isnan" = x""yes; then :
45055 cat >>confdefs.h <<_ACEOF
45056 #define HAVE__ISNAN 1
45069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45070 $as_echo_n "checking for finite declaration... " >&6; }
45071 if test x${glibcxx_cv_func_finite_use+set} != xset; then
45072 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45073 $as_echo_n "(cached) " >&6
45078 ac_cpp='$CXXCPP $CPPFLAGS'
45079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45084 /* end confdefs.h. */
45086 #ifdef HAVE_IEEEFP_H
45087 #include <ieeefp.h>
45098 if ac_fn_cxx_try_compile "$LINENO"; then :
45099 glibcxx_cv_func_finite_use=yes
45101 glibcxx_cv_func_finite_use=no
45103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45105 ac_cpp='$CPP $CPPFLAGS'
45106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
45115 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
45117 if test x$glibcxx_cv_func_finite_use = x"yes"; then
45118 for ac_func in finite
45120 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
45121 if test "x$ac_cv_func_finite" = x""yes; then :
45122 cat >>confdefs.h <<_ACEOF
45123 #define HAVE_FINITE 1
45131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
45132 $as_echo_n "checking for _finite declaration... " >&6; }
45133 if test x${glibcxx_cv_func__finite_use+set} != xset; then
45134 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
45135 $as_echo_n "(cached) " >&6
45140 ac_cpp='$CXXCPP $CPPFLAGS'
45141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45146 /* end confdefs.h. */
45148 #ifdef HAVE_IEEEFP_H
45149 #include <ieeefp.h>
45160 if ac_fn_cxx_try_compile "$LINENO"; then :
45161 glibcxx_cv_func__finite_use=yes
45163 glibcxx_cv_func__finite_use=no
45165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45167 ac_cpp='$CPP $CPPFLAGS'
45168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
45177 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
45179 if test x$glibcxx_cv_func__finite_use = x"yes"; then
45180 for ac_func in _finite
45182 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
45183 if test "x$ac_cv_func__finite" = x""yes; then :
45184 cat >>confdefs.h <<_ACEOF
45185 #define HAVE__FINITE 1
45198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
45199 $as_echo_n "checking for sincos declaration... " >&6; }
45200 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45201 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
45202 $as_echo_n "(cached) " >&6
45207 ac_cpp='$CXXCPP $CPPFLAGS'
45208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45213 /* end confdefs.h. */
45223 if ac_fn_cxx_try_compile "$LINENO"; then :
45224 glibcxx_cv_func_sincos_use=yes
45226 glibcxx_cv_func_sincos_use=no
45228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45230 ac_cpp='$CPP $CPPFLAGS'
45231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
45240 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
45242 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45243 for ac_func in sincos
45245 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
45246 if test "x$ac_cv_func_sincos" = x""yes; then :
45247 cat >>confdefs.h <<_ACEOF
45248 #define HAVE_SINCOS 1
45256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
45257 $as_echo_n "checking for _sincos declaration... " >&6; }
45258 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45259 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
45260 $as_echo_n "(cached) " >&6
45265 ac_cpp='$CXXCPP $CPPFLAGS'
45266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45271 /* end confdefs.h. */
45281 if ac_fn_cxx_try_compile "$LINENO"; then :
45282 glibcxx_cv_func__sincos_use=yes
45284 glibcxx_cv_func__sincos_use=no
45286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45288 ac_cpp='$CPP $CPPFLAGS'
45289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
45298 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
45300 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45301 for ac_func in _sincos
45303 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
45304 if test "x$ac_cv_func__sincos" = x""yes; then :
45305 cat >>confdefs.h <<_ACEOF
45306 #define HAVE__SINCOS 1
45319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
45320 $as_echo_n "checking for fpclass declaration... " >&6; }
45321 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45322 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
45323 $as_echo_n "(cached) " >&6
45328 ac_cpp='$CXXCPP $CPPFLAGS'
45329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45334 /* end confdefs.h. */
45336 #ifdef HAVE_IEEEFP_H
45337 #include <ieeefp.h>
45348 if ac_fn_cxx_try_compile "$LINENO"; then :
45349 glibcxx_cv_func_fpclass_use=yes
45351 glibcxx_cv_func_fpclass_use=no
45353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45355 ac_cpp='$CPP $CPPFLAGS'
45356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
45365 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
45367 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45368 for ac_func in fpclass
45370 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
45371 if test "x$ac_cv_func_fpclass" = x""yes; then :
45372 cat >>confdefs.h <<_ACEOF
45373 #define HAVE_FPCLASS 1
45381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
45382 $as_echo_n "checking for _fpclass declaration... " >&6; }
45383 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45384 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
45385 $as_echo_n "(cached) " >&6
45390 ac_cpp='$CXXCPP $CPPFLAGS'
45391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45396 /* end confdefs.h. */
45398 #ifdef HAVE_IEEEFP_H
45399 #include <ieeefp.h>
45410 if ac_fn_cxx_try_compile "$LINENO"; then :
45411 glibcxx_cv_func__fpclass_use=yes
45413 glibcxx_cv_func__fpclass_use=no
45415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45417 ac_cpp='$CPP $CPPFLAGS'
45418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
45427 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
45429 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45430 for ac_func in _fpclass
45432 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
45433 if test "x$ac_cv_func__fpclass" = x""yes; then :
45434 cat >>confdefs.h <<_ACEOF
45435 #define HAVE__FPCLASS 1
45448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
45449 $as_echo_n "checking for qfpclass declaration... " >&6; }
45450 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45451 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
45452 $as_echo_n "(cached) " >&6
45457 ac_cpp='$CXXCPP $CPPFLAGS'
45458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45463 /* end confdefs.h. */
45465 #ifdef HAVE_IEEEFP_H
45466 #include <ieeefp.h>
45477 if ac_fn_cxx_try_compile "$LINENO"; then :
45478 glibcxx_cv_func_qfpclass_use=yes
45480 glibcxx_cv_func_qfpclass_use=no
45482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45484 ac_cpp='$CPP $CPPFLAGS'
45485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
45494 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
45496 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45497 for ac_func in qfpclass
45499 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
45500 if test "x$ac_cv_func_qfpclass" = x""yes; then :
45501 cat >>confdefs.h <<_ACEOF
45502 #define HAVE_QFPCLASS 1
45510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
45511 $as_echo_n "checking for _qfpclass declaration... " >&6; }
45512 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45513 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
45514 $as_echo_n "(cached) " >&6
45519 ac_cpp='$CXXCPP $CPPFLAGS'
45520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45525 /* end confdefs.h. */
45527 #ifdef HAVE_IEEEFP_H
45528 #include <ieeefp.h>
45539 if ac_fn_cxx_try_compile "$LINENO"; then :
45540 glibcxx_cv_func__qfpclass_use=yes
45542 glibcxx_cv_func__qfpclass_use=no
45544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45546 ac_cpp='$CPP $CPPFLAGS'
45547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
45556 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
45558 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
45559 for ac_func in _qfpclass
45561 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
45562 if test "x$ac_cv_func__qfpclass" = x""yes; then :
45563 cat >>confdefs.h <<_ACEOF
45564 #define HAVE__QFPCLASS 1
45577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
45578 $as_echo_n "checking for hypot declaration... " >&6; }
45579 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
45580 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
45581 $as_echo_n "(cached) " >&6
45586 ac_cpp='$CXXCPP $CPPFLAGS'
45587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45592 /* end confdefs.h. */
45602 if ac_fn_cxx_try_compile "$LINENO"; then :
45603 glibcxx_cv_func_hypot_use=yes
45605 glibcxx_cv_func_hypot_use=no
45607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45609 ac_cpp='$CPP $CPPFLAGS'
45610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
45619 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
45621 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
45622 for ac_func in hypot
45624 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
45625 if test "x$ac_cv_func_hypot" = x""yes; then :
45626 cat >>confdefs.h <<_ACEOF
45627 #define HAVE_HYPOT 1
45635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
45636 $as_echo_n "checking for _hypot declaration... " >&6; }
45637 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
45638 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
45639 $as_echo_n "(cached) " >&6
45644 ac_cpp='$CXXCPP $CPPFLAGS'
45645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45650 /* end confdefs.h. */
45660 if ac_fn_cxx_try_compile "$LINENO"; then :
45661 glibcxx_cv_func__hypot_use=yes
45663 glibcxx_cv_func__hypot_use=no
45665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45667 ac_cpp='$CPP $CPPFLAGS'
45668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
45677 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
45679 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
45680 for ac_func in _hypot
45682 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
45683 if test "x$ac_cv_func__hypot" = x""yes; then :
45684 cat >>confdefs.h <<_ACEOF
45685 #define HAVE__HYPOT 1
45698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
45699 $as_echo_n "checking for float trig functions... " >&6; }
45700 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
45701 $as_echo_n "(cached) " >&6
45706 ac_cpp='$CXXCPP $CPPFLAGS'
45707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45712 /* end confdefs.h. */
45717 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
45722 if ac_fn_cxx_try_compile "$LINENO"; then :
45723 glibcxx_cv_func_float_trig_use=yes
45725 glibcxx_cv_func_float_trig_use=no
45727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45729 ac_cpp='$CPP $CPPFLAGS'
45730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
45737 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
45738 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
45739 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
45741 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45742 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45743 eval as_val=\$$as_ac_var
45744 if test "x$as_val" = x""yes; then :
45745 cat >>confdefs.h <<_ACEOF
45746 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
45754 $as_echo_n "checking for _float trig functions... " >&6; }
45755 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
45756 $as_echo_n "(cached) " >&6
45761 ac_cpp='$CXXCPP $CPPFLAGS'
45762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45767 /* end confdefs.h. */
45772 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
45777 if ac_fn_cxx_try_compile "$LINENO"; then :
45778 glibcxx_cv_func__float_trig_use=yes
45780 glibcxx_cv_func__float_trig_use=no
45782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45784 ac_cpp='$CPP $CPPFLAGS'
45785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
45792 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
45793 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
45794 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
45796 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45797 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45798 eval as_val=\$$as_ac_var
45799 if test "x$as_val" = x""yes; then :
45800 cat >>confdefs.h <<_ACEOF
45801 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
45815 $as_echo_n "checking for float round functions... " >&6; }
45816 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
45817 $as_echo_n "(cached) " >&6
45822 ac_cpp='$CXXCPP $CPPFLAGS'
45823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45828 /* end confdefs.h. */
45833 ceilf (0); floorf (0);
45838 if ac_fn_cxx_try_compile "$LINENO"; then :
45839 glibcxx_cv_func_float_round_use=yes
45841 glibcxx_cv_func_float_round_use=no
45843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45845 ac_cpp='$CPP $CPPFLAGS'
45846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
45853 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
45854 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
45855 for ac_func in ceilf floorf
45857 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45858 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45859 eval as_val=\$$as_ac_var
45860 if test "x$as_val" = x""yes; then :
45861 cat >>confdefs.h <<_ACEOF
45862 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
45870 $as_echo_n "checking for _float round functions... " >&6; }
45871 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
45872 $as_echo_n "(cached) " >&6
45877 ac_cpp='$CXXCPP $CPPFLAGS'
45878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45883 /* end confdefs.h. */
45888 _ceilf (0); _floorf (0);
45893 if ac_fn_cxx_try_compile "$LINENO"; then :
45894 glibcxx_cv_func__float_round_use=yes
45896 glibcxx_cv_func__float_round_use=no
45898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45900 ac_cpp='$CPP $CPPFLAGS'
45901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
45908 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
45909 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
45910 for ac_func in _ceilf _floorf
45912 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45913 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45914 eval as_val=\$$as_ac_var
45915 if test "x$as_val" = x""yes; then :
45916 cat >>confdefs.h <<_ACEOF
45917 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
45932 $as_echo_n "checking for expf declaration... " >&6; }
45933 if test x${glibcxx_cv_func_expf_use+set} != xset; then
45934 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
45935 $as_echo_n "(cached) " >&6
45940 ac_cpp='$CXXCPP $CPPFLAGS'
45941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45946 /* end confdefs.h. */
45948 #ifdef HAVE_IEEEFP_H
45949 #include <ieeefp.h>
45960 if ac_fn_cxx_try_compile "$LINENO"; then :
45961 glibcxx_cv_func_expf_use=yes
45963 glibcxx_cv_func_expf_use=no
45965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45967 ac_cpp='$CPP $CPPFLAGS'
45968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
45977 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
45979 if test x$glibcxx_cv_func_expf_use = x"yes"; then
45980 for ac_func in expf
45982 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
45983 if test "x$ac_cv_func_expf" = x""yes; then :
45984 cat >>confdefs.h <<_ACEOF
45985 #define HAVE_EXPF 1
45993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
45994 $as_echo_n "checking for _expf declaration... " >&6; }
45995 if test x${glibcxx_cv_func__expf_use+set} != xset; then
45996 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
45997 $as_echo_n "(cached) " >&6
46002 ac_cpp='$CXXCPP $CPPFLAGS'
46003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46008 /* end confdefs.h. */
46010 #ifdef HAVE_IEEEFP_H
46011 #include <ieeefp.h>
46022 if ac_fn_cxx_try_compile "$LINENO"; then :
46023 glibcxx_cv_func__expf_use=yes
46025 glibcxx_cv_func__expf_use=no
46027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46029 ac_cpp='$CPP $CPPFLAGS'
46030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46039 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46041 if test x$glibcxx_cv_func__expf_use = x"yes"; then
46042 for ac_func in _expf
46044 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46045 if test "x$ac_cv_func__expf" = x""yes; then :
46046 cat >>confdefs.h <<_ACEOF
46047 #define HAVE__EXPF 1
46060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46061 $as_echo_n "checking for isnanf declaration... " >&6; }
46062 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46063 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46064 $as_echo_n "(cached) " >&6
46069 ac_cpp='$CXXCPP $CPPFLAGS'
46070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46075 /* end confdefs.h. */
46077 #ifdef HAVE_IEEEFP_H
46078 #include <ieeefp.h>
46089 if ac_fn_cxx_try_compile "$LINENO"; then :
46090 glibcxx_cv_func_isnanf_use=yes
46092 glibcxx_cv_func_isnanf_use=no
46094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46096 ac_cpp='$CPP $CPPFLAGS'
46097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46106 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46108 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46109 for ac_func in isnanf
46111 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
46112 if test "x$ac_cv_func_isnanf" = x""yes; then :
46113 cat >>confdefs.h <<_ACEOF
46114 #define HAVE_ISNANF 1
46122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
46123 $as_echo_n "checking for _isnanf declaration... " >&6; }
46124 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46125 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
46126 $as_echo_n "(cached) " >&6
46131 ac_cpp='$CXXCPP $CPPFLAGS'
46132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46137 /* end confdefs.h. */
46139 #ifdef HAVE_IEEEFP_H
46140 #include <ieeefp.h>
46151 if ac_fn_cxx_try_compile "$LINENO"; then :
46152 glibcxx_cv_func__isnanf_use=yes
46154 glibcxx_cv_func__isnanf_use=no
46156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46158 ac_cpp='$CPP $CPPFLAGS'
46159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
46168 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
46170 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46171 for ac_func in _isnanf
46173 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
46174 if test "x$ac_cv_func__isnanf" = x""yes; then :
46175 cat >>confdefs.h <<_ACEOF
46176 #define HAVE__ISNANF 1
46189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
46190 $as_echo_n "checking for isinff declaration... " >&6; }
46191 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46192 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
46193 $as_echo_n "(cached) " >&6
46198 ac_cpp='$CXXCPP $CPPFLAGS'
46199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46204 /* end confdefs.h. */
46206 #ifdef HAVE_IEEEFP_H
46207 #include <ieeefp.h>
46218 if ac_fn_cxx_try_compile "$LINENO"; then :
46219 glibcxx_cv_func_isinff_use=yes
46221 glibcxx_cv_func_isinff_use=no
46223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46225 ac_cpp='$CPP $CPPFLAGS'
46226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
46235 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
46237 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
46238 for ac_func in isinff
46240 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
46241 if test "x$ac_cv_func_isinff" = x""yes; then :
46242 cat >>confdefs.h <<_ACEOF
46243 #define HAVE_ISINFF 1
46251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
46252 $as_echo_n "checking for _isinff declaration... " >&6; }
46253 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
46254 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
46255 $as_echo_n "(cached) " >&6
46260 ac_cpp='$CXXCPP $CPPFLAGS'
46261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46266 /* end confdefs.h. */
46268 #ifdef HAVE_IEEEFP_H
46269 #include <ieeefp.h>
46280 if ac_fn_cxx_try_compile "$LINENO"; then :
46281 glibcxx_cv_func__isinff_use=yes
46283 glibcxx_cv_func__isinff_use=no
46285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46287 ac_cpp='$CPP $CPPFLAGS'
46288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
46297 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
46299 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
46300 for ac_func in _isinff
46302 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
46303 if test "x$ac_cv_func__isinff" = x""yes; then :
46304 cat >>confdefs.h <<_ACEOF
46305 #define HAVE__ISINFF 1
46318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
46319 $as_echo_n "checking for atan2f declaration... " >&6; }
46320 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
46321 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
46322 $as_echo_n "(cached) " >&6
46327 ac_cpp='$CXXCPP $CPPFLAGS'
46328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46333 /* end confdefs.h. */
46343 if ac_fn_cxx_try_compile "$LINENO"; then :
46344 glibcxx_cv_func_atan2f_use=yes
46346 glibcxx_cv_func_atan2f_use=no
46348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46350 ac_cpp='$CPP $CPPFLAGS'
46351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
46360 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
46362 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
46363 for ac_func in atan2f
46365 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
46366 if test "x$ac_cv_func_atan2f" = x""yes; then :
46367 cat >>confdefs.h <<_ACEOF
46368 #define HAVE_ATAN2F 1
46376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
46377 $as_echo_n "checking for _atan2f declaration... " >&6; }
46378 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
46379 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
46380 $as_echo_n "(cached) " >&6
46385 ac_cpp='$CXXCPP $CPPFLAGS'
46386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46391 /* end confdefs.h. */
46401 if ac_fn_cxx_try_compile "$LINENO"; then :
46402 glibcxx_cv_func__atan2f_use=yes
46404 glibcxx_cv_func__atan2f_use=no
46406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46408 ac_cpp='$CPP $CPPFLAGS'
46409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
46418 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
46420 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
46421 for ac_func in _atan2f
46423 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
46424 if test "x$ac_cv_func__atan2f" = x""yes; then :
46425 cat >>confdefs.h <<_ACEOF
46426 #define HAVE__ATAN2F 1
46439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
46440 $as_echo_n "checking for fabsf declaration... " >&6; }
46441 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
46442 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
46443 $as_echo_n "(cached) " >&6
46448 ac_cpp='$CXXCPP $CPPFLAGS'
46449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46454 /* end confdefs.h. */
46456 #ifdef HAVE_IEEEFP_H
46457 #include <ieeefp.h>
46468 if ac_fn_cxx_try_compile "$LINENO"; then :
46469 glibcxx_cv_func_fabsf_use=yes
46471 glibcxx_cv_func_fabsf_use=no
46473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46475 ac_cpp='$CPP $CPPFLAGS'
46476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
46485 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
46487 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
46488 for ac_func in fabsf
46490 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
46491 if test "x$ac_cv_func_fabsf" = x""yes; then :
46492 cat >>confdefs.h <<_ACEOF
46493 #define HAVE_FABSF 1
46501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
46502 $as_echo_n "checking for _fabsf declaration... " >&6; }
46503 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
46504 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
46505 $as_echo_n "(cached) " >&6
46510 ac_cpp='$CXXCPP $CPPFLAGS'
46511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46516 /* end confdefs.h. */
46518 #ifdef HAVE_IEEEFP_H
46519 #include <ieeefp.h>
46530 if ac_fn_cxx_try_compile "$LINENO"; then :
46531 glibcxx_cv_func__fabsf_use=yes
46533 glibcxx_cv_func__fabsf_use=no
46535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46537 ac_cpp='$CPP $CPPFLAGS'
46538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
46547 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
46549 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
46550 for ac_func in _fabsf
46552 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
46553 if test "x$ac_cv_func__fabsf" = x""yes; then :
46554 cat >>confdefs.h <<_ACEOF
46555 #define HAVE__FABSF 1
46568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
46569 $as_echo_n "checking for fmodf declaration... " >&6; }
46570 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
46571 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
46572 $as_echo_n "(cached) " >&6
46577 ac_cpp='$CXXCPP $CPPFLAGS'
46578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46583 /* end confdefs.h. */
46593 if ac_fn_cxx_try_compile "$LINENO"; then :
46594 glibcxx_cv_func_fmodf_use=yes
46596 glibcxx_cv_func_fmodf_use=no
46598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46600 ac_cpp='$CPP $CPPFLAGS'
46601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
46610 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
46612 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
46613 for ac_func in fmodf
46615 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
46616 if test "x$ac_cv_func_fmodf" = x""yes; then :
46617 cat >>confdefs.h <<_ACEOF
46618 #define HAVE_FMODF 1
46626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
46627 $as_echo_n "checking for _fmodf declaration... " >&6; }
46628 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
46629 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
46630 $as_echo_n "(cached) " >&6
46635 ac_cpp='$CXXCPP $CPPFLAGS'
46636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46641 /* end confdefs.h. */
46651 if ac_fn_cxx_try_compile "$LINENO"; then :
46652 glibcxx_cv_func__fmodf_use=yes
46654 glibcxx_cv_func__fmodf_use=no
46656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46658 ac_cpp='$CPP $CPPFLAGS'
46659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
46668 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
46670 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
46671 for ac_func in _fmodf
46673 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
46674 if test "x$ac_cv_func__fmodf" = x""yes; then :
46675 cat >>confdefs.h <<_ACEOF
46676 #define HAVE__FMODF 1
46689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
46690 $as_echo_n "checking for frexpf declaration... " >&6; }
46691 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
46692 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
46693 $as_echo_n "(cached) " >&6
46698 ac_cpp='$CXXCPP $CPPFLAGS'
46699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46704 /* end confdefs.h. */
46714 if ac_fn_cxx_try_compile "$LINENO"; then :
46715 glibcxx_cv_func_frexpf_use=yes
46717 glibcxx_cv_func_frexpf_use=no
46719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46721 ac_cpp='$CPP $CPPFLAGS'
46722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
46731 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
46733 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
46734 for ac_func in frexpf
46736 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
46737 if test "x$ac_cv_func_frexpf" = x""yes; then :
46738 cat >>confdefs.h <<_ACEOF
46739 #define HAVE_FREXPF 1
46747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
46748 $as_echo_n "checking for _frexpf declaration... " >&6; }
46749 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
46750 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
46751 $as_echo_n "(cached) " >&6
46756 ac_cpp='$CXXCPP $CPPFLAGS'
46757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46762 /* end confdefs.h. */
46772 if ac_fn_cxx_try_compile "$LINENO"; then :
46773 glibcxx_cv_func__frexpf_use=yes
46775 glibcxx_cv_func__frexpf_use=no
46777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46779 ac_cpp='$CPP $CPPFLAGS'
46780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
46789 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
46791 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
46792 for ac_func in _frexpf
46794 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
46795 if test "x$ac_cv_func__frexpf" = x""yes; then :
46796 cat >>confdefs.h <<_ACEOF
46797 #define HAVE__FREXPF 1
46810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
46811 $as_echo_n "checking for hypotf declaration... " >&6; }
46812 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
46813 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
46814 $as_echo_n "(cached) " >&6
46819 ac_cpp='$CXXCPP $CPPFLAGS'
46820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46825 /* end confdefs.h. */
46835 if ac_fn_cxx_try_compile "$LINENO"; then :
46836 glibcxx_cv_func_hypotf_use=yes
46838 glibcxx_cv_func_hypotf_use=no
46840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46842 ac_cpp='$CPP $CPPFLAGS'
46843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
46852 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
46854 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
46855 for ac_func in hypotf
46857 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
46858 if test "x$ac_cv_func_hypotf" = x""yes; then :
46859 cat >>confdefs.h <<_ACEOF
46860 #define HAVE_HYPOTF 1
46868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
46869 $as_echo_n "checking for _hypotf declaration... " >&6; }
46870 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
46871 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
46872 $as_echo_n "(cached) " >&6
46877 ac_cpp='$CXXCPP $CPPFLAGS'
46878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46883 /* end confdefs.h. */
46893 if ac_fn_cxx_try_compile "$LINENO"; then :
46894 glibcxx_cv_func__hypotf_use=yes
46896 glibcxx_cv_func__hypotf_use=no
46898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46900 ac_cpp='$CPP $CPPFLAGS'
46901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
46910 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
46912 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
46913 for ac_func in _hypotf
46915 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
46916 if test "x$ac_cv_func__hypotf" = x""yes; then :
46917 cat >>confdefs.h <<_ACEOF
46918 #define HAVE__HYPOTF 1
46931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
46932 $as_echo_n "checking for ldexpf declaration... " >&6; }
46933 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
46934 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
46935 $as_echo_n "(cached) " >&6
46940 ac_cpp='$CXXCPP $CPPFLAGS'
46941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46946 /* end confdefs.h. */
46956 if ac_fn_cxx_try_compile "$LINENO"; then :
46957 glibcxx_cv_func_ldexpf_use=yes
46959 glibcxx_cv_func_ldexpf_use=no
46961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46963 ac_cpp='$CPP $CPPFLAGS'
46964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
46973 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
46975 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
46976 for ac_func in ldexpf
46978 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
46979 if test "x$ac_cv_func_ldexpf" = x""yes; then :
46980 cat >>confdefs.h <<_ACEOF
46981 #define HAVE_LDEXPF 1
46989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
46990 $as_echo_n "checking for _ldexpf declaration... " >&6; }
46991 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
46992 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
46993 $as_echo_n "(cached) " >&6
46998 ac_cpp='$CXXCPP $CPPFLAGS'
46999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47004 /* end confdefs.h. */
47014 if ac_fn_cxx_try_compile "$LINENO"; then :
47015 glibcxx_cv_func__ldexpf_use=yes
47017 glibcxx_cv_func__ldexpf_use=no
47019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47021 ac_cpp='$CPP $CPPFLAGS'
47022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47031 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47033 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47034 for ac_func in _ldexpf
47036 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47037 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47038 cat >>confdefs.h <<_ACEOF
47039 #define HAVE__LDEXPF 1
47052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47053 $as_echo_n "checking for logf declaration... " >&6; }
47054 if test x${glibcxx_cv_func_logf_use+set} != xset; then
47055 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47056 $as_echo_n "(cached) " >&6
47061 ac_cpp='$CXXCPP $CPPFLAGS'
47062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47067 /* end confdefs.h. */
47069 #ifdef HAVE_IEEEFP_H
47070 #include <ieeefp.h>
47081 if ac_fn_cxx_try_compile "$LINENO"; then :
47082 glibcxx_cv_func_logf_use=yes
47084 glibcxx_cv_func_logf_use=no
47086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47088 ac_cpp='$CPP $CPPFLAGS'
47089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47098 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47100 if test x$glibcxx_cv_func_logf_use = x"yes"; then
47101 for ac_func in logf
47103 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
47104 if test "x$ac_cv_func_logf" = x""yes; then :
47105 cat >>confdefs.h <<_ACEOF
47106 #define HAVE_LOGF 1
47114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
47115 $as_echo_n "checking for _logf declaration... " >&6; }
47116 if test x${glibcxx_cv_func__logf_use+set} != xset; then
47117 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
47118 $as_echo_n "(cached) " >&6
47123 ac_cpp='$CXXCPP $CPPFLAGS'
47124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47129 /* end confdefs.h. */
47131 #ifdef HAVE_IEEEFP_H
47132 #include <ieeefp.h>
47143 if ac_fn_cxx_try_compile "$LINENO"; then :
47144 glibcxx_cv_func__logf_use=yes
47146 glibcxx_cv_func__logf_use=no
47148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47150 ac_cpp='$CPP $CPPFLAGS'
47151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
47160 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
47162 if test x$glibcxx_cv_func__logf_use = x"yes"; then
47163 for ac_func in _logf
47165 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
47166 if test "x$ac_cv_func__logf" = x""yes; then :
47167 cat >>confdefs.h <<_ACEOF
47168 #define HAVE__LOGF 1
47181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
47182 $as_echo_n "checking for log10f declaration... " >&6; }
47183 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
47184 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
47185 $as_echo_n "(cached) " >&6
47190 ac_cpp='$CXXCPP $CPPFLAGS'
47191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47196 /* end confdefs.h. */
47198 #ifdef HAVE_IEEEFP_H
47199 #include <ieeefp.h>
47210 if ac_fn_cxx_try_compile "$LINENO"; then :
47211 glibcxx_cv_func_log10f_use=yes
47213 glibcxx_cv_func_log10f_use=no
47215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47217 ac_cpp='$CPP $CPPFLAGS'
47218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
47227 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
47229 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
47230 for ac_func in log10f
47232 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
47233 if test "x$ac_cv_func_log10f" = x""yes; then :
47234 cat >>confdefs.h <<_ACEOF
47235 #define HAVE_LOG10F 1
47243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
47244 $as_echo_n "checking for _log10f declaration... " >&6; }
47245 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
47246 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
47247 $as_echo_n "(cached) " >&6
47252 ac_cpp='$CXXCPP $CPPFLAGS'
47253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47258 /* end confdefs.h. */
47260 #ifdef HAVE_IEEEFP_H
47261 #include <ieeefp.h>
47272 if ac_fn_cxx_try_compile "$LINENO"; then :
47273 glibcxx_cv_func__log10f_use=yes
47275 glibcxx_cv_func__log10f_use=no
47277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47279 ac_cpp='$CPP $CPPFLAGS'
47280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
47289 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
47291 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
47292 for ac_func in _log10f
47294 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
47295 if test "x$ac_cv_func__log10f" = x""yes; then :
47296 cat >>confdefs.h <<_ACEOF
47297 #define HAVE__LOG10F 1
47310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
47311 $as_echo_n "checking for modff declaration... " >&6; }
47312 if test x${glibcxx_cv_func_modff_use+set} != xset; then
47313 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
47314 $as_echo_n "(cached) " >&6
47319 ac_cpp='$CXXCPP $CPPFLAGS'
47320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47325 /* end confdefs.h. */
47335 if ac_fn_cxx_try_compile "$LINENO"; then :
47336 glibcxx_cv_func_modff_use=yes
47338 glibcxx_cv_func_modff_use=no
47340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47342 ac_cpp='$CPP $CPPFLAGS'
47343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
47352 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
47354 if test x$glibcxx_cv_func_modff_use = x"yes"; then
47355 for ac_func in modff
47357 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
47358 if test "x$ac_cv_func_modff" = x""yes; then :
47359 cat >>confdefs.h <<_ACEOF
47360 #define HAVE_MODFF 1
47368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
47369 $as_echo_n "checking for _modff declaration... " >&6; }
47370 if test x${glibcxx_cv_func__modff_use+set} != xset; then
47371 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
47372 $as_echo_n "(cached) " >&6
47377 ac_cpp='$CXXCPP $CPPFLAGS'
47378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47383 /* end confdefs.h. */
47393 if ac_fn_cxx_try_compile "$LINENO"; then :
47394 glibcxx_cv_func__modff_use=yes
47396 glibcxx_cv_func__modff_use=no
47398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47400 ac_cpp='$CPP $CPPFLAGS'
47401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
47410 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
47412 if test x$glibcxx_cv_func__modff_use = x"yes"; then
47413 for ac_func in _modff
47415 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
47416 if test "x$ac_cv_func__modff" = x""yes; then :
47417 cat >>confdefs.h <<_ACEOF
47418 #define HAVE__MODFF 1
47431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
47432 $as_echo_n "checking for modf declaration... " >&6; }
47433 if test x${glibcxx_cv_func_modf_use+set} != xset; then
47434 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
47435 $as_echo_n "(cached) " >&6
47440 ac_cpp='$CXXCPP $CPPFLAGS'
47441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47446 /* end confdefs.h. */
47456 if ac_fn_cxx_try_compile "$LINENO"; then :
47457 glibcxx_cv_func_modf_use=yes
47459 glibcxx_cv_func_modf_use=no
47461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47463 ac_cpp='$CPP $CPPFLAGS'
47464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
47473 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
47475 if test x$glibcxx_cv_func_modf_use = x"yes"; then
47476 for ac_func in modf
47478 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
47479 if test "x$ac_cv_func_modf" = x""yes; then :
47480 cat >>confdefs.h <<_ACEOF
47481 #define HAVE_MODF 1
47489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
47490 $as_echo_n "checking for _modf declaration... " >&6; }
47491 if test x${glibcxx_cv_func__modf_use+set} != xset; then
47492 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
47493 $as_echo_n "(cached) " >&6
47498 ac_cpp='$CXXCPP $CPPFLAGS'
47499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47504 /* end confdefs.h. */
47514 if ac_fn_cxx_try_compile "$LINENO"; then :
47515 glibcxx_cv_func__modf_use=yes
47517 glibcxx_cv_func__modf_use=no
47519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47521 ac_cpp='$CPP $CPPFLAGS'
47522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
47531 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
47533 if test x$glibcxx_cv_func__modf_use = x"yes"; then
47534 for ac_func in _modf
47536 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
47537 if test "x$ac_cv_func__modf" = x""yes; then :
47538 cat >>confdefs.h <<_ACEOF
47539 #define HAVE__MODF 1
47552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
47553 $as_echo_n "checking for powf declaration... " >&6; }
47554 if test x${glibcxx_cv_func_powf_use+set} != xset; then
47555 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
47556 $as_echo_n "(cached) " >&6
47561 ac_cpp='$CXXCPP $CPPFLAGS'
47562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47567 /* end confdefs.h. */
47577 if ac_fn_cxx_try_compile "$LINENO"; then :
47578 glibcxx_cv_func_powf_use=yes
47580 glibcxx_cv_func_powf_use=no
47582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47584 ac_cpp='$CPP $CPPFLAGS'
47585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
47594 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
47596 if test x$glibcxx_cv_func_powf_use = x"yes"; then
47597 for ac_func in powf
47599 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
47600 if test "x$ac_cv_func_powf" = x""yes; then :
47601 cat >>confdefs.h <<_ACEOF
47602 #define HAVE_POWF 1
47610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
47611 $as_echo_n "checking for _powf declaration... " >&6; }
47612 if test x${glibcxx_cv_func__powf_use+set} != xset; then
47613 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
47614 $as_echo_n "(cached) " >&6
47619 ac_cpp='$CXXCPP $CPPFLAGS'
47620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47625 /* end confdefs.h. */
47635 if ac_fn_cxx_try_compile "$LINENO"; then :
47636 glibcxx_cv_func__powf_use=yes
47638 glibcxx_cv_func__powf_use=no
47640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47642 ac_cpp='$CPP $CPPFLAGS'
47643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
47652 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
47654 if test x$glibcxx_cv_func__powf_use = x"yes"; then
47655 for ac_func in _powf
47657 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
47658 if test "x$ac_cv_func__powf" = x""yes; then :
47659 cat >>confdefs.h <<_ACEOF
47660 #define HAVE__POWF 1
47673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
47674 $as_echo_n "checking for sqrtf declaration... " >&6; }
47675 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
47676 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
47677 $as_echo_n "(cached) " >&6
47682 ac_cpp='$CXXCPP $CPPFLAGS'
47683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47688 /* end confdefs.h. */
47690 #ifdef HAVE_IEEEFP_H
47691 #include <ieeefp.h>
47702 if ac_fn_cxx_try_compile "$LINENO"; then :
47703 glibcxx_cv_func_sqrtf_use=yes
47705 glibcxx_cv_func_sqrtf_use=no
47707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47709 ac_cpp='$CPP $CPPFLAGS'
47710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
47719 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
47721 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
47722 for ac_func in sqrtf
47724 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
47725 if test "x$ac_cv_func_sqrtf" = x""yes; then :
47726 cat >>confdefs.h <<_ACEOF
47727 #define HAVE_SQRTF 1
47735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
47736 $as_echo_n "checking for _sqrtf declaration... " >&6; }
47737 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
47738 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
47739 $as_echo_n "(cached) " >&6
47744 ac_cpp='$CXXCPP $CPPFLAGS'
47745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47750 /* end confdefs.h. */
47752 #ifdef HAVE_IEEEFP_H
47753 #include <ieeefp.h>
47764 if ac_fn_cxx_try_compile "$LINENO"; then :
47765 glibcxx_cv_func__sqrtf_use=yes
47767 glibcxx_cv_func__sqrtf_use=no
47769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47771 ac_cpp='$CPP $CPPFLAGS'
47772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
47781 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
47783 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
47784 for ac_func in _sqrtf
47786 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
47787 if test "x$ac_cv_func__sqrtf" = x""yes; then :
47788 cat >>confdefs.h <<_ACEOF
47789 #define HAVE__SQRTF 1
47802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
47803 $as_echo_n "checking for sincosf declaration... " >&6; }
47804 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
47805 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
47806 $as_echo_n "(cached) " >&6
47811 ac_cpp='$CXXCPP $CPPFLAGS'
47812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47817 /* end confdefs.h. */
47827 if ac_fn_cxx_try_compile "$LINENO"; then :
47828 glibcxx_cv_func_sincosf_use=yes
47830 glibcxx_cv_func_sincosf_use=no
47832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47834 ac_cpp='$CPP $CPPFLAGS'
47835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
47844 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
47846 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
47847 for ac_func in sincosf
47849 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
47850 if test "x$ac_cv_func_sincosf" = x""yes; then :
47851 cat >>confdefs.h <<_ACEOF
47852 #define HAVE_SINCOSF 1
47860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
47861 $as_echo_n "checking for _sincosf declaration... " >&6; }
47862 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
47863 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
47864 $as_echo_n "(cached) " >&6
47869 ac_cpp='$CXXCPP $CPPFLAGS'
47870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47875 /* end confdefs.h. */
47885 if ac_fn_cxx_try_compile "$LINENO"; then :
47886 glibcxx_cv_func__sincosf_use=yes
47888 glibcxx_cv_func__sincosf_use=no
47890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47892 ac_cpp='$CPP $CPPFLAGS'
47893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
47902 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
47904 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
47905 for ac_func in _sincosf
47907 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
47908 if test "x$ac_cv_func__sincosf" = x""yes; then :
47909 cat >>confdefs.h <<_ACEOF
47910 #define HAVE__SINCOSF 1
47923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
47924 $as_echo_n "checking for finitef declaration... " >&6; }
47925 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
47926 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
47927 $as_echo_n "(cached) " >&6
47932 ac_cpp='$CXXCPP $CPPFLAGS'
47933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47938 /* end confdefs.h. */
47940 #ifdef HAVE_IEEEFP_H
47941 #include <ieeefp.h>
47952 if ac_fn_cxx_try_compile "$LINENO"; then :
47953 glibcxx_cv_func_finitef_use=yes
47955 glibcxx_cv_func_finitef_use=no
47957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47959 ac_cpp='$CPP $CPPFLAGS'
47960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
47969 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
47971 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
47972 for ac_func in finitef
47974 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
47975 if test "x$ac_cv_func_finitef" = x""yes; then :
47976 cat >>confdefs.h <<_ACEOF
47977 #define HAVE_FINITEF 1
47985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
47986 $as_echo_n "checking for _finitef declaration... " >&6; }
47987 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
47988 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
47989 $as_echo_n "(cached) " >&6
47994 ac_cpp='$CXXCPP $CPPFLAGS'
47995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48000 /* end confdefs.h. */
48002 #ifdef HAVE_IEEEFP_H
48003 #include <ieeefp.h>
48014 if ac_fn_cxx_try_compile "$LINENO"; then :
48015 glibcxx_cv_func__finitef_use=yes
48017 glibcxx_cv_func__finitef_use=no
48019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48021 ac_cpp='$CPP $CPPFLAGS'
48022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48031 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48033 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48034 for ac_func in _finitef
48036 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48037 if test "x$ac_cv_func__finitef" = x""yes; then :
48038 cat >>confdefs.h <<_ACEOF
48039 #define HAVE__FINITEF 1
48052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48053 $as_echo_n "checking for long double trig functions... " >&6; }
48054 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48055 $as_echo_n "(cached) " >&6
48060 ac_cpp='$CXXCPP $CPPFLAGS'
48061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48066 /* end confdefs.h. */
48071 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48076 if ac_fn_cxx_try_compile "$LINENO"; then :
48077 glibcxx_cv_func_long_double_trig_use=yes
48079 glibcxx_cv_func_long_double_trig_use=no
48081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48083 ac_cpp='$CPP $CPPFLAGS'
48084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
48091 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48092 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48093 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48095 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48096 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48097 eval as_val=\$$as_ac_var
48098 if test "x$as_val" = x""yes; then :
48099 cat >>confdefs.h <<_ACEOF
48100 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
48108 $as_echo_n "checking for _long double trig functions... " >&6; }
48109 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
48110 $as_echo_n "(cached) " >&6
48115 ac_cpp='$CXXCPP $CPPFLAGS'
48116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48121 /* end confdefs.h. */
48126 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
48131 if ac_fn_cxx_try_compile "$LINENO"; then :
48132 glibcxx_cv_func__long_double_trig_use=yes
48134 glibcxx_cv_func__long_double_trig_use=no
48136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48138 ac_cpp='$CPP $CPPFLAGS'
48139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
48146 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
48147 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
48148 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
48150 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48151 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48152 eval as_val=\$$as_ac_var
48153 if test "x$as_val" = x""yes; then :
48154 cat >>confdefs.h <<_ACEOF
48155 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
48169 $as_echo_n "checking for long double round functions... " >&6; }
48170 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
48171 $as_echo_n "(cached) " >&6
48176 ac_cpp='$CXXCPP $CPPFLAGS'
48177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48182 /* end confdefs.h. */
48187 ceill (0); floorl (0);
48192 if ac_fn_cxx_try_compile "$LINENO"; then :
48193 glibcxx_cv_func_long_double_round_use=yes
48195 glibcxx_cv_func_long_double_round_use=no
48197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48199 ac_cpp='$CPP $CPPFLAGS'
48200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
48207 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
48208 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
48209 for ac_func in ceill floorl
48211 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48212 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48213 eval as_val=\$$as_ac_var
48214 if test "x$as_val" = x""yes; then :
48215 cat >>confdefs.h <<_ACEOF
48216 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
48224 $as_echo_n "checking for _long double round functions... " >&6; }
48225 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
48226 $as_echo_n "(cached) " >&6
48231 ac_cpp='$CXXCPP $CPPFLAGS'
48232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48237 /* end confdefs.h. */
48242 _ceill (0); _floorl (0);
48247 if ac_fn_cxx_try_compile "$LINENO"; then :
48248 glibcxx_cv_func__long_double_round_use=yes
48250 glibcxx_cv_func__long_double_round_use=no
48252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48254 ac_cpp='$CPP $CPPFLAGS'
48255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
48262 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
48263 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48264 for ac_func in _ceill _floorl
48266 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48267 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48268 eval as_val=\$$as_ac_var
48269 if test "x$as_val" = x""yes; then :
48270 cat >>confdefs.h <<_ACEOF
48271 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
48286 $as_echo_n "checking for isnanl declaration... " >&6; }
48287 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
48288 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
48289 $as_echo_n "(cached) " >&6
48294 ac_cpp='$CXXCPP $CPPFLAGS'
48295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48300 /* end confdefs.h. */
48302 #ifdef HAVE_IEEEFP_H
48303 #include <ieeefp.h>
48314 if ac_fn_cxx_try_compile "$LINENO"; then :
48315 glibcxx_cv_func_isnanl_use=yes
48317 glibcxx_cv_func_isnanl_use=no
48319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48321 ac_cpp='$CPP $CPPFLAGS'
48322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
48331 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
48333 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
48334 for ac_func in isnanl
48336 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
48337 if test "x$ac_cv_func_isnanl" = x""yes; then :
48338 cat >>confdefs.h <<_ACEOF
48339 #define HAVE_ISNANL 1
48347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
48348 $as_echo_n "checking for _isnanl declaration... " >&6; }
48349 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
48350 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
48351 $as_echo_n "(cached) " >&6
48356 ac_cpp='$CXXCPP $CPPFLAGS'
48357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48362 /* end confdefs.h. */
48364 #ifdef HAVE_IEEEFP_H
48365 #include <ieeefp.h>
48376 if ac_fn_cxx_try_compile "$LINENO"; then :
48377 glibcxx_cv_func__isnanl_use=yes
48379 glibcxx_cv_func__isnanl_use=no
48381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48383 ac_cpp='$CPP $CPPFLAGS'
48384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
48393 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
48395 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
48396 for ac_func in _isnanl
48398 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
48399 if test "x$ac_cv_func__isnanl" = x""yes; then :
48400 cat >>confdefs.h <<_ACEOF
48401 #define HAVE__ISNANL 1
48414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
48415 $as_echo_n "checking for isinfl declaration... " >&6; }
48416 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
48417 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
48418 $as_echo_n "(cached) " >&6
48423 ac_cpp='$CXXCPP $CPPFLAGS'
48424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48429 /* end confdefs.h. */
48431 #ifdef HAVE_IEEEFP_H
48432 #include <ieeefp.h>
48443 if ac_fn_cxx_try_compile "$LINENO"; then :
48444 glibcxx_cv_func_isinfl_use=yes
48446 glibcxx_cv_func_isinfl_use=no
48448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48450 ac_cpp='$CPP $CPPFLAGS'
48451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
48460 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
48462 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
48463 for ac_func in isinfl
48465 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
48466 if test "x$ac_cv_func_isinfl" = x""yes; then :
48467 cat >>confdefs.h <<_ACEOF
48468 #define HAVE_ISINFL 1
48476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
48477 $as_echo_n "checking for _isinfl declaration... " >&6; }
48478 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
48479 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
48480 $as_echo_n "(cached) " >&6
48485 ac_cpp='$CXXCPP $CPPFLAGS'
48486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48491 /* end confdefs.h. */
48493 #ifdef HAVE_IEEEFP_H
48494 #include <ieeefp.h>
48505 if ac_fn_cxx_try_compile "$LINENO"; then :
48506 glibcxx_cv_func__isinfl_use=yes
48508 glibcxx_cv_func__isinfl_use=no
48510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48512 ac_cpp='$CPP $CPPFLAGS'
48513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
48522 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
48524 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
48525 for ac_func in _isinfl
48527 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
48528 if test "x$ac_cv_func__isinfl" = x""yes; then :
48529 cat >>confdefs.h <<_ACEOF
48530 #define HAVE__ISINFL 1
48543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
48544 $as_echo_n "checking for atan2l declaration... " >&6; }
48545 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
48546 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
48547 $as_echo_n "(cached) " >&6
48552 ac_cpp='$CXXCPP $CPPFLAGS'
48553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48558 /* end confdefs.h. */
48568 if ac_fn_cxx_try_compile "$LINENO"; then :
48569 glibcxx_cv_func_atan2l_use=yes
48571 glibcxx_cv_func_atan2l_use=no
48573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48575 ac_cpp='$CPP $CPPFLAGS'
48576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
48585 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
48587 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
48588 for ac_func in atan2l
48590 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
48591 if test "x$ac_cv_func_atan2l" = x""yes; then :
48592 cat >>confdefs.h <<_ACEOF
48593 #define HAVE_ATAN2L 1
48601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
48602 $as_echo_n "checking for _atan2l declaration... " >&6; }
48603 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
48604 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
48605 $as_echo_n "(cached) " >&6
48610 ac_cpp='$CXXCPP $CPPFLAGS'
48611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48616 /* end confdefs.h. */
48626 if ac_fn_cxx_try_compile "$LINENO"; then :
48627 glibcxx_cv_func__atan2l_use=yes
48629 glibcxx_cv_func__atan2l_use=no
48631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48633 ac_cpp='$CPP $CPPFLAGS'
48634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
48643 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
48645 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
48646 for ac_func in _atan2l
48648 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
48649 if test "x$ac_cv_func__atan2l" = x""yes; then :
48650 cat >>confdefs.h <<_ACEOF
48651 #define HAVE__ATAN2L 1
48664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
48665 $as_echo_n "checking for expl declaration... " >&6; }
48666 if test x${glibcxx_cv_func_expl_use+set} != xset; then
48667 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
48668 $as_echo_n "(cached) " >&6
48673 ac_cpp='$CXXCPP $CPPFLAGS'
48674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48679 /* end confdefs.h. */
48681 #ifdef HAVE_IEEEFP_H
48682 #include <ieeefp.h>
48693 if ac_fn_cxx_try_compile "$LINENO"; then :
48694 glibcxx_cv_func_expl_use=yes
48696 glibcxx_cv_func_expl_use=no
48698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48700 ac_cpp='$CPP $CPPFLAGS'
48701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
48710 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
48712 if test x$glibcxx_cv_func_expl_use = x"yes"; then
48713 for ac_func in expl
48715 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
48716 if test "x$ac_cv_func_expl" = x""yes; then :
48717 cat >>confdefs.h <<_ACEOF
48718 #define HAVE_EXPL 1
48726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
48727 $as_echo_n "checking for _expl declaration... " >&6; }
48728 if test x${glibcxx_cv_func__expl_use+set} != xset; then
48729 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
48730 $as_echo_n "(cached) " >&6
48735 ac_cpp='$CXXCPP $CPPFLAGS'
48736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48741 /* end confdefs.h. */
48743 #ifdef HAVE_IEEEFP_H
48744 #include <ieeefp.h>
48755 if ac_fn_cxx_try_compile "$LINENO"; then :
48756 glibcxx_cv_func__expl_use=yes
48758 glibcxx_cv_func__expl_use=no
48760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48762 ac_cpp='$CPP $CPPFLAGS'
48763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
48772 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
48774 if test x$glibcxx_cv_func__expl_use = x"yes"; then
48775 for ac_func in _expl
48777 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
48778 if test "x$ac_cv_func__expl" = x""yes; then :
48779 cat >>confdefs.h <<_ACEOF
48780 #define HAVE__EXPL 1
48793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
48794 $as_echo_n "checking for fabsl declaration... " >&6; }
48795 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
48796 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
48797 $as_echo_n "(cached) " >&6
48802 ac_cpp='$CXXCPP $CPPFLAGS'
48803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48808 /* end confdefs.h. */
48810 #ifdef HAVE_IEEEFP_H
48811 #include <ieeefp.h>
48822 if ac_fn_cxx_try_compile "$LINENO"; then :
48823 glibcxx_cv_func_fabsl_use=yes
48825 glibcxx_cv_func_fabsl_use=no
48827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48829 ac_cpp='$CPP $CPPFLAGS'
48830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
48839 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
48841 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
48842 for ac_func in fabsl
48844 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
48845 if test "x$ac_cv_func_fabsl" = x""yes; then :
48846 cat >>confdefs.h <<_ACEOF
48847 #define HAVE_FABSL 1
48855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
48856 $as_echo_n "checking for _fabsl declaration... " >&6; }
48857 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
48858 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
48859 $as_echo_n "(cached) " >&6
48864 ac_cpp='$CXXCPP $CPPFLAGS'
48865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48870 /* end confdefs.h. */
48872 #ifdef HAVE_IEEEFP_H
48873 #include <ieeefp.h>
48884 if ac_fn_cxx_try_compile "$LINENO"; then :
48885 glibcxx_cv_func__fabsl_use=yes
48887 glibcxx_cv_func__fabsl_use=no
48889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48891 ac_cpp='$CPP $CPPFLAGS'
48892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
48901 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
48903 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
48904 for ac_func in _fabsl
48906 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
48907 if test "x$ac_cv_func__fabsl" = x""yes; then :
48908 cat >>confdefs.h <<_ACEOF
48909 #define HAVE__FABSL 1
48922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
48923 $as_echo_n "checking for fmodl declaration... " >&6; }
48924 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
48925 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
48926 $as_echo_n "(cached) " >&6
48931 ac_cpp='$CXXCPP $CPPFLAGS'
48932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48937 /* end confdefs.h. */
48947 if ac_fn_cxx_try_compile "$LINENO"; then :
48948 glibcxx_cv_func_fmodl_use=yes
48950 glibcxx_cv_func_fmodl_use=no
48952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48954 ac_cpp='$CPP $CPPFLAGS'
48955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
48964 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
48966 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
48967 for ac_func in fmodl
48969 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
48970 if test "x$ac_cv_func_fmodl" = x""yes; then :
48971 cat >>confdefs.h <<_ACEOF
48972 #define HAVE_FMODL 1
48980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
48981 $as_echo_n "checking for _fmodl declaration... " >&6; }
48982 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
48983 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
48984 $as_echo_n "(cached) " >&6
48989 ac_cpp='$CXXCPP $CPPFLAGS'
48990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48995 /* end confdefs.h. */
49005 if ac_fn_cxx_try_compile "$LINENO"; then :
49006 glibcxx_cv_func__fmodl_use=yes
49008 glibcxx_cv_func__fmodl_use=no
49010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49012 ac_cpp='$CPP $CPPFLAGS'
49013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49022 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49024 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49025 for ac_func in _fmodl
49027 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49028 if test "x$ac_cv_func__fmodl" = x""yes; then :
49029 cat >>confdefs.h <<_ACEOF
49030 #define HAVE__FMODL 1
49043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49044 $as_echo_n "checking for frexpl declaration... " >&6; }
49045 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49046 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49047 $as_echo_n "(cached) " >&6
49052 ac_cpp='$CXXCPP $CPPFLAGS'
49053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49058 /* end confdefs.h. */
49068 if ac_fn_cxx_try_compile "$LINENO"; then :
49069 glibcxx_cv_func_frexpl_use=yes
49071 glibcxx_cv_func_frexpl_use=no
49073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49075 ac_cpp='$CPP $CPPFLAGS'
49076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
49085 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49087 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
49088 for ac_func in frexpl
49090 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
49091 if test "x$ac_cv_func_frexpl" = x""yes; then :
49092 cat >>confdefs.h <<_ACEOF
49093 #define HAVE_FREXPL 1
49101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
49102 $as_echo_n "checking for _frexpl declaration... " >&6; }
49103 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
49104 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
49105 $as_echo_n "(cached) " >&6
49110 ac_cpp='$CXXCPP $CPPFLAGS'
49111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49116 /* end confdefs.h. */
49126 if ac_fn_cxx_try_compile "$LINENO"; then :
49127 glibcxx_cv_func__frexpl_use=yes
49129 glibcxx_cv_func__frexpl_use=no
49131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49133 ac_cpp='$CPP $CPPFLAGS'
49134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
49143 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
49145 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
49146 for ac_func in _frexpl
49148 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
49149 if test "x$ac_cv_func__frexpl" = x""yes; then :
49150 cat >>confdefs.h <<_ACEOF
49151 #define HAVE__FREXPL 1
49164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
49165 $as_echo_n "checking for hypotl declaration... " >&6; }
49166 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
49167 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
49168 $as_echo_n "(cached) " >&6
49173 ac_cpp='$CXXCPP $CPPFLAGS'
49174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49179 /* end confdefs.h. */
49189 if ac_fn_cxx_try_compile "$LINENO"; then :
49190 glibcxx_cv_func_hypotl_use=yes
49192 glibcxx_cv_func_hypotl_use=no
49194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49196 ac_cpp='$CPP $CPPFLAGS'
49197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
49206 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
49208 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
49209 for ac_func in hypotl
49211 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
49212 if test "x$ac_cv_func_hypotl" = x""yes; then :
49213 cat >>confdefs.h <<_ACEOF
49214 #define HAVE_HYPOTL 1
49222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
49223 $as_echo_n "checking for _hypotl declaration... " >&6; }
49224 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
49225 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
49226 $as_echo_n "(cached) " >&6
49231 ac_cpp='$CXXCPP $CPPFLAGS'
49232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49237 /* end confdefs.h. */
49247 if ac_fn_cxx_try_compile "$LINENO"; then :
49248 glibcxx_cv_func__hypotl_use=yes
49250 glibcxx_cv_func__hypotl_use=no
49252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49254 ac_cpp='$CPP $CPPFLAGS'
49255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
49264 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
49266 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
49267 for ac_func in _hypotl
49269 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
49270 if test "x$ac_cv_func__hypotl" = x""yes; then :
49271 cat >>confdefs.h <<_ACEOF
49272 #define HAVE__HYPOTL 1
49285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
49286 $as_echo_n "checking for ldexpl declaration... " >&6; }
49287 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
49288 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
49289 $as_echo_n "(cached) " >&6
49294 ac_cpp='$CXXCPP $CPPFLAGS'
49295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49300 /* end confdefs.h. */
49310 if ac_fn_cxx_try_compile "$LINENO"; then :
49311 glibcxx_cv_func_ldexpl_use=yes
49313 glibcxx_cv_func_ldexpl_use=no
49315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49317 ac_cpp='$CPP $CPPFLAGS'
49318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
49327 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
49329 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
49330 for ac_func in ldexpl
49332 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
49333 if test "x$ac_cv_func_ldexpl" = x""yes; then :
49334 cat >>confdefs.h <<_ACEOF
49335 #define HAVE_LDEXPL 1
49343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
49344 $as_echo_n "checking for _ldexpl declaration... " >&6; }
49345 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
49346 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
49347 $as_echo_n "(cached) " >&6
49352 ac_cpp='$CXXCPP $CPPFLAGS'
49353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49358 /* end confdefs.h. */
49368 if ac_fn_cxx_try_compile "$LINENO"; then :
49369 glibcxx_cv_func__ldexpl_use=yes
49371 glibcxx_cv_func__ldexpl_use=no
49373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49375 ac_cpp='$CPP $CPPFLAGS'
49376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
49385 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
49387 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
49388 for ac_func in _ldexpl
49390 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
49391 if test "x$ac_cv_func__ldexpl" = x""yes; then :
49392 cat >>confdefs.h <<_ACEOF
49393 #define HAVE__LDEXPL 1
49406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
49407 $as_echo_n "checking for logl declaration... " >&6; }
49408 if test x${glibcxx_cv_func_logl_use+set} != xset; then
49409 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
49410 $as_echo_n "(cached) " >&6
49415 ac_cpp='$CXXCPP $CPPFLAGS'
49416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49421 /* end confdefs.h. */
49423 #ifdef HAVE_IEEEFP_H
49424 #include <ieeefp.h>
49435 if ac_fn_cxx_try_compile "$LINENO"; then :
49436 glibcxx_cv_func_logl_use=yes
49438 glibcxx_cv_func_logl_use=no
49440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49442 ac_cpp='$CPP $CPPFLAGS'
49443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
49452 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
49454 if test x$glibcxx_cv_func_logl_use = x"yes"; then
49455 for ac_func in logl
49457 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
49458 if test "x$ac_cv_func_logl" = x""yes; then :
49459 cat >>confdefs.h <<_ACEOF
49460 #define HAVE_LOGL 1
49468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
49469 $as_echo_n "checking for _logl declaration... " >&6; }
49470 if test x${glibcxx_cv_func__logl_use+set} != xset; then
49471 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
49472 $as_echo_n "(cached) " >&6
49477 ac_cpp='$CXXCPP $CPPFLAGS'
49478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49483 /* end confdefs.h. */
49485 #ifdef HAVE_IEEEFP_H
49486 #include <ieeefp.h>
49497 if ac_fn_cxx_try_compile "$LINENO"; then :
49498 glibcxx_cv_func__logl_use=yes
49500 glibcxx_cv_func__logl_use=no
49502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49504 ac_cpp='$CPP $CPPFLAGS'
49505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
49514 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
49516 if test x$glibcxx_cv_func__logl_use = x"yes"; then
49517 for ac_func in _logl
49519 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
49520 if test "x$ac_cv_func__logl" = x""yes; then :
49521 cat >>confdefs.h <<_ACEOF
49522 #define HAVE__LOGL 1
49535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
49536 $as_echo_n "checking for log10l declaration... " >&6; }
49537 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
49538 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
49539 $as_echo_n "(cached) " >&6
49544 ac_cpp='$CXXCPP $CPPFLAGS'
49545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49550 /* end confdefs.h. */
49552 #ifdef HAVE_IEEEFP_H
49553 #include <ieeefp.h>
49564 if ac_fn_cxx_try_compile "$LINENO"; then :
49565 glibcxx_cv_func_log10l_use=yes
49567 glibcxx_cv_func_log10l_use=no
49569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49571 ac_cpp='$CPP $CPPFLAGS'
49572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
49581 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
49583 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
49584 for ac_func in log10l
49586 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
49587 if test "x$ac_cv_func_log10l" = x""yes; then :
49588 cat >>confdefs.h <<_ACEOF
49589 #define HAVE_LOG10L 1
49597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
49598 $as_echo_n "checking for _log10l declaration... " >&6; }
49599 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
49600 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
49601 $as_echo_n "(cached) " >&6
49606 ac_cpp='$CXXCPP $CPPFLAGS'
49607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49612 /* end confdefs.h. */
49614 #ifdef HAVE_IEEEFP_H
49615 #include <ieeefp.h>
49626 if ac_fn_cxx_try_compile "$LINENO"; then :
49627 glibcxx_cv_func__log10l_use=yes
49629 glibcxx_cv_func__log10l_use=no
49631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49633 ac_cpp='$CPP $CPPFLAGS'
49634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
49643 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
49645 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
49646 for ac_func in _log10l
49648 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
49649 if test "x$ac_cv_func__log10l" = x""yes; then :
49650 cat >>confdefs.h <<_ACEOF
49651 #define HAVE__LOG10L 1
49664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
49665 $as_echo_n "checking for modfl declaration... " >&6; }
49666 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
49667 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
49668 $as_echo_n "(cached) " >&6
49673 ac_cpp='$CXXCPP $CPPFLAGS'
49674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49679 /* end confdefs.h. */
49689 if ac_fn_cxx_try_compile "$LINENO"; then :
49690 glibcxx_cv_func_modfl_use=yes
49692 glibcxx_cv_func_modfl_use=no
49694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49696 ac_cpp='$CPP $CPPFLAGS'
49697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
49706 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
49708 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
49709 for ac_func in modfl
49711 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
49712 if test "x$ac_cv_func_modfl" = x""yes; then :
49713 cat >>confdefs.h <<_ACEOF
49714 #define HAVE_MODFL 1
49722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
49723 $as_echo_n "checking for _modfl declaration... " >&6; }
49724 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
49725 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
49726 $as_echo_n "(cached) " >&6
49731 ac_cpp='$CXXCPP $CPPFLAGS'
49732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49737 /* end confdefs.h. */
49747 if ac_fn_cxx_try_compile "$LINENO"; then :
49748 glibcxx_cv_func__modfl_use=yes
49750 glibcxx_cv_func__modfl_use=no
49752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49754 ac_cpp='$CPP $CPPFLAGS'
49755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
49764 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
49766 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
49767 for ac_func in _modfl
49769 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
49770 if test "x$ac_cv_func__modfl" = x""yes; then :
49771 cat >>confdefs.h <<_ACEOF
49772 #define HAVE__MODFL 1
49785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
49786 $as_echo_n "checking for powl declaration... " >&6; }
49787 if test x${glibcxx_cv_func_powl_use+set} != xset; then
49788 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
49789 $as_echo_n "(cached) " >&6
49794 ac_cpp='$CXXCPP $CPPFLAGS'
49795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49800 /* end confdefs.h. */
49810 if ac_fn_cxx_try_compile "$LINENO"; then :
49811 glibcxx_cv_func_powl_use=yes
49813 glibcxx_cv_func_powl_use=no
49815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49817 ac_cpp='$CPP $CPPFLAGS'
49818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
49827 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
49829 if test x$glibcxx_cv_func_powl_use = x"yes"; then
49830 for ac_func in powl
49832 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
49833 if test "x$ac_cv_func_powl" = x""yes; then :
49834 cat >>confdefs.h <<_ACEOF
49835 #define HAVE_POWL 1
49843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
49844 $as_echo_n "checking for _powl declaration... " >&6; }
49845 if test x${glibcxx_cv_func__powl_use+set} != xset; then
49846 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
49847 $as_echo_n "(cached) " >&6
49852 ac_cpp='$CXXCPP $CPPFLAGS'
49853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49858 /* end confdefs.h. */
49868 if ac_fn_cxx_try_compile "$LINENO"; then :
49869 glibcxx_cv_func__powl_use=yes
49871 glibcxx_cv_func__powl_use=no
49873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49875 ac_cpp='$CPP $CPPFLAGS'
49876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
49885 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
49887 if test x$glibcxx_cv_func__powl_use = x"yes"; then
49888 for ac_func in _powl
49890 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
49891 if test "x$ac_cv_func__powl" = x""yes; then :
49892 cat >>confdefs.h <<_ACEOF
49893 #define HAVE__POWL 1
49906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
49907 $as_echo_n "checking for sqrtl declaration... " >&6; }
49908 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
49909 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
49910 $as_echo_n "(cached) " >&6
49915 ac_cpp='$CXXCPP $CPPFLAGS'
49916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49921 /* end confdefs.h. */
49923 #ifdef HAVE_IEEEFP_H
49924 #include <ieeefp.h>
49935 if ac_fn_cxx_try_compile "$LINENO"; then :
49936 glibcxx_cv_func_sqrtl_use=yes
49938 glibcxx_cv_func_sqrtl_use=no
49940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49942 ac_cpp='$CPP $CPPFLAGS'
49943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
49952 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
49954 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
49955 for ac_func in sqrtl
49957 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
49958 if test "x$ac_cv_func_sqrtl" = x""yes; then :
49959 cat >>confdefs.h <<_ACEOF
49960 #define HAVE_SQRTL 1
49968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
49969 $as_echo_n "checking for _sqrtl declaration... " >&6; }
49970 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
49971 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
49972 $as_echo_n "(cached) " >&6
49977 ac_cpp='$CXXCPP $CPPFLAGS'
49978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49983 /* end confdefs.h. */
49985 #ifdef HAVE_IEEEFP_H
49986 #include <ieeefp.h>
49997 if ac_fn_cxx_try_compile "$LINENO"; then :
49998 glibcxx_cv_func__sqrtl_use=yes
50000 glibcxx_cv_func__sqrtl_use=no
50002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50004 ac_cpp='$CPP $CPPFLAGS'
50005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50014 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50016 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50017 for ac_func in _sqrtl
50019 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50020 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50021 cat >>confdefs.h <<_ACEOF
50022 #define HAVE__SQRTL 1
50035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50036 $as_echo_n "checking for sincosl declaration... " >&6; }
50037 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50038 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50039 $as_echo_n "(cached) " >&6
50044 ac_cpp='$CXXCPP $CPPFLAGS'
50045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50050 /* end confdefs.h. */
50060 if ac_fn_cxx_try_compile "$LINENO"; then :
50061 glibcxx_cv_func_sincosl_use=yes
50063 glibcxx_cv_func_sincosl_use=no
50065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50067 ac_cpp='$CPP $CPPFLAGS'
50068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
50077 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
50079 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
50080 for ac_func in sincosl
50082 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
50083 if test "x$ac_cv_func_sincosl" = x""yes; then :
50084 cat >>confdefs.h <<_ACEOF
50085 #define HAVE_SINCOSL 1
50093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50094 $as_echo_n "checking for _sincosl declaration... " >&6; }
50095 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50096 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50097 $as_echo_n "(cached) " >&6
50102 ac_cpp='$CXXCPP $CPPFLAGS'
50103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50108 /* end confdefs.h. */
50118 if ac_fn_cxx_try_compile "$LINENO"; then :
50119 glibcxx_cv_func__sincosl_use=yes
50121 glibcxx_cv_func__sincosl_use=no
50123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50125 ac_cpp='$CPP $CPPFLAGS'
50126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
50135 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
50137 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
50138 for ac_func in _sincosl
50140 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
50141 if test "x$ac_cv_func__sincosl" = x""yes; then :
50142 cat >>confdefs.h <<_ACEOF
50143 #define HAVE__SINCOSL 1
50156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
50157 $as_echo_n "checking for finitel declaration... " >&6; }
50158 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
50159 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
50160 $as_echo_n "(cached) " >&6
50165 ac_cpp='$CXXCPP $CPPFLAGS'
50166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50171 /* end confdefs.h. */
50173 #ifdef HAVE_IEEEFP_H
50174 #include <ieeefp.h>
50185 if ac_fn_cxx_try_compile "$LINENO"; then :
50186 glibcxx_cv_func_finitel_use=yes
50188 glibcxx_cv_func_finitel_use=no
50190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50192 ac_cpp='$CPP $CPPFLAGS'
50193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
50202 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
50204 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
50205 for ac_func in finitel
50207 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
50208 if test "x$ac_cv_func_finitel" = x""yes; then :
50209 cat >>confdefs.h <<_ACEOF
50210 #define HAVE_FINITEL 1
50218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
50219 $as_echo_n "checking for _finitel declaration... " >&6; }
50220 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
50221 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
50222 $as_echo_n "(cached) " >&6
50227 ac_cpp='$CXXCPP $CPPFLAGS'
50228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50233 /* end confdefs.h. */
50235 #ifdef HAVE_IEEEFP_H
50236 #include <ieeefp.h>
50247 if ac_fn_cxx_try_compile "$LINENO"; then :
50248 glibcxx_cv_func__finitel_use=yes
50250 glibcxx_cv_func__finitel_use=no
50252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50254 ac_cpp='$CPP $CPPFLAGS'
50255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
50264 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
50266 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
50267 for ac_func in _finitel
50269 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
50270 if test "x$ac_cv_func__finitel" = x""yes; then :
50271 cat >>confdefs.h <<_ACEOF
50272 #define HAVE__FINITEL 1
50284 LIBS="$ac_save_LIBS"
50285 CXXFLAGS="$ac_save_CXXFLAGS"
50288 ac_test_CXXFLAGS="${CXXFLAGS+set}"
50289 ac_save_CXXFLAGS="$CXXFLAGS"
50290 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
50294 $as_echo_n "checking for strtold declaration... " >&6; }
50295 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
50296 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
50297 $as_echo_n "(cached) " >&6
50302 ac_cpp='$CXXCPP $CPPFLAGS'
50303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50308 /* end confdefs.h. */
50309 #include <stdlib.h>
50318 if ac_fn_cxx_try_compile "$LINENO"; then :
50319 glibcxx_cv_func_strtold_use=yes
50321 glibcxx_cv_func_strtold_use=no
50323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50325 ac_cpp='$CPP $CPPFLAGS'
50326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
50335 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
50336 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
50337 for ac_func in strtold
50339 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
50340 if test "x$ac_cv_func_strtold" = x""yes; then :
50341 cat >>confdefs.h <<_ACEOF
50342 #define HAVE_STRTOLD 1
50353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
50354 $as_echo_n "checking for strtof declaration... " >&6; }
50355 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
50356 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
50357 $as_echo_n "(cached) " >&6
50362 ac_cpp='$CXXCPP $CPPFLAGS'
50363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50368 /* end confdefs.h. */
50369 #include <stdlib.h>
50378 if ac_fn_cxx_try_compile "$LINENO"; then :
50379 glibcxx_cv_func_strtof_use=yes
50381 glibcxx_cv_func_strtof_use=no
50383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50385 ac_cpp='$CPP $CPPFLAGS'
50386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
50395 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
50396 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
50397 for ac_func in strtof
50399 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
50400 if test "x$ac_cv_func_strtof" = x""yes; then :
50401 cat >>confdefs.h <<_ACEOF
50402 #define HAVE_STRTOF 1
50413 CXXFLAGS="$ac_save_CXXFLAGS"
50415 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
50419 # Check whether --enable-tls was given.
50420 if test "${enable_tls+set}" = set; then :
50421 enableval=$enable_tls;
50422 case "$enableval" in
50424 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
50432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
50433 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
50434 if test "${gcc_cv_have_tls+set}" = set; then :
50435 $as_echo_n "(cached) " >&6
50438 if test "$cross_compiling" = yes; then :
50439 if test x$gcc_no_link = xyes; then
50440 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50443 /* end confdefs.h. */
50444 __thread int a; int b; int main() { return a = b; }
50446 if ac_fn_c_try_link "$LINENO"; then :
50447 chktls_save_LDFLAGS="$LDFLAGS"
50450 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
50453 chktls_save_CFLAGS="$CFLAGS"
50454 CFLAGS="-fPIC $CFLAGS"
50455 if test x$gcc_no_link = xyes; then
50456 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50459 /* end confdefs.h. */
50460 int f() { return 0; }
50462 if ac_fn_c_try_link "$LINENO"; then :
50463 if test x$gcc_no_link = xyes; then
50464 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50467 /* end confdefs.h. */
50468 __thread int a; int b; int f() { return a = b; }
50470 if ac_fn_c_try_link "$LINENO"; then :
50471 gcc_cv_have_tls=yes
50475 rm -f core conftest.err conftest.$ac_objext \
50476 conftest$ac_exeext conftest.$ac_ext
50478 gcc_cv_have_tls=yes
50480 rm -f core conftest.err conftest.$ac_objext \
50481 conftest$ac_exeext conftest.$ac_ext
50482 CFLAGS="$chktls_save_CFLAGS"
50483 LDFLAGS="$chktls_save_LDFLAGS"
50487 rm -f core conftest.err conftest.$ac_objext \
50488 conftest$ac_exeext conftest.$ac_ext
50492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50493 /* end confdefs.h. */
50494 __thread int a; int b; int main() { return a = b; }
50496 if ac_fn_c_try_run "$LINENO"; then :
50497 chktls_save_LDFLAGS="$LDFLAGS"
50498 LDFLAGS="-static $LDFLAGS"
50499 if test x$gcc_no_link = xyes; then
50500 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50503 /* end confdefs.h. */
50504 int main() { return 0; }
50506 if ac_fn_c_try_link "$LINENO"; then :
50507 if test "$cross_compiling" = yes; then :
50508 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50509 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50510 as_fn_error "cannot run test program while cross compiling
50511 See \`config.log' for more details." "$LINENO" 5; }
50513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50514 /* end confdefs.h. */
50515 __thread int a; int b; int main() { return a = b; }
50517 if ac_fn_c_try_run "$LINENO"; then :
50518 gcc_cv_have_tls=yes
50522 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50523 conftest.$ac_objext conftest.beam conftest.$ac_ext
50527 gcc_cv_have_tls=yes
50529 rm -f core conftest.err conftest.$ac_objext \
50530 conftest$ac_exeext conftest.$ac_ext
50531 LDFLAGS="$chktls_save_LDFLAGS"
50532 if test $gcc_cv_have_tls = yes; then
50533 chktls_save_CFLAGS="$CFLAGS"
50534 thread_CFLAGS=failed
50535 for flag in '' '-pthread' '-lpthread'; do
50536 CFLAGS="$flag $chktls_save_CFLAGS"
50537 if test x$gcc_no_link = xyes; then
50538 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50541 /* end confdefs.h. */
50542 #include <pthread.h>
50543 void *g(void *d) { return NULL; }
50547 pthread_t t; pthread_create(&t,NULL,g,NULL);
50552 if ac_fn_c_try_link "$LINENO"; then :
50553 thread_CFLAGS="$flag"
50555 rm -f core conftest.err conftest.$ac_objext \
50556 conftest$ac_exeext conftest.$ac_ext
50557 if test "X$thread_CFLAGS" != Xfailed; then
50561 CFLAGS="$chktls_save_CFLAGS"
50562 if test "X$thread_CFLAGS" != Xfailed; then
50563 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
50564 if test "$cross_compiling" = yes; then :
50565 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50566 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50567 as_fn_error "cannot run test program while cross compiling
50568 See \`config.log' for more details." "$LINENO" 5; }
50570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50571 /* end confdefs.h. */
50572 #include <pthread.h>
50574 static int *a_in_other_thread;
50576 thread_func (void *arg)
50578 a_in_other_thread = &a;
50585 void *thread_retval;
50586 int *a_in_main_thread;
50587 if (pthread_create (&thread, (pthread_attr_t *)0,
50588 thread_func, (void *)0))
50590 a_in_main_thread = &a;
50591 if (pthread_join (thread, &thread_retval))
50593 return (a_in_other_thread == a_in_main_thread);
50598 if ac_fn_c_try_run "$LINENO"; then :
50599 gcc_cv_have_tls=yes
50603 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50604 conftest.$ac_objext conftest.beam conftest.$ac_ext
50607 CFLAGS="$chktls_save_CFLAGS"
50613 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50614 conftest.$ac_objext conftest.beam conftest.$ac_ext
50618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
50619 $as_echo "$gcc_cv_have_tls" >&6; }
50620 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
50622 $as_echo "#define HAVE_TLS 1" >>confdefs.h
50630 am_save_CPPFLAGS="$CPPFLAGS"
50632 for element in $INCICONV; do
50634 for x in $CPPFLAGS; do
50636 acl_save_prefix="$prefix"
50637 prefix="$acl_final_prefix"
50638 acl_save_exec_prefix="$exec_prefix"
50639 exec_prefix="$acl_final_exec_prefix"
50641 exec_prefix="$acl_save_exec_prefix"
50642 prefix="$acl_save_prefix"
50644 if test "X$x" = "X$element"; then
50649 if test -z "$haveit"; then
50650 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
50655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
50656 $as_echo_n "checking for iconv... " >&6; }
50657 if test "${am_cv_func_iconv+set}" = set; then :
50658 $as_echo_n "(cached) " >&6
50661 am_cv_func_iconv="no, consider installing GNU libiconv"
50663 if test x$gcc_no_link = xyes; then
50664 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50667 /* end confdefs.h. */
50668 #include <stdlib.h>
50673 iconv_t cd = iconv_open("","");
50674 iconv(cd,NULL,NULL,NULL,NULL);
50680 if ac_fn_c_try_link "$LINENO"; then :
50681 am_cv_func_iconv=yes
50683 rm -f core conftest.err conftest.$ac_objext \
50684 conftest$ac_exeext conftest.$ac_ext
50685 if test "$am_cv_func_iconv" != yes; then
50686 am_save_LIBS="$LIBS"
50687 LIBS="$LIBS $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_lib_iconv=yes
50707 am_cv_func_iconv=yes
50709 rm -f core conftest.err conftest.$ac_objext \
50710 conftest$ac_exeext conftest.$ac_ext
50711 LIBS="$am_save_LIBS"
50715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
50716 $as_echo "$am_cv_func_iconv" >&6; }
50717 if test "$am_cv_func_iconv" = yes; then
50719 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
50722 if test "$am_cv_lib_iconv" = yes; then
50723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
50724 $as_echo_n "checking how to link with libiconv... " >&6; }
50725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
50726 $as_echo "$LIBICONV" >&6; }
50728 CPPFLAGS="$am_save_CPPFLAGS"
50735 if test "$am_cv_func_iconv" = yes; then
50736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
50737 $as_echo_n "checking for iconv declaration... " >&6; }
50738 if test "${am_cv_proto_iconv+set}" = set; then :
50739 $as_echo_n "(cached) " >&6
50742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50743 /* end confdefs.h. */
50745 #include <stdlib.h>
50751 #if defined(__STDC__) || defined(__cplusplus)
50752 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
50765 if ac_fn_c_try_compile "$LINENO"; then :
50766 am_cv_proto_iconv_arg1=""
50768 am_cv_proto_iconv_arg1="const"
50770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50771 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);"
50774 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
50775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
50776 }$am_cv_proto_iconv" >&5
50778 }$am_cv_proto_iconv" >&6; }
50780 cat >>confdefs.h <<_ACEOF
50781 #define ICONV_CONST $am_cv_proto_iconv_arg1
50789 # If we're not using GNU ld, then there's no point in even trying these
50790 # tests. Check for that first. We should have already tested for gld
50791 # by now (in libtool), but require it now just to be safe...
50792 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
50793 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
50797 # The name set by libtool depends on the version of libtool. Shame on us
50798 # for depending on an impl detail, but c'est la vie. Older versions used
50799 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
50800 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
50801 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
50802 # set (hence we're using an older libtool), then set it.
50803 if test x${with_gnu_ld+set} != xset; then
50804 if test x${ac_cv_prog_gnu_ld+set} != xset; then
50805 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
50808 with_gnu_ld=$ac_cv_prog_gnu_ld
50812 # Start by getting the version number. I think the libtool test already
50813 # does some of this, but throws away the result.
50814 glibcxx_ld_is_gold=no
50815 if test x"$with_gnu_ld" = x"yes"; then
50816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
50817 $as_echo_n "checking for ld version... " >&6; }
50819 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
50820 glibcxx_ld_is_gold=yes
50822 ldver=`$LD --version 2>/dev/null |
50823 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'`
50825 glibcxx_gnu_ld_version=`echo $ldver | \
50826 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
50827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
50828 $as_echo "$glibcxx_gnu_ld_version" >&6; }
50831 # Set --gc-sections.
50832 glibcxx_have_gc_sections=no
50833 if test "$glibcxx_ld_is_gold" = "yes"; then
50834 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
50835 glibcxx_have_gc_sections=yes
50838 glibcxx_gcsections_min_ld=21602
50839 if test x"$with_gnu_ld" = x"yes" &&
50840 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
50841 glibcxx_have_gc_sections=yes
50844 if test "$glibcxx_have_gc_sections" = "yes"; then
50845 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
50846 # NB: This flag only works reliably after 2.16.1. Configure tests
50847 # for this are difficult, so hard wire a value that should work.
50849 ac_test_CFLAGS="${CFLAGS+set}"
50850 ac_save_CFLAGS="$CFLAGS"
50851 CFLAGS='-Wl,--gc-sections'
50853 # Check for -Wl,--gc-sections
50854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
50855 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
50856 if test x$gcc_no_link = xyes; then
50857 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50860 /* end confdefs.h. */
50861 int one(void) { return 1; }
50862 int two(void) { return 2; }
50872 if ac_fn_c_try_link "$LINENO"; then :
50877 rm -f core conftest.err conftest.$ac_objext \
50878 conftest$ac_exeext conftest.$ac_ext
50879 if test "$ac_gcsections" = "yes"; then
50882 if $CC -c conftest.c; then
50883 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
50884 grep "Warning: gc-sections option ignored" > /dev/null; then
50888 rm -f conftest.c conftest.o conftest
50890 if test "$ac_gcsections" = "yes"; then
50891 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
50893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
50894 $as_echo "$ac_gcsections" >&6; }
50896 if test "$ac_test_CFLAGS" = set; then
50897 CFLAGS="$ac_save_CFLAGS"
50899 # this is the suspicious part
50905 # Note this is only for shared objects.
50907 if test x"$with_gnu_ld" = x"yes"; then
50908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
50909 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
50910 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
50911 if test -n "$cxx_z_relo"; then
50912 OPT_LDFLAGS="-Wl,-z,relro"
50915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
50916 $as_echo "$ac_ld_relro" >&6; }
50919 # Set linker optimization flags.
50920 if test x"$with_gnu_ld" = x"yes"; then
50921 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
50928 ac_test_CXXFLAGS="${CXXFLAGS+set}"
50929 ac_save_CXXFLAGS="$CXXFLAGS"
50930 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
50933 $as_echo_n "checking for sin in -lm... " >&6; }
50934 if test "${ac_cv_lib_m_sin+set}" = set; then :
50935 $as_echo_n "(cached) " >&6
50937 ac_check_lib_save_LIBS=$LIBS
50939 if test x$gcc_no_link = xyes; then
50940 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50943 /* end confdefs.h. */
50945 /* Override any GCC internal prototype to avoid an error.
50946 Use char because int might match the return type of a GCC
50947 builtin and then its argument prototype would still apply. */
50960 if ac_fn_c_try_link "$LINENO"; then :
50961 ac_cv_lib_m_sin=yes
50965 rm -f core conftest.err conftest.$ac_objext \
50966 conftest$ac_exeext conftest.$ac_ext
50967 LIBS=$ac_check_lib_save_LIBS
50969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
50970 $as_echo "$ac_cv_lib_m_sin" >&6; }
50971 if test "x$ac_cv_lib_m_sin" = x""yes; then :
50975 ac_save_LIBS="$LIBS"
50980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
50981 $as_echo_n "checking for isinf declaration... " >&6; }
50982 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
50983 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
50984 $as_echo_n "(cached) " >&6
50989 ac_cpp='$CXXCPP $CPPFLAGS'
50990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50995 /* end confdefs.h. */
50997 #ifdef HAVE_IEEEFP_H
50998 #include <ieeefp.h>
51009 if ac_fn_cxx_try_compile "$LINENO"; then :
51010 glibcxx_cv_func_isinf_use=yes
51012 glibcxx_cv_func_isinf_use=no
51014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51016 ac_cpp='$CPP $CPPFLAGS'
51017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51026 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51028 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51029 for ac_func in isinf
51031 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51032 if test "x$ac_cv_func_isinf" = x""yes; then :
51033 cat >>confdefs.h <<_ACEOF
51034 #define HAVE_ISINF 1
51042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51043 $as_echo_n "checking for _isinf declaration... " >&6; }
51044 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51045 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51046 $as_echo_n "(cached) " >&6
51051 ac_cpp='$CXXCPP $CPPFLAGS'
51052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51057 /* end confdefs.h. */
51059 #ifdef HAVE_IEEEFP_H
51060 #include <ieeefp.h>
51071 if ac_fn_cxx_try_compile "$LINENO"; then :
51072 glibcxx_cv_func__isinf_use=yes
51074 glibcxx_cv_func__isinf_use=no
51076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51078 ac_cpp='$CPP $CPPFLAGS'
51079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
51088 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
51090 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
51091 for ac_func in _isinf
51093 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51094 if test "x$ac_cv_func__isinf" = x""yes; then :
51095 cat >>confdefs.h <<_ACEOF
51096 #define HAVE__ISINF 1
51109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
51110 $as_echo_n "checking for isnan declaration... " >&6; }
51111 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
51112 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
51113 $as_echo_n "(cached) " >&6
51118 ac_cpp='$CXXCPP $CPPFLAGS'
51119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51124 /* end confdefs.h. */
51126 #ifdef HAVE_IEEEFP_H
51127 #include <ieeefp.h>
51138 if ac_fn_cxx_try_compile "$LINENO"; then :
51139 glibcxx_cv_func_isnan_use=yes
51141 glibcxx_cv_func_isnan_use=no
51143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51145 ac_cpp='$CPP $CPPFLAGS'
51146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
51155 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
51157 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
51158 for ac_func in isnan
51160 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
51161 if test "x$ac_cv_func_isnan" = x""yes; then :
51162 cat >>confdefs.h <<_ACEOF
51163 #define HAVE_ISNAN 1
51171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
51172 $as_echo_n "checking for _isnan declaration... " >&6; }
51173 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
51174 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
51175 $as_echo_n "(cached) " >&6
51180 ac_cpp='$CXXCPP $CPPFLAGS'
51181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51186 /* end confdefs.h. */
51188 #ifdef HAVE_IEEEFP_H
51189 #include <ieeefp.h>
51200 if ac_fn_cxx_try_compile "$LINENO"; then :
51201 glibcxx_cv_func__isnan_use=yes
51203 glibcxx_cv_func__isnan_use=no
51205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51207 ac_cpp='$CPP $CPPFLAGS'
51208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
51217 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
51219 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
51220 for ac_func in _isnan
51222 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
51223 if test "x$ac_cv_func__isnan" = x""yes; then :
51224 cat >>confdefs.h <<_ACEOF
51225 #define HAVE__ISNAN 1
51238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
51239 $as_echo_n "checking for finite declaration... " >&6; }
51240 if test x${glibcxx_cv_func_finite_use+set} != xset; then
51241 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
51242 $as_echo_n "(cached) " >&6
51247 ac_cpp='$CXXCPP $CPPFLAGS'
51248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51253 /* end confdefs.h. */
51255 #ifdef HAVE_IEEEFP_H
51256 #include <ieeefp.h>
51267 if ac_fn_cxx_try_compile "$LINENO"; then :
51268 glibcxx_cv_func_finite_use=yes
51270 glibcxx_cv_func_finite_use=no
51272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51274 ac_cpp='$CPP $CPPFLAGS'
51275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
51284 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
51286 if test x$glibcxx_cv_func_finite_use = x"yes"; then
51287 for ac_func in finite
51289 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
51290 if test "x$ac_cv_func_finite" = x""yes; then :
51291 cat >>confdefs.h <<_ACEOF
51292 #define HAVE_FINITE 1
51300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
51301 $as_echo_n "checking for _finite declaration... " >&6; }
51302 if test x${glibcxx_cv_func__finite_use+set} != xset; then
51303 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
51304 $as_echo_n "(cached) " >&6
51309 ac_cpp='$CXXCPP $CPPFLAGS'
51310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51315 /* end confdefs.h. */
51317 #ifdef HAVE_IEEEFP_H
51318 #include <ieeefp.h>
51329 if ac_fn_cxx_try_compile "$LINENO"; then :
51330 glibcxx_cv_func__finite_use=yes
51332 glibcxx_cv_func__finite_use=no
51334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51336 ac_cpp='$CPP $CPPFLAGS'
51337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
51346 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
51348 if test x$glibcxx_cv_func__finite_use = x"yes"; then
51349 for ac_func in _finite
51351 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
51352 if test "x$ac_cv_func__finite" = x""yes; then :
51353 cat >>confdefs.h <<_ACEOF
51354 #define HAVE__FINITE 1
51367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
51368 $as_echo_n "checking for sincos declaration... " >&6; }
51369 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
51370 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
51371 $as_echo_n "(cached) " >&6
51376 ac_cpp='$CXXCPP $CPPFLAGS'
51377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51382 /* end confdefs.h. */
51392 if ac_fn_cxx_try_compile "$LINENO"; then :
51393 glibcxx_cv_func_sincos_use=yes
51395 glibcxx_cv_func_sincos_use=no
51397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51399 ac_cpp='$CPP $CPPFLAGS'
51400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
51409 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
51411 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
51412 for ac_func in sincos
51414 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
51415 if test "x$ac_cv_func_sincos" = x""yes; then :
51416 cat >>confdefs.h <<_ACEOF
51417 #define HAVE_SINCOS 1
51425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
51426 $as_echo_n "checking for _sincos declaration... " >&6; }
51427 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
51428 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
51429 $as_echo_n "(cached) " >&6
51434 ac_cpp='$CXXCPP $CPPFLAGS'
51435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51440 /* end confdefs.h. */
51450 if ac_fn_cxx_try_compile "$LINENO"; then :
51451 glibcxx_cv_func__sincos_use=yes
51453 glibcxx_cv_func__sincos_use=no
51455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51457 ac_cpp='$CPP $CPPFLAGS'
51458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
51467 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
51469 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
51470 for ac_func in _sincos
51472 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
51473 if test "x$ac_cv_func__sincos" = x""yes; then :
51474 cat >>confdefs.h <<_ACEOF
51475 #define HAVE__SINCOS 1
51488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
51489 $as_echo_n "checking for fpclass declaration... " >&6; }
51490 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
51491 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
51492 $as_echo_n "(cached) " >&6
51497 ac_cpp='$CXXCPP $CPPFLAGS'
51498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51503 /* end confdefs.h. */
51505 #ifdef HAVE_IEEEFP_H
51506 #include <ieeefp.h>
51517 if ac_fn_cxx_try_compile "$LINENO"; then :
51518 glibcxx_cv_func_fpclass_use=yes
51520 glibcxx_cv_func_fpclass_use=no
51522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51524 ac_cpp='$CPP $CPPFLAGS'
51525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
51534 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
51536 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
51537 for ac_func in fpclass
51539 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
51540 if test "x$ac_cv_func_fpclass" = x""yes; then :
51541 cat >>confdefs.h <<_ACEOF
51542 #define HAVE_FPCLASS 1
51550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
51551 $as_echo_n "checking for _fpclass declaration... " >&6; }
51552 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
51553 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
51554 $as_echo_n "(cached) " >&6
51559 ac_cpp='$CXXCPP $CPPFLAGS'
51560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51565 /* end confdefs.h. */
51567 #ifdef HAVE_IEEEFP_H
51568 #include <ieeefp.h>
51579 if ac_fn_cxx_try_compile "$LINENO"; then :
51580 glibcxx_cv_func__fpclass_use=yes
51582 glibcxx_cv_func__fpclass_use=no
51584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51586 ac_cpp='$CPP $CPPFLAGS'
51587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
51596 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
51598 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
51599 for ac_func in _fpclass
51601 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
51602 if test "x$ac_cv_func__fpclass" = x""yes; then :
51603 cat >>confdefs.h <<_ACEOF
51604 #define HAVE__FPCLASS 1
51617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
51618 $as_echo_n "checking for qfpclass declaration... " >&6; }
51619 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
51620 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
51621 $as_echo_n "(cached) " >&6
51626 ac_cpp='$CXXCPP $CPPFLAGS'
51627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51632 /* end confdefs.h. */
51634 #ifdef HAVE_IEEEFP_H
51635 #include <ieeefp.h>
51646 if ac_fn_cxx_try_compile "$LINENO"; then :
51647 glibcxx_cv_func_qfpclass_use=yes
51649 glibcxx_cv_func_qfpclass_use=no
51651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51653 ac_cpp='$CPP $CPPFLAGS'
51654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
51663 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
51665 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
51666 for ac_func in qfpclass
51668 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
51669 if test "x$ac_cv_func_qfpclass" = x""yes; then :
51670 cat >>confdefs.h <<_ACEOF
51671 #define HAVE_QFPCLASS 1
51679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
51680 $as_echo_n "checking for _qfpclass declaration... " >&6; }
51681 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
51682 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
51683 $as_echo_n "(cached) " >&6
51688 ac_cpp='$CXXCPP $CPPFLAGS'
51689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51694 /* end confdefs.h. */
51696 #ifdef HAVE_IEEEFP_H
51697 #include <ieeefp.h>
51708 if ac_fn_cxx_try_compile "$LINENO"; then :
51709 glibcxx_cv_func__qfpclass_use=yes
51711 glibcxx_cv_func__qfpclass_use=no
51713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51715 ac_cpp='$CPP $CPPFLAGS'
51716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
51725 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
51727 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
51728 for ac_func in _qfpclass
51730 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
51731 if test "x$ac_cv_func__qfpclass" = x""yes; then :
51732 cat >>confdefs.h <<_ACEOF
51733 #define HAVE__QFPCLASS 1
51746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
51747 $as_echo_n "checking for hypot declaration... " >&6; }
51748 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
51749 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
51750 $as_echo_n "(cached) " >&6
51755 ac_cpp='$CXXCPP $CPPFLAGS'
51756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51761 /* end confdefs.h. */
51771 if ac_fn_cxx_try_compile "$LINENO"; then :
51772 glibcxx_cv_func_hypot_use=yes
51774 glibcxx_cv_func_hypot_use=no
51776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51778 ac_cpp='$CPP $CPPFLAGS'
51779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
51788 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
51790 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
51791 for ac_func in hypot
51793 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
51794 if test "x$ac_cv_func_hypot" = x""yes; then :
51795 cat >>confdefs.h <<_ACEOF
51796 #define HAVE_HYPOT 1
51804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
51805 $as_echo_n "checking for _hypot declaration... " >&6; }
51806 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
51807 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
51808 $as_echo_n "(cached) " >&6
51813 ac_cpp='$CXXCPP $CPPFLAGS'
51814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51819 /* end confdefs.h. */
51829 if ac_fn_cxx_try_compile "$LINENO"; then :
51830 glibcxx_cv_func__hypot_use=yes
51832 glibcxx_cv_func__hypot_use=no
51834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51836 ac_cpp='$CPP $CPPFLAGS'
51837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
51846 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
51848 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
51849 for ac_func in _hypot
51851 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
51852 if test "x$ac_cv_func__hypot" = x""yes; then :
51853 cat >>confdefs.h <<_ACEOF
51854 #define HAVE__HYPOT 1
51867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
51868 $as_echo_n "checking for float trig functions... " >&6; }
51869 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
51870 $as_echo_n "(cached) " >&6
51875 ac_cpp='$CXXCPP $CPPFLAGS'
51876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51881 /* end confdefs.h. */
51886 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
51891 if ac_fn_cxx_try_compile "$LINENO"; then :
51892 glibcxx_cv_func_float_trig_use=yes
51894 glibcxx_cv_func_float_trig_use=no
51896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51898 ac_cpp='$CPP $CPPFLAGS'
51899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
51906 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
51907 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
51908 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
51910 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51911 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51912 eval as_val=\$$as_ac_var
51913 if test "x$as_val" = x""yes; then :
51914 cat >>confdefs.h <<_ACEOF
51915 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
51923 $as_echo_n "checking for _float trig functions... " >&6; }
51924 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
51925 $as_echo_n "(cached) " >&6
51930 ac_cpp='$CXXCPP $CPPFLAGS'
51931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51936 /* end confdefs.h. */
51941 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
51946 if ac_fn_cxx_try_compile "$LINENO"; then :
51947 glibcxx_cv_func__float_trig_use=yes
51949 glibcxx_cv_func__float_trig_use=no
51951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51953 ac_cpp='$CPP $CPPFLAGS'
51954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
51961 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
51962 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
51963 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
51965 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51966 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51967 eval as_val=\$$as_ac_var
51968 if test "x$as_val" = x""yes; then :
51969 cat >>confdefs.h <<_ACEOF
51970 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
51984 $as_echo_n "checking for float round functions... " >&6; }
51985 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
51986 $as_echo_n "(cached) " >&6
51991 ac_cpp='$CXXCPP $CPPFLAGS'
51992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51997 /* end confdefs.h. */
52002 ceilf (0); floorf (0);
52007 if ac_fn_cxx_try_compile "$LINENO"; then :
52008 glibcxx_cv_func_float_round_use=yes
52010 glibcxx_cv_func_float_round_use=no
52012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52014 ac_cpp='$CPP $CPPFLAGS'
52015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52022 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52023 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52024 for ac_func in ceilf floorf
52026 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52027 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52028 eval as_val=\$$as_ac_var
52029 if test "x$as_val" = x""yes; then :
52030 cat >>confdefs.h <<_ACEOF
52031 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52039 $as_echo_n "checking for _float round functions... " >&6; }
52040 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52041 $as_echo_n "(cached) " >&6
52046 ac_cpp='$CXXCPP $CPPFLAGS'
52047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52052 /* end confdefs.h. */
52057 _ceilf (0); _floorf (0);
52062 if ac_fn_cxx_try_compile "$LINENO"; then :
52063 glibcxx_cv_func__float_round_use=yes
52065 glibcxx_cv_func__float_round_use=no
52067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52069 ac_cpp='$CPP $CPPFLAGS'
52070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
52077 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
52078 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
52079 for ac_func in _ceilf _floorf
52081 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52082 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52083 eval as_val=\$$as_ac_var
52084 if test "x$as_val" = x""yes; then :
52085 cat >>confdefs.h <<_ACEOF
52086 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
52101 $as_echo_n "checking for expf declaration... " >&6; }
52102 if test x${glibcxx_cv_func_expf_use+set} != xset; then
52103 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
52104 $as_echo_n "(cached) " >&6
52109 ac_cpp='$CXXCPP $CPPFLAGS'
52110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52115 /* end confdefs.h. */
52117 #ifdef HAVE_IEEEFP_H
52118 #include <ieeefp.h>
52129 if ac_fn_cxx_try_compile "$LINENO"; then :
52130 glibcxx_cv_func_expf_use=yes
52132 glibcxx_cv_func_expf_use=no
52134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52136 ac_cpp='$CPP $CPPFLAGS'
52137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
52146 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
52148 if test x$glibcxx_cv_func_expf_use = x"yes"; then
52149 for ac_func in expf
52151 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
52152 if test "x$ac_cv_func_expf" = x""yes; then :
52153 cat >>confdefs.h <<_ACEOF
52154 #define HAVE_EXPF 1
52162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
52163 $as_echo_n "checking for _expf declaration... " >&6; }
52164 if test x${glibcxx_cv_func__expf_use+set} != xset; then
52165 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
52166 $as_echo_n "(cached) " >&6
52171 ac_cpp='$CXXCPP $CPPFLAGS'
52172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52177 /* end confdefs.h. */
52179 #ifdef HAVE_IEEEFP_H
52180 #include <ieeefp.h>
52191 if ac_fn_cxx_try_compile "$LINENO"; then :
52192 glibcxx_cv_func__expf_use=yes
52194 glibcxx_cv_func__expf_use=no
52196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52198 ac_cpp='$CPP $CPPFLAGS'
52199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
52208 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
52210 if test x$glibcxx_cv_func__expf_use = x"yes"; then
52211 for ac_func in _expf
52213 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
52214 if test "x$ac_cv_func__expf" = x""yes; then :
52215 cat >>confdefs.h <<_ACEOF
52216 #define HAVE__EXPF 1
52229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
52230 $as_echo_n "checking for isnanf declaration... " >&6; }
52231 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
52232 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
52233 $as_echo_n "(cached) " >&6
52238 ac_cpp='$CXXCPP $CPPFLAGS'
52239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52244 /* end confdefs.h. */
52246 #ifdef HAVE_IEEEFP_H
52247 #include <ieeefp.h>
52258 if ac_fn_cxx_try_compile "$LINENO"; then :
52259 glibcxx_cv_func_isnanf_use=yes
52261 glibcxx_cv_func_isnanf_use=no
52263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52265 ac_cpp='$CPP $CPPFLAGS'
52266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
52275 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
52277 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
52278 for ac_func in isnanf
52280 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
52281 if test "x$ac_cv_func_isnanf" = x""yes; then :
52282 cat >>confdefs.h <<_ACEOF
52283 #define HAVE_ISNANF 1
52291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
52292 $as_echo_n "checking for _isnanf declaration... " >&6; }
52293 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
52294 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
52295 $as_echo_n "(cached) " >&6
52300 ac_cpp='$CXXCPP $CPPFLAGS'
52301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52306 /* end confdefs.h. */
52308 #ifdef HAVE_IEEEFP_H
52309 #include <ieeefp.h>
52320 if ac_fn_cxx_try_compile "$LINENO"; then :
52321 glibcxx_cv_func__isnanf_use=yes
52323 glibcxx_cv_func__isnanf_use=no
52325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52327 ac_cpp='$CPP $CPPFLAGS'
52328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
52337 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
52339 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
52340 for ac_func in _isnanf
52342 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
52343 if test "x$ac_cv_func__isnanf" = x""yes; then :
52344 cat >>confdefs.h <<_ACEOF
52345 #define HAVE__ISNANF 1
52358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
52359 $as_echo_n "checking for isinff declaration... " >&6; }
52360 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
52361 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
52362 $as_echo_n "(cached) " >&6
52367 ac_cpp='$CXXCPP $CPPFLAGS'
52368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52373 /* end confdefs.h. */
52375 #ifdef HAVE_IEEEFP_H
52376 #include <ieeefp.h>
52387 if ac_fn_cxx_try_compile "$LINENO"; then :
52388 glibcxx_cv_func_isinff_use=yes
52390 glibcxx_cv_func_isinff_use=no
52392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52394 ac_cpp='$CPP $CPPFLAGS'
52395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
52404 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
52406 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
52407 for ac_func in isinff
52409 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
52410 if test "x$ac_cv_func_isinff" = x""yes; then :
52411 cat >>confdefs.h <<_ACEOF
52412 #define HAVE_ISINFF 1
52420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
52421 $as_echo_n "checking for _isinff declaration... " >&6; }
52422 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
52423 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
52424 $as_echo_n "(cached) " >&6
52429 ac_cpp='$CXXCPP $CPPFLAGS'
52430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52435 /* end confdefs.h. */
52437 #ifdef HAVE_IEEEFP_H
52438 #include <ieeefp.h>
52449 if ac_fn_cxx_try_compile "$LINENO"; then :
52450 glibcxx_cv_func__isinff_use=yes
52452 glibcxx_cv_func__isinff_use=no
52454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52456 ac_cpp='$CPP $CPPFLAGS'
52457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
52466 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
52468 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
52469 for ac_func in _isinff
52471 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
52472 if test "x$ac_cv_func__isinff" = x""yes; then :
52473 cat >>confdefs.h <<_ACEOF
52474 #define HAVE__ISINFF 1
52487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
52488 $as_echo_n "checking for atan2f declaration... " >&6; }
52489 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
52490 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
52491 $as_echo_n "(cached) " >&6
52496 ac_cpp='$CXXCPP $CPPFLAGS'
52497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52502 /* end confdefs.h. */
52512 if ac_fn_cxx_try_compile "$LINENO"; then :
52513 glibcxx_cv_func_atan2f_use=yes
52515 glibcxx_cv_func_atan2f_use=no
52517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52519 ac_cpp='$CPP $CPPFLAGS'
52520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
52529 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
52531 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
52532 for ac_func in atan2f
52534 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
52535 if test "x$ac_cv_func_atan2f" = x""yes; then :
52536 cat >>confdefs.h <<_ACEOF
52537 #define HAVE_ATAN2F 1
52545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
52546 $as_echo_n "checking for _atan2f declaration... " >&6; }
52547 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
52548 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
52549 $as_echo_n "(cached) " >&6
52554 ac_cpp='$CXXCPP $CPPFLAGS'
52555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52560 /* end confdefs.h. */
52570 if ac_fn_cxx_try_compile "$LINENO"; then :
52571 glibcxx_cv_func__atan2f_use=yes
52573 glibcxx_cv_func__atan2f_use=no
52575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52577 ac_cpp='$CPP $CPPFLAGS'
52578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
52587 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
52589 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
52590 for ac_func in _atan2f
52592 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
52593 if test "x$ac_cv_func__atan2f" = x""yes; then :
52594 cat >>confdefs.h <<_ACEOF
52595 #define HAVE__ATAN2F 1
52608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
52609 $as_echo_n "checking for fabsf declaration... " >&6; }
52610 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
52611 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
52612 $as_echo_n "(cached) " >&6
52617 ac_cpp='$CXXCPP $CPPFLAGS'
52618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52623 /* end confdefs.h. */
52625 #ifdef HAVE_IEEEFP_H
52626 #include <ieeefp.h>
52637 if ac_fn_cxx_try_compile "$LINENO"; then :
52638 glibcxx_cv_func_fabsf_use=yes
52640 glibcxx_cv_func_fabsf_use=no
52642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52644 ac_cpp='$CPP $CPPFLAGS'
52645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
52654 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
52656 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
52657 for ac_func in fabsf
52659 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
52660 if test "x$ac_cv_func_fabsf" = x""yes; then :
52661 cat >>confdefs.h <<_ACEOF
52662 #define HAVE_FABSF 1
52670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
52671 $as_echo_n "checking for _fabsf declaration... " >&6; }
52672 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
52673 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
52674 $as_echo_n "(cached) " >&6
52679 ac_cpp='$CXXCPP $CPPFLAGS'
52680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52685 /* end confdefs.h. */
52687 #ifdef HAVE_IEEEFP_H
52688 #include <ieeefp.h>
52699 if ac_fn_cxx_try_compile "$LINENO"; then :
52700 glibcxx_cv_func__fabsf_use=yes
52702 glibcxx_cv_func__fabsf_use=no
52704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52706 ac_cpp='$CPP $CPPFLAGS'
52707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
52716 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
52718 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
52719 for ac_func in _fabsf
52721 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
52722 if test "x$ac_cv_func__fabsf" = x""yes; then :
52723 cat >>confdefs.h <<_ACEOF
52724 #define HAVE__FABSF 1
52737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
52738 $as_echo_n "checking for fmodf declaration... " >&6; }
52739 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
52740 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
52741 $as_echo_n "(cached) " >&6
52746 ac_cpp='$CXXCPP $CPPFLAGS'
52747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52752 /* end confdefs.h. */
52762 if ac_fn_cxx_try_compile "$LINENO"; then :
52763 glibcxx_cv_func_fmodf_use=yes
52765 glibcxx_cv_func_fmodf_use=no
52767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52769 ac_cpp='$CPP $CPPFLAGS'
52770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
52779 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
52781 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
52782 for ac_func in fmodf
52784 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
52785 if test "x$ac_cv_func_fmodf" = x""yes; then :
52786 cat >>confdefs.h <<_ACEOF
52787 #define HAVE_FMODF 1
52795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
52796 $as_echo_n "checking for _fmodf declaration... " >&6; }
52797 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
52798 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
52799 $as_echo_n "(cached) " >&6
52804 ac_cpp='$CXXCPP $CPPFLAGS'
52805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52810 /* end confdefs.h. */
52820 if ac_fn_cxx_try_compile "$LINENO"; then :
52821 glibcxx_cv_func__fmodf_use=yes
52823 glibcxx_cv_func__fmodf_use=no
52825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52827 ac_cpp='$CPP $CPPFLAGS'
52828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
52837 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
52839 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
52840 for ac_func in _fmodf
52842 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
52843 if test "x$ac_cv_func__fmodf" = x""yes; then :
52844 cat >>confdefs.h <<_ACEOF
52845 #define HAVE__FMODF 1
52858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
52859 $as_echo_n "checking for frexpf declaration... " >&6; }
52860 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
52861 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
52862 $as_echo_n "(cached) " >&6
52867 ac_cpp='$CXXCPP $CPPFLAGS'
52868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52873 /* end confdefs.h. */
52883 if ac_fn_cxx_try_compile "$LINENO"; then :
52884 glibcxx_cv_func_frexpf_use=yes
52886 glibcxx_cv_func_frexpf_use=no
52888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52890 ac_cpp='$CPP $CPPFLAGS'
52891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
52900 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
52902 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
52903 for ac_func in frexpf
52905 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
52906 if test "x$ac_cv_func_frexpf" = x""yes; then :
52907 cat >>confdefs.h <<_ACEOF
52908 #define HAVE_FREXPF 1
52916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
52917 $as_echo_n "checking for _frexpf declaration... " >&6; }
52918 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
52919 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
52920 $as_echo_n "(cached) " >&6
52925 ac_cpp='$CXXCPP $CPPFLAGS'
52926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52931 /* end confdefs.h. */
52941 if ac_fn_cxx_try_compile "$LINENO"; then :
52942 glibcxx_cv_func__frexpf_use=yes
52944 glibcxx_cv_func__frexpf_use=no
52946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52948 ac_cpp='$CPP $CPPFLAGS'
52949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
52958 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
52960 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
52961 for ac_func in _frexpf
52963 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
52964 if test "x$ac_cv_func__frexpf" = x""yes; then :
52965 cat >>confdefs.h <<_ACEOF
52966 #define HAVE__FREXPF 1
52979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
52980 $as_echo_n "checking for hypotf declaration... " >&6; }
52981 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
52982 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
52983 $as_echo_n "(cached) " >&6
52988 ac_cpp='$CXXCPP $CPPFLAGS'
52989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52994 /* end confdefs.h. */
53004 if ac_fn_cxx_try_compile "$LINENO"; then :
53005 glibcxx_cv_func_hypotf_use=yes
53007 glibcxx_cv_func_hypotf_use=no
53009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53011 ac_cpp='$CPP $CPPFLAGS'
53012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53021 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53023 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53024 for ac_func in hypotf
53026 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53027 if test "x$ac_cv_func_hypotf" = x""yes; then :
53028 cat >>confdefs.h <<_ACEOF
53029 #define HAVE_HYPOTF 1
53037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53038 $as_echo_n "checking for _hypotf declaration... " >&6; }
53039 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53040 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53041 $as_echo_n "(cached) " >&6
53046 ac_cpp='$CXXCPP $CPPFLAGS'
53047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53052 /* end confdefs.h. */
53062 if ac_fn_cxx_try_compile "$LINENO"; then :
53063 glibcxx_cv_func__hypotf_use=yes
53065 glibcxx_cv_func__hypotf_use=no
53067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53069 ac_cpp='$CPP $CPPFLAGS'
53070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
53079 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
53081 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
53082 for ac_func in _hypotf
53084 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
53085 if test "x$ac_cv_func__hypotf" = x""yes; then :
53086 cat >>confdefs.h <<_ACEOF
53087 #define HAVE__HYPOTF 1
53100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
53101 $as_echo_n "checking for ldexpf declaration... " >&6; }
53102 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
53103 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
53104 $as_echo_n "(cached) " >&6
53109 ac_cpp='$CXXCPP $CPPFLAGS'
53110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53115 /* end confdefs.h. */
53125 if ac_fn_cxx_try_compile "$LINENO"; then :
53126 glibcxx_cv_func_ldexpf_use=yes
53128 glibcxx_cv_func_ldexpf_use=no
53130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53132 ac_cpp='$CPP $CPPFLAGS'
53133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
53142 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
53144 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
53145 for ac_func in ldexpf
53147 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
53148 if test "x$ac_cv_func_ldexpf" = x""yes; then :
53149 cat >>confdefs.h <<_ACEOF
53150 #define HAVE_LDEXPF 1
53158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
53159 $as_echo_n "checking for _ldexpf declaration... " >&6; }
53160 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
53161 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
53162 $as_echo_n "(cached) " >&6
53167 ac_cpp='$CXXCPP $CPPFLAGS'
53168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53173 /* end confdefs.h. */
53183 if ac_fn_cxx_try_compile "$LINENO"; then :
53184 glibcxx_cv_func__ldexpf_use=yes
53186 glibcxx_cv_func__ldexpf_use=no
53188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53190 ac_cpp='$CPP $CPPFLAGS'
53191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
53200 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
53202 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
53203 for ac_func in _ldexpf
53205 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
53206 if test "x$ac_cv_func__ldexpf" = x""yes; then :
53207 cat >>confdefs.h <<_ACEOF
53208 #define HAVE__LDEXPF 1
53221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
53222 $as_echo_n "checking for logf declaration... " >&6; }
53223 if test x${glibcxx_cv_func_logf_use+set} != xset; then
53224 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
53225 $as_echo_n "(cached) " >&6
53230 ac_cpp='$CXXCPP $CPPFLAGS'
53231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53236 /* end confdefs.h. */
53238 #ifdef HAVE_IEEEFP_H
53239 #include <ieeefp.h>
53250 if ac_fn_cxx_try_compile "$LINENO"; then :
53251 glibcxx_cv_func_logf_use=yes
53253 glibcxx_cv_func_logf_use=no
53255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53257 ac_cpp='$CPP $CPPFLAGS'
53258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
53267 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
53269 if test x$glibcxx_cv_func_logf_use = x"yes"; then
53270 for ac_func in logf
53272 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
53273 if test "x$ac_cv_func_logf" = x""yes; then :
53274 cat >>confdefs.h <<_ACEOF
53275 #define HAVE_LOGF 1
53283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
53284 $as_echo_n "checking for _logf declaration... " >&6; }
53285 if test x${glibcxx_cv_func__logf_use+set} != xset; then
53286 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
53287 $as_echo_n "(cached) " >&6
53292 ac_cpp='$CXXCPP $CPPFLAGS'
53293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53298 /* end confdefs.h. */
53300 #ifdef HAVE_IEEEFP_H
53301 #include <ieeefp.h>
53312 if ac_fn_cxx_try_compile "$LINENO"; then :
53313 glibcxx_cv_func__logf_use=yes
53315 glibcxx_cv_func__logf_use=no
53317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53319 ac_cpp='$CPP $CPPFLAGS'
53320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
53329 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
53331 if test x$glibcxx_cv_func__logf_use = x"yes"; then
53332 for ac_func in _logf
53334 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
53335 if test "x$ac_cv_func__logf" = x""yes; then :
53336 cat >>confdefs.h <<_ACEOF
53337 #define HAVE__LOGF 1
53350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
53351 $as_echo_n "checking for log10f declaration... " >&6; }
53352 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
53353 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
53354 $as_echo_n "(cached) " >&6
53359 ac_cpp='$CXXCPP $CPPFLAGS'
53360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53365 /* end confdefs.h. */
53367 #ifdef HAVE_IEEEFP_H
53368 #include <ieeefp.h>
53379 if ac_fn_cxx_try_compile "$LINENO"; then :
53380 glibcxx_cv_func_log10f_use=yes
53382 glibcxx_cv_func_log10f_use=no
53384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53386 ac_cpp='$CPP $CPPFLAGS'
53387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
53396 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
53398 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
53399 for ac_func in log10f
53401 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
53402 if test "x$ac_cv_func_log10f" = x""yes; then :
53403 cat >>confdefs.h <<_ACEOF
53404 #define HAVE_LOG10F 1
53412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
53413 $as_echo_n "checking for _log10f declaration... " >&6; }
53414 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
53415 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
53416 $as_echo_n "(cached) " >&6
53421 ac_cpp='$CXXCPP $CPPFLAGS'
53422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53427 /* end confdefs.h. */
53429 #ifdef HAVE_IEEEFP_H
53430 #include <ieeefp.h>
53441 if ac_fn_cxx_try_compile "$LINENO"; then :
53442 glibcxx_cv_func__log10f_use=yes
53444 glibcxx_cv_func__log10f_use=no
53446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53448 ac_cpp='$CPP $CPPFLAGS'
53449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
53458 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
53460 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
53461 for ac_func in _log10f
53463 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
53464 if test "x$ac_cv_func__log10f" = x""yes; then :
53465 cat >>confdefs.h <<_ACEOF
53466 #define HAVE__LOG10F 1
53479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
53480 $as_echo_n "checking for modff declaration... " >&6; }
53481 if test x${glibcxx_cv_func_modff_use+set} != xset; then
53482 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
53483 $as_echo_n "(cached) " >&6
53488 ac_cpp='$CXXCPP $CPPFLAGS'
53489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53494 /* end confdefs.h. */
53504 if ac_fn_cxx_try_compile "$LINENO"; then :
53505 glibcxx_cv_func_modff_use=yes
53507 glibcxx_cv_func_modff_use=no
53509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53511 ac_cpp='$CPP $CPPFLAGS'
53512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
53521 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
53523 if test x$glibcxx_cv_func_modff_use = x"yes"; then
53524 for ac_func in modff
53526 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
53527 if test "x$ac_cv_func_modff" = x""yes; then :
53528 cat >>confdefs.h <<_ACEOF
53529 #define HAVE_MODFF 1
53537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
53538 $as_echo_n "checking for _modff declaration... " >&6; }
53539 if test x${glibcxx_cv_func__modff_use+set} != xset; then
53540 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
53541 $as_echo_n "(cached) " >&6
53546 ac_cpp='$CXXCPP $CPPFLAGS'
53547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53552 /* end confdefs.h. */
53562 if ac_fn_cxx_try_compile "$LINENO"; then :
53563 glibcxx_cv_func__modff_use=yes
53565 glibcxx_cv_func__modff_use=no
53567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53569 ac_cpp='$CPP $CPPFLAGS'
53570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
53579 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
53581 if test x$glibcxx_cv_func__modff_use = x"yes"; then
53582 for ac_func in _modff
53584 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
53585 if test "x$ac_cv_func__modff" = x""yes; then :
53586 cat >>confdefs.h <<_ACEOF
53587 #define HAVE__MODFF 1
53600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
53601 $as_echo_n "checking for modf declaration... " >&6; }
53602 if test x${glibcxx_cv_func_modf_use+set} != xset; then
53603 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
53604 $as_echo_n "(cached) " >&6
53609 ac_cpp='$CXXCPP $CPPFLAGS'
53610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53615 /* end confdefs.h. */
53625 if ac_fn_cxx_try_compile "$LINENO"; then :
53626 glibcxx_cv_func_modf_use=yes
53628 glibcxx_cv_func_modf_use=no
53630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53632 ac_cpp='$CPP $CPPFLAGS'
53633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
53642 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
53644 if test x$glibcxx_cv_func_modf_use = x"yes"; then
53645 for ac_func in modf
53647 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
53648 if test "x$ac_cv_func_modf" = x""yes; then :
53649 cat >>confdefs.h <<_ACEOF
53650 #define HAVE_MODF 1
53658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
53659 $as_echo_n "checking for _modf declaration... " >&6; }
53660 if test x${glibcxx_cv_func__modf_use+set} != xset; then
53661 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
53662 $as_echo_n "(cached) " >&6
53667 ac_cpp='$CXXCPP $CPPFLAGS'
53668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53673 /* end confdefs.h. */
53683 if ac_fn_cxx_try_compile "$LINENO"; then :
53684 glibcxx_cv_func__modf_use=yes
53686 glibcxx_cv_func__modf_use=no
53688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53690 ac_cpp='$CPP $CPPFLAGS'
53691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
53700 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
53702 if test x$glibcxx_cv_func__modf_use = x"yes"; then
53703 for ac_func in _modf
53705 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
53706 if test "x$ac_cv_func__modf" = x""yes; then :
53707 cat >>confdefs.h <<_ACEOF
53708 #define HAVE__MODF 1
53721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
53722 $as_echo_n "checking for powf declaration... " >&6; }
53723 if test x${glibcxx_cv_func_powf_use+set} != xset; then
53724 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
53725 $as_echo_n "(cached) " >&6
53730 ac_cpp='$CXXCPP $CPPFLAGS'
53731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53736 /* end confdefs.h. */
53746 if ac_fn_cxx_try_compile "$LINENO"; then :
53747 glibcxx_cv_func_powf_use=yes
53749 glibcxx_cv_func_powf_use=no
53751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53753 ac_cpp='$CPP $CPPFLAGS'
53754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
53763 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
53765 if test x$glibcxx_cv_func_powf_use = x"yes"; then
53766 for ac_func in powf
53768 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
53769 if test "x$ac_cv_func_powf" = x""yes; then :
53770 cat >>confdefs.h <<_ACEOF
53771 #define HAVE_POWF 1
53779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
53780 $as_echo_n "checking for _powf declaration... " >&6; }
53781 if test x${glibcxx_cv_func__powf_use+set} != xset; then
53782 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
53783 $as_echo_n "(cached) " >&6
53788 ac_cpp='$CXXCPP $CPPFLAGS'
53789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53794 /* end confdefs.h. */
53804 if ac_fn_cxx_try_compile "$LINENO"; then :
53805 glibcxx_cv_func__powf_use=yes
53807 glibcxx_cv_func__powf_use=no
53809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53811 ac_cpp='$CPP $CPPFLAGS'
53812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
53821 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
53823 if test x$glibcxx_cv_func__powf_use = x"yes"; then
53824 for ac_func in _powf
53826 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
53827 if test "x$ac_cv_func__powf" = x""yes; then :
53828 cat >>confdefs.h <<_ACEOF
53829 #define HAVE__POWF 1
53842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
53843 $as_echo_n "checking for sqrtf declaration... " >&6; }
53844 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
53845 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
53846 $as_echo_n "(cached) " >&6
53851 ac_cpp='$CXXCPP $CPPFLAGS'
53852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53857 /* end confdefs.h. */
53859 #ifdef HAVE_IEEEFP_H
53860 #include <ieeefp.h>
53871 if ac_fn_cxx_try_compile "$LINENO"; then :
53872 glibcxx_cv_func_sqrtf_use=yes
53874 glibcxx_cv_func_sqrtf_use=no
53876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53878 ac_cpp='$CPP $CPPFLAGS'
53879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
53888 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
53890 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
53891 for ac_func in sqrtf
53893 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
53894 if test "x$ac_cv_func_sqrtf" = x""yes; then :
53895 cat >>confdefs.h <<_ACEOF
53896 #define HAVE_SQRTF 1
53904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
53905 $as_echo_n "checking for _sqrtf declaration... " >&6; }
53906 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
53907 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
53908 $as_echo_n "(cached) " >&6
53913 ac_cpp='$CXXCPP $CPPFLAGS'
53914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53919 /* end confdefs.h. */
53921 #ifdef HAVE_IEEEFP_H
53922 #include <ieeefp.h>
53933 if ac_fn_cxx_try_compile "$LINENO"; then :
53934 glibcxx_cv_func__sqrtf_use=yes
53936 glibcxx_cv_func__sqrtf_use=no
53938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53940 ac_cpp='$CPP $CPPFLAGS'
53941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
53950 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
53952 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
53953 for ac_func in _sqrtf
53955 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
53956 if test "x$ac_cv_func__sqrtf" = x""yes; then :
53957 cat >>confdefs.h <<_ACEOF
53958 #define HAVE__SQRTF 1
53971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
53972 $as_echo_n "checking for sincosf declaration... " >&6; }
53973 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
53974 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
53975 $as_echo_n "(cached) " >&6
53980 ac_cpp='$CXXCPP $CPPFLAGS'
53981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53986 /* end confdefs.h. */
53996 if ac_fn_cxx_try_compile "$LINENO"; then :
53997 glibcxx_cv_func_sincosf_use=yes
53999 glibcxx_cv_func_sincosf_use=no
54001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54003 ac_cpp='$CPP $CPPFLAGS'
54004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54013 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54015 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54016 for ac_func in sincosf
54018 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54019 if test "x$ac_cv_func_sincosf" = x""yes; then :
54020 cat >>confdefs.h <<_ACEOF
54021 #define HAVE_SINCOSF 1
54029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54030 $as_echo_n "checking for _sincosf declaration... " >&6; }
54031 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54032 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54033 $as_echo_n "(cached) " >&6
54038 ac_cpp='$CXXCPP $CPPFLAGS'
54039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54044 /* end confdefs.h. */
54054 if ac_fn_cxx_try_compile "$LINENO"; then :
54055 glibcxx_cv_func__sincosf_use=yes
54057 glibcxx_cv_func__sincosf_use=no
54059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54061 ac_cpp='$CPP $CPPFLAGS'
54062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54071 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54073 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54074 for ac_func in _sincosf
54076 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
54077 if test "x$ac_cv_func__sincosf" = x""yes; then :
54078 cat >>confdefs.h <<_ACEOF
54079 #define HAVE__SINCOSF 1
54092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54093 $as_echo_n "checking for finitef declaration... " >&6; }
54094 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54095 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54096 $as_echo_n "(cached) " >&6
54101 ac_cpp='$CXXCPP $CPPFLAGS'
54102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54107 /* end confdefs.h. */
54109 #ifdef HAVE_IEEEFP_H
54110 #include <ieeefp.h>
54121 if ac_fn_cxx_try_compile "$LINENO"; then :
54122 glibcxx_cv_func_finitef_use=yes
54124 glibcxx_cv_func_finitef_use=no
54126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54128 ac_cpp='$CPP $CPPFLAGS'
54129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
54138 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
54140 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
54141 for ac_func in finitef
54143 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
54144 if test "x$ac_cv_func_finitef" = x""yes; then :
54145 cat >>confdefs.h <<_ACEOF
54146 #define HAVE_FINITEF 1
54154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
54155 $as_echo_n "checking for _finitef declaration... " >&6; }
54156 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
54157 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
54158 $as_echo_n "(cached) " >&6
54163 ac_cpp='$CXXCPP $CPPFLAGS'
54164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54169 /* end confdefs.h. */
54171 #ifdef HAVE_IEEEFP_H
54172 #include <ieeefp.h>
54183 if ac_fn_cxx_try_compile "$LINENO"; then :
54184 glibcxx_cv_func__finitef_use=yes
54186 glibcxx_cv_func__finitef_use=no
54188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54190 ac_cpp='$CPP $CPPFLAGS'
54191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
54200 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
54202 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
54203 for ac_func in _finitef
54205 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
54206 if test "x$ac_cv_func__finitef" = x""yes; then :
54207 cat >>confdefs.h <<_ACEOF
54208 #define HAVE__FINITEF 1
54221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
54222 $as_echo_n "checking for long double trig functions... " >&6; }
54223 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
54224 $as_echo_n "(cached) " >&6
54229 ac_cpp='$CXXCPP $CPPFLAGS'
54230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54235 /* end confdefs.h. */
54240 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
54245 if ac_fn_cxx_try_compile "$LINENO"; then :
54246 glibcxx_cv_func_long_double_trig_use=yes
54248 glibcxx_cv_func_long_double_trig_use=no
54250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54252 ac_cpp='$CPP $CPPFLAGS'
54253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
54260 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
54261 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
54262 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
54264 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54265 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54266 eval as_val=\$$as_ac_var
54267 if test "x$as_val" = x""yes; then :
54268 cat >>confdefs.h <<_ACEOF
54269 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
54277 $as_echo_n "checking for _long double trig functions... " >&6; }
54278 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
54279 $as_echo_n "(cached) " >&6
54284 ac_cpp='$CXXCPP $CPPFLAGS'
54285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54290 /* end confdefs.h. */
54295 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
54300 if ac_fn_cxx_try_compile "$LINENO"; then :
54301 glibcxx_cv_func__long_double_trig_use=yes
54303 glibcxx_cv_func__long_double_trig_use=no
54305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54307 ac_cpp='$CPP $CPPFLAGS'
54308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
54315 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
54316 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
54317 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
54319 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54320 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54321 eval as_val=\$$as_ac_var
54322 if test "x$as_val" = x""yes; then :
54323 cat >>confdefs.h <<_ACEOF
54324 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
54338 $as_echo_n "checking for long double round functions... " >&6; }
54339 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
54340 $as_echo_n "(cached) " >&6
54345 ac_cpp='$CXXCPP $CPPFLAGS'
54346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54351 /* end confdefs.h. */
54356 ceill (0); floorl (0);
54361 if ac_fn_cxx_try_compile "$LINENO"; then :
54362 glibcxx_cv_func_long_double_round_use=yes
54364 glibcxx_cv_func_long_double_round_use=no
54366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54368 ac_cpp='$CPP $CPPFLAGS'
54369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
54376 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
54377 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
54378 for ac_func in ceill floorl
54380 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54381 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54382 eval as_val=\$$as_ac_var
54383 if test "x$as_val" = x""yes; then :
54384 cat >>confdefs.h <<_ACEOF
54385 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
54393 $as_echo_n "checking for _long double round functions... " >&6; }
54394 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
54395 $as_echo_n "(cached) " >&6
54400 ac_cpp='$CXXCPP $CPPFLAGS'
54401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54406 /* end confdefs.h. */
54411 _ceill (0); _floorl (0);
54416 if ac_fn_cxx_try_compile "$LINENO"; then :
54417 glibcxx_cv_func__long_double_round_use=yes
54419 glibcxx_cv_func__long_double_round_use=no
54421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54423 ac_cpp='$CPP $CPPFLAGS'
54424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
54431 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
54432 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54433 for ac_func in _ceill _floorl
54435 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54436 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54437 eval as_val=\$$as_ac_var
54438 if test "x$as_val" = x""yes; then :
54439 cat >>confdefs.h <<_ACEOF
54440 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
54455 $as_echo_n "checking for isnanl declaration... " >&6; }
54456 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54457 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
54458 $as_echo_n "(cached) " >&6
54463 ac_cpp='$CXXCPP $CPPFLAGS'
54464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54469 /* end confdefs.h. */
54471 #ifdef HAVE_IEEEFP_H
54472 #include <ieeefp.h>
54483 if ac_fn_cxx_try_compile "$LINENO"; then :
54484 glibcxx_cv_func_isnanl_use=yes
54486 glibcxx_cv_func_isnanl_use=no
54488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54490 ac_cpp='$CPP $CPPFLAGS'
54491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
54500 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
54502 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54503 for ac_func in isnanl
54505 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
54506 if test "x$ac_cv_func_isnanl" = x""yes; then :
54507 cat >>confdefs.h <<_ACEOF
54508 #define HAVE_ISNANL 1
54516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
54517 $as_echo_n "checking for _isnanl declaration... " >&6; }
54518 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54519 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
54520 $as_echo_n "(cached) " >&6
54525 ac_cpp='$CXXCPP $CPPFLAGS'
54526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54531 /* end confdefs.h. */
54533 #ifdef HAVE_IEEEFP_H
54534 #include <ieeefp.h>
54545 if ac_fn_cxx_try_compile "$LINENO"; then :
54546 glibcxx_cv_func__isnanl_use=yes
54548 glibcxx_cv_func__isnanl_use=no
54550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54552 ac_cpp='$CPP $CPPFLAGS'
54553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
54562 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
54564 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54565 for ac_func in _isnanl
54567 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
54568 if test "x$ac_cv_func__isnanl" = x""yes; then :
54569 cat >>confdefs.h <<_ACEOF
54570 #define HAVE__ISNANL 1
54583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
54584 $as_echo_n "checking for isinfl declaration... " >&6; }
54585 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54586 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
54587 $as_echo_n "(cached) " >&6
54592 ac_cpp='$CXXCPP $CPPFLAGS'
54593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54598 /* end confdefs.h. */
54600 #ifdef HAVE_IEEEFP_H
54601 #include <ieeefp.h>
54612 if ac_fn_cxx_try_compile "$LINENO"; then :
54613 glibcxx_cv_func_isinfl_use=yes
54615 glibcxx_cv_func_isinfl_use=no
54617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54619 ac_cpp='$CPP $CPPFLAGS'
54620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
54629 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
54631 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54632 for ac_func in isinfl
54634 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
54635 if test "x$ac_cv_func_isinfl" = x""yes; then :
54636 cat >>confdefs.h <<_ACEOF
54637 #define HAVE_ISINFL 1
54645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
54646 $as_echo_n "checking for _isinfl declaration... " >&6; }
54647 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
54648 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
54649 $as_echo_n "(cached) " >&6
54654 ac_cpp='$CXXCPP $CPPFLAGS'
54655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54660 /* end confdefs.h. */
54662 #ifdef HAVE_IEEEFP_H
54663 #include <ieeefp.h>
54674 if ac_fn_cxx_try_compile "$LINENO"; then :
54675 glibcxx_cv_func__isinfl_use=yes
54677 glibcxx_cv_func__isinfl_use=no
54679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54681 ac_cpp='$CPP $CPPFLAGS'
54682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
54691 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
54693 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
54694 for ac_func in _isinfl
54696 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
54697 if test "x$ac_cv_func__isinfl" = x""yes; then :
54698 cat >>confdefs.h <<_ACEOF
54699 #define HAVE__ISINFL 1
54712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
54713 $as_echo_n "checking for atan2l declaration... " >&6; }
54714 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
54715 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
54716 $as_echo_n "(cached) " >&6
54721 ac_cpp='$CXXCPP $CPPFLAGS'
54722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54727 /* end confdefs.h. */
54737 if ac_fn_cxx_try_compile "$LINENO"; then :
54738 glibcxx_cv_func_atan2l_use=yes
54740 glibcxx_cv_func_atan2l_use=no
54742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54744 ac_cpp='$CPP $CPPFLAGS'
54745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
54754 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
54756 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
54757 for ac_func in atan2l
54759 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
54760 if test "x$ac_cv_func_atan2l" = x""yes; then :
54761 cat >>confdefs.h <<_ACEOF
54762 #define HAVE_ATAN2L 1
54770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
54771 $as_echo_n "checking for _atan2l declaration... " >&6; }
54772 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
54773 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
54774 $as_echo_n "(cached) " >&6
54779 ac_cpp='$CXXCPP $CPPFLAGS'
54780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54785 /* end confdefs.h. */
54795 if ac_fn_cxx_try_compile "$LINENO"; then :
54796 glibcxx_cv_func__atan2l_use=yes
54798 glibcxx_cv_func__atan2l_use=no
54800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54802 ac_cpp='$CPP $CPPFLAGS'
54803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
54812 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
54814 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
54815 for ac_func in _atan2l
54817 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
54818 if test "x$ac_cv_func__atan2l" = x""yes; then :
54819 cat >>confdefs.h <<_ACEOF
54820 #define HAVE__ATAN2L 1
54833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
54834 $as_echo_n "checking for expl declaration... " >&6; }
54835 if test x${glibcxx_cv_func_expl_use+set} != xset; then
54836 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
54837 $as_echo_n "(cached) " >&6
54842 ac_cpp='$CXXCPP $CPPFLAGS'
54843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54848 /* end confdefs.h. */
54850 #ifdef HAVE_IEEEFP_H
54851 #include <ieeefp.h>
54862 if ac_fn_cxx_try_compile "$LINENO"; then :
54863 glibcxx_cv_func_expl_use=yes
54865 glibcxx_cv_func_expl_use=no
54867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54869 ac_cpp='$CPP $CPPFLAGS'
54870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
54879 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
54881 if test x$glibcxx_cv_func_expl_use = x"yes"; then
54882 for ac_func in expl
54884 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
54885 if test "x$ac_cv_func_expl" = x""yes; then :
54886 cat >>confdefs.h <<_ACEOF
54887 #define HAVE_EXPL 1
54895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
54896 $as_echo_n "checking for _expl declaration... " >&6; }
54897 if test x${glibcxx_cv_func__expl_use+set} != xset; then
54898 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
54899 $as_echo_n "(cached) " >&6
54904 ac_cpp='$CXXCPP $CPPFLAGS'
54905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54910 /* end confdefs.h. */
54912 #ifdef HAVE_IEEEFP_H
54913 #include <ieeefp.h>
54924 if ac_fn_cxx_try_compile "$LINENO"; then :
54925 glibcxx_cv_func__expl_use=yes
54927 glibcxx_cv_func__expl_use=no
54929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54931 ac_cpp='$CPP $CPPFLAGS'
54932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
54941 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
54943 if test x$glibcxx_cv_func__expl_use = x"yes"; then
54944 for ac_func in _expl
54946 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
54947 if test "x$ac_cv_func__expl" = x""yes; then :
54948 cat >>confdefs.h <<_ACEOF
54949 #define HAVE__EXPL 1
54962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
54963 $as_echo_n "checking for fabsl declaration... " >&6; }
54964 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
54965 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
54966 $as_echo_n "(cached) " >&6
54971 ac_cpp='$CXXCPP $CPPFLAGS'
54972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54977 /* end confdefs.h. */
54979 #ifdef HAVE_IEEEFP_H
54980 #include <ieeefp.h>
54991 if ac_fn_cxx_try_compile "$LINENO"; then :
54992 glibcxx_cv_func_fabsl_use=yes
54994 glibcxx_cv_func_fabsl_use=no
54996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54998 ac_cpp='$CPP $CPPFLAGS'
54999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55008 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55010 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55011 for ac_func in fabsl
55013 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55014 if test "x$ac_cv_func_fabsl" = x""yes; then :
55015 cat >>confdefs.h <<_ACEOF
55016 #define HAVE_FABSL 1
55024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55025 $as_echo_n "checking for _fabsl declaration... " >&6; }
55026 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55027 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55028 $as_echo_n "(cached) " >&6
55033 ac_cpp='$CXXCPP $CPPFLAGS'
55034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55039 /* end confdefs.h. */
55041 #ifdef HAVE_IEEEFP_H
55042 #include <ieeefp.h>
55053 if ac_fn_cxx_try_compile "$LINENO"; then :
55054 glibcxx_cv_func__fabsl_use=yes
55056 glibcxx_cv_func__fabsl_use=no
55058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55060 ac_cpp='$CPP $CPPFLAGS'
55061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55070 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55072 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55073 for ac_func in _fabsl
55075 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55076 if test "x$ac_cv_func__fabsl" = x""yes; then :
55077 cat >>confdefs.h <<_ACEOF
55078 #define HAVE__FABSL 1
55091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55092 $as_echo_n "checking for fmodl declaration... " >&6; }
55093 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55094 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55095 $as_echo_n "(cached) " >&6
55100 ac_cpp='$CXXCPP $CPPFLAGS'
55101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55106 /* end confdefs.h. */
55116 if ac_fn_cxx_try_compile "$LINENO"; then :
55117 glibcxx_cv_func_fmodl_use=yes
55119 glibcxx_cv_func_fmodl_use=no
55121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55123 ac_cpp='$CPP $CPPFLAGS'
55124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
55133 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
55135 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
55136 for ac_func in fmodl
55138 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
55139 if test "x$ac_cv_func_fmodl" = x""yes; then :
55140 cat >>confdefs.h <<_ACEOF
55141 #define HAVE_FMODL 1
55149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
55150 $as_echo_n "checking for _fmodl declaration... " >&6; }
55151 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55152 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
55153 $as_echo_n "(cached) " >&6
55158 ac_cpp='$CXXCPP $CPPFLAGS'
55159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55164 /* end confdefs.h. */
55174 if ac_fn_cxx_try_compile "$LINENO"; then :
55175 glibcxx_cv_func__fmodl_use=yes
55177 glibcxx_cv_func__fmodl_use=no
55179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55181 ac_cpp='$CPP $CPPFLAGS'
55182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
55191 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
55193 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
55194 for ac_func in _fmodl
55196 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
55197 if test "x$ac_cv_func__fmodl" = x""yes; then :
55198 cat >>confdefs.h <<_ACEOF
55199 #define HAVE__FMODL 1
55212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
55213 $as_echo_n "checking for frexpl declaration... " >&6; }
55214 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55215 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
55216 $as_echo_n "(cached) " >&6
55221 ac_cpp='$CXXCPP $CPPFLAGS'
55222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55227 /* end confdefs.h. */
55237 if ac_fn_cxx_try_compile "$LINENO"; then :
55238 glibcxx_cv_func_frexpl_use=yes
55240 glibcxx_cv_func_frexpl_use=no
55242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55244 ac_cpp='$CPP $CPPFLAGS'
55245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
55254 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
55256 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
55257 for ac_func in frexpl
55259 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
55260 if test "x$ac_cv_func_frexpl" = x""yes; then :
55261 cat >>confdefs.h <<_ACEOF
55262 #define HAVE_FREXPL 1
55270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
55271 $as_echo_n "checking for _frexpl declaration... " >&6; }
55272 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
55273 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
55274 $as_echo_n "(cached) " >&6
55279 ac_cpp='$CXXCPP $CPPFLAGS'
55280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55285 /* end confdefs.h. */
55295 if ac_fn_cxx_try_compile "$LINENO"; then :
55296 glibcxx_cv_func__frexpl_use=yes
55298 glibcxx_cv_func__frexpl_use=no
55300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55302 ac_cpp='$CPP $CPPFLAGS'
55303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
55312 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
55314 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
55315 for ac_func in _frexpl
55317 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
55318 if test "x$ac_cv_func__frexpl" = x""yes; then :
55319 cat >>confdefs.h <<_ACEOF
55320 #define HAVE__FREXPL 1
55333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
55334 $as_echo_n "checking for hypotl declaration... " >&6; }
55335 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
55336 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
55337 $as_echo_n "(cached) " >&6
55342 ac_cpp='$CXXCPP $CPPFLAGS'
55343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55348 /* end confdefs.h. */
55358 if ac_fn_cxx_try_compile "$LINENO"; then :
55359 glibcxx_cv_func_hypotl_use=yes
55361 glibcxx_cv_func_hypotl_use=no
55363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55365 ac_cpp='$CPP $CPPFLAGS'
55366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
55375 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
55377 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
55378 for ac_func in hypotl
55380 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
55381 if test "x$ac_cv_func_hypotl" = x""yes; then :
55382 cat >>confdefs.h <<_ACEOF
55383 #define HAVE_HYPOTL 1
55391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
55392 $as_echo_n "checking for _hypotl declaration... " >&6; }
55393 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
55394 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
55395 $as_echo_n "(cached) " >&6
55400 ac_cpp='$CXXCPP $CPPFLAGS'
55401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55406 /* end confdefs.h. */
55416 if ac_fn_cxx_try_compile "$LINENO"; then :
55417 glibcxx_cv_func__hypotl_use=yes
55419 glibcxx_cv_func__hypotl_use=no
55421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55423 ac_cpp='$CPP $CPPFLAGS'
55424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
55433 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
55435 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
55436 for ac_func in _hypotl
55438 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
55439 if test "x$ac_cv_func__hypotl" = x""yes; then :
55440 cat >>confdefs.h <<_ACEOF
55441 #define HAVE__HYPOTL 1
55454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
55455 $as_echo_n "checking for ldexpl declaration... " >&6; }
55456 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
55457 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
55458 $as_echo_n "(cached) " >&6
55463 ac_cpp='$CXXCPP $CPPFLAGS'
55464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55469 /* end confdefs.h. */
55479 if ac_fn_cxx_try_compile "$LINENO"; then :
55480 glibcxx_cv_func_ldexpl_use=yes
55482 glibcxx_cv_func_ldexpl_use=no
55484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55486 ac_cpp='$CPP $CPPFLAGS'
55487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
55496 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
55498 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
55499 for ac_func in ldexpl
55501 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
55502 if test "x$ac_cv_func_ldexpl" = x""yes; then :
55503 cat >>confdefs.h <<_ACEOF
55504 #define HAVE_LDEXPL 1
55512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
55513 $as_echo_n "checking for _ldexpl declaration... " >&6; }
55514 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
55515 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
55516 $as_echo_n "(cached) " >&6
55521 ac_cpp='$CXXCPP $CPPFLAGS'
55522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55527 /* end confdefs.h. */
55537 if ac_fn_cxx_try_compile "$LINENO"; then :
55538 glibcxx_cv_func__ldexpl_use=yes
55540 glibcxx_cv_func__ldexpl_use=no
55542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55544 ac_cpp='$CPP $CPPFLAGS'
55545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
55554 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
55556 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
55557 for ac_func in _ldexpl
55559 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
55560 if test "x$ac_cv_func__ldexpl" = x""yes; then :
55561 cat >>confdefs.h <<_ACEOF
55562 #define HAVE__LDEXPL 1
55575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
55576 $as_echo_n "checking for logl declaration... " >&6; }
55577 if test x${glibcxx_cv_func_logl_use+set} != xset; then
55578 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
55579 $as_echo_n "(cached) " >&6
55584 ac_cpp='$CXXCPP $CPPFLAGS'
55585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55590 /* end confdefs.h. */
55592 #ifdef HAVE_IEEEFP_H
55593 #include <ieeefp.h>
55604 if ac_fn_cxx_try_compile "$LINENO"; then :
55605 glibcxx_cv_func_logl_use=yes
55607 glibcxx_cv_func_logl_use=no
55609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55611 ac_cpp='$CPP $CPPFLAGS'
55612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
55621 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
55623 if test x$glibcxx_cv_func_logl_use = x"yes"; then
55624 for ac_func in logl
55626 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
55627 if test "x$ac_cv_func_logl" = x""yes; then :
55628 cat >>confdefs.h <<_ACEOF
55629 #define HAVE_LOGL 1
55637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
55638 $as_echo_n "checking for _logl declaration... " >&6; }
55639 if test x${glibcxx_cv_func__logl_use+set} != xset; then
55640 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
55641 $as_echo_n "(cached) " >&6
55646 ac_cpp='$CXXCPP $CPPFLAGS'
55647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55652 /* end confdefs.h. */
55654 #ifdef HAVE_IEEEFP_H
55655 #include <ieeefp.h>
55666 if ac_fn_cxx_try_compile "$LINENO"; then :
55667 glibcxx_cv_func__logl_use=yes
55669 glibcxx_cv_func__logl_use=no
55671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55673 ac_cpp='$CPP $CPPFLAGS'
55674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
55683 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
55685 if test x$glibcxx_cv_func__logl_use = x"yes"; then
55686 for ac_func in _logl
55688 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
55689 if test "x$ac_cv_func__logl" = x""yes; then :
55690 cat >>confdefs.h <<_ACEOF
55691 #define HAVE__LOGL 1
55704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
55705 $as_echo_n "checking for log10l declaration... " >&6; }
55706 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
55707 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
55708 $as_echo_n "(cached) " >&6
55713 ac_cpp='$CXXCPP $CPPFLAGS'
55714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55719 /* end confdefs.h. */
55721 #ifdef HAVE_IEEEFP_H
55722 #include <ieeefp.h>
55733 if ac_fn_cxx_try_compile "$LINENO"; then :
55734 glibcxx_cv_func_log10l_use=yes
55736 glibcxx_cv_func_log10l_use=no
55738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55740 ac_cpp='$CPP $CPPFLAGS'
55741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
55750 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
55752 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
55753 for ac_func in log10l
55755 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
55756 if test "x$ac_cv_func_log10l" = x""yes; then :
55757 cat >>confdefs.h <<_ACEOF
55758 #define HAVE_LOG10L 1
55766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
55767 $as_echo_n "checking for _log10l declaration... " >&6; }
55768 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
55769 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
55770 $as_echo_n "(cached) " >&6
55775 ac_cpp='$CXXCPP $CPPFLAGS'
55776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55781 /* end confdefs.h. */
55783 #ifdef HAVE_IEEEFP_H
55784 #include <ieeefp.h>
55795 if ac_fn_cxx_try_compile "$LINENO"; then :
55796 glibcxx_cv_func__log10l_use=yes
55798 glibcxx_cv_func__log10l_use=no
55800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55802 ac_cpp='$CPP $CPPFLAGS'
55803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
55812 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
55814 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
55815 for ac_func in _log10l
55817 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
55818 if test "x$ac_cv_func__log10l" = x""yes; then :
55819 cat >>confdefs.h <<_ACEOF
55820 #define HAVE__LOG10L 1
55833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
55834 $as_echo_n "checking for modfl declaration... " >&6; }
55835 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
55836 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
55837 $as_echo_n "(cached) " >&6
55842 ac_cpp='$CXXCPP $CPPFLAGS'
55843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55848 /* end confdefs.h. */
55858 if ac_fn_cxx_try_compile "$LINENO"; then :
55859 glibcxx_cv_func_modfl_use=yes
55861 glibcxx_cv_func_modfl_use=no
55863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55865 ac_cpp='$CPP $CPPFLAGS'
55866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
55875 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
55877 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
55878 for ac_func in modfl
55880 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
55881 if test "x$ac_cv_func_modfl" = x""yes; then :
55882 cat >>confdefs.h <<_ACEOF
55883 #define HAVE_MODFL 1
55891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
55892 $as_echo_n "checking for _modfl declaration... " >&6; }
55893 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
55894 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
55895 $as_echo_n "(cached) " >&6
55900 ac_cpp='$CXXCPP $CPPFLAGS'
55901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55906 /* end confdefs.h. */
55916 if ac_fn_cxx_try_compile "$LINENO"; then :
55917 glibcxx_cv_func__modfl_use=yes
55919 glibcxx_cv_func__modfl_use=no
55921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55923 ac_cpp='$CPP $CPPFLAGS'
55924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
55933 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
55935 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
55936 for ac_func in _modfl
55938 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
55939 if test "x$ac_cv_func__modfl" = x""yes; then :
55940 cat >>confdefs.h <<_ACEOF
55941 #define HAVE__MODFL 1
55954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
55955 $as_echo_n "checking for powl declaration... " >&6; }
55956 if test x${glibcxx_cv_func_powl_use+set} != xset; then
55957 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
55958 $as_echo_n "(cached) " >&6
55963 ac_cpp='$CXXCPP $CPPFLAGS'
55964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55969 /* end confdefs.h. */
55979 if ac_fn_cxx_try_compile "$LINENO"; then :
55980 glibcxx_cv_func_powl_use=yes
55982 glibcxx_cv_func_powl_use=no
55984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55986 ac_cpp='$CPP $CPPFLAGS'
55987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
55996 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
55998 if test x$glibcxx_cv_func_powl_use = x"yes"; then
55999 for ac_func in powl
56001 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56002 if test "x$ac_cv_func_powl" = x""yes; then :
56003 cat >>confdefs.h <<_ACEOF
56004 #define HAVE_POWL 1
56012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56013 $as_echo_n "checking for _powl declaration... " >&6; }
56014 if test x${glibcxx_cv_func__powl_use+set} != xset; then
56015 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56016 $as_echo_n "(cached) " >&6
56021 ac_cpp='$CXXCPP $CPPFLAGS'
56022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56027 /* end confdefs.h. */
56037 if ac_fn_cxx_try_compile "$LINENO"; then :
56038 glibcxx_cv_func__powl_use=yes
56040 glibcxx_cv_func__powl_use=no
56042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56044 ac_cpp='$CPP $CPPFLAGS'
56045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56054 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56056 if test x$glibcxx_cv_func__powl_use = x"yes"; then
56057 for ac_func in _powl
56059 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56060 if test "x$ac_cv_func__powl" = x""yes; then :
56061 cat >>confdefs.h <<_ACEOF
56062 #define HAVE__POWL 1
56075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56076 $as_echo_n "checking for sqrtl declaration... " >&6; }
56077 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
56078 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
56079 $as_echo_n "(cached) " >&6
56084 ac_cpp='$CXXCPP $CPPFLAGS'
56085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56090 /* end confdefs.h. */
56092 #ifdef HAVE_IEEEFP_H
56093 #include <ieeefp.h>
56104 if ac_fn_cxx_try_compile "$LINENO"; then :
56105 glibcxx_cv_func_sqrtl_use=yes
56107 glibcxx_cv_func_sqrtl_use=no
56109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56111 ac_cpp='$CPP $CPPFLAGS'
56112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
56121 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
56123 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
56124 for ac_func in sqrtl
56126 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
56127 if test "x$ac_cv_func_sqrtl" = x""yes; then :
56128 cat >>confdefs.h <<_ACEOF
56129 #define HAVE_SQRTL 1
56137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
56138 $as_echo_n "checking for _sqrtl declaration... " >&6; }
56139 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
56140 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
56141 $as_echo_n "(cached) " >&6
56146 ac_cpp='$CXXCPP $CPPFLAGS'
56147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56152 /* end confdefs.h. */
56154 #ifdef HAVE_IEEEFP_H
56155 #include <ieeefp.h>
56166 if ac_fn_cxx_try_compile "$LINENO"; then :
56167 glibcxx_cv_func__sqrtl_use=yes
56169 glibcxx_cv_func__sqrtl_use=no
56171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56173 ac_cpp='$CPP $CPPFLAGS'
56174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
56183 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
56185 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
56186 for ac_func in _sqrtl
56188 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
56189 if test "x$ac_cv_func__sqrtl" = x""yes; then :
56190 cat >>confdefs.h <<_ACEOF
56191 #define HAVE__SQRTL 1
56204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
56205 $as_echo_n "checking for sincosl declaration... " >&6; }
56206 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
56207 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
56208 $as_echo_n "(cached) " >&6
56213 ac_cpp='$CXXCPP $CPPFLAGS'
56214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56219 /* end confdefs.h. */
56229 if ac_fn_cxx_try_compile "$LINENO"; then :
56230 glibcxx_cv_func_sincosl_use=yes
56232 glibcxx_cv_func_sincosl_use=no
56234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56236 ac_cpp='$CPP $CPPFLAGS'
56237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
56246 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
56248 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
56249 for ac_func in sincosl
56251 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
56252 if test "x$ac_cv_func_sincosl" = x""yes; then :
56253 cat >>confdefs.h <<_ACEOF
56254 #define HAVE_SINCOSL 1
56262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
56263 $as_echo_n "checking for _sincosl declaration... " >&6; }
56264 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
56265 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
56266 $as_echo_n "(cached) " >&6
56271 ac_cpp='$CXXCPP $CPPFLAGS'
56272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56277 /* end confdefs.h. */
56287 if ac_fn_cxx_try_compile "$LINENO"; then :
56288 glibcxx_cv_func__sincosl_use=yes
56290 glibcxx_cv_func__sincosl_use=no
56292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56294 ac_cpp='$CPP $CPPFLAGS'
56295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
56304 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
56306 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
56307 for ac_func in _sincosl
56309 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
56310 if test "x$ac_cv_func__sincosl" = x""yes; then :
56311 cat >>confdefs.h <<_ACEOF
56312 #define HAVE__SINCOSL 1
56325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
56326 $as_echo_n "checking for finitel declaration... " >&6; }
56327 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
56328 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
56329 $as_echo_n "(cached) " >&6
56334 ac_cpp='$CXXCPP $CPPFLAGS'
56335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56340 /* end confdefs.h. */
56342 #ifdef HAVE_IEEEFP_H
56343 #include <ieeefp.h>
56354 if ac_fn_cxx_try_compile "$LINENO"; then :
56355 glibcxx_cv_func_finitel_use=yes
56357 glibcxx_cv_func_finitel_use=no
56359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56361 ac_cpp='$CPP $CPPFLAGS'
56362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
56371 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
56373 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
56374 for ac_func in finitel
56376 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
56377 if test "x$ac_cv_func_finitel" = x""yes; then :
56378 cat >>confdefs.h <<_ACEOF
56379 #define HAVE_FINITEL 1
56387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
56388 $as_echo_n "checking for _finitel declaration... " >&6; }
56389 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
56390 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
56391 $as_echo_n "(cached) " >&6
56396 ac_cpp='$CXXCPP $CPPFLAGS'
56397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56402 /* end confdefs.h. */
56404 #ifdef HAVE_IEEEFP_H
56405 #include <ieeefp.h>
56416 if ac_fn_cxx_try_compile "$LINENO"; then :
56417 glibcxx_cv_func__finitel_use=yes
56419 glibcxx_cv_func__finitel_use=no
56421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56423 ac_cpp='$CPP $CPPFLAGS'
56424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
56433 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
56435 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
56436 for ac_func in _finitel
56438 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
56439 if test "x$ac_cv_func__finitel" = x""yes; then :
56440 cat >>confdefs.h <<_ACEOF
56441 #define HAVE__FINITEL 1
56453 LIBS="$ac_save_LIBS"
56454 CXXFLAGS="$ac_save_CXXFLAGS"
56457 ac_test_CXXFLAGS="${CXXFLAGS+set}"
56458 ac_save_CXXFLAGS="$CXXFLAGS"
56459 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
56462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
56463 $as_echo_n "checking for strtold declaration... " >&6; }
56464 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
56465 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
56466 $as_echo_n "(cached) " >&6
56471 ac_cpp='$CXXCPP $CPPFLAGS'
56472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56477 /* end confdefs.h. */
56478 #include <stdlib.h>
56487 if ac_fn_cxx_try_compile "$LINENO"; then :
56488 glibcxx_cv_func_strtold_use=yes
56490 glibcxx_cv_func_strtold_use=no
56492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56494 ac_cpp='$CPP $CPPFLAGS'
56495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
56504 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
56505 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
56506 for ac_func in strtold
56508 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
56509 if test "x$ac_cv_func_strtold" = x""yes; then :
56510 cat >>confdefs.h <<_ACEOF
56511 #define HAVE_STRTOLD 1
56522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
56523 $as_echo_n "checking for strtof declaration... " >&6; }
56524 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
56525 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
56526 $as_echo_n "(cached) " >&6
56531 ac_cpp='$CXXCPP $CPPFLAGS'
56532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56537 /* end confdefs.h. */
56538 #include <stdlib.h>
56547 if ac_fn_cxx_try_compile "$LINENO"; then :
56548 glibcxx_cv_func_strtof_use=yes
56550 glibcxx_cv_func_strtof_use=no
56552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56554 ac_cpp='$CPP $CPPFLAGS'
56555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
56564 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
56565 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
56566 for ac_func in strtof
56568 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
56569 if test "x$ac_cv_func_strtof" = x""yes; then :
56570 cat >>confdefs.h <<_ACEOF
56571 #define HAVE_STRTOF 1
56582 CXXFLAGS="$ac_save_CXXFLAGS"
56586 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56589 # If we're not using GNU ld, then there's no point in even trying these
56590 # tests. Check for that first. We should have already tested for gld
56591 # by now (in libtool), but require it now just to be safe...
56592 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56593 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56597 # The name set by libtool depends on the version of libtool. Shame on us
56598 # for depending on an impl detail, but c'est la vie. Older versions used
56599 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56600 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56601 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56602 # set (hence we're using an older libtool), then set it.
56603 if test x${with_gnu_ld+set} != xset; then
56604 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56605 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56608 with_gnu_ld=$ac_cv_prog_gnu_ld
56612 # Start by getting the version number. I think the libtool test already
56613 # does some of this, but throws away the result.
56614 glibcxx_ld_is_gold=no
56615 if test x"$with_gnu_ld" = x"yes"; then
56616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56617 $as_echo_n "checking for ld version... " >&6; }
56619 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56620 glibcxx_ld_is_gold=yes
56622 ldver=`$LD --version 2>/dev/null |
56623 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'`
56625 glibcxx_gnu_ld_version=`echo $ldver | \
56626 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56628 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56631 # Set --gc-sections.
56632 glibcxx_have_gc_sections=no
56633 if test "$glibcxx_ld_is_gold" = "yes"; then
56634 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56635 glibcxx_have_gc_sections=yes
56638 glibcxx_gcsections_min_ld=21602
56639 if test x"$with_gnu_ld" = x"yes" &&
56640 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56641 glibcxx_have_gc_sections=yes
56644 if test "$glibcxx_have_gc_sections" = "yes"; then
56645 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56646 # NB: This flag only works reliably after 2.16.1. Configure tests
56647 # for this are difficult, so hard wire a value that should work.
56649 ac_test_CFLAGS="${CFLAGS+set}"
56650 ac_save_CFLAGS="$CFLAGS"
56651 CFLAGS='-Wl,--gc-sections'
56653 # Check for -Wl,--gc-sections
56654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56655 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56656 if test x$gcc_no_link = xyes; then
56657 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56660 /* end confdefs.h. */
56661 int one(void) { return 1; }
56662 int two(void) { return 2; }
56672 if ac_fn_c_try_link "$LINENO"; then :
56677 rm -f core conftest.err conftest.$ac_objext \
56678 conftest$ac_exeext conftest.$ac_ext
56679 if test "$ac_gcsections" = "yes"; then
56682 if $CC -c conftest.c; then
56683 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56684 grep "Warning: gc-sections option ignored" > /dev/null; then
56688 rm -f conftest.c conftest.o conftest
56690 if test "$ac_gcsections" = "yes"; then
56691 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56694 $as_echo "$ac_gcsections" >&6; }
56696 if test "$ac_test_CFLAGS" = set; then
56697 CFLAGS="$ac_save_CFLAGS"
56699 # this is the suspicious part
56705 # Note this is only for shared objects.
56707 if test x"$with_gnu_ld" = x"yes"; then
56708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56709 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56710 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56711 if test -n "$cxx_z_relo"; then
56712 OPT_LDFLAGS="-Wl,-z,relro"
56715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56716 $as_echo "$ac_ld_relro" >&6; }
56719 # Set linker optimization flags.
56720 if test x"$with_gnu_ld" = x"yes"; then
56721 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56727 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
56729 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
56731 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
56733 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
56735 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56737 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
56739 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56741 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
56743 if test x"long_double_math_on_this_cpu" = x"yes"; then
56744 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
56746 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
56748 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
56753 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56756 # If we're not using GNU ld, then there's no point in even trying these
56757 # tests. Check for that first. We should have already tested for gld
56758 # by now (in libtool), but require it now just to be safe...
56759 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56760 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56764 # The name set by libtool depends on the version of libtool. Shame on us
56765 # for depending on an impl detail, but c'est la vie. Older versions used
56766 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56767 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56768 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56769 # set (hence we're using an older libtool), then set it.
56770 if test x${with_gnu_ld+set} != xset; then
56771 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56772 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56775 with_gnu_ld=$ac_cv_prog_gnu_ld
56779 # Start by getting the version number. I think the libtool test already
56780 # does some of this, but throws away the result.
56781 glibcxx_ld_is_gold=no
56782 if test x"$with_gnu_ld" = x"yes"; then
56783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56784 $as_echo_n "checking for ld version... " >&6; }
56786 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56787 glibcxx_ld_is_gold=yes
56789 ldver=`$LD --version 2>/dev/null |
56790 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'`
56792 glibcxx_gnu_ld_version=`echo $ldver | \
56793 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56795 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56798 # Set --gc-sections.
56799 glibcxx_have_gc_sections=no
56800 if test "$glibcxx_ld_is_gold" = "yes"; then
56801 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56802 glibcxx_have_gc_sections=yes
56805 glibcxx_gcsections_min_ld=21602
56806 if test x"$with_gnu_ld" = x"yes" &&
56807 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56808 glibcxx_have_gc_sections=yes
56811 if test "$glibcxx_have_gc_sections" = "yes"; then
56812 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56813 # NB: This flag only works reliably after 2.16.1. Configure tests
56814 # for this are difficult, so hard wire a value that should work.
56816 ac_test_CFLAGS="${CFLAGS+set}"
56817 ac_save_CFLAGS="$CFLAGS"
56818 CFLAGS='-Wl,--gc-sections'
56820 # Check for -Wl,--gc-sections
56821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56822 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56823 if test x$gcc_no_link = xyes; then
56824 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56827 /* end confdefs.h. */
56828 int one(void) { return 1; }
56829 int two(void) { return 2; }
56839 if ac_fn_c_try_link "$LINENO"; then :
56844 rm -f core conftest.err conftest.$ac_objext \
56845 conftest$ac_exeext conftest.$ac_ext
56846 if test "$ac_gcsections" = "yes"; then
56849 if $CC -c conftest.c; then
56850 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56851 grep "Warning: gc-sections option ignored" > /dev/null; then
56855 rm -f conftest.c conftest.o conftest
56857 if test "$ac_gcsections" = "yes"; then
56858 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56861 $as_echo "$ac_gcsections" >&6; }
56863 if test "$ac_test_CFLAGS" = set; then
56864 CFLAGS="$ac_save_CFLAGS"
56866 # this is the suspicious part
56872 # Note this is only for shared objects.
56874 if test x"$with_gnu_ld" = x"yes"; then
56875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56876 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56877 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56878 if test -n "$cxx_z_relo"; then
56879 OPT_LDFLAGS="-Wl,-z,relro"
56882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56883 $as_echo "$ac_ld_relro" >&6; }
56886 # Set linker optimization flags.
56887 if test x"$with_gnu_ld" = x"yes"; then
56888 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56894 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
56896 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56898 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56901 *-qnx6.1* | *-qnx6.2*)
56902 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56905 # If we're not using GNU ld, then there's no point in even trying these
56906 # tests. Check for that first. We should have already tested for gld
56907 # by now (in libtool), but require it now just to be safe...
56908 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56909 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56913 # The name set by libtool depends on the version of libtool. Shame on us
56914 # for depending on an impl detail, but c'est la vie. Older versions used
56915 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56916 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56917 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56918 # set (hence we're using an older libtool), then set it.
56919 if test x${with_gnu_ld+set} != xset; then
56920 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56921 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56924 with_gnu_ld=$ac_cv_prog_gnu_ld
56928 # Start by getting the version number. I think the libtool test already
56929 # does some of this, but throws away the result.
56930 glibcxx_ld_is_gold=no
56931 if test x"$with_gnu_ld" = x"yes"; then
56932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56933 $as_echo_n "checking for ld version... " >&6; }
56935 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56936 glibcxx_ld_is_gold=yes
56938 ldver=`$LD --version 2>/dev/null |
56939 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'`
56941 glibcxx_gnu_ld_version=`echo $ldver | \
56942 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56944 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56947 # Set --gc-sections.
56948 glibcxx_have_gc_sections=no
56949 if test "$glibcxx_ld_is_gold" = "yes"; then
56950 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56951 glibcxx_have_gc_sections=yes
56954 glibcxx_gcsections_min_ld=21602
56955 if test x"$with_gnu_ld" = x"yes" &&
56956 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56957 glibcxx_have_gc_sections=yes
56960 if test "$glibcxx_have_gc_sections" = "yes"; then
56961 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56962 # NB: This flag only works reliably after 2.16.1. Configure tests
56963 # for this are difficult, so hard wire a value that should work.
56965 ac_test_CFLAGS="${CFLAGS+set}"
56966 ac_save_CFLAGS="$CFLAGS"
56967 CFLAGS='-Wl,--gc-sections'
56969 # Check for -Wl,--gc-sections
56970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56971 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56972 if test x$gcc_no_link = xyes; then
56973 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56976 /* end confdefs.h. */
56977 int one(void) { return 1; }
56978 int two(void) { return 2; }
56988 if ac_fn_c_try_link "$LINENO"; then :
56993 rm -f core conftest.err conftest.$ac_objext \
56994 conftest$ac_exeext conftest.$ac_ext
56995 if test "$ac_gcsections" = "yes"; then
56998 if $CC -c conftest.c; then
56999 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57000 grep "Warning: gc-sections option ignored" > /dev/null; then
57004 rm -f conftest.c conftest.o conftest
57006 if test "$ac_gcsections" = "yes"; then
57007 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57010 $as_echo "$ac_gcsections" >&6; }
57012 if test "$ac_test_CFLAGS" = set; then
57013 CFLAGS="$ac_save_CFLAGS"
57015 # this is the suspicious part
57021 # Note this is only for shared objects.
57023 if test x"$with_gnu_ld" = x"yes"; then
57024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57025 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57026 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57027 if test -n "$cxx_z_relo"; then
57028 OPT_LDFLAGS="-Wl,-z,relro"
57031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57032 $as_echo "$ac_ld_relro" >&6; }
57035 # Set linker optimization flags.
57036 if test x"$with_gnu_ld" = x"yes"; then
57037 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57043 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57045 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57047 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57049 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57051 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57053 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57055 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57057 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57059 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57061 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57063 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57065 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57070 *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
57072 # If we're not using GNU ld, then there's no point in even trying these
57073 # tests. Check for that first. We should have already tested for gld
57074 # by now (in libtool), but require it now just to be safe...
57075 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57076 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57080 # The name set by libtool depends on the version of libtool. Shame on us
57081 # for depending on an impl detail, but c'est la vie. Older versions used
57082 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57083 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57084 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57085 # set (hence we're using an older libtool), then set it.
57086 if test x${with_gnu_ld+set} != xset; then
57087 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57088 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57091 with_gnu_ld=$ac_cv_prog_gnu_ld
57095 # Start by getting the version number. I think the libtool test already
57096 # does some of this, but throws away the result.
57097 glibcxx_ld_is_gold=no
57098 if test x"$with_gnu_ld" = x"yes"; then
57099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57100 $as_echo_n "checking for ld version... " >&6; }
57102 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57103 glibcxx_ld_is_gold=yes
57105 ldver=`$LD --version 2>/dev/null |
57106 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'`
57108 glibcxx_gnu_ld_version=`echo $ldver | \
57109 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57111 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57114 # Set --gc-sections.
57115 glibcxx_have_gc_sections=no
57116 if test "$glibcxx_ld_is_gold" = "yes"; then
57117 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57118 glibcxx_have_gc_sections=yes
57121 glibcxx_gcsections_min_ld=21602
57122 if test x"$with_gnu_ld" = x"yes" &&
57123 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57124 glibcxx_have_gc_sections=yes
57127 if test "$glibcxx_have_gc_sections" = "yes"; then
57128 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57129 # NB: This flag only works reliably after 2.16.1. Configure tests
57130 # for this are difficult, so hard wire a value that should work.
57132 ac_test_CFLAGS="${CFLAGS+set}"
57133 ac_save_CFLAGS="$CFLAGS"
57134 CFLAGS='-Wl,--gc-sections'
57136 # Check for -Wl,--gc-sections
57137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57138 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57139 if test x$gcc_no_link = xyes; then
57140 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57143 /* end confdefs.h. */
57144 int one(void) { return 1; }
57145 int two(void) { return 2; }
57155 if ac_fn_c_try_link "$LINENO"; then :
57160 rm -f core conftest.err conftest.$ac_objext \
57161 conftest$ac_exeext conftest.$ac_ext
57162 if test "$ac_gcsections" = "yes"; then
57165 if $CC -c conftest.c; then
57166 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57167 grep "Warning: gc-sections option ignored" > /dev/null; then
57171 rm -f conftest.c conftest.o conftest
57173 if test "$ac_gcsections" = "yes"; then
57174 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57177 $as_echo "$ac_gcsections" >&6; }
57179 if test "$ac_test_CFLAGS" = set; then
57180 CFLAGS="$ac_save_CFLAGS"
57182 # this is the suspicious part
57188 # Note this is only for shared objects.
57190 if test x"$with_gnu_ld" = x"yes"; then
57191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57192 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57193 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57194 if test -n "$cxx_z_relo"; then
57195 OPT_LDFLAGS="-Wl,-z,relro"
57198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57199 $as_echo "$ac_ld_relro" >&6; }
57202 # Set linker optimization flags.
57203 if test x"$with_gnu_ld" = x"yes"; then
57204 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57210 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
57212 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57214 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
57216 # All of the dependencies for wide character support are here, so
57218 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
57224 # These two C99 functions are present only in Solaris >= 10
57225 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
57227 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
57231 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57233 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57235 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
57237 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
57241 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57244 # If we're not using GNU ld, then there's no point in even trying these
57245 # tests. Check for that first. We should have already tested for gld
57246 # by now (in libtool), but require it now just to be safe...
57247 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57248 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57252 # The name set by libtool depends on the version of libtool. Shame on us
57253 # for depending on an impl detail, but c'est la vie. Older versions used
57254 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57255 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57256 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57257 # set (hence we're using an older libtool), then set it.
57258 if test x${with_gnu_ld+set} != xset; then
57259 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57260 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57263 with_gnu_ld=$ac_cv_prog_gnu_ld
57267 # Start by getting the version number. I think the libtool test already
57268 # does some of this, but throws away the result.
57269 glibcxx_ld_is_gold=no
57270 if test x"$with_gnu_ld" = x"yes"; then
57271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57272 $as_echo_n "checking for ld version... " >&6; }
57274 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57275 glibcxx_ld_is_gold=yes
57277 ldver=`$LD --version 2>/dev/null |
57278 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'`
57280 glibcxx_gnu_ld_version=`echo $ldver | \
57281 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57283 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57286 # Set --gc-sections.
57287 glibcxx_have_gc_sections=no
57288 if test "$glibcxx_ld_is_gold" = "yes"; then
57289 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57290 glibcxx_have_gc_sections=yes
57293 glibcxx_gcsections_min_ld=21602
57294 if test x"$with_gnu_ld" = x"yes" &&
57295 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57296 glibcxx_have_gc_sections=yes
57299 if test "$glibcxx_have_gc_sections" = "yes"; then
57300 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57301 # NB: This flag only works reliably after 2.16.1. Configure tests
57302 # for this are difficult, so hard wire a value that should work.
57304 ac_test_CFLAGS="${CFLAGS+set}"
57305 ac_save_CFLAGS="$CFLAGS"
57306 CFLAGS='-Wl,--gc-sections'
57308 # Check for -Wl,--gc-sections
57309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57310 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57311 if test x$gcc_no_link = xyes; then
57312 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57315 /* end confdefs.h. */
57316 int one(void) { return 1; }
57317 int two(void) { return 2; }
57327 if ac_fn_c_try_link "$LINENO"; then :
57332 rm -f core conftest.err conftest.$ac_objext \
57333 conftest$ac_exeext conftest.$ac_ext
57334 if test "$ac_gcsections" = "yes"; then
57337 if $CC -c conftest.c; then
57338 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57339 grep "Warning: gc-sections option ignored" > /dev/null; then
57343 rm -f conftest.c conftest.o conftest
57345 if test "$ac_gcsections" = "yes"; then
57346 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57349 $as_echo "$ac_gcsections" >&6; }
57351 if test "$ac_test_CFLAGS" = set; then
57352 CFLAGS="$ac_save_CFLAGS"
57354 # this is the suspicious part
57360 # Note this is only for shared objects.
57362 if test x"$with_gnu_ld" = x"yes"; then
57363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57364 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57365 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57366 if test -n "$cxx_z_relo"; then
57367 OPT_LDFLAGS="-Wl,-z,relro"
57370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57371 $as_echo "$ac_ld_relro" >&6; }
57374 # Set linker optimization flags.
57375 if test x"$with_gnu_ld" = x"yes"; then
57376 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57382 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57384 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57386 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57388 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57390 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57392 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57394 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57396 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57398 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
57400 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
57402 if test x"long_double_math_on_this_cpu" = x"yes"; then
57403 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57405 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
57407 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57409 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57414 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
57416 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
57418 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
57420 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
57422 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
57424 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57426 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57428 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
57430 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
57432 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
57434 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
57436 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
57438 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57440 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57442 $as_echo "#define HAVE_POWF 1" >>confdefs.h
57444 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57446 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57448 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
57450 $as_echo "#define HAVE_TANF 1" >>confdefs.h
57452 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
57456 as_fn_error "No support for this host/target combination." "$LINENO" 5
57462 # At some point, we should differentiate between architectures
57463 # like x86, which have long double versions, and alpha/powerpc/etc.,
57464 # which don't. For the time being, punt.
57465 if test x"long_double_math_on_this_cpu" = x"yes"; then
57466 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
57468 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
57470 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
57472 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
57474 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
57476 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57478 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57480 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
57482 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
57484 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
57486 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
57488 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
57490 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
57492 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57494 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57496 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
57498 $as_echo "#define HAVE_POWL 1" >>confdefs.h
57500 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
57502 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57504 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57506 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
57508 $as_echo "#define HAVE_TANL 1" >>confdefs.h
57510 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
57515 # Check for _Unwind_GetIPInfo.
57518 # Check whether --with-system-libunwind was given.
57519 if test "${with_system_libunwind+set}" = set; then :
57520 withval=$with_system_libunwind;
57523 # If system-libunwind was not specifically set, pick a default setting.
57524 if test x$with_system_libunwind = x; then
57526 ia64-*-hpux*) with_system_libunwind=yes ;;
57527 *) with_system_libunwind=no ;;
57530 # Based on system-libunwind and target, do we have ipinfo?
57531 if test x$with_system_libunwind = xyes; then
57533 ia64-*-*) have_unwind_getipinfo=no ;;
57534 *) have_unwind_getipinfo=yes ;;
57537 # Darwin before version 9 does not have _Unwind_GetIPInfo.
57540 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
57541 *) have_unwind_getipinfo=yes ;;
57546 if test x$have_unwind_getipinfo = xyes; then
57548 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
57554 # Check whether --enable-linux-futex was given.
57555 if test "${enable_linux_futex+set}" = set; then :
57556 enableval=$enable_linux_futex;
57557 case "$enableval" in
57559 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
57563 enable_linux_futex=default
57569 case "$enable_linux_futex" in
57571 # If headers don't have gettid/futex syscalls definition, then
57572 # default to no, otherwise there will be compile time failures.
57573 # Otherwise, default to yes. If we don't detect we are
57574 # compiled/linked against NPTL and not cross-compiling, check
57575 # if programs are run by default against NPTL and if not, issue
57577 enable_linux_futex=no
57578 if test x$gcc_no_link = xyes; then
57579 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57582 /* end confdefs.h. */
57583 #include <sys/syscall.h>
57588 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
57593 if ac_fn_c_try_link "$LINENO"; then :
57595 LIBS="-lpthread $LIBS"
57596 if test x$gcc_no_link = xyes; then
57597 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57600 /* end confdefs.h. */
57601 #ifndef _GNU_SOURCE
57602 #define _GNU_SOURCE 1
57604 #include <pthread.h>
57605 pthread_t th; void *status;
57609 pthread_tryjoin_np (th, &status);
57614 if ac_fn_c_try_link "$LINENO"; then :
57615 enable_linux_futex=yes
57617 if test x$cross_compiling = xno; then
57618 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
57619 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
57620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
57621 If so, please configure with --disable-linux-futex" >&5
57622 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
57623 If so, please configure with --disable-linux-futex" >&2;}
57626 enable_linux_futex=yes
57628 rm -f core conftest.err conftest.$ac_objext \
57629 conftest$ac_exeext conftest.$ac_ext
57632 rm -f core conftest.err conftest.$ac_objext \
57633 conftest$ac_exeext conftest.$ac_ext
57636 if test x$gcc_no_link = xyes; then
57637 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57640 /* end confdefs.h. */
57641 #include <sys/syscall.h>
57646 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
57651 if ac_fn_c_try_link "$LINENO"; then :
57654 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
57656 rm -f core conftest.err conftest.$ac_objext \
57657 conftest$ac_exeext conftest.$ac_ext
57662 enable_linux_futex=no
57665 if test x$enable_linux_futex = xyes; then
57667 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
57674 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
57676 acx_cv_header_stdint=stddef.h
57677 acx_cv_header_stdint_kind="(already complete)"
57678 for i in stdint.h $inttype_headers; do
57679 unset ac_cv_type_uintptr_t
57680 unset ac_cv_type_uintmax_t
57681 unset ac_cv_type_int_least32_t
57682 unset ac_cv_type_int_fast32_t
57683 unset ac_cv_type_uint64_t
57684 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
57685 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
57688 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
57689 acx_cv_header_stdint=$i
57694 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
57697 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
57700 acx_cv_header_stdint_kind="(mostly complete)"
57703 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
57706 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
57709 acx_cv_header_stdint_kind="(mostly complete)"
57712 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
57715 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
57718 acx_cv_header_stdint_kind="(mostly complete)"
57721 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
57724 if test "x$ac_cv_type_uint64_t" = x""yes; then :
57727 acx_cv_header_stdint_kind="(lacks uint64_t)"
57732 if test "$acx_cv_header_stdint" = stddef.h; then
57733 acx_cv_header_stdint_kind="(lacks uintmax_t)"
57734 for i in stdint.h $inttype_headers; do
57735 unset ac_cv_type_uintptr_t
57736 unset ac_cv_type_uint32_t
57737 unset ac_cv_type_uint64_t
57738 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
57739 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
57742 if test "x$ac_cv_type_uint32_t" = x""yes; then :
57743 acx_cv_header_stdint=$i
57748 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
57751 if test "x$ac_cv_type_uint64_t" = x""yes; then :
57755 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
57758 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
57765 if test "$acx_cv_header_stdint" = stddef.h; then
57766 acx_cv_header_stdint_kind="(u_intXX_t style)"
57767 for i in sys/types.h $inttype_headers; do
57768 unset ac_cv_type_u_int32_t
57769 unset ac_cv_type_u_int64_t
57770 $as_echo_n "looking for u_intXX_t types in $i, " >&6
57771 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
57774 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
57775 acx_cv_header_stdint=$i
57780 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
57783 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
57790 if test "$acx_cv_header_stdint" = stddef.h; then
57791 acx_cv_header_stdint_kind="(using manual detection)"
57794 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
57795 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
57796 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
57797 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
57798 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
57800 # ----------------- Summarize what we found so far
57802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
57803 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
57805 case `$as_basename -- include/gstdint.h ||
57806 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
57807 Xinclude/gstdint.h : 'X\(//\)$' \| \
57808 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
57809 $as_echo X/include/gstdint.h |
57810 sed '/^.*\/\([^/][^/]*\)\/*$/{
57823 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
57824 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
57825 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
57826 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
57830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
57831 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
57833 # ----------------- done included file, check C basic types --------
57835 # Lacking an uintptr_t? Test size of void *
57836 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
57837 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
57838 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57839 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57840 # This bug is HP SR number 8606223364.
57841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
57842 $as_echo_n "checking size of void *... " >&6; }
57843 if test "${ac_cv_sizeof_void_p+set}" = set; then :
57844 $as_echo_n "(cached) " >&6
57846 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
57849 if test "$ac_cv_type_void_p" = yes; then
57850 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57851 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57852 { as_fn_set_status 77
57853 as_fn_error "cannot compute sizeof (void *)
57854 See \`config.log' for more details." "$LINENO" 5; }; }
57856 ac_cv_sizeof_void_p=0
57861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
57862 $as_echo "$ac_cv_sizeof_void_p" >&6; }
57866 cat >>confdefs.h <<_ACEOF
57867 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
57873 # Lacking an uint64_t? Test size of long
57874 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
57875 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
57876 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57877 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57878 # This bug is HP SR number 8606223364.
57879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
57880 $as_echo_n "checking size of long... " >&6; }
57881 if test "${ac_cv_sizeof_long+set}" = set; then :
57882 $as_echo_n "(cached) " >&6
57884 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
57887 if test "$ac_cv_type_long" = yes; then
57888 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57889 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57890 { as_fn_set_status 77
57891 as_fn_error "cannot compute sizeof (long)
57892 See \`config.log' for more details." "$LINENO" 5; }; }
57894 ac_cv_sizeof_long=0
57899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
57900 $as_echo "$ac_cv_sizeof_long" >&6; }
57904 cat >>confdefs.h <<_ACEOF
57905 #define SIZEOF_LONG $ac_cv_sizeof_long
57911 if test $acx_cv_header_stdint = stddef.h; then
57912 # Lacking a good header? Test size of everything and deduce all types.
57913 # The cast to long int works around a bug in the HP C Compiler
57914 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57915 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57916 # This bug is HP SR number 8606223364.
57917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
57918 $as_echo_n "checking size of int... " >&6; }
57919 if test "${ac_cv_sizeof_int+set}" = set; then :
57920 $as_echo_n "(cached) " >&6
57922 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
57925 if test "$ac_cv_type_int" = yes; then
57926 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57927 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57928 { as_fn_set_status 77
57929 as_fn_error "cannot compute sizeof (int)
57930 See \`config.log' for more details." "$LINENO" 5; }; }
57937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
57938 $as_echo "$ac_cv_sizeof_int" >&6; }
57942 cat >>confdefs.h <<_ACEOF
57943 #define SIZEOF_INT $ac_cv_sizeof_int
57947 # The cast to long int works around a bug in the HP C Compiler
57948 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57949 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57950 # This bug is HP SR number 8606223364.
57951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
57952 $as_echo_n "checking size of short... " >&6; }
57953 if test "${ac_cv_sizeof_short+set}" = set; then :
57954 $as_echo_n "(cached) " >&6
57956 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
57959 if test "$ac_cv_type_short" = yes; then
57960 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57961 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57962 { as_fn_set_status 77
57963 as_fn_error "cannot compute sizeof (short)
57964 See \`config.log' for more details." "$LINENO" 5; }; }
57966 ac_cv_sizeof_short=0
57971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
57972 $as_echo "$ac_cv_sizeof_short" >&6; }
57976 cat >>confdefs.h <<_ACEOF
57977 #define SIZEOF_SHORT $ac_cv_sizeof_short
57981 # The cast to long int works around a bug in the HP C Compiler
57982 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57983 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57984 # This bug is HP SR number 8606223364.
57985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
57986 $as_echo_n "checking size of char... " >&6; }
57987 if test "${ac_cv_sizeof_char+set}" = set; then :
57988 $as_echo_n "(cached) " >&6
57990 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
57993 if test "$ac_cv_type_char" = yes; then
57994 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57995 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57996 { as_fn_set_status 77
57997 as_fn_error "cannot compute sizeof (char)
57998 See \`config.log' for more details." "$LINENO" 5; }; }
58000 ac_cv_sizeof_char=0
58005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
58006 $as_echo "$ac_cv_sizeof_char" >&6; }
58010 cat >>confdefs.h <<_ACEOF
58011 #define SIZEOF_CHAR $ac_cv_sizeof_char
58016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
58017 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
58018 case "$ac_cv_sizeof_char" in
58019 1) acx_cv_type_int8_t=char ;;
58020 *) { as_fn_set_status please report a bug
58021 as_fn_error "no 8-bit type" "$LINENO" 5; }
58023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
58024 $as_echo "$acx_cv_type_int8_t" >&6; }
58026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
58027 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
58028 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
58029 2:*) acx_cv_type_int16_t=int ;;
58030 *:2) acx_cv_type_int16_t=short ;;
58031 *) { as_fn_set_status please report a bug
58032 as_fn_error "no 16-bit type" "$LINENO" 5; }
58034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
58035 $as_echo "$acx_cv_type_int16_t" >&6; }
58037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
58038 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
58039 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
58040 4:*) acx_cv_type_int32_t=int ;;
58041 *:4) acx_cv_type_int32_t=long ;;
58042 *) { as_fn_set_status please report a bug
58043 as_fn_error "no 32-bit type" "$LINENO" 5; }
58045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
58046 $as_echo "$acx_cv_type_int32_t" >&6; }
58049 # These tests are here to make the output prettier
58051 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
58052 case "$ac_cv_sizeof_long" in
58053 8) acx_cv_type_int64_t=long ;;
58055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
58056 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
58057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
58058 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
58061 # Now we can use the above types
58063 if test "$ac_cv_type_uintptr_t" != yes; then
58064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
58065 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
58066 case $ac_cv_sizeof_void_p in
58067 2) acx_cv_type_intptr_t=int16_t ;;
58068 4) acx_cv_type_intptr_t=int32_t ;;
58069 8) acx_cv_type_intptr_t=int64_t ;;
58070 *) { as_fn_set_status please report a bug
58071 as_fn_error "no equivalent for intptr_t" "$LINENO" 5; }
58073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
58074 $as_echo "$acx_cv_type_intptr_t" >&6; }
58077 # ----------------- done all checks, emit header -------------
58078 ac_config_commands="$ac_config_commands include/gstdint.h"
58083 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
58086 # Check whether --enable-symvers was given.
58087 if test "${enable_symvers+set}" = set; then :
58088 enableval=$enable_symvers;
58089 case "$enableval" in
58090 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
58091 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
58100 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
58101 # don't know enough about $LD to do tricks...
58104 # Turn a 'yes' into a suitable default.
58105 if test x$enable_symvers = xyes ; then
58106 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
58109 if test $with_gnu_ld = yes ; then
58110 case ${target_os} in
58112 enable_symvers=no ;;
58114 enable_symvers=gnu ;;
58117 case ${target_os} in
58119 enable_symvers=darwin ;;
58121 enable_symvers=no ;;
58127 # Check to see if 'darwin' or 'darwin-export' can win.
58128 if test x$enable_symvers = xdarwin-export ; then
58129 enable_symvers=darwin
58132 # Check to see if 'gnu' can win.
58133 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
58134 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
58135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
58136 $as_echo_n "checking for shared libgcc... " >&6; }
58137 ac_save_CFLAGS="$CFLAGS"
58139 if test x$gcc_no_link = xyes; then
58140 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58143 /* end confdefs.h. */
58153 if ac_fn_c_try_link "$LINENO"; then :
58154 glibcxx_shared_libgcc=yes
58156 glibcxx_shared_libgcc=no
58158 rm -f core conftest.err conftest.$ac_objext \
58159 conftest$ac_exeext conftest.$ac_ext
58160 CFLAGS="$ac_save_CFLAGS"
58161 if test $glibcxx_shared_libgcc = no; then
58162 cat > conftest.c <<EOF
58163 int main (void) { return 0; }
58165 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
58166 -shared -shared-libgcc -o conftest.so \
58167 conftest.c -v 2>&1 >/dev/null \
58168 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
58169 rm -f conftest.c conftest.so
58170 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
58171 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
58172 if test x$gcc_no_link = xyes; then
58173 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58176 /* end confdefs.h. */
58186 if ac_fn_c_try_link "$LINENO"; then :
58187 glibcxx_shared_libgcc=yes
58189 rm -f core conftest.err conftest.$ac_objext \
58190 conftest$ac_exeext conftest.$ac_ext
58191 CFLAGS="$ac_save_CFLAGS"
58194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
58195 $as_echo "$glibcxx_shared_libgcc" >&6; }
58197 # For GNU ld, we need at least this version. The format is described in
58198 # GLIBCXX_CHECK_LINKER_FEATURES above.
58199 glibcxx_min_gnu_ld_version=21400
58201 # If no shared libgcc, can't win.
58202 if test $glibcxx_shared_libgcc != yes; then
58203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
58204 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
58205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
58206 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
58207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58208 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58210 elif test $with_gnu_ld != yes ; then
58211 # just fail for now
58212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
58213 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
58214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
58215 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
58216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58217 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58219 elif test $glibcxx_ld_is_gold = yes ; then
58220 : All versions of gold support symbol versioning.
58221 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
58222 # The right tools, the right setup, but too old. Fallbacks?
58223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
58224 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
58225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
58226 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
58227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
58228 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
58229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
58230 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
58231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58232 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58237 # Everything parsed; figure out what file to use.
58238 case $enable_symvers in
58240 SYMVER_FILE=config/abi/pre/none.ver
58243 SYMVER_FILE=config/abi/pre/gnu.ver
58245 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
58248 gnu-versioned-namespace)
58249 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
58251 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
58255 SYMVER_FILE=config/abi/pre/gnu.ver
58257 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
58262 if test x$enable_symvers != xno ; then
58264 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
58268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
58269 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
58270 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
58271 $as_echo_n "(cached) " >&6
58274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58275 /* end confdefs.h. */
58276 void foo (void); __asm (".symver foo, bar@SYMVER");
58285 if ac_fn_c_try_compile "$LINENO"; then :
58286 glibcxx_cv_have_as_symver_directive=yes
58288 glibcxx_cv_have_as_symver_directive=no
58290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
58293 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
58294 if test $glibcxx_cv_have_as_symver_directive = yes; then
58296 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
58306 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
58307 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
58309 # Now, set up compatibility support, if any.
58310 # In addition, need this to deal with std::size_t mangling in
58311 # src/compatibility.cc. In a perfect world, could use
58312 # typeid(std::size_t).name()[0] to do direct substitution.
58313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
58314 $as_echo_n "checking for size_t as unsigned int... " >&6; }
58315 ac_save_CFLAGS="$CFLAGS"
58317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58318 /* end confdefs.h. */
58323 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
58328 if ac_fn_c_try_compile "$LINENO"; then :
58329 glibcxx_size_t_is_i=yes
58331 glibcxx_size_t_is_i=no
58333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58334 CFLAGS=$ac_save_CFLAGS
58335 if test "$glibcxx_size_t_is_i" = yes; then
58337 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
58340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
58341 $as_echo "$glibcxx_size_t_is_i" >&6; }
58343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
58344 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
58345 ac_save_CFLAGS="$CFLAGS"
58347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58348 /* end confdefs.h. */
58353 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
58358 if ac_fn_c_try_compile "$LINENO"; then :
58359 glibcxx_ptrdiff_t_is_i=yes
58361 glibcxx_ptrdiff_t_is_i=no
58363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58364 CFLAGS=$ac_save_CFLAGS
58365 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
58367 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
58370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
58371 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
58374 # Check whether --enable-visibility was given.
58375 if test "${enable_visibility+set}" = set; then :
58376 enableval=$enable_visibility;
58377 case "$enableval" in
58379 *) as_fn_error "Argument to enable/disable visibility must be yes or no" "$LINENO" 5 ;;
58383 enable_visibility=yes
58388 if test x$enable_visibility = xyes ; then
58389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
58390 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
58391 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
58392 $as_echo_n "(cached) " >&6
58395 save_CFLAGS="$CFLAGS"
58396 CFLAGS="$CFLAGS -Werror"
58397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58398 /* end confdefs.h. */
58399 void __attribute__((visibility("hidden"))) foo(void) { }
58408 if ac_fn_c_try_compile "$LINENO"; then :
58409 glibcxx_cv_have_attribute_visibility=yes
58411 glibcxx_cv_have_attribute_visibility=no
58413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58414 CFLAGS="$save_CFLAGS"
58416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
58417 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
58418 if test $glibcxx_cv_have_attribute_visibility = no; then
58419 enable_visibility=no
58424 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_visibility" >&5
58425 $as_echo "$as_me: visibility supported: $enable_visibility" >&6;}
58430 powerpc*-*-linux* | \
58431 powerpc*-*-gnu* | \
58432 sparc*-*-linux* | \
58435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58436 /* end confdefs.h. */
58442 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
58443 #error no need for long double compatibility
58450 if ac_fn_c_try_compile "$LINENO"; then :
58455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58456 if test "$ac_ldbl_compat" = yes; then
58458 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
58460 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
58465 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
58467 if $GLIBCXX_IS_NATIVE ; then
58468 # Do checks for resource limit functions.
58470 setrlimit_have_headers=yes
58471 for ac_header in unistd.h sys/time.h sys/resource.h
58473 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
58474 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
58475 eval as_val=\$$as_ac_Header
58476 if test "x$as_val" = x""yes; then :
58477 cat >>confdefs.h <<_ACEOF
58478 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
58482 setrlimit_have_headers=no
58487 # If don't have the headers, then we can't run the tests now, and we
58488 # won't be seeing any of these during testsuite compilation.
58489 if test $setrlimit_have_headers = yes; then
58490 # Can't do these in a loop, else the resulting syntax is wrong.
58492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
58493 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
58494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58495 /* end confdefs.h. */
58496 #include <unistd.h>
58497 #include <sys/time.h>
58498 #include <sys/resource.h>
58503 int f = RLIMIT_DATA ;
58508 if ac_fn_c_try_compile "$LINENO"; then :
58513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58515 cat >>confdefs.h <<_ACEOF
58516 #define HAVE_LIMIT_DATA $glibcxx_mresult
58519 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58521 $as_echo "$res" >&6; }
58524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
58525 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
58526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58527 /* end confdefs.h. */
58528 #include <unistd.h>
58529 #include <sys/time.h>
58530 #include <sys/resource.h>
58535 int f = RLIMIT_RSS ;
58540 if ac_fn_c_try_compile "$LINENO"; then :
58545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58547 cat >>confdefs.h <<_ACEOF
58548 #define HAVE_LIMIT_RSS $glibcxx_mresult
58551 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58553 $as_echo "$res" >&6; }
58556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
58557 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
58558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58559 /* end confdefs.h. */
58560 #include <unistd.h>
58561 #include <sys/time.h>
58562 #include <sys/resource.h>
58567 int f = RLIMIT_VMEM ;
58572 if ac_fn_c_try_compile "$LINENO"; then :
58577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58579 cat >>confdefs.h <<_ACEOF
58580 #define HAVE_LIMIT_VMEM $glibcxx_mresult
58583 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58585 $as_echo "$res" >&6; }
58588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
58589 $as_echo_n "checking for RLIMIT_AS... " >&6; }
58590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58591 /* end confdefs.h. */
58592 #include <unistd.h>
58593 #include <sys/time.h>
58594 #include <sys/resource.h>
58599 int f = RLIMIT_AS ;
58604 if ac_fn_c_try_compile "$LINENO"; then :
58609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58611 cat >>confdefs.h <<_ACEOF
58612 #define HAVE_LIMIT_AS $glibcxx_mresult
58615 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58617 $as_echo "$res" >&6; }
58620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
58621 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
58622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58623 /* end confdefs.h. */
58624 #include <unistd.h>
58625 #include <sys/time.h>
58626 #include <sys/resource.h>
58631 int f = RLIMIT_FSIZE ;
58636 if ac_fn_c_try_compile "$LINENO"; then :
58641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58643 cat >>confdefs.h <<_ACEOF
58644 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
58647 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58649 $as_echo "$res" >&6; }
58652 # Check for rlimit, setrlimit.
58653 if test "${glibcxx_cv_setrlimit+set}" = set; then :
58654 $as_echo_n "(cached) " >&6
58657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58658 /* end confdefs.h. */
58659 #include <unistd.h>
58660 #include <sys/time.h>
58661 #include <sys/resource.h>
58672 if ac_fn_c_try_compile "$LINENO"; then :
58673 glibcxx_cv_setrlimit=yes
58675 glibcxx_cv_setrlimit=no
58677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
58684 $as_echo_n "checking for testsuite resource limits support... " >&6; }
58685 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
58688 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
58693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
58694 $as_echo "$ac_res_limits" >&6; }
58697 # Look for setenv, so that extended locale tests can be performed.
58699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
58700 $as_echo_n "checking for setenv declaration... " >&6; }
58701 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
58702 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
58703 $as_echo_n "(cached) " >&6
58708 ac_cpp='$CXXCPP $CPPFLAGS'
58709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58714 /* end confdefs.h. */
58715 #include <stdlib.h>
58724 if ac_fn_cxx_try_compile "$LINENO"; then :
58725 glibcxx_cv_func_setenv_use=yes
58727 glibcxx_cv_func_setenv_use=no
58729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58731 ac_cpp='$CPP $CPPFLAGS'
58732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
58741 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
58742 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
58743 for ac_func in setenv
58745 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
58746 if test "x$ac_cv_func_setenv" = x""yes; then :
58747 cat >>confdefs.h <<_ACEOF
58748 #define HAVE_SETENV 1
58758 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
58759 test $enable_symvers != no; then
58762 enable_abi_check=no ;;
58764 enable_abi_check=yes ;;
58767 # Only build this as native, since automake does not understand
58769 enable_abi_check=no
58772 # Export file names for ABI checking.
58773 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
58777 # Propagate the target-specific source directories through the build chain.
58778 ATOMICITY_SRCDIR=config/${atomicity_dir}
58779 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
58780 ATOMIC_FLAGS=${atomic_flags}
58781 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
58782 OS_INC_SRCDIR=config/${os_include_dir}
58783 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
58784 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
58794 # Determine cross-compile flags and AM_CONDITIONALs.
58795 #AC_SUBST(GLIBCXX_IS_NATIVE)
58796 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
58797 if test $is_hosted = yes; then
58798 GLIBCXX_HOSTED_TRUE=
58799 GLIBCXX_HOSTED_FALSE='#'
58801 GLIBCXX_HOSTED_TRUE='#'
58802 GLIBCXX_HOSTED_FALSE=
58806 if test $enable_libstdcxx_pch = yes; then
58807 GLIBCXX_BUILD_PCH_TRUE=
58808 GLIBCXX_BUILD_PCH_FALSE='#'
58810 GLIBCXX_BUILD_PCH_TRUE='#'
58811 GLIBCXX_BUILD_PCH_FALSE=
58815 if test $enable_cheaders = c; then
58816 GLIBCXX_C_HEADERS_C_TRUE=
58817 GLIBCXX_C_HEADERS_C_FALSE='#'
58819 GLIBCXX_C_HEADERS_C_TRUE='#'
58820 GLIBCXX_C_HEADERS_C_FALSE=
58824 if test $enable_cheaders = c_std; then
58825 GLIBCXX_C_HEADERS_C_STD_TRUE=
58826 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
58828 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
58829 GLIBCXX_C_HEADERS_C_STD_FALSE=
58833 if test $enable_cheaders = c_global; then
58834 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
58835 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
58837 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
58838 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
58842 if test $c_compatibility = yes; then
58843 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
58844 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
58846 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
58847 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
58851 if test $c_extra = yes; then
58852 GLIBCXX_C_HEADERS_EXTRA_TRUE=
58853 GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
58855 GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
58856 GLIBCXX_C_HEADERS_EXTRA_FALSE=
58860 if test $enable_libstdcxx_debug = yes; then
58861 GLIBCXX_BUILD_DEBUG_TRUE=
58862 GLIBCXX_BUILD_DEBUG_FALSE='#'
58864 GLIBCXX_BUILD_DEBUG_TRUE='#'
58865 GLIBCXX_BUILD_DEBUG_FALSE=
58869 if test $enable_parallel = yes; then
58870 ENABLE_PARALLEL_TRUE=
58871 ENABLE_PARALLEL_FALSE='#'
58873 ENABLE_PARALLEL_TRUE='#'
58874 ENABLE_PARALLEL_FALSE=
58878 if test $enable_symvers != no; then
58879 ENABLE_SYMVERS_TRUE=
58880 ENABLE_SYMVERS_FALSE='#'
58882 ENABLE_SYMVERS_TRUE='#'
58883 ENABLE_SYMVERS_FALSE=
58887 if test $enable_symvers = gnu; then
58888 ENABLE_SYMVERS_GNU_TRUE=
58889 ENABLE_SYMVERS_GNU_FALSE='#'
58891 ENABLE_SYMVERS_GNU_TRUE='#'
58892 ENABLE_SYMVERS_GNU_FALSE=
58896 if test $enable_symvers = gnu-versioned-namespace; then
58897 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
58898 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
58900 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
58901 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
58905 if test $enable_symvers = darwin; then
58906 ENABLE_SYMVERS_DARWIN_TRUE=
58907 ENABLE_SYMVERS_DARWIN_FALSE='#'
58909 ENABLE_SYMVERS_DARWIN_TRUE='#'
58910 ENABLE_SYMVERS_DARWIN_FALSE=
58914 if test $enable_visibility = yes; then
58915 ENABLE_VISIBILITY_TRUE=
58916 ENABLE_VISIBILITY_FALSE='#'
58918 ENABLE_VISIBILITY_TRUE='#'
58919 ENABLE_VISIBILITY_FALSE=
58923 if test $ac_ldbl_compat = yes; then
58924 GLIBCXX_LDBL_COMPAT_TRUE=
58925 GLIBCXX_LDBL_COMPAT_FALSE='#'
58927 GLIBCXX_LDBL_COMPAT_TRUE='#'
58928 GLIBCXX_LDBL_COMPAT_FALSE=
58934 cat >confcache <<\_ACEOF
58935 # This file is a shell script that caches the results of configure
58936 # tests run on this system so they can be shared between configure
58937 # scripts and configure runs, see configure's option --config-cache.
58938 # It is not useful on other systems. If it contains results you don't
58939 # want to keep, you may remove or edit it.
58941 # config.status only pays attention to the cache file if you give it
58942 # the --recheck option to rerun configure.
58944 # `ac_cv_env_foo' variables (set or unset) will be overridden when
58945 # loading this file, other *unset* `ac_cv_foo' will be assigned the
58946 # following values.
58950 # The following way of writing the cache mishandles newlines in values,
58951 # but we know of no workaround that is simple, portable, and efficient.
58952 # So, we kill variables containing newlines.
58953 # Ultrix sh set writes to stderr and can't be redirected directly,
58954 # and sets the high bit in the cache file unless we assign to the vars.
58956 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
58957 eval ac_val=\$$ac_var
58961 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
58962 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
58965 _ | IFS | as_nl) ;; #(
58966 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
58967 *) { eval $ac_var=; unset $ac_var;} ;;
58973 case $as_nl`(ac_space=' '; set) 2>&1` in #(
58974 *${as_nl}ac_space=\ *)
58975 # `set' does not quote correctly, so add quotes: double-quote
58976 # substitution turns \\\\ into \\, and sed turns \\ into \.
58979 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
58982 # `set' quotes correctly as required by POSIX, so do not add quotes.
58983 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
58992 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
58994 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
58996 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
58997 if test -w "$cache_file"; then
58998 test "x$cache_file" != "x/dev/null" &&
58999 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
59000 $as_echo "$as_me: updating cache $cache_file" >&6;}
59001 cat confcache >$cache_file
59003 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
59004 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
59009 if test ${multilib} = yes; then
59010 multilib_arg="--enable-multilib"
59015 # Export all the install information.
59017 glibcxx_toolexecdir=no
59018 glibcxx_toolexeclibdir=no
59019 glibcxx_prefixdir=$prefix
59021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
59022 $as_echo_n "checking for gxx-include-dir... " >&6; }
59024 # Check whether --with-gxx-include-dir was given.
59025 if test "${with_gxx_include_dir+set}" = set; then :
59026 withval=$with_gxx_include_dir; case "$withval" in
59027 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
59028 no) gxx_include_dir=no ;;
59029 *) gxx_include_dir=$withval ;;
59035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
59036 $as_echo "$gxx_include_dir" >&6; }
59038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
59039 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
59040 # Check whether --enable-version-specific-runtime-libs was given.
59041 if test "${enable_version_specific_runtime_libs+set}" = set; then :
59042 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
59043 yes) version_specific_libs=yes ;;
59044 no) version_specific_libs=no ;;
59045 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
59048 version_specific_libs=no
59051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
59052 $as_echo "$version_specific_libs" >&6; }
59054 # Default case for install directory for include files.
59055 if test $version_specific_libs = no && test $gxx_include_dir = no; then
59056 gxx_include_dir='include/c++/${gcc_version}'
59057 if test -n "$with_cross_host" &&
59058 test x"$with_cross_host" != x"no"; then
59059 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
59061 gxx_include_dir='${prefix}/'"$gxx_include_dir"
59065 # Version-specific runtime libs processing.
59066 if test $version_specific_libs = yes; then
59067 # Need the gcc compiler version to know where to install libraries
59068 # and header files if --enable-version-specific-runtime-libs option
59069 # is selected. FIXME: these variables are misnamed, there are
59070 # no executables installed in _toolexecdir or _toolexeclibdir.
59071 if test x"$gxx_include_dir" = x"no"; then
59072 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
59074 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
59075 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
59078 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
59079 # Install a library built with a cross compiler in tooldir, not libdir.
59080 if test x"$glibcxx_toolexecdir" = x"no"; then
59081 if test -n "$with_cross_host" &&
59082 test x"$with_cross_host" != x"no"; then
59083 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
59084 glibcxx_toolexeclibdir='${toolexecdir}/lib'
59086 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
59087 glibcxx_toolexeclibdir='${libdir}'
59089 multi_os_directory=`$CXX -print-multi-os-directory`
59090 case $multi_os_directory in
59091 .) ;; # Avoid trailing /.
59092 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
59096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
59097 $as_echo_n "checking for install location... " >&6; }
59098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
59099 $as_echo "$gxx_include_dir" >&6; }
59107 # Export all the include and flag information to Makefiles.
59109 # Used for every C++ compile we perform.
59110 GLIBCXX_INCLUDES="\
59111 -I$glibcxx_builddir/include/$host_alias \
59112 -I$glibcxx_builddir/include \
59113 -I$glibcxx_srcdir/libsupc++"
59115 # For Canadian crosses, pick this up too.
59116 if test $CANADIAN = yes; then
59117 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
59120 # Stuff in the actual top level. Currently only used by libsupc++ to
59121 # get unwind* headers from the gcc dir.
59122 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
59123 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
59125 # Now, export this to all the little Makefiles....
59130 # Optimization flags that are probably a good idea for thrill-seekers. Just
59131 # uncomment the lines below and make, everything else is ready to go...
59132 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
59133 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
59136 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
59140 if test "$enable_shared" = yes; then
59141 LIBSUPCXX_PICFLAGS="-prefer-pic"
59143 LIBSUPCXX_PICFLAGS=
59147 ac_config_files="$ac_config_files Makefile"
59149 ac_config_files="$ac_config_files scripts/testsuite_flags"
59152 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
59153 # that multilib installs will end up installed in the correct place.
59154 # The testsuite needs it for multilib-aware ABI baseline files.
59155 # To work around this not being passed down from config-ml.in ->
59156 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
59157 # append it here. Only modify Makefiles that have just been created.
59159 # Also, get rid of this simulated-VPATH thing that automake does.
59160 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
59163 ac_config_commands="$ac_config_commands generate-headers"
59166 cat >confcache <<\_ACEOF
59167 # This file is a shell script that caches the results of configure
59168 # tests run on this system so they can be shared between configure
59169 # scripts and configure runs, see configure's option --config-cache.
59170 # It is not useful on other systems. If it contains results you don't
59171 # want to keep, you may remove or edit it.
59173 # config.status only pays attention to the cache file if you give it
59174 # the --recheck option to rerun configure.
59176 # `ac_cv_env_foo' variables (set or unset) will be overridden when
59177 # loading this file, other *unset* `ac_cv_foo' will be assigned the
59178 # following values.
59182 # The following way of writing the cache mishandles newlines in values,
59183 # but we know of no workaround that is simple, portable, and efficient.
59184 # So, we kill variables containing newlines.
59185 # Ultrix sh set writes to stderr and can't be redirected directly,
59186 # and sets the high bit in the cache file unless we assign to the vars.
59188 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
59189 eval ac_val=\$$ac_var
59193 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
59194 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
59197 _ | IFS | as_nl) ;; #(
59198 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
59199 *) { eval $ac_var=; unset $ac_var;} ;;
59205 case $as_nl`(ac_space=' '; set) 2>&1` in #(
59206 *${as_nl}ac_space=\ *)
59207 # `set' does not quote correctly, so add quotes: double-quote
59208 # substitution turns \\\\ into \\, and sed turns \\ into \.
59211 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
59214 # `set' quotes correctly as required by POSIX, so do not add quotes.
59215 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
59224 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
59226 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
59228 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
59229 if test -w "$cache_file"; then
59230 test "x$cache_file" != "x/dev/null" &&
59231 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
59232 $as_echo "$as_me: updating cache $cache_file" >&6;}
59233 cat confcache >$cache_file
59235 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
59236 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
59241 test "x$prefix" = xNONE && prefix=$ac_default_prefix
59242 # Let make expand exec_prefix.
59243 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
59245 DEFS=-DHAVE_CONFIG_H
59249 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
59250 # 1. Remove the extension, and $U if already installed.
59251 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
59252 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
59253 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
59254 # will be set to the directory where LIBOBJS objects are built.
59255 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
59256 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
59258 LIBOBJS=$ac_libobjs
59260 LTLIBOBJS=$ac_ltlibobjs
59263 if test -n "$EXEEXT"; then
59265 am__EXEEXT_FALSE='#'
59267 am__EXEEXT_TRUE='#'
59271 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
59272 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
59273 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59275 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
59276 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
59277 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59279 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
59280 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
59281 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59283 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
59284 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
59285 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59287 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
59288 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
59289 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59291 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
59292 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
59293 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59295 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
59296 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
59297 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59299 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
59300 as_fn_error "conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
59301 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59303 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
59304 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
59305 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59307 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
59308 as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
59309 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59311 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
59312 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
59313 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59315 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
59316 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
59317 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59319 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
59320 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
59321 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59323 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
59324 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
59325 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59327 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
59328 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
59329 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59331 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
59332 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
59333 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59336 : ${CONFIG_STATUS=./config.status}
59338 ac_clean_files_save=$ac_clean_files
59339 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
59340 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
59341 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
59343 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
59345 # Generated by $as_me.
59346 # Run this file to recreate the current configuration.
59347 # Compiler output produced by configure, useful for debugging
59348 # configure, is in config.log if it exists.
59351 ac_cs_recheck=false
59354 SHELL=\${CONFIG_SHELL-$SHELL}
59357 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
59358 ## -------------------- ##
59359 ## M4sh Initialization. ##
59360 ## -------------------- ##
59362 # Be more Bourne compatible
59363 DUALCASE=1; export DUALCASE # for MKS sh
59364 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
59367 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
59368 # is contrary to our usage. Disable this feature.
59369 alias -g '${1+"$@"}'='"$@"'
59370 setopt NO_GLOB_SUBST
59372 case `(set -o) 2>/dev/null` in #(
59384 # Printing a long string crashes Solaris 7 /usr/bin/printf.
59385 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
59386 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
59387 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
59388 # Prefer a ksh shell builtin over an external printf program on Solaris,
59389 # but without wasting forks for bash or zsh.
59390 if test -z "$BASH_VERSION$ZSH_VERSION" \
59391 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
59392 as_echo='print -r --'
59393 as_echo_n='print -rn --'
59394 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
59395 as_echo='printf %s\n'
59396 as_echo_n='printf %s'
59398 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
59399 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
59400 as_echo_n='/usr/ucb/echo -n'
59402 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
59403 as_echo_n_body='eval
59407 expr "X$arg" : "X\\(.*\\)$as_nl";
59408 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
59410 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
59412 export as_echo_n_body
59413 as_echo_n='sh -c $as_echo_n_body as_echo'
59415 export as_echo_body
59416 as_echo='sh -c $as_echo_body as_echo'
59419 # The user is always right.
59420 if test "${PATH_SEPARATOR+set}" != set; then
59422 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
59423 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
59430 # We need space, tab and new line, in precisely that order. Quoting is
59431 # there to prevent editors from complaining about space-tab.
59432 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
59433 # splitting by setting IFS to empty value.)
59436 # Find who we are. Look in the path if we contain no directory separator.
59438 *[\\/]* ) as_myself=$0 ;;
59439 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
59440 for as_dir in $PATH
59443 test -z "$as_dir" && as_dir=.
59444 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
59450 # We did not find ourselves, most probably we were run as `sh COMMAND'
59451 # in which case we are not to be found in the path.
59452 if test "x$as_myself" = x; then
59455 if test ! -f "$as_myself"; then
59456 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
59460 # Unset variables that we do not need and which cause bugs (e.g. in
59461 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
59462 # suppresses any "Segmentation fault" message there. '((' could
59463 # trigger a bug in pdksh 5.2.14.
59464 for as_var in BASH_ENV ENV MAIL MAILPATH
59465 do eval test x\${$as_var+set} = xset \
59466 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
59479 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
59482 # as_fn_error ERROR [LINENO LOG_FD]
59483 # ---------------------------------
59484 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
59485 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
59486 # script with status $?, using 1 if that was 0.
59489 as_status=$?; test $as_status -eq 0 && as_status=1
59491 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
59492 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
59494 $as_echo "$as_me: error: $1" >&2
59495 as_fn_exit $as_status
59499 # as_fn_set_status STATUS
59500 # -----------------------
59501 # Set $? to STATUS, without forking.
59502 as_fn_set_status ()
59505 } # as_fn_set_status
59507 # as_fn_exit STATUS
59508 # -----------------
59509 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
59513 as_fn_set_status $1
59519 # Portably unset VAR.
59522 { eval $1=; unset $1;}
59524 as_unset=as_fn_unset
59525 # as_fn_append VAR VALUE
59526 # ----------------------
59527 # Append the text in VALUE to the end of the definition contained in VAR. Take
59528 # advantage of any shell optimizations that allow amortized linear growth over
59529 # repeated appends, instead of the typical quadratic growth present in naive
59531 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
59532 eval 'as_fn_append ()
59543 # as_fn_arith ARG...
59544 # ------------------
59545 # Perform arithmetic evaluation on the ARGs, and store the result in the
59546 # global $as_val. Take advantage of shells that can avoid forks. The arguments
59547 # must be portable across $(()) and expr.
59548 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
59549 eval 'as_fn_arith ()
59556 as_val=`expr "$@" || test $? -eq 1`
59561 if expr a : '\(a\)' >/dev/null 2>&1 &&
59562 test "X`expr 00001 : '.*\(...\)'`" = X001; then
59568 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
59569 as_basename=basename
59574 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
59580 as_me=`$as_basename -- "$0" ||
59581 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
59582 X"$0" : 'X\(//\)$' \| \
59583 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
59585 sed '/^.*\/\([^/][^/]*\)\/*$/{
59599 # Avoid depending upon Character Ranges.
59600 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
59601 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
59602 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
59603 as_cr_digits='0123456789'
59604 as_cr_alnum=$as_cr_Letters$as_cr_digits
59606 ECHO_C= ECHO_N= ECHO_T=
59607 case `echo -n x` in #(((((
59609 case `echo 'xy\c'` in
59610 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
59612 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
59619 rm -f conf$$ conf$$.exe conf$$.file
59620 if test -d conf$$.dir; then
59621 rm -f conf$$.dir/conf$$.file
59624 mkdir conf$$.dir 2>/dev/null
59626 if (echo >conf$$.file) 2>/dev/null; then
59627 if ln -s conf$$.file conf$$ 2>/dev/null; then
59629 # ... but there are two gotchas:
59630 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
59631 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
59632 # In both cases, we have to default to `cp -p'.
59633 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
59635 elif ln conf$$.file conf$$ 2>/dev/null; then
59643 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
59644 rmdir conf$$.dir 2>/dev/null
59649 # Create "$as_dir" as a directory, including parents if necessary.
59654 -*) as_dir=./$as_dir;;
59656 test -d "$as_dir" || eval $as_mkdir_p || {
59660 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
59661 *) as_qdir=$as_dir;;
59663 as_dirs="'$as_qdir' $as_dirs"
59664 as_dir=`$as_dirname -- "$as_dir" ||
59665 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
59666 X"$as_dir" : 'X\(//\)[^/]' \| \
59667 X"$as_dir" : 'X\(//\)$' \| \
59668 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
59669 $as_echo X"$as_dir" |
59670 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
59674 /^X\(\/\/\)[^/].*/{
59687 test -d "$as_dir" && break
59689 test -z "$as_dirs" || eval "mkdir $as_dirs"
59690 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
59694 if mkdir -p . 2>/dev/null; then
59695 as_mkdir_p='mkdir -p "$as_dir"'
59697 test -d ./-p && rmdir ./-p
59701 if test -x / >/dev/null 2>&1; then
59702 as_test_x='test -x'
59704 if ls -dL / >/dev/null 2>&1; then
59711 if test -d "$1"; then
59717 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
59718 ???[sx]*):;;*)false;;esac;fi
59722 as_executable_p=$as_test_x
59724 # Sed expression to map a string onto a valid CPP name.
59725 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
59727 # Sed expression to map a string onto a valid variable name.
59728 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
59732 ## ----------------------------------- ##
59733 ## Main body of $CONFIG_STATUS script. ##
59734 ## ----------------------------------- ##
59736 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
59738 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59739 # Save the log message, to keep $0 and so on meaningful, and to
59740 # report actual input values of CONFIG_FILES etc. instead of their
59741 # values after options handling.
59743 This file was extended by package-unused $as_me version-unused, which was
59744 generated by GNU Autoconf 2.64. Invocation command line was
59746 CONFIG_FILES = $CONFIG_FILES
59747 CONFIG_HEADERS = $CONFIG_HEADERS
59748 CONFIG_LINKS = $CONFIG_LINKS
59749 CONFIG_COMMANDS = $CONFIG_COMMANDS
59752 on `(hostname || uname -n) 2>/dev/null | sed 1q`
59757 case $ac_config_files in *"
59758 "*) set x $ac_config_files; shift; ac_config_files=$*;;
59761 case $ac_config_headers in *"
59762 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
59766 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59767 # Files that config.status was made for.
59768 config_files="$ac_config_files"
59769 config_headers="$ac_config_headers"
59770 config_commands="$ac_config_commands"
59774 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59776 \`$as_me' instantiates files and other configuration actions
59777 from templates according to the current configuration. Unless the files
59778 and actions are specified as TAGs, all are instantiated by default.
59780 Usage: $0 [OPTION]... [TAG]...
59782 -h, --help print this help, then exit
59783 -V, --version print version number and configuration settings, then exit
59784 -q, --quiet, --silent
59785 do not print progress messages
59786 -d, --debug don't remove temporary files
59787 --recheck update $as_me by reconfiguring in the same conditions
59788 --file=FILE[:TEMPLATE]
59789 instantiate the configuration file FILE
59790 --header=FILE[:TEMPLATE]
59791 instantiate the configuration header FILE
59793 Configuration files:
59796 Configuration headers:
59799 Configuration commands:
59802 Report bugs to the package provider."
59805 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59807 package-unused config.status version-unused
59808 configured by $0, generated by GNU Autoconf 2.64,
59809 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
59811 Copyright (C) 2009 Free Software Foundation, Inc.
59812 This config.status script is free software; the Free Software Foundation
59813 gives unlimited permission to copy, distribute and modify it."
59820 test -n "\$AWK" || AWK=awk
59823 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59824 # The default lists apply if the user does not specify any file.
59830 ac_option=`expr "X$1" : 'X\([^=]*\)='`
59831 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
59842 # Handling of the options.
59843 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
59845 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
59846 $as_echo "$ac_cs_version"; exit ;;
59847 --debug | --debu | --deb | --de | --d | -d )
59849 --file | --fil | --fi | --f )
59852 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
59854 as_fn_append CONFIG_FILES " '$ac_optarg'"
59855 ac_need_defaults=false;;
59856 --header | --heade | --head | --hea )
59859 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
59861 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
59862 ac_need_defaults=false;;
59864 # Conflict between --help and --header
59865 as_fn_error "ambiguous option: \`$1'
59866 Try \`$0 --help' for more information.";;
59867 --help | --hel | -h )
59868 $as_echo "$ac_cs_usage"; exit ;;
59869 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
59870 | -silent | --silent | --silen | --sile | --sil | --si | --s)
59873 # This is an error.
59874 -*) as_fn_error "unrecognized option: \`$1'
59875 Try \`$0 --help' for more information." ;;
59877 *) as_fn_append ac_config_targets " $1"
59878 ac_need_defaults=false ;;
59884 ac_configure_extra_args=
59886 if $ac_cs_silent; then
59888 ac_configure_extra_args="$ac_configure_extra_args --silent"
59892 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59893 if \$ac_cs_recheck; then
59894 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
59896 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
59897 CONFIG_SHELL='$SHELL'
59898 export CONFIG_SHELL
59903 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59907 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
59908 ## Running $as_me. ##
59914 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59922 with_multisubdir="$with_multisubdir"
59923 with_multisrctop="$with_multisrctop"
59924 with_target_subdir="$with_target_subdir"
59925 ac_configure_args="${multilib_arg} ${ac_configure_args}"
59926 multi_basedir="$multi_basedir"
59927 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
59930 GFORTRAN="$GFORTRAN"
59934 # The HP-UX ksh and POSIX shell print the target directory to stdout
59935 # if CDPATH is set.
59936 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
59938 sed_quote_subst='$sed_quote_subst'
59939 double_quote_subst='$double_quote_subst'
59940 delay_variable_subst='$delay_variable_subst'
59941 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
59942 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
59943 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
59944 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
59945 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
59946 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
59947 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
59948 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
59949 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
59950 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
59951 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
59952 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
59953 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
59954 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
59955 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
59956 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
59957 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
59958 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
59959 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
59960 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
59961 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
59962 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
59963 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
59964 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
59965 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
59966 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
59967 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
59968 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
59969 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
59970 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
59971 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
59972 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
59973 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
59974 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
59975 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
59976 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
59977 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
59978 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
59979 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
59980 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
59981 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
59982 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
59983 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
59984 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
59985 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
59986 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
59987 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
59988 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
59989 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"`'
59990 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
59991 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
59992 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
59993 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
59994 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
59995 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
59996 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
59997 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
59998 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
59999 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
60000 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
60001 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
60002 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
60003 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
60004 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
60005 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
60006 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
60007 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
60008 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
60009 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
60010 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
60011 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
60012 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
60013 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
60014 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
60015 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
60016 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
60017 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
60018 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
60019 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
60020 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
60021 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
60022 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
60023 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
60024 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
60025 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
60026 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
60027 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
60028 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
60029 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
60030 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
60031 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
60032 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
60033 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
60034 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
60035 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
60036 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
60037 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
60038 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
60039 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
60040 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
60041 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
60042 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
60043 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
60044 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
60045 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
60046 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
60047 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
60048 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
60049 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
60050 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
60051 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
60052 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
60053 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
60054 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
60055 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
60056 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
60057 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
60058 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
60059 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
60060 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
60061 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
60062 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
60063 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
60064 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
60065 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
60066 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
60067 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
60068 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
60069 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60070 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60071 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
60072 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
60073 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
60074 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
60075 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
60076 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
60077 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
60078 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
60079 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
60080 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
60081 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
60082 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
60083 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60084 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60085 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60086 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60087 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60088 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60089 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
60090 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
60091 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
60092 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
60093 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
60094 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
60095 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
60096 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
60097 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
60098 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
60099 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
60100 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
60101 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
60102 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
60103 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
60104 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60105 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
60106 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
60107 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60108 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
60109 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
60110 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
60111 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
60112 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
60113 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
60114 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
60115 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
60118 LTCFLAGS='$LTCFLAGS'
60119 compiler='$compiler_DEFAULT'
60121 # A function that is used when there is no print builtin or printf.
60122 func_fallback_echo ()
60124 eval 'cat <<_LTECHO_EOF
60129 # Quote evaled strings.
60143 deplibs_check_method \
60152 lt_cv_sys_global_symbol_pipe \
60153 lt_cv_sys_global_symbol_to_cdecl \
60154 lt_cv_sys_global_symbol_to_c_name_address \
60155 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
60156 lt_prog_compiler_no_builtin_flag \
60157 lt_prog_compiler_wl \
60158 lt_prog_compiler_pic \
60159 lt_prog_compiler_static \
60160 lt_cv_prog_compiler_c_o \
60168 export_dynamic_flag_spec \
60169 whole_archive_flag_spec \
60170 compiler_needs_object \
60172 allow_undefined_flag \
60173 no_undefined_flag \
60174 hardcode_libdir_flag_spec \
60175 hardcode_libdir_flag_spec_ld \
60176 hardcode_libdir_separator \
60181 variables_saved_for_relink \
60183 library_names_spec \
60185 install_override_mode \
60189 compiler_lib_search_dirs \
60194 compiler_lib_search_path \
60198 lt_prog_compiler_no_builtin_flag_CXX \
60199 lt_prog_compiler_wl_CXX \
60200 lt_prog_compiler_pic_CXX \
60201 lt_prog_compiler_static_CXX \
60202 lt_cv_prog_compiler_c_o_CXX \
60203 export_dynamic_flag_spec_CXX \
60204 whole_archive_flag_spec_CXX \
60205 compiler_needs_object_CXX \
60207 allow_undefined_flag_CXX \
60208 no_undefined_flag_CXX \
60209 hardcode_libdir_flag_spec_CXX \
60210 hardcode_libdir_flag_spec_ld_CXX \
60211 hardcode_libdir_separator_CXX \
60212 fix_srcfile_path_CXX \
60213 exclude_expsyms_CXX \
60214 include_expsyms_CXX \
60215 file_list_spec_CXX \
60216 compiler_lib_search_dirs_CXX \
60217 predep_objects_CXX \
60218 postdep_objects_CXX \
60221 compiler_lib_search_path_CXX; do
60222 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
60223 *[\\\\\\\`\\"\\\$]*)
60224 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
60227 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
60232 # Double-quote double-evaled strings.
60233 for var in reload_cmds \
60234 old_postinstall_cmds \
60235 old_postuninstall_cmds \
60237 extract_expsyms_cmds \
60238 old_archive_from_new_cmds \
60239 old_archive_from_expsyms_cmds \
60241 archive_expsym_cmds \
60243 module_expsym_cmds \
60244 export_symbols_cmds \
60247 postuninstall_cmds \
60249 sys_lib_search_path_spec \
60250 sys_lib_dlsearch_path_spec \
60252 old_archive_cmds_CXX \
60253 old_archive_from_new_cmds_CXX \
60254 old_archive_from_expsyms_cmds_CXX \
60256 archive_expsym_cmds_CXX \
60258 module_expsym_cmds_CXX \
60259 export_symbols_cmds_CXX \
60260 prelink_cmds_CXX; do
60261 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
60262 *[\\\\\\\`\\"\\\$]*)
60263 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
60266 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
60271 ac_aux_dir='$ac_aux_dir'
60272 xsi_shell='$xsi_shell'
60273 lt_shell_append='$lt_shell_append'
60275 # See if we are running on zsh, and set the options which allow our
60276 # commands through without removal of \ escapes INIT.
60277 if test -n "\${ZSH_VERSION+set}" ; then
60278 setopt NO_GLOB_SUBST
60284 TIMESTAMP='$TIMESTAMP'
60295 acx_cv_header_stdint="$acx_cv_header_stdint"
60296 acx_cv_type_int8_t="$acx_cv_type_int8_t"
60297 acx_cv_type_int16_t="$acx_cv_type_int16_t"
60298 acx_cv_type_int32_t="$acx_cv_type_int32_t"
60299 acx_cv_type_int64_t="$acx_cv_type_int64_t"
60300 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
60301 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
60302 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
60303 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
60304 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
60305 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
60306 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
60307 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
60308 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
60313 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60315 # Handling of arguments.
60316 for ac_config_target in $ac_config_targets
60318 case $ac_config_target in
60319 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
60320 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
60321 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
60322 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
60323 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
60324 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
60325 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
60326 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
60327 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
60328 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
60329 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
60330 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
60331 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
60332 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
60334 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
60339 # If the user did not use the arguments to specify the items to instantiate,
60340 # then the envvar interface is used. Set only those that are not.
60341 # We use the long form for the default assignment because of an extremely
60342 # bizarre bug on SunOS 4.1.3.
60343 if $ac_need_defaults; then
60344 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
60345 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
60346 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
60349 # Have a temporary directory for convenience. Make it in the build tree
60350 # simply because there is no reason against having it here, and in addition,
60351 # creating and moving files from /tmp can sometimes cause problems.
60352 # Hook for its removal unless debugging.
60353 # Note that there is a small window in which the directory will not be cleaned:
60354 # after its creation but before its name has been assigned to `$tmp'.
60358 trap 'exit_status=$?
60359 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
60361 trap 'as_fn_exit 1' 1 2 13 15
60363 # Create a (secure) tmp directory for tmp files.
60366 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
60367 test -n "$tmp" && test -d "$tmp"
60370 tmp=./conf$$-$RANDOM
60371 (umask 077 && mkdir "$tmp")
60372 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
60374 # Set up the scripts for CONFIG_FILES section.
60375 # No need to generate them if there are no CONFIG_FILES.
60376 # This happens for instance with `./config.status config.h'.
60377 if test -n "$CONFIG_FILES"; then
60380 ac_cr=`echo X | tr X '\015'`
60381 # On cygwin, bash can eat \r inside `` if the user requested igncr.
60382 # But we know of no other shell where ac_cr would be empty at this
60383 # point, so we can use a bashism as a fallback.
60384 if test "x$ac_cr" = x; then
60385 eval ac_cr=\$\'\\r\'
60387 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
60388 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
60391 ac_cs_awk_cr=$ac_cr
60394 echo 'BEGIN {' >"$tmp/subs1.awk" &&
60399 echo "cat >conf$$subs.awk <<_ACEOF" &&
60400 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
60402 } >conf$$subs.sh ||
60403 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60404 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
60406 for ac_last_try in false false false false false :; do
60407 . ./conf$$subs.sh ||
60408 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60410 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
60411 if test $ac_delim_n = $ac_delim_num; then
60413 elif $ac_last_try; then
60414 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60416 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
60419 rm -f conf$$subs.sh
60421 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60422 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
60426 s/^/S["/; s/!.*/"]=/
60436 s/\(.\{148\}\).*/\1/
60438 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
60443 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
60450 s/\(.\{148\}\).*/\1/
60452 s/["\\]/\\&/g; s/^/"/; s/$/"/
60456 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
60461 ' <conf$$subs.awk | sed '
60466 ' >>$CONFIG_STATUS || ac_write_fail=1
60467 rm -f conf$$subs.awk
60468 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60470 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
60471 for (key in S) S_is_set[key] = 1
60477 nfields = split(line, field, "@")
60479 len = length(field[1])
60480 for (i = 2; i < nfields; i++) {
60482 keylen = length(key)
60483 if (S_is_set[key]) {
60485 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
60486 len += length(value) + length(field[++i])
60497 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60498 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
60499 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
60502 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
60503 || as_fn_error "could not setup config files machinery" "$LINENO" 5
60506 # VPATH may cause trouble with some makes, so we remove $(srcdir),
60507 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
60508 # trailing colons and then remove the whole line if VPATH becomes empty
60509 # (actually we leave an empty line to preserve line numbers).
60510 if test "x$srcdir" = x.; then
60511 ac_vpsub='/^[ ]*VPATH[ ]*=/{
60512 s/:*\$(srcdir):*/:/
60513 s/:*\${srcdir}:*/:/
60515 s/^\([^=]*=[ ]*\):*/\1/
60521 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60522 fi # test -n "$CONFIG_FILES"
60524 # Set up the scripts for CONFIG_HEADERS section.
60525 # No need to generate them if there are no CONFIG_HEADERS.
60526 # This happens for instance with `./config.status Makefile'.
60527 if test -n "$CONFIG_HEADERS"; then
60528 cat >"$tmp/defines.awk" <<\_ACAWK ||
60532 # Transform confdefs.h into an awk script `defines.awk', embedded as
60533 # here-document in config.status, that substitutes the proper values into
60534 # config.h.in to produce config.h.
60536 # Create a delimiter string that does not exist in confdefs.h, to ease
60537 # handling of long lines.
60539 for ac_last_try in false false :; do
60540 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
60541 if test -z "$ac_t"; then
60543 elif $ac_last_try; then
60544 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
60546 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
60550 # For the awk script, D is an array of macro values keyed by name,
60551 # likewise P contains macro parameters if any. Preserve backslash
60552 # newline sequences.
60554 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
60556 s/.\{148\}/&'"$ac_delim"'/g
60559 s/^[ ]*#[ ]*define[ ][ ]*/ /
60566 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
60568 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
60572 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
60573 D["\1"]=" \3\\\\\\n"\\/p
60575 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
60580 s/.\{148\}/&'"$ac_delim"'/g
60585 s/["\\]/\\&/g; s/^/"/; s/$/"/p
60588 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
60590 ' <confdefs.h | sed '
60591 s/'"$ac_delim"'/"\\\
60592 "/g' >>$CONFIG_STATUS || ac_write_fail=1
60594 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60595 for (key in D) D_is_set[key] = 1
60598 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
60600 split(line, arg, " ")
60601 if (arg[1] == "#") {
60605 defundef = substr(arg[1], 2)
60608 split(mac1, mac2, "(") #)
60610 prefix = substr(line, 1, index(line, defundef) - 1)
60611 if (D_is_set[macro]) {
60612 # Preserve the white space surrounding the "#".
60613 print prefix "define", macro P[macro] D[macro]
60616 # Replace #undef with comments. This is necessary, for example,
60617 # in the case of _POSIX_SOURCE, which is predefined and required
60618 # on some systems where configure will not decide to define it.
60619 if (defundef == "undef") {
60620 print "/*", prefix defundef, macro, "*/"
60628 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60629 as_fn_error "could not setup config headers machinery" "$LINENO" 5
60630 fi # test -n "$CONFIG_HEADERS"
60633 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
60638 :[FHLC]) ac_mode=$ac_tag; continue;;
60640 case $ac_mode$ac_tag in
60642 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
60643 :[FH]-) ac_tag=-:-;;
60644 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
60661 -) ac_f="$tmp/stdin";;
60662 *) # Look for the file first in the build tree, then in the source tree
60663 # (if the path is not absolute). The absolute path cannot be DOS-style,
60664 # because $ac_f cannot contain `:'.
60668 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
60670 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
60672 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
60673 as_fn_append ac_file_inputs " '$ac_f'"
60676 # Let's still pretend it is `configure' which instantiates (i.e., don't
60677 # use $as_me), people would be surprised to read:
60678 # /* config.h. Generated by config.status. */
60679 configure_input='Generated from '`
60680 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
60682 if test x"$ac_file" != x-; then
60683 configure_input="$ac_file. $configure_input"
60684 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
60685 $as_echo "$as_me: creating $ac_file" >&6;}
60687 # Neutralize special characters interpreted by sed in replacement strings.
60688 case $configure_input in #(
60689 *\&* | *\|* | *\\* )
60690 ac_sed_conf_input=`$as_echo "$configure_input" |
60691 sed 's/[\\\\&|]/\\\\&/g'`;; #(
60692 *) ac_sed_conf_input=$configure_input;;
60696 *:-:* | *:-) cat >"$tmp/stdin" \
60697 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
60702 ac_dir=`$as_dirname -- "$ac_file" ||
60703 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60704 X"$ac_file" : 'X\(//\)[^/]' \| \
60705 X"$ac_file" : 'X\(//\)$' \| \
60706 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
60707 $as_echo X"$ac_file" |
60708 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60712 /^X\(\/\/\)[^/].*/{
60725 as_dir="$ac_dir"; as_fn_mkdir_p
60729 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
60731 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
60732 # A ".." for each directory in $ac_dir_suffix.
60733 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
60734 case $ac_top_builddir_sub in
60735 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
60736 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
60739 ac_abs_top_builddir=$ac_pwd
60740 ac_abs_builddir=$ac_pwd$ac_dir_suffix
60741 # for backward compatibility:
60742 ac_top_builddir=$ac_top_build_prefix
60745 .) # We are building in place.
60747 ac_top_srcdir=$ac_top_builddir_sub
60748 ac_abs_top_srcdir=$ac_pwd ;;
60749 [\\/]* | ?:[\\/]* ) # Absolute name.
60750 ac_srcdir=$srcdir$ac_dir_suffix;
60751 ac_top_srcdir=$srcdir
60752 ac_abs_top_srcdir=$srcdir ;;
60753 *) # Relative name.
60754 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
60755 ac_top_srcdir=$ac_top_build_prefix$srcdir
60756 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
60758 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
60768 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
60769 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
60771 ac_MKDIR_P=$MKDIR_P
60773 [\\/$]* | ?:[\\/]* ) ;;
60774 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
60778 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60779 # If the template does not know about datarootdir, expand it.
60780 # FIXME: This hack should be removed a few years after 2.60.
60781 ac_datarootdir_hack=; ac_datarootdir_seen=
60792 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
60793 *datarootdir*) ac_datarootdir_seen=yes;;
60794 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
60795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
60796 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
60798 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60799 ac_datarootdir_hack='
60800 s&@datadir@&$datadir&g
60801 s&@docdir@&$docdir&g
60802 s&@infodir@&$infodir&g
60803 s&@localedir@&$localedir&g
60804 s&@mandir@&$mandir&g
60805 s&\\\${datarootdir}&$datarootdir&g' ;;
60809 # Neutralize VPATH when `$srcdir' = `.'.
60810 # Shell code in configure.ac might set extrasub.
60811 # FIXME: do we really want to maintain this feature?
60812 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60813 ac_sed_extra="$ac_vpsub
60816 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60818 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
60819 s|@configure_input@|$ac_sed_conf_input|;t t
60820 s&@top_builddir@&$ac_top_builddir_sub&;t t
60821 s&@top_build_prefix@&$ac_top_build_prefix&;t t
60822 s&@srcdir@&$ac_srcdir&;t t
60823 s&@abs_srcdir@&$ac_abs_srcdir&;t t
60824 s&@top_srcdir@&$ac_top_srcdir&;t t
60825 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
60826 s&@builddir@&$ac_builddir&;t t
60827 s&@abs_builddir@&$ac_abs_builddir&;t t
60828 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
60829 s&@INSTALL@&$ac_INSTALL&;t t
60830 s&@MKDIR_P@&$ac_MKDIR_P&;t t
60831 $ac_datarootdir_hack
60833 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
60834 || as_fn_error "could not create $ac_file" "$LINENO" 5
60836 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
60837 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
60838 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
60839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
60840 which seems to be undefined. Please make sure it is defined." >&5
60841 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
60842 which seems to be undefined. Please make sure it is defined." >&2;}
60846 -) cat "$tmp/out" && rm -f "$tmp/out";;
60847 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
60849 || as_fn_error "could not create $ac_file" "$LINENO" 5
60855 if test x"$ac_file" != x-; then
60857 $as_echo "/* $configure_input */" \
60858 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
60859 } >"$tmp/config.h" \
60860 || as_fn_error "could not create $ac_file" "$LINENO" 5
60861 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
60862 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
60863 $as_echo "$as_me: $ac_file is unchanged" >&6;}
60866 mv "$tmp/config.h" "$ac_file" \
60867 || as_fn_error "could not create $ac_file" "$LINENO" 5
60870 $as_echo "/* $configure_input */" \
60871 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
60872 || as_fn_error "could not create -" "$LINENO" 5
60874 # Compute "$ac_file"'s index in $config_headers.
60877 for _am_header in $config_headers :; do
60878 case $_am_header in
60879 $_am_arg | $_am_arg:* )
60882 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
60885 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
60886 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60887 X"$_am_arg" : 'X\(//\)[^/]' \| \
60888 X"$_am_arg" : 'X\(//\)$' \| \
60889 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
60890 $as_echo X"$_am_arg" |
60891 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60895 /^X\(\/\/\)[^/].*/{
60907 s/.*/./; q'`/stamp-h$_am_stamp_count
60910 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
60911 $as_echo "$as_me: executing $ac_file commands" >&6;}
60916 case $ac_file$ac_mode in
60918 # Only add multilib support code if we just rebuilt the top-level
60920 case " $CONFIG_FILES " in
60922 ac_file=Makefile . ${multi_basedir}/config-ml.in
60927 # See if we are running on zsh, and set the options which allow our
60928 # commands through without removal of \ escapes.
60929 if test -n "${ZSH_VERSION+set}" ; then
60930 setopt NO_GLOB_SUBST
60933 cfgfile="${ofile}T"
60934 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
60937 cat <<_LT_EOF >> "$cfgfile"
60940 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
60941 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
60942 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
60943 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
60945 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
60946 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
60947 # Written by Gordon Matzigkeit, 1996
60949 # This file is part of GNU Libtool.
60951 # GNU Libtool is free software; you can redistribute it and/or
60952 # modify it under the terms of the GNU General Public License as
60953 # published by the Free Software Foundation; either version 2 of
60954 # the License, or (at your option) any later version.
60956 # As a special exception to the GNU General Public License,
60957 # if you distribute this file as part of a program or library that
60958 # is built using GNU Libtool, you may include this file under the
60959 # same distribution terms that you use for the rest of that program.
60961 # GNU Libtool is distributed in the hope that it will be useful,
60962 # but WITHOUT ANY WARRANTY; without even the implied warranty of
60963 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
60964 # GNU General Public License for more details.
60966 # You should have received a copy of the GNU General Public License
60967 # along with GNU Libtool; see the file COPYING. If not, a copy
60968 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
60969 # obtained by writing to the Free Software Foundation, Inc.,
60970 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
60973 # The names of the tagged configurations supported by this script.
60974 available_tags="CXX "
60976 # ### BEGIN LIBTOOL CONFIG
60978 # Which release of libtool.m4 was used?
60979 macro_version=$macro_version
60980 macro_revision=$macro_revision
60982 # Whether or not to build shared libraries.
60983 build_libtool_libs=$enable_shared
60985 # Whether or not to build static libraries.
60986 build_old_libs=$enable_static
60988 # What type of objects to build.
60991 # Whether or not to optimize for fast installation.
60992 fast_install=$enable_fast_install
60994 # Shell to use when invoking shell scripts.
60997 # An echo program that protects backslashes.
61001 host_alias=$host_alias
61005 # The build system.
61006 build_alias=$build_alias
61010 # A sed program that does not truncate output.
61013 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
61014 Xsed="\$SED -e 1s/^X//"
61016 # A grep program that handles long lines.
61022 # A literal string matcher.
61025 # A BSD- or MS-compatible name lister.
61028 # Whether we need soft or hard links.
61031 # What is the maximum length of a command?
61032 max_cmd_len=$max_cmd_len
61034 # Object file suffix (normally "o").
61037 # Executable file suffix (normally "").
61040 # whether the shell understands "unset".
61043 # turn spaces into newlines.
61046 # turn newlines into spaces.
61049 # An object symbol dumper.
61050 OBJDUMP=$lt_OBJDUMP
61052 # Method to check whether dependent libraries are shared objects.
61053 deplibs_check_method=$lt_deplibs_check_method
61055 # Command to use when deplibs_check_method == "file_magic".
61056 file_magic_cmd=$lt_file_magic_cmd
61060 AR_FLAGS=$lt_AR_FLAGS
61062 # A symbol stripping program.
61065 # Commands used to install an old-style archive.
61067 old_postinstall_cmds=$lt_old_postinstall_cmds
61068 old_postuninstall_cmds=$lt_old_postuninstall_cmds
61070 # Whether to use a lock for old archive extraction.
61071 lock_old_archive_extraction=$lock_old_archive_extraction
61076 # LTCC compiler flags.
61077 LTCFLAGS=$lt_CFLAGS
61079 # Take the output of nm and produce a listing of raw symbols and C names.
61080 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
61082 # Transform the output of nm in a proper C declaration.
61083 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
61085 # Transform the output of nm in a C name address pair.
61086 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
61088 # Transform the output of nm in a C name address pair when lib prefix is needed.
61089 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
61091 # The name of the directory that contains temporary libtool files.
61094 # Used to examine libraries when file_magic_cmd begins with "file".
61095 MAGIC_CMD=$MAGIC_CMD
61097 # Must we lock files when doing compilation?
61098 need_locks=$lt_need_locks
61100 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
61101 DSYMUTIL=$lt_DSYMUTIL
61103 # Tool to change global to local symbols on Mac OS X.
61106 # Tool to manipulate fat objects and archives on Mac OS X.
61109 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
61112 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
61113 OTOOL64=$lt_OTOOL64
61115 # Old archive suffix (normally "a").
61118 # Shared library suffix (normally ".so").
61119 shrext_cmds=$lt_shrext_cmds
61121 # The commands to extract the exported symbol list from a shared archive.
61122 extract_expsyms_cmds=$lt_extract_expsyms_cmds
61124 # Variables whose values should be saved in libtool wrapper scripts and
61125 # restored at link time.
61126 variables_saved_for_relink=$lt_variables_saved_for_relink
61128 # Do we need the "lib" prefix for modules?
61129 need_lib_prefix=$need_lib_prefix
61131 # Do we need a version for libraries?
61132 need_version=$need_version
61134 # Library versioning type.
61135 version_type=$version_type
61137 # Shared library runtime path variable.
61138 runpath_var=$runpath_var
61140 # Shared library path variable.
61141 shlibpath_var=$shlibpath_var
61143 # Is shlibpath searched before the hard-coded library search path?
61144 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
61146 # Format of library name prefix.
61147 libname_spec=$lt_libname_spec
61149 # List of archive names. First name is the real one, the rest are links.
61150 # The last name is the one that the linker finds with -lNAME
61151 library_names_spec=$lt_library_names_spec
61153 # The coded name of the library, if different from the real name.
61154 soname_spec=$lt_soname_spec
61156 # Permission mode override for installation of shared libraries.
61157 install_override_mode=$lt_install_override_mode
61159 # Command to use after installation of a shared archive.
61160 postinstall_cmds=$lt_postinstall_cmds
61162 # Command to use after uninstallation of a shared archive.
61163 postuninstall_cmds=$lt_postuninstall_cmds
61165 # Commands used to finish a libtool library installation in a directory.
61166 finish_cmds=$lt_finish_cmds
61168 # As "finish_cmds", except a single script fragment to be evaled but
61170 finish_eval=$lt_finish_eval
61172 # Whether we should hardcode library paths into libraries.
61173 hardcode_into_libs=$hardcode_into_libs
61175 # Compile-time system search path for libraries.
61176 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
61178 # Run-time system search path for libraries.
61179 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
61181 # Whether dlopen is supported.
61182 dlopen_support=$enable_dlopen
61184 # Whether dlopen of programs is supported.
61185 dlopen_self=$enable_dlopen_self
61187 # Whether dlopen of statically linked programs is supported.
61188 dlopen_self_static=$enable_dlopen_self_static
61190 # Commands to strip libraries.
61191 old_striplib=$lt_old_striplib
61192 striplib=$lt_striplib
61195 # The linker used to build libraries.
61198 # How to create reloadable object files.
61199 reload_flag=$lt_reload_flag
61200 reload_cmds=$lt_reload_cmds
61202 # Commands used to build an old-style archive.
61203 old_archive_cmds=$lt_old_archive_cmds
61205 # A language specific compiler.
61208 # Is the compiler the GNU compiler?
61211 # Compiler flag to turn off builtin functions.
61212 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
61214 # How to pass a linker flag through the compiler.
61215 wl=$lt_lt_prog_compiler_wl
61217 # Additional compiler flags for building library objects.
61218 pic_flag=$lt_lt_prog_compiler_pic
61220 # Compiler flag to prevent dynamic linking.
61221 link_static_flag=$lt_lt_prog_compiler_static
61223 # Does compiler simultaneously support -c and -o options?
61224 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
61226 # Whether or not to add -lc for building shared libraries.
61227 build_libtool_need_lc=$archive_cmds_need_lc
61229 # Whether or not to disallow shared libs when runtime libs are static.
61230 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
61232 # Compiler flag to allow reflexive dlopens.
61233 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
61235 # Compiler flag to generate shared objects directly from archives.
61236 whole_archive_flag_spec=$lt_whole_archive_flag_spec
61238 # Whether the compiler copes with passing no objects directly.
61239 compiler_needs_object=$lt_compiler_needs_object
61241 # Create an old-style archive from a shared archive.
61242 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
61244 # Create a temporary old-style archive to link instead of a shared archive.
61245 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
61247 # Commands used to build a shared archive.
61248 archive_cmds=$lt_archive_cmds
61249 archive_expsym_cmds=$lt_archive_expsym_cmds
61251 # Commands used to build a loadable module if different from building
61252 # a shared archive.
61253 module_cmds=$lt_module_cmds
61254 module_expsym_cmds=$lt_module_expsym_cmds
61256 # Whether we are building with GNU ld or not.
61257 with_gnu_ld=$lt_with_gnu_ld
61259 # Flag that allows shared libraries with undefined symbols to be built.
61260 allow_undefined_flag=$lt_allow_undefined_flag
61262 # Flag that enforces no undefined symbols.
61263 no_undefined_flag=$lt_no_undefined_flag
61265 # Flag to hardcode \$libdir into a binary during linking.
61266 # This must work even if \$libdir does not exist
61267 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
61269 # If ld is used when linking, flag to hardcode \$libdir into a binary
61270 # during linking. This must work even if \$libdir does not exist.
61271 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
61273 # Whether we need a single "-rpath" flag with a separated argument.
61274 hardcode_libdir_separator=$lt_hardcode_libdir_separator
61276 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61277 # DIR into the resulting binary.
61278 hardcode_direct=$hardcode_direct
61280 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61281 # DIR into the resulting binary and the resulting library dependency is
61282 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
61283 # library is relocated.
61284 hardcode_direct_absolute=$hardcode_direct_absolute
61286 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
61287 # into the resulting binary.
61288 hardcode_minus_L=$hardcode_minus_L
61290 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
61291 # into the resulting binary.
61292 hardcode_shlibpath_var=$hardcode_shlibpath_var
61294 # Set to "yes" if building a shared library automatically hardcodes DIR
61295 # into the library and all subsequent libraries and executables linked
61297 hardcode_automatic=$hardcode_automatic
61299 # Set to yes if linker adds runtime paths of dependent libraries
61300 # to runtime path list.
61301 inherit_rpath=$inherit_rpath
61303 # Whether libtool must link a program against all its dependency libraries.
61304 link_all_deplibs=$link_all_deplibs
61306 # Fix the shell variable \$srcfile for the compiler.
61307 fix_srcfile_path=$lt_fix_srcfile_path
61309 # Set to "yes" if exported symbols are required.
61310 always_export_symbols=$always_export_symbols
61312 # The commands to list exported symbols.
61313 export_symbols_cmds=$lt_export_symbols_cmds
61315 # Symbols that should not be listed in the preloaded symbols.
61316 exclude_expsyms=$lt_exclude_expsyms
61318 # Symbols that must always be exported.
61319 include_expsyms=$lt_include_expsyms
61321 # Commands necessary for linking programs (against libraries) with templates.
61322 prelink_cmds=$lt_prelink_cmds
61324 # Specify filename containing input files.
61325 file_list_spec=$lt_file_list_spec
61327 # How to hardcode a shared library path into an executable.
61328 hardcode_action=$hardcode_action
61330 # The directories searched by this compiler when creating a shared library.
61331 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
61333 # Dependencies to place before and after the objects being linked to
61334 # create a shared library.
61335 predep_objects=$lt_predep_objects
61336 postdep_objects=$lt_postdep_objects
61337 predeps=$lt_predeps
61338 postdeps=$lt_postdeps
61340 # The library search path used internally by the compiler when linking
61341 # a shared library.
61342 compiler_lib_search_path=$lt_compiler_lib_search_path
61344 # ### END LIBTOOL CONFIG
61350 cat <<\_LT_EOF >> "$cfgfile"
61351 # AIX sometimes has problems with the GCC collect2 program. For some
61352 # reason, if we set the COLLECT_NAMES environment variable, the problems
61353 # vanish in a puff of smoke.
61354 if test "X${COLLECT_NAMES+set}" != Xset; then
61356 export COLLECT_NAMES
61363 ltmain="$ac_aux_dir/ltmain.sh"
61366 # We use sed instead of cat because bash on DJGPP gets confused if
61367 # if finds mixed CR/LF and LF-only lines. Since sed operates in
61368 # text mode, it properly converts lines to CR/LF. This bash problem
61369 # is reportedly fixed, but why not run on old versions too?
61370 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
61371 || (rm -f "$cfgfile"; exit 1)
61375 cat << \_LT_EOF >> "$cfgfile"
61377 # func_dirname file append nondir_replacement
61378 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
61379 # otherwise set result to NONDIR_REPLACEMENT.
61383 */*) func_dirname_result="${1%/*}${2}" ;;
61384 * ) func_dirname_result="${3}" ;;
61388 # func_basename file
61391 func_basename_result="${1##*/}"
61394 # func_dirname_and_basename file append nondir_replacement
61395 # perform func_basename and func_dirname in a single function
61397 # dirname: Compute the dirname of FILE. If nonempty,
61398 # add APPEND to the result, otherwise set result
61399 # to NONDIR_REPLACEMENT.
61400 # value returned in "$func_dirname_result"
61401 # basename: Compute filename of FILE.
61402 # value retuned in "$func_basename_result"
61403 # Implementation must be kept synchronized with func_dirname
61404 # and func_basename. For efficiency, we do not delegate to
61405 # those functions but instead duplicate the functionality here.
61406 func_dirname_and_basename ()
61409 */*) func_dirname_result="${1%/*}${2}" ;;
61410 * ) func_dirname_result="${3}" ;;
61412 func_basename_result="${1##*/}"
61415 # func_stripname prefix suffix name
61416 # strip PREFIX and SUFFIX off of NAME.
61417 # PREFIX and SUFFIX must not contain globbing or regex special
61418 # characters, hashes, percent signs, but SUFFIX may contain a leading
61419 # dot (in which case that matches only a dot).
61422 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
61423 # positional parameters, so assign one to ordinary parameter first.
61424 func_stripname_result=${3}
61425 func_stripname_result=${func_stripname_result#"${1}"}
61426 func_stripname_result=${func_stripname_result%"${2}"}
61432 func_opt_split_opt=${1%%=*}
61433 func_opt_split_arg=${1#*=}
61440 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
61441 *) func_lo2o_result=${1} ;;
61445 # func_xform libobj-or-source
61448 func_xform_result=${1%.*}.lo
61451 # func_arith arithmetic-term...
61454 func_arith_result=$(( $* ))
61458 # STRING may not start with a hyphen.
61461 func_len_result=${#1}
61466 *) # Bourne compatible functions.
61467 cat << \_LT_EOF >> "$cfgfile"
61469 # func_dirname file append nondir_replacement
61470 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
61471 # otherwise set result to NONDIR_REPLACEMENT.
61474 # Extract subdirectory from the argument.
61475 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
61476 if test "X$func_dirname_result" = "X${1}"; then
61477 func_dirname_result="${3}"
61479 func_dirname_result="$func_dirname_result${2}"
61483 # func_basename file
61486 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
61490 # func_stripname prefix suffix name
61491 # strip PREFIX and SUFFIX off of NAME.
61492 # PREFIX and SUFFIX must not contain globbing or regex special
61493 # characters, hashes, percent signs, but SUFFIX may contain a leading
61494 # dot (in which case that matches only a dot).
61495 # func_strip_suffix prefix name
61499 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
61500 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
61505 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
61506 my_sed_long_arg='1s/^-[^=]*=//'
61511 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
61512 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
61518 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
61521 # func_xform libobj-or-source
61524 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
61527 # func_arith arithmetic-term...
61530 func_arith_result=`expr "$@"`
61534 # STRING may not start with a hyphen.
61537 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
61543 case $lt_shell_append in
61545 cat << \_LT_EOF >> "$cfgfile"
61547 # func_append var value
61548 # Append VALUE to the end of shell variable VAR.
61556 cat << \_LT_EOF >> "$cfgfile"
61558 # func_append var value
61559 # Append VALUE to the end of shell variable VAR.
61570 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
61571 || (rm -f "$cfgfile"; exit 1)
61573 mv -f "$cfgfile" "$ofile" ||
61574 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
61578 cat <<_LT_EOF >> "$ofile"
61580 # ### BEGIN LIBTOOL TAG CONFIG: CXX
61582 # The linker used to build libraries.
61585 # How to create reloadable object files.
61586 reload_flag=$lt_reload_flag_CXX
61587 reload_cmds=$lt_reload_cmds_CXX
61589 # Commands used to build an old-style archive.
61590 old_archive_cmds=$lt_old_archive_cmds_CXX
61592 # A language specific compiler.
61593 CC=$lt_compiler_CXX
61595 # Is the compiler the GNU compiler?
61598 # Compiler flag to turn off builtin functions.
61599 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
61601 # How to pass a linker flag through the compiler.
61602 wl=$lt_lt_prog_compiler_wl_CXX
61604 # Additional compiler flags for building library objects.
61605 pic_flag=$lt_lt_prog_compiler_pic_CXX
61607 # Compiler flag to prevent dynamic linking.
61608 link_static_flag=$lt_lt_prog_compiler_static_CXX
61610 # Does compiler simultaneously support -c and -o options?
61611 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
61613 # Whether or not to add -lc for building shared libraries.
61614 build_libtool_need_lc=$archive_cmds_need_lc_CXX
61616 # Whether or not to disallow shared libs when runtime libs are static.
61617 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
61619 # Compiler flag to allow reflexive dlopens.
61620 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
61622 # Compiler flag to generate shared objects directly from archives.
61623 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
61625 # Whether the compiler copes with passing no objects directly.
61626 compiler_needs_object=$lt_compiler_needs_object_CXX
61628 # Create an old-style archive from a shared archive.
61629 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
61631 # Create a temporary old-style archive to link instead of a shared archive.
61632 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
61634 # Commands used to build a shared archive.
61635 archive_cmds=$lt_archive_cmds_CXX
61636 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
61638 # Commands used to build a loadable module if different from building
61639 # a shared archive.
61640 module_cmds=$lt_module_cmds_CXX
61641 module_expsym_cmds=$lt_module_expsym_cmds_CXX
61643 # Whether we are building with GNU ld or not.
61644 with_gnu_ld=$lt_with_gnu_ld_CXX
61646 # Flag that allows shared libraries with undefined symbols to be built.
61647 allow_undefined_flag=$lt_allow_undefined_flag_CXX
61649 # Flag that enforces no undefined symbols.
61650 no_undefined_flag=$lt_no_undefined_flag_CXX
61652 # Flag to hardcode \$libdir into a binary during linking.
61653 # This must work even if \$libdir does not exist
61654 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
61656 # If ld is used when linking, flag to hardcode \$libdir into a binary
61657 # during linking. This must work even if \$libdir does not exist.
61658 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
61660 # Whether we need a single "-rpath" flag with a separated argument.
61661 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
61663 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61664 # DIR into the resulting binary.
61665 hardcode_direct=$hardcode_direct_CXX
61667 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61668 # DIR into the resulting binary and the resulting library dependency is
61669 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
61670 # library is relocated.
61671 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
61673 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
61674 # into the resulting binary.
61675 hardcode_minus_L=$hardcode_minus_L_CXX
61677 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
61678 # into the resulting binary.
61679 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
61681 # Set to "yes" if building a shared library automatically hardcodes DIR
61682 # into the library and all subsequent libraries and executables linked
61684 hardcode_automatic=$hardcode_automatic_CXX
61686 # Set to yes if linker adds runtime paths of dependent libraries
61687 # to runtime path list.
61688 inherit_rpath=$inherit_rpath_CXX
61690 # Whether libtool must link a program against all its dependency libraries.
61691 link_all_deplibs=$link_all_deplibs_CXX
61693 # Fix the shell variable \$srcfile for the compiler.
61694 fix_srcfile_path=$lt_fix_srcfile_path_CXX
61696 # Set to "yes" if exported symbols are required.
61697 always_export_symbols=$always_export_symbols_CXX
61699 # The commands to list exported symbols.
61700 export_symbols_cmds=$lt_export_symbols_cmds_CXX
61702 # Symbols that should not be listed in the preloaded symbols.
61703 exclude_expsyms=$lt_exclude_expsyms_CXX
61705 # Symbols that must always be exported.
61706 include_expsyms=$lt_include_expsyms_CXX
61708 # Commands necessary for linking programs (against libraries) with templates.
61709 prelink_cmds=$lt_prelink_cmds_CXX
61711 # Specify filename containing input files.
61712 file_list_spec=$lt_file_list_spec_CXX
61714 # How to hardcode a shared library path into an executable.
61715 hardcode_action=$hardcode_action_CXX
61717 # The directories searched by this compiler when creating a shared library.
61718 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
61720 # Dependencies to place before and after the objects being linked to
61721 # create a shared library.
61722 predep_objects=$lt_predep_objects_CXX
61723 postdep_objects=$lt_postdep_objects_CXX
61724 predeps=$lt_predeps_CXX
61725 postdeps=$lt_postdeps_CXX
61727 # The library search path used internally by the compiler when linking
61728 # a shared library.
61729 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
61731 # ### END LIBTOOL TAG CONFIG: CXX
61735 "include/gstdint.h":C)
61736 if test "$GCC" = yes; then
61737 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
61739 echo "/* generated for $CC */" > tmp-stdint.h
61742 sed 's/^ *//' >> tmp-stdint.h <<EOF
61744 #ifndef GCC_GENERATED_STDINT_H
61745 #define GCC_GENERATED_STDINT_H 1
61747 #include <sys/types.h>
61750 if test "$acx_cv_header_stdint" != stdint.h; then
61751 echo "#include <stddef.h>" >> tmp-stdint.h
61753 if test "$acx_cv_header_stdint" != stddef.h; then
61754 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
61757 sed 's/^ *//' >> tmp-stdint.h <<EOF
61758 /* glibc uses these symbols as guards to prevent redefinitions. */
61759 #ifdef __int8_t_defined
61764 #ifdef __uint32_t_defined
61770 # ----------------- done header, emit basic int types -------------
61771 if test "$acx_cv_header_stdint" = stddef.h; then
61772 sed 's/^ *//' >> tmp-stdint.h <<EOF
61776 #ifndef __uint8_t_defined
61777 #define __uint8_t_defined
61779 typedef unsigned $acx_cv_type_int8_t uint8_t;
61786 #ifndef __uint16_t_defined
61787 #define __uint16_t_defined
61789 typedef unsigned $acx_cv_type_int16_t uint16_t;
61796 #ifndef __uint32_t_defined
61797 #define __uint32_t_defined
61799 typedef unsigned $acx_cv_type_int32_t uint32_t;
61806 #ifndef __int8_t_defined
61807 #define __int8_t_defined
61809 typedef $acx_cv_type_int8_t int8_t;
61816 #ifndef __int16_t_defined
61817 #define __int16_t_defined
61819 typedef $acx_cv_type_int16_t int16_t;
61826 #ifndef __int32_t_defined
61827 #define __int32_t_defined
61829 typedef $acx_cv_type_int32_t int32_t;
61834 elif test "$ac_cv_type_u_int32_t" = yes; then
61835 sed 's/^ *//' >> tmp-stdint.h <<EOF
61837 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
61850 #ifndef __uint8_t_defined
61851 #define __uint8_t_defined
61853 typedef u_int8_t uint8_t;
61860 #ifndef __uint16_t_defined
61861 #define __uint16_t_defined
61863 typedef u_int16_t uint16_t;
61870 #ifndef __uint32_t_defined
61871 #define __uint32_t_defined
61873 typedef u_int32_t uint32_t;
61879 sed 's/^ *//' >> tmp-stdint.h <<EOF
61881 /* Some systems have guard macros to prevent redefinitions, define them. */
61903 # ------------- done basic int types, emit int64_t types ------------
61904 if test "$ac_cv_type_uint64_t" = yes; then
61905 sed 's/^ *//' >> tmp-stdint.h <<EOF
61907 /* system headers have good uint64_t and int64_t */
61915 elif test "$ac_cv_type_u_int64_t" = yes; then
61916 sed 's/^ *//' >> tmp-stdint.h <<EOF
61918 /* system headers have an u_int64_t (and int64_t) */
61924 #ifndef __uint64_t_defined
61925 #define __uint64_t_defined
61927 typedef u_int64_t uint64_t;
61932 elif test -n "$acx_cv_type_int64_t"; then
61933 sed 's/^ *//' >> tmp-stdint.h <<EOF
61935 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
61939 typedef $acx_cv_type_int64_t int64_t;
61944 #ifndef __uint64_t_defined
61945 #define __uint64_t_defined
61947 typedef unsigned $acx_cv_type_int64_t uint64_t;
61953 sed 's/^ *//' >> tmp-stdint.h <<EOF
61955 /* some common heuristics for int64_t, using compiler-specific tests */
61956 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
61959 #ifndef __int64_t_defined
61961 typedef long long int64_t;
61968 typedef unsigned long long uint64_t;
61972 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
61973 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
61974 does not implement __extension__. But that compiler doesn't define
61976 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
61977 # define __extension__
61983 __extension__ typedef long long int64_t;
61989 __extension__ typedef unsigned long long uint64_t;
61993 #elif !defined __STRICT_ANSI__
61994 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
61999 typedef __int64 int64_t;
62005 typedef unsigned __int64 uint64_t;
62008 # endif /* compiler */
62010 #endif /* ANSI version */
62014 # ------------- done int64_t types, emit intptr types ------------
62015 if test "$ac_cv_type_uintptr_t" != yes; then
62016 sed 's/^ *//' >> tmp-stdint.h <<EOF
62018 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
62019 #ifndef __uintptr_t_defined
62021 typedef u$acx_cv_type_intptr_t uintptr_t;
62024 #ifndef __intptr_t_defined
62026 typedef $acx_cv_type_intptr_t intptr_t;
62032 # ------------- done intptr types, emit int_least types ------------
62033 if test "$ac_cv_type_int_least32_t" != yes; then
62034 sed 's/^ *//' >> tmp-stdint.h <<EOF
62036 /* Define int_least types */
62037 typedef int8_t int_least8_t;
62038 typedef int16_t int_least16_t;
62039 typedef int32_t int_least32_t;
62041 typedef int64_t int_least64_t;
62044 typedef uint8_t uint_least8_t;
62045 typedef uint16_t uint_least16_t;
62046 typedef uint32_t uint_least32_t;
62048 typedef uint64_t uint_least64_t;
62053 # ------------- done intptr types, emit int_fast types ------------
62054 if test "$ac_cv_type_int_fast32_t" != yes; then
62055 sed 's/^ *//' >> tmp-stdint.h <<EOF
62057 /* Define int_fast types. short is often slow */
62058 typedef int8_t int_fast8_t;
62059 typedef int int_fast16_t;
62060 typedef int32_t int_fast32_t;
62062 typedef int64_t int_fast64_t;
62065 typedef uint8_t uint_fast8_t;
62066 typedef unsigned int uint_fast16_t;
62067 typedef uint32_t uint_fast32_t;
62069 typedef uint64_t uint_fast64_t;
62074 if test "$ac_cv_type_uintmax_t" != yes; then
62075 sed 's/^ *//' >> tmp-stdint.h <<EOF
62077 /* Define intmax based on what we found */
62080 typedef int64_t intmax_t;
62082 typedef long intmax_t;
62087 typedef uint64_t uintmax_t;
62089 typedef unsigned long uintmax_t;
62095 sed 's/^ *//' >> tmp-stdint.h <<EOF
62097 #endif /* GCC_GENERATED_STDINT_H */
62100 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
62103 mv -f tmp-stdint.h include/gstdint.h
62107 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
62108 "include/Makefile":F) cat > vpsed$$ << \_EOF
62109 s!`test -f '$<' || echo '$(srcdir)/'`!!
62111 sed -f vpsed$$ $ac_file > tmp$$
62114 echo 'MULTISUBDIR =' >> $ac_file
62116 . ${multi_basedir}/config-ml.in
62117 { ml_norecursion=; unset ml_norecursion;}
62119 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
62120 s!`test -f '$<' || echo '$(srcdir)/'`!!
62122 sed -f vpsed$$ $ac_file > tmp$$
62125 echo 'MULTISUBDIR =' >> $ac_file
62127 . ${multi_basedir}/config-ml.in
62128 { ml_norecursion=; unset ml_norecursion;}
62130 "python/Makefile":F) cat > vpsed$$ << \_EOF
62131 s!`test -f '$<' || echo '$(srcdir)/'`!!
62133 sed -f vpsed$$ $ac_file > tmp$$
62136 echo 'MULTISUBDIR =' >> $ac_file
62138 . ${multi_basedir}/config-ml.in
62139 { ml_norecursion=; unset ml_norecursion;}
62141 "src/Makefile":F) cat > vpsed$$ << \_EOF
62142 s!`test -f '$<' || echo '$(srcdir)/'`!!
62144 sed -f vpsed$$ $ac_file > tmp$$
62147 echo 'MULTISUBDIR =' >> $ac_file
62149 . ${multi_basedir}/config-ml.in
62150 { ml_norecursion=; unset ml_norecursion;}
62152 "doc/Makefile":F) cat > vpsed$$ << \_EOF
62153 s!`test -f '$<' || echo '$(srcdir)/'`!!
62155 sed -f vpsed$$ $ac_file > tmp$$
62158 echo 'MULTISUBDIR =' >> $ac_file
62160 . ${multi_basedir}/config-ml.in
62161 { ml_norecursion=; unset ml_norecursion;}
62163 "po/Makefile":F) cat > vpsed$$ << \_EOF
62164 s!`test -f '$<' || echo '$(srcdir)/'`!!
62166 sed -f vpsed$$ $ac_file > tmp$$
62169 echo 'MULTISUBDIR =' >> $ac_file
62171 . ${multi_basedir}/config-ml.in
62172 { ml_norecursion=; unset ml_norecursion;}
62174 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
62175 s!`test -f '$<' || echo '$(srcdir)/'`!!
62177 sed -f vpsed$$ $ac_file > tmp$$
62180 echo 'MULTISUBDIR =' >> $ac_file
62182 . ${multi_basedir}/config-ml.in
62183 { ml_norecursion=; unset ml_norecursion;}
62185 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
62193 ac_clean_files=$ac_clean_files_save
62195 test $ac_write_fail = 0 ||
62196 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
62199 # configure is writing to config.log, and then calls config.status.
62200 # config.status does its own redirection, appending to config.log.
62201 # Unfortunately, on DOS this fails, as config.log is still kept open
62202 # by configure, so config.status won't be able to write to it; its
62203 # output is simply discarded. So we exec the FD to /dev/null,
62204 # effectively closing config.log, so it can be properly (re)opened and
62205 # appended to by config.status. When coming back to configure, we
62206 # need to make the FD available again.
62207 if test "$no_create" != yes; then
62209 ac_config_status_args=
62210 test "$silent" = yes &&
62211 ac_config_status_args="$ac_config_status_args --quiet"
62213 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
62215 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
62216 # would make configure fail if this is the last instruction.
62217 $ac_cs_success || as_fn_exit $?
62219 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
62220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
62221 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}