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
851 # Initialize some variables set by options.
853 ac_init_version=false
854 ac_unrecognized_opts=
856 # The variables have the same names as the options, with
857 # dashes changed to underlines.
865 program_transform_name=s,x,x,
873 # Installation directory options.
874 # These are left unexpanded so users can "make install exec_prefix=/foo"
875 # and all the variables that are supposed to be based on exec_prefix
876 # by default will actually change.
877 # Use braces instead of parens because sh, perl, etc. also accept them.
878 # (The list follows the same order as the GNU Coding Standards.)
879 bindir='${exec_prefix}/bin'
880 sbindir='${exec_prefix}/sbin'
881 libexecdir='${exec_prefix}/libexec'
882 datarootdir='${prefix}/share'
883 datadir='${datarootdir}'
884 sysconfdir='${prefix}/etc'
885 sharedstatedir='${prefix}/com'
886 localstatedir='${prefix}/var'
887 includedir='${prefix}/include'
888 oldincludedir='/usr/include'
889 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
890 infodir='${datarootdir}/info'
895 libdir='${exec_prefix}/lib'
896 localedir='${datarootdir}/locale'
897 mandir='${datarootdir}/man'
903 # If the previous option needs an argument, assign it.
904 if test -n "$ac_prev"; then
905 eval $ac_prev=\$ac_option
911 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
915 # Accept the important Cygnus configure options, so we can diagnose typos.
917 case $ac_dashdash$ac_option in
921 -bindir | --bindir | --bindi | --bind | --bin | --bi)
923 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
926 -build | --build | --buil | --bui | --bu)
927 ac_prev=build_alias ;;
928 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
929 build_alias=$ac_optarg ;;
931 -cache-file | --cache-file | --cache-fil | --cache-fi \
932 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
933 ac_prev=cache_file ;;
934 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
935 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
936 cache_file=$ac_optarg ;;
939 cache_file=config.cache ;;
941 -datadir | --datadir | --datadi | --datad)
943 -datadir=* | --datadir=* | --datadi=* | --datad=*)
944 datadir=$ac_optarg ;;
946 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
947 | --dataroo | --dataro | --datar)
948 ac_prev=datarootdir ;;
949 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
950 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
951 datarootdir=$ac_optarg ;;
953 -disable-* | --disable-*)
954 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
955 # Reject names that are not valid shell variable names.
956 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
957 as_fn_error "invalid feature name: $ac_useropt"
958 ac_useropt_orig=$ac_useropt
959 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
960 case $ac_user_opts in
964 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
965 ac_unrecognized_sep=', ';;
967 eval enable_$ac_useropt=no ;;
969 -docdir | --docdir | --docdi | --doc | --do)
971 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
974 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
976 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
979 -enable-* | --enable-*)
980 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
981 # Reject names that are not valid shell variable names.
982 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
983 as_fn_error "invalid feature name: $ac_useropt"
984 ac_useropt_orig=$ac_useropt
985 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
986 case $ac_user_opts in
990 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
991 ac_unrecognized_sep=', ';;
993 eval enable_$ac_useropt=\$ac_optarg ;;
995 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
996 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
997 | --exec | --exe | --ex)
998 ac_prev=exec_prefix ;;
999 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1000 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1001 | --exec=* | --exe=* | --ex=*)
1002 exec_prefix=$ac_optarg ;;
1004 -gas | --gas | --ga | --g)
1005 # Obsolete; use --with-gas.
1008 -help | --help | --hel | --he | -h)
1009 ac_init_help=long ;;
1010 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1011 ac_init_help=recursive ;;
1012 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1013 ac_init_help=short ;;
1015 -host | --host | --hos | --ho)
1016 ac_prev=host_alias ;;
1017 -host=* | --host=* | --hos=* | --ho=*)
1018 host_alias=$ac_optarg ;;
1020 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1022 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1024 htmldir=$ac_optarg ;;
1026 -includedir | --includedir | --includedi | --included | --include \
1027 | --includ | --inclu | --incl | --inc)
1028 ac_prev=includedir ;;
1029 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1030 | --includ=* | --inclu=* | --incl=* | --inc=*)
1031 includedir=$ac_optarg ;;
1033 -infodir | --infodir | --infodi | --infod | --info | --inf)
1035 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1036 infodir=$ac_optarg ;;
1038 -libdir | --libdir | --libdi | --libd)
1040 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1041 libdir=$ac_optarg ;;
1043 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1044 | --libexe | --libex | --libe)
1045 ac_prev=libexecdir ;;
1046 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1047 | --libexe=* | --libex=* | --libe=*)
1048 libexecdir=$ac_optarg ;;
1050 -localedir | --localedir | --localedi | --localed | --locale)
1051 ac_prev=localedir ;;
1052 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1053 localedir=$ac_optarg ;;
1055 -localstatedir | --localstatedir | --localstatedi | --localstated \
1056 | --localstate | --localstat | --localsta | --localst | --locals)
1057 ac_prev=localstatedir ;;
1058 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1059 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1060 localstatedir=$ac_optarg ;;
1062 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1064 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1065 mandir=$ac_optarg ;;
1067 -nfp | --nfp | --nf)
1068 # Obsolete; use --without-fp.
1071 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1072 | --no-cr | --no-c | -n)
1075 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1076 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1079 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1080 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1081 | --oldin | --oldi | --old | --ol | --o)
1082 ac_prev=oldincludedir ;;
1083 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1084 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1085 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1086 oldincludedir=$ac_optarg ;;
1088 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1090 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1091 prefix=$ac_optarg ;;
1093 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1094 | --program-pre | --program-pr | --program-p)
1095 ac_prev=program_prefix ;;
1096 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1097 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1098 program_prefix=$ac_optarg ;;
1100 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1101 | --program-suf | --program-su | --program-s)
1102 ac_prev=program_suffix ;;
1103 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1104 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1105 program_suffix=$ac_optarg ;;
1107 -program-transform-name | --program-transform-name \
1108 | --program-transform-nam | --program-transform-na \
1109 | --program-transform-n | --program-transform- \
1110 | --program-transform | --program-transfor \
1111 | --program-transfo | --program-transf \
1112 | --program-trans | --program-tran \
1113 | --progr-tra | --program-tr | --program-t)
1114 ac_prev=program_transform_name ;;
1115 -program-transform-name=* | --program-transform-name=* \
1116 | --program-transform-nam=* | --program-transform-na=* \
1117 | --program-transform-n=* | --program-transform-=* \
1118 | --program-transform=* | --program-transfor=* \
1119 | --program-transfo=* | --program-transf=* \
1120 | --program-trans=* | --program-tran=* \
1121 | --progr-tra=* | --program-tr=* | --program-t=*)
1122 program_transform_name=$ac_optarg ;;
1124 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1126 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1127 pdfdir=$ac_optarg ;;
1129 -psdir | --psdir | --psdi | --psd | --ps)
1131 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1134 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1135 | -silent | --silent | --silen | --sile | --sil)
1138 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1140 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1142 sbindir=$ac_optarg ;;
1144 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1145 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1146 | --sharedst | --shareds | --shared | --share | --shar \
1148 ac_prev=sharedstatedir ;;
1149 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1150 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1151 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1153 sharedstatedir=$ac_optarg ;;
1155 -site | --site | --sit)
1157 -site=* | --site=* | --sit=*)
1160 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1162 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1163 srcdir=$ac_optarg ;;
1165 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1166 | --syscon | --sysco | --sysc | --sys | --sy)
1167 ac_prev=sysconfdir ;;
1168 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1169 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1170 sysconfdir=$ac_optarg ;;
1172 -target | --target | --targe | --targ | --tar | --ta | --t)
1173 ac_prev=target_alias ;;
1174 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1175 target_alias=$ac_optarg ;;
1177 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1180 -version | --version | --versio | --versi | --vers | -V)
1181 ac_init_version=: ;;
1184 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1185 # Reject names that are not valid shell variable names.
1186 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1187 as_fn_error "invalid package name: $ac_useropt"
1188 ac_useropt_orig=$ac_useropt
1189 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1190 case $ac_user_opts in
1194 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1195 ac_unrecognized_sep=', ';;
1197 eval with_$ac_useropt=\$ac_optarg ;;
1199 -without-* | --without-*)
1200 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1201 # Reject names that are not valid shell variable names.
1202 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1203 as_fn_error "invalid package name: $ac_useropt"
1204 ac_useropt_orig=$ac_useropt
1205 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1206 case $ac_user_opts in
1210 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1211 ac_unrecognized_sep=', ';;
1213 eval with_$ac_useropt=no ;;
1216 # Obsolete; use --with-x.
1219 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1220 | --x-incl | --x-inc | --x-in | --x-i)
1221 ac_prev=x_includes ;;
1222 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1223 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1224 x_includes=$ac_optarg ;;
1226 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1227 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1228 ac_prev=x_libraries ;;
1229 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1230 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1231 x_libraries=$ac_optarg ;;
1233 -*) as_fn_error "unrecognized option: \`$ac_option'
1234 Try \`$0 --help' for more information."
1238 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1239 # Reject names that are not valid shell variable names.
1240 case $ac_envvar in #(
1241 '' | [0-9]* | *[!_$as_cr_alnum]* )
1242 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1244 eval $ac_envvar=\$ac_optarg
1245 export $ac_envvar ;;
1248 # FIXME: should be removed in autoconf 3.0.
1249 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1250 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1251 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1252 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1258 if test -n "$ac_prev"; then
1259 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1260 as_fn_error "missing argument to $ac_option"
1263 if test -n "$ac_unrecognized_opts"; then
1264 case $enable_option_checking in
1266 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1267 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1271 # Check all directory arguments for consistency.
1272 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1273 datadir sysconfdir sharedstatedir localstatedir includedir \
1274 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1275 libdir localedir mandir
1277 eval ac_val=\$$ac_var
1278 # Remove trailing slashes.
1281 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1282 eval $ac_var=\$ac_val;;
1284 # Be sure to have absolute directory names.
1286 [\\/$]* | ?:[\\/]* ) continue;;
1287 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1289 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1292 # There might be people who depend on the old broken behavior: `$host'
1293 # used to hold the argument of --host etc.
1294 # FIXME: To remove some day.
1297 target=$target_alias
1299 # FIXME: To remove some day.
1300 if test "x$host_alias" != x; then
1301 if test "x$build_alias" = x; then
1302 cross_compiling=maybe
1303 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1304 If a cross compiler is detected then cross compile mode will be used." >&2
1305 elif test "x$build_alias" != "x$host_alias"; then
1311 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1313 test "$silent" = yes && exec 6>/dev/null
1316 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1317 ac_ls_di=`ls -di .` &&
1318 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1319 as_fn_error "working directory cannot be determined"
1320 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1321 as_fn_error "pwd does not report name of working directory"
1324 # Find the source files, if location was not specified.
1325 if test -z "$srcdir"; then
1326 ac_srcdir_defaulted=yes
1327 # Try the directory containing this script, then the parent directory.
1328 ac_confdir=`$as_dirname -- "$as_myself" ||
1329 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1330 X"$as_myself" : 'X\(//\)[^/]' \| \
1331 X"$as_myself" : 'X\(//\)$' \| \
1332 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1333 $as_echo X"$as_myself" |
1334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1352 if test ! -r "$srcdir/$ac_unique_file"; then
1356 ac_srcdir_defaulted=no
1358 if test ! -r "$srcdir/$ac_unique_file"; then
1359 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1360 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1362 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1364 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1366 # When building in place, set srcdir=.
1367 if test "$ac_abs_confdir" = "$ac_pwd"; then
1370 # Remove unnecessary trailing slashes from srcdir.
1371 # Double slashes in file names in object file debugging info
1372 # mess up M-x gdb in Emacs.
1374 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1376 for ac_var in $ac_precious_vars; do
1377 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1378 eval ac_env_${ac_var}_value=\$${ac_var}
1379 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1380 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1384 # Report the --help message.
1386 if test "$ac_init_help" = "long"; then
1387 # Omit some internal or obsolete options to make the list less imposing.
1388 # This message is too long to be a string in the A/UX 3.1 sh.
1390 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1392 Usage: $0 [OPTION]... [VAR=VALUE]...
1394 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1395 VAR=VALUE. See below for descriptions of some of the useful variables.
1397 Defaults for the options are specified in brackets.
1400 -h, --help display this help and exit
1401 --help=short display options specific to this package
1402 --help=recursive display the short help of all the included packages
1403 -V, --version display version information and exit
1404 -q, --quiet, --silent do not print \`checking...' messages
1405 --cache-file=FILE cache test results in FILE [disabled]
1406 -C, --config-cache alias for \`--cache-file=config.cache'
1407 -n, --no-create do not create output files
1408 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1410 Installation directories:
1411 --prefix=PREFIX install architecture-independent files in PREFIX
1412 [$ac_default_prefix]
1413 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1416 By default, \`make install' will install all the files in
1417 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1418 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1419 for instance \`--prefix=\$HOME'.
1421 For better control, use the options below.
1423 Fine tuning of the installation directories:
1424 --bindir=DIR user executables [EPREFIX/bin]
1425 --sbindir=DIR system admin executables [EPREFIX/sbin]
1426 --libexecdir=DIR program executables [EPREFIX/libexec]
1427 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1428 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1429 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1430 --libdir=DIR object code libraries [EPREFIX/lib]
1431 --includedir=DIR C header files [PREFIX/include]
1432 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1433 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1434 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1435 --infodir=DIR info documentation [DATAROOTDIR/info]
1436 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1437 --mandir=DIR man documentation [DATAROOTDIR/man]
1438 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1439 --htmldir=DIR html documentation [DOCDIR]
1440 --dvidir=DIR dvi documentation [DOCDIR]
1441 --pdfdir=DIR pdf documentation [DOCDIR]
1442 --psdir=DIR ps documentation [DOCDIR]
1448 --program-prefix=PREFIX prepend PREFIX to installed program names
1449 --program-suffix=SUFFIX append SUFFIX to installed program names
1450 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1453 --build=BUILD configure for building on BUILD [guessed]
1454 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1455 --target=TARGET configure for building compilers for TARGET [HOST]
1459 if test -n "$ac_init_help"; then
1460 case $ac_init_help in
1461 short | recursive ) echo "Configuration of package-unused version-unused:";;
1466 --disable-option-checking ignore unrecognized --enable/--with options
1467 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1468 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1469 --enable-multilib build many library versions (default)
1470 --enable-maintainer-mode enable make rules and dependencies not useful
1471 (and sometimes confusing) to the casual installer
1472 --enable-shared[=PKGS] build shared libraries [default=yes]
1473 --enable-static[=PKGS] build static libraries [default=yes]
1474 --enable-fast-install[=PKGS]
1475 optimize for fast installation [default=yes]
1476 --disable-libtool-lock avoid locking (might break parallel builds)
1477 --disable-hosted-libstdcxx
1478 only build freestanding C++ runtime support
1479 --enable-sjlj-exceptions
1480 force use of builtin_setjmp for exceptions
1482 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1483 [default=$is_hosted]
1484 --enable-cstdio=PACKAGE use target-specific I/O package [default=stdio]
1485 --enable-clocale[=MODEL]
1486 use MODEL for target locale package [default=auto]
1487 --enable-nls use Native Language Support (default)
1488 --enable-libstdcxx-allocator=KIND
1489 use KIND for target std::allocator base
1491 --enable-cheaders=KIND construct "C" headers for g++ [default=$c_model]
1492 --enable-long-long enable template specializations for 'long long'
1494 --enable-wchar_t enable template specializations for 'wchar_t'
1496 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1497 --enable-concept-checks use Boost-derived template checks [default=no]
1498 --enable-libstdcxx-debug-flags=FLAGS
1499 pass compiler FLAGS when building debug library
1501 --enable-libstdcxx-debug
1502 build extra debug library [default=no]
1503 --enable-cxx-flags=FLAGS
1504 pass compiler FLAGS when building library [default=]
1505 --enable-fully-dynamic-string
1506 do not put empty strings in per-process static
1508 --enable-libstdcxx-time=KIND
1509 use KIND for check type [default=no]
1510 --enable-tls Use thread-local storage [default=yes]
1511 --disable-rpath do not hardcode runtime library paths
1512 --enable-linux-futex use the Linux futex system call [default=default]
1513 --enable-symvers=STYLE enables symbol versioning of the shared library
1515 --enable-visibility enables visibility safe usage [default=yes]
1516 --enable-version-specific-runtime-libs
1517 Specify that runtime libraries should be installed
1518 in a compiler-specific directory
1521 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1522 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1523 --with-target-subdir=SUBDIR
1524 configuring in a subdirectory
1525 --with-cross-host=HOST configuring with a cross compiler
1526 --with-newlib assume newlib as a system C library
1527 --with-pic try to use only PIC/non-PIC objects [default=use
1529 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1530 --with-gnu-ld assume the C compiler uses GNU ld default=no
1531 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1532 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1533 --with-system-libunwind use installed libunwind
1534 --with-gxx-include-dir=DIR
1535 installation directory for include files
1537 Some influential environment variables:
1538 CC C compiler command
1539 CFLAGS C compiler flags
1540 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1541 nonstandard directory <lib dir>
1542 LIBS libraries to pass to the linker, e.g. -l<library>
1543 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1544 you have headers in a nonstandard directory <include dir>
1545 CXX C++ compiler command
1546 CXXFLAGS C++ compiler flags
1548 CXXCPP C++ preprocessor
1550 Use these variables to override the choices made by `configure' or to help
1551 it to find libraries and programs with nonstandard names/locations.
1553 Report bugs to the package provider.
1558 if test "$ac_init_help" = "recursive"; then
1559 # If there are subdirs, report their specific --help.
1560 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1561 test -d "$ac_dir" ||
1562 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1567 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1569 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1570 # A ".." for each directory in $ac_dir_suffix.
1571 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1572 case $ac_top_builddir_sub in
1573 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1574 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1577 ac_abs_top_builddir=$ac_pwd
1578 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1579 # for backward compatibility:
1580 ac_top_builddir=$ac_top_build_prefix
1583 .) # We are building in place.
1585 ac_top_srcdir=$ac_top_builddir_sub
1586 ac_abs_top_srcdir=$ac_pwd ;;
1587 [\\/]* | ?:[\\/]* ) # Absolute name.
1588 ac_srcdir=$srcdir$ac_dir_suffix;
1589 ac_top_srcdir=$srcdir
1590 ac_abs_top_srcdir=$srcdir ;;
1592 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1593 ac_top_srcdir=$ac_top_build_prefix$srcdir
1594 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1596 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1598 cd "$ac_dir" || { ac_status=$?; continue; }
1599 # Check for guested configure.
1600 if test -f "$ac_srcdir/configure.gnu"; then
1602 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1603 elif test -f "$ac_srcdir/configure"; then
1605 $SHELL "$ac_srcdir/configure" --help=recursive
1607 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1609 cd "$ac_pwd" || { ac_status=$?; break; }
1613 test -n "$ac_init_help" && exit $ac_status
1614 if $ac_init_version; then
1616 package-unused configure version-unused
1617 generated by GNU Autoconf 2.64
1619 Copyright (C) 2009 Free Software Foundation, Inc.
1620 This configure script is free software; the Free Software Foundation
1621 gives unlimited permission to copy, distribute and modify it.
1626 ## ------------------------ ##
1627 ## Autoconf initialization. ##
1628 ## ------------------------ ##
1630 # ac_fn_c_try_compile LINENO
1631 # --------------------------
1632 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1633 ac_fn_c_try_compile ()
1635 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1636 rm -f conftest.$ac_objext
1637 if { { ac_try="$ac_compile"
1639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1640 *) ac_try_echo=$ac_try;;
1642 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1643 $as_echo "$ac_try_echo"; } >&5
1644 (eval "$ac_compile") 2>conftest.err
1646 if test -s conftest.err; then
1647 grep -v '^ *+' conftest.err >conftest.er1
1648 cat conftest.er1 >&5
1649 mv -f conftest.er1 conftest.err
1651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1652 test $ac_status = 0; } && {
1653 test -z "$ac_c_werror_flag" ||
1654 test ! -s conftest.err
1655 } && test -s conftest.$ac_objext; then :
1658 $as_echo "$as_me: failed program was:" >&5
1659 sed 's/^/| /' conftest.$ac_ext >&5
1663 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1666 } # ac_fn_c_try_compile
1668 # ac_fn_cxx_try_compile LINENO
1669 # ----------------------------
1670 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1671 ac_fn_cxx_try_compile ()
1673 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1674 rm -f conftest.$ac_objext
1675 if { { ac_try="$ac_compile"
1677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1678 *) ac_try_echo=$ac_try;;
1680 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1681 $as_echo "$ac_try_echo"; } >&5
1682 (eval "$ac_compile") 2>conftest.err
1684 if test -s conftest.err; then
1685 grep -v '^ *+' conftest.err >conftest.er1
1686 cat conftest.er1 >&5
1687 mv -f conftest.er1 conftest.err
1689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1690 test $ac_status = 0; } && {
1691 test -z "$ac_cxx_werror_flag" ||
1692 test ! -s conftest.err
1693 } && test -s conftest.$ac_objext; then :
1696 $as_echo "$as_me: failed program was:" >&5
1697 sed 's/^/| /' conftest.$ac_ext >&5
1701 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1704 } # ac_fn_cxx_try_compile
1706 # ac_fn_c_try_cpp LINENO
1707 # ----------------------
1708 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1711 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1712 if { { ac_try="$ac_cpp conftest.$ac_ext"
1714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1715 *) ac_try_echo=$ac_try;;
1717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1718 $as_echo "$ac_try_echo"; } >&5
1719 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1721 if test -s conftest.err; then
1722 grep -v '^ *+' conftest.err >conftest.er1
1723 cat conftest.er1 >&5
1724 mv -f conftest.er1 conftest.err
1726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1727 test $ac_status = 0; } >/dev/null && {
1728 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1729 test ! -s conftest.err
1733 $as_echo "$as_me: failed program was:" >&5
1734 sed 's/^/| /' conftest.$ac_ext >&5
1738 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1743 # ac_fn_c_try_link LINENO
1744 # -----------------------
1745 # Try to link conftest.$ac_ext, and return whether this succeeded.
1748 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1749 rm -f conftest.$ac_objext conftest$ac_exeext
1750 if { { ac_try="$ac_link"
1752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1753 *) ac_try_echo=$ac_try;;
1755 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1756 $as_echo "$ac_try_echo"; } >&5
1757 (eval "$ac_link") 2>conftest.err
1759 if test -s conftest.err; then
1760 grep -v '^ *+' conftest.err >conftest.er1
1761 cat conftest.er1 >&5
1762 mv -f conftest.er1 conftest.err
1764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1765 test $ac_status = 0; } && {
1766 test -z "$ac_c_werror_flag" ||
1767 test ! -s conftest.err
1768 } && test -s conftest$ac_exeext && {
1769 test "$cross_compiling" = yes ||
1770 $as_test_x conftest$ac_exeext
1774 $as_echo "$as_me: failed program was:" >&5
1775 sed 's/^/| /' conftest.$ac_ext >&5
1779 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1780 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1781 # interfere with the next link command; also delete a directory that is
1782 # left behind by Apple's compiler. We do this before executing the actions.
1783 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1784 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1787 } # ac_fn_c_try_link
1789 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1790 # -------------------------------------------------------
1791 # Tests whether HEADER exists and can be compiled using the include files in
1792 # INCLUDES, setting the cache variable VAR accordingly.
1793 ac_fn_c_check_header_compile ()
1795 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1797 $as_echo_n "checking for $2... " >&6; }
1798 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1799 $as_echo_n "(cached) " >&6
1801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1802 /* end confdefs.h. */
1806 if ac_fn_c_try_compile "$LINENO"; then :
1811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1815 $as_echo "$ac_res" >&6; }
1816 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1818 } # ac_fn_c_check_header_compile
1820 # ac_fn_c_try_run LINENO
1821 # ----------------------
1822 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1823 # that executables *can* be run.
1826 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1827 if { { ac_try="$ac_link"
1829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1830 *) ac_try_echo=$ac_try;;
1832 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1833 $as_echo "$ac_try_echo"; } >&5
1834 (eval "$ac_link") 2>&5
1836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1837 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1838 { { case "(($ac_try" in
1839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1840 *) ac_try_echo=$ac_try;;
1842 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1843 $as_echo "$ac_try_echo"; } >&5
1844 (eval "$ac_try") 2>&5
1846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1847 test $ac_status = 0; }; }; then :
1850 $as_echo "$as_me: program exited with status $ac_status" >&5
1851 $as_echo "$as_me: failed program was:" >&5
1852 sed 's/^/| /' conftest.$ac_ext >&5
1854 ac_retval=$ac_status
1856 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1857 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1862 # ac_fn_c_check_func LINENO FUNC VAR
1863 # ----------------------------------
1864 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1865 ac_fn_c_check_func ()
1867 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1869 $as_echo_n "checking for $2... " >&6; }
1870 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1871 $as_echo_n "(cached) " >&6
1873 if test x$gcc_no_link = xyes; then
1874 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1877 /* end confdefs.h. */
1878 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1880 #define $2 innocuous_$2
1882 /* System header to define __stub macros and hopefully few prototypes,
1883 which can conflict with char $2 (); below.
1884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1885 <limits.h> exists even on freestanding compilers. */
1888 # include <limits.h>
1890 # include <assert.h>
1895 /* Override any GCC internal prototype to avoid an error.
1896 Use char because int might match the return type of a GCC
1897 builtin and then its argument prototype would still apply. */
1902 /* The GNU C library defines this for functions which it implements
1903 to always fail with ENOSYS. Some functions are actually named
1904 something starting with __ and the normal name is an alias. */
1905 #if defined __stub_$2 || defined __stub___$2
1917 if ac_fn_c_try_link "$LINENO"; then :
1922 rm -f core conftest.err conftest.$ac_objext \
1923 conftest$ac_exeext conftest.$ac_ext
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1927 $as_echo "$ac_res" >&6; }
1928 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1930 } # ac_fn_c_check_func
1932 # ac_fn_cxx_try_cpp LINENO
1933 # ------------------------
1934 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1935 ac_fn_cxx_try_cpp ()
1937 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1938 if { { ac_try="$ac_cpp conftest.$ac_ext"
1940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1941 *) ac_try_echo=$ac_try;;
1943 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1944 $as_echo "$ac_try_echo"; } >&5
1945 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1947 if test -s conftest.err; then
1948 grep -v '^ *+' conftest.err >conftest.er1
1949 cat conftest.er1 >&5
1950 mv -f conftest.er1 conftest.err
1952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1953 test $ac_status = 0; } >/dev/null && {
1954 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1955 test ! -s conftest.err
1959 $as_echo "$as_me: failed program was:" >&5
1960 sed 's/^/| /' conftest.$ac_ext >&5
1964 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1967 } # ac_fn_cxx_try_cpp
1969 # ac_fn_cxx_try_link LINENO
1970 # -------------------------
1971 # Try to link conftest.$ac_ext, and return whether this succeeded.
1972 ac_fn_cxx_try_link ()
1974 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1975 rm -f conftest.$ac_objext conftest$ac_exeext
1976 if { { ac_try="$ac_link"
1978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1979 *) ac_try_echo=$ac_try;;
1981 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1982 $as_echo "$ac_try_echo"; } >&5
1983 (eval "$ac_link") 2>conftest.err
1985 if test -s conftest.err; then
1986 grep -v '^ *+' conftest.err >conftest.er1
1987 cat conftest.er1 >&5
1988 mv -f conftest.er1 conftest.err
1990 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1991 test $ac_status = 0; } && {
1992 test -z "$ac_cxx_werror_flag" ||
1993 test ! -s conftest.err
1994 } && test -s conftest$ac_exeext && {
1995 test "$cross_compiling" = yes ||
1996 $as_test_x conftest$ac_exeext
2000 $as_echo "$as_me: failed program was:" >&5
2001 sed 's/^/| /' conftest.$ac_ext >&5
2005 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2006 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2007 # interfere with the next link command; also delete a directory that is
2008 # left behind by Apple's compiler. We do this before executing the actions.
2009 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2010 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2013 } # ac_fn_cxx_try_link
2015 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2016 # -------------------------------------------------------
2017 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2018 # the include files in INCLUDES and setting the cache variable VAR
2020 ac_fn_c_check_header_mongrel ()
2022 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2023 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2025 $as_echo_n "checking for $2... " >&6; }
2026 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2027 $as_echo_n "(cached) " >&6
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2031 $as_echo "$ac_res" >&6; }
2033 # Is the header compilable?
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2035 $as_echo_n "checking $2 usability... " >&6; }
2036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2037 /* end confdefs.h. */
2041 if ac_fn_c_try_compile "$LINENO"; then :
2042 ac_header_compiler=yes
2044 ac_header_compiler=no
2046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2048 $as_echo "$ac_header_compiler" >&6; }
2050 # Is the header present?
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2052 $as_echo_n "checking $2 presence... " >&6; }
2053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2054 /* end confdefs.h. */
2057 if ac_fn_c_try_cpp "$LINENO"; then :
2058 ac_header_preproc=yes
2060 ac_header_preproc=no
2062 rm -f conftest.err conftest.$ac_ext
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2064 $as_echo "$ac_header_preproc" >&6; }
2066 # So? What about this header?
2067 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2070 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2072 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2076 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2078 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2080 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2082 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2084 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2088 $as_echo_n "checking for $2... " >&6; }
2089 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2090 $as_echo_n "(cached) " >&6
2092 eval "$3=\$ac_header_compiler"
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2096 $as_echo "$ac_res" >&6; }
2098 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2100 } # ac_fn_c_check_header_mongrel
2102 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2103 # ---------------------------------------------------------
2104 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2105 # the include files in INCLUDES and setting the cache variable VAR
2107 ac_fn_cxx_check_header_mongrel ()
2109 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2110 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2112 $as_echo_n "checking for $2... " >&6; }
2113 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2114 $as_echo_n "(cached) " >&6
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2118 $as_echo "$ac_res" >&6; }
2120 # Is the header compilable?
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2122 $as_echo_n "checking $2 usability... " >&6; }
2123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2124 /* end confdefs.h. */
2128 if ac_fn_cxx_try_compile "$LINENO"; then :
2129 ac_header_compiler=yes
2131 ac_header_compiler=no
2133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2135 $as_echo "$ac_header_compiler" >&6; }
2137 # Is the header present?
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2139 $as_echo_n "checking $2 presence... " >&6; }
2140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2141 /* end confdefs.h. */
2144 if ac_fn_cxx_try_cpp "$LINENO"; then :
2145 ac_header_preproc=yes
2147 ac_header_preproc=no
2149 rm -f conftest.err conftest.$ac_ext
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2151 $as_echo "$ac_header_preproc" >&6; }
2153 # So? What about this header?
2154 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2157 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2159 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2163 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2165 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2167 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2169 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2171 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2175 $as_echo_n "checking for $2... " >&6; }
2176 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2177 $as_echo_n "(cached) " >&6
2179 eval "$3=\$ac_header_compiler"
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2183 $as_echo "$ac_res" >&6; }
2185 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2187 } # ac_fn_cxx_check_header_mongrel
2189 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2190 # -------------------------------------------
2191 # Tests whether TYPE exists after having included INCLUDES, setting cache
2192 # variable VAR accordingly.
2193 ac_fn_c_check_type ()
2195 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2197 $as_echo_n "checking for $2... " >&6; }
2198 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2199 $as_echo_n "(cached) " >&6
2202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2203 /* end confdefs.h. */
2214 if ac_fn_c_try_compile "$LINENO"; then :
2215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2216 /* end confdefs.h. */
2227 if ac_fn_c_try_compile "$LINENO"; then :
2232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2238 $as_echo "$ac_res" >&6; }
2239 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2241 } # ac_fn_c_check_type
2243 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2244 # --------------------------------------------
2245 # Tries to find the compile-time value of EXPR in a program that includes
2246 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2248 ac_fn_c_compute_int ()
2250 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2251 if test "$cross_compiling" = yes; then
2252 # Depending upon the size, compute the lo and hi bounds.
2253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2254 /* end confdefs.h. */
2259 static int test_array [1 - 2 * !(($2) >= 0)];
2266 if ac_fn_c_try_compile "$LINENO"; then :
2269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2270 /* end confdefs.h. */
2275 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2282 if ac_fn_c_try_compile "$LINENO"; then :
2283 ac_hi=$ac_mid; break
2285 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2286 if test $ac_lo -le $ac_mid; then
2290 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2296 /* end confdefs.h. */
2301 static int test_array [1 - 2 * !(($2) < 0)];
2308 if ac_fn_c_try_compile "$LINENO"; then :
2311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2312 /* end confdefs.h. */
2317 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2324 if ac_fn_c_try_compile "$LINENO"; then :
2325 ac_lo=$ac_mid; break
2327 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2328 if test $ac_mid -le $ac_hi; then
2332 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2342 # Binary search between lo and hi bounds.
2343 while test "x$ac_lo" != "x$ac_hi"; do
2344 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2346 /* end confdefs.h. */
2351 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2358 if ac_fn_c_try_compile "$LINENO"; then :
2361 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2366 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2371 /* end confdefs.h. */
2373 static long int longval () { return $2; }
2374 static unsigned long int ulongval () { return $2; }
2381 FILE *f = fopen ("conftest.val", "w");
2386 long int i = longval ();
2389 fprintf (f, "%ld", i);
2393 unsigned long int i = ulongval ();
2396 fprintf (f, "%lu", i);
2398 /* Do not output a trailing newline, as this causes \r\n confusion
2399 on some platforms. */
2400 return ferror (f) || fclose (f) != 0;
2406 if ac_fn_c_try_run "$LINENO"; then :
2407 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2411 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2412 conftest.$ac_objext conftest.beam conftest.$ac_ext
2416 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2419 } # ac_fn_c_compute_int
2420 cat >config.log <<_ACEOF
2421 This file contains any messages produced by compilers while
2422 running configure, to aid debugging if configure makes a mistake.
2424 It was created by package-unused $as_me version-unused, which was
2425 generated by GNU Autoconf 2.64. Invocation command line was
2437 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2438 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2439 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2440 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2441 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2443 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2444 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2446 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2447 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2448 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2449 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2450 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2451 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2452 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2460 test -z "$as_dir" && as_dir=.
2461 $as_echo "PATH: $as_dir"
2477 # Keep a trace of the command line.
2478 # Strip out --no-create and --no-recursion so they do not pile up.
2479 # Strip out --silent because we don't want to record it for future runs.
2480 # Also quote any args containing shell meta-characters.
2481 # Make two passes to allow for proper duplicate-argument suppression.
2485 ac_must_keep_next=false
2491 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2492 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2493 | -silent | --silent | --silen | --sile | --sil)
2496 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2499 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2501 as_fn_append ac_configure_args1 " '$ac_arg'"
2502 if test $ac_must_keep_next = true; then
2503 ac_must_keep_next=false # Got value, back to normal.
2506 *=* | --config-cache | -C | -disable-* | --disable-* \
2507 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2508 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2509 | -with-* | --with-* | -without-* | --without-* | --x)
2510 case "$ac_configure_args0 " in
2511 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2514 -* ) ac_must_keep_next=true ;;
2517 as_fn_append ac_configure_args " '$ac_arg'"
2522 { ac_configure_args0=; unset ac_configure_args0;}
2523 { ac_configure_args1=; unset ac_configure_args1;}
2525 # When interrupted or exit'd, cleanup temporary files, and complete
2526 # config.log. We remove comments because anyway the quotes in there
2527 # would cause problems or look ugly.
2528 # WARNING: Use '\'' to represent an apostrophe within the trap.
2529 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2530 trap 'exit_status=$?
2531 # Save into config.log some information that might help in debugging.
2536 ## ---------------- ##
2537 ## Cache variables. ##
2538 ## ---------------- ##
2541 # The following way of writing the cache mishandles newlines in values,
2543 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2544 eval ac_val=\$$ac_var
2548 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2549 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2552 _ | IFS | as_nl) ;; #(
2553 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2554 *) { eval $ac_var=; unset $ac_var;} ;;
2559 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2560 *${as_nl}ac_space=\ *)
2562 "s/'\''/'\''\\\\'\'''\''/g;
2563 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2566 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2574 ## ----------------- ##
2575 ## Output variables. ##
2576 ## ----------------- ##
2579 for ac_var in $ac_subst_vars
2581 eval ac_val=\$$ac_var
2583 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2585 $as_echo "$ac_var='\''$ac_val'\''"
2589 if test -n "$ac_subst_files"; then
2591 ## ------------------- ##
2592 ## File substitutions. ##
2593 ## ------------------- ##
2596 for ac_var in $ac_subst_files
2598 eval ac_val=\$$ac_var
2600 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2602 $as_echo "$ac_var='\''$ac_val'\''"
2607 if test -s confdefs.h; then
2617 test "$ac_signal" != 0 &&
2618 $as_echo "$as_me: caught signal $ac_signal"
2619 $as_echo "$as_me: exit $exit_status"
2621 rm -f core *.core core.conftest.* &&
2622 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2625 for ac_signal in 1 2 13 15; do
2626 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2630 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2631 rm -f -r conftest* confdefs.h
2633 $as_echo "/* confdefs.h */" > confdefs.h
2635 # Predefined preprocessor variables.
2637 cat >>confdefs.h <<_ACEOF
2638 #define PACKAGE_NAME "$PACKAGE_NAME"
2641 cat >>confdefs.h <<_ACEOF
2642 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2645 cat >>confdefs.h <<_ACEOF
2646 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2649 cat >>confdefs.h <<_ACEOF
2650 #define PACKAGE_STRING "$PACKAGE_STRING"
2653 cat >>confdefs.h <<_ACEOF
2654 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2657 cat >>confdefs.h <<_ACEOF
2658 #define PACKAGE_URL "$PACKAGE_URL"
2662 # Let the site file select an alternate cache file if it wants to.
2663 # Prefer an explicitly selected file to automatically selected ones.
2666 if test -n "$CONFIG_SITE"; then
2667 ac_site_file1=$CONFIG_SITE
2668 elif test "x$prefix" != xNONE; then
2669 ac_site_file1=$prefix/share/config.site
2670 ac_site_file2=$prefix/etc/config.site
2672 ac_site_file1=$ac_default_prefix/share/config.site
2673 ac_site_file2=$ac_default_prefix/etc/config.site
2675 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2677 test "x$ac_site_file" = xNONE && continue
2678 if test -r "$ac_site_file"; then
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2680 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2681 sed 's/^/| /' "$ac_site_file" >&5
2686 if test -r "$cache_file"; then
2687 # Some versions of bash will fail to source /dev/null (special
2688 # files actually), so we avoid doing that.
2689 if test -f "$cache_file"; then
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2691 $as_echo "$as_me: loading cache $cache_file" >&6;}
2693 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2694 *) . "./$cache_file";;
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2699 $as_echo "$as_me: creating cache $cache_file" >&6;}
2703 # Check that the precious variables saved in the cache have kept the same
2705 ac_cache_corrupted=false
2706 for ac_var in $ac_precious_vars; do
2707 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2708 eval ac_new_set=\$ac_env_${ac_var}_set
2709 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2710 eval ac_new_val=\$ac_env_${ac_var}_value
2711 case $ac_old_set,$ac_new_set in
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2714 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2715 ac_cache_corrupted=: ;;
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2718 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2719 ac_cache_corrupted=: ;;
2722 if test "x$ac_old_val" != "x$ac_new_val"; then
2723 # differences in whitespace do not lead to failure.
2724 ac_old_val_w=`echo x $ac_old_val`
2725 ac_new_val_w=`echo x $ac_new_val`
2726 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2728 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2729 ac_cache_corrupted=:
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2732 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2733 eval $ac_var=\$ac_old_val
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2736 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2738 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2741 # Pass precious variables to config.status.
2742 if test "$ac_new_set" = set; then
2744 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2745 *) ac_arg=$ac_var=$ac_new_val ;;
2747 case " $ac_configure_args " in
2748 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2749 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2753 if $ac_cache_corrupted; then
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2755 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2757 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2758 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2760 ## -------------------- ##
2761 ## Main body of script. ##
2762 ## -------------------- ##
2765 ac_cpp='$CPP $CPPFLAGS'
2766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2775 ac_config_headers="$ac_config_headers config.h"
2778 # This works around the fact that libtool configuration may change LD
2779 # for this particular configuration, but some shells, instead of
2780 # keeping the changes in LD private, export them just because LD is
2781 # exported. Only used at the end of this file.
2782 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2784 # For libtool versioning info, format is CURRENT:REVISION:AGE
2785 libtool_VERSION=6:14:0
2788 # Find the rest of the source tree framework.
2789 # Default to --enable-multilib
2790 # Check whether --enable-multilib was given.
2791 if test "${enable_multilib+set}" = set; then :
2792 enableval=$enable_multilib; case "$enableval" in
2793 yes) multilib=yes ;;
2795 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2802 # We may get other options which we leave undocumented:
2803 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2804 # See config-ml.in if you want the gory details.
2806 if test "$srcdir" = "."; then
2807 if test "$with_target_subdir" != "."; then
2808 multi_basedir="$srcdir/$with_multisrctop../.."
2810 multi_basedir="$srcdir/$with_multisrctop.."
2813 multi_basedir="$srcdir/.."
2817 # Even if the default multilib is not a cross compilation,
2818 # it may be that some of the other multilibs are.
2819 if test $cross_compiling = no && test $multilib = yes \
2820 && test "x${with_multisubdir}" != x ; then
2821 cross_compiling=maybe
2824 ac_config_commands="$ac_config_commands default-1"
2827 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2829 # You will slowly go insane if you do not grok the following fact: when
2830 # building v3 as part of the compiler, the top-level /target/ becomes the
2831 # library's /host/. configure then causes --target to default to --host,
2832 # exactly like any other package using autoconf. Therefore, 'target' and
2833 # 'host' will always be the same. This makes sense both for native and
2834 # cross compilers, just think about it for a little while. :-)
2836 # Also, if v3 is being configured as part of a cross compiler, the top-level
2837 # configure script will pass the "real" host as $with_cross_host.
2839 # Do not delete or change the following two lines. For why, see
2840 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2842 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2843 for ac_t in install-sh install.sh shtool; do
2844 if test -f "$ac_dir/$ac_t"; then
2846 ac_install_sh="$ac_aux_dir/$ac_t -c"
2851 if test -z "$ac_aux_dir"; then
2852 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2855 # These three variables are undocumented and unsupported,
2856 # and are intended to be withdrawn in a future Autoconf release.
2857 # They can cause serious problems if a builder's source tree is in a directory
2858 # whose full name contains unusual characters.
2859 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2860 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2861 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2864 # Make sure we can run config.sub.
2865 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2866 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2869 $as_echo_n "checking build system type... " >&6; }
2870 if test "${ac_cv_build+set}" = set; then :
2871 $as_echo_n "(cached) " >&6
2873 ac_build_alias=$build_alias
2874 test "x$ac_build_alias" = x &&
2875 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2876 test "x$ac_build_alias" = x &&
2877 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2878 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2879 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2883 $as_echo "$ac_cv_build" >&6; }
2884 case $ac_cv_build in
2886 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2889 ac_save_IFS=$IFS; IFS='-'
2895 # Remember, the first character of IFS is used to create $*,
2896 # except with old shells:
2899 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2903 $as_echo_n "checking host system type... " >&6; }
2904 if test "${ac_cv_host+set}" = set; then :
2905 $as_echo_n "(cached) " >&6
2907 if test "x$host_alias" = x; then
2908 ac_cv_host=$ac_cv_build
2910 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2911 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2916 $as_echo "$ac_cv_host" >&6; }
2919 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2922 ac_save_IFS=$IFS; IFS='-'
2928 # Remember, the first character of IFS is used to create $*,
2929 # except with old shells:
2932 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2936 $as_echo_n "checking target system type... " >&6; }
2937 if test "${ac_cv_target+set}" = set; then :
2938 $as_echo_n "(cached) " >&6
2940 if test "x$target_alias" = x; then
2941 ac_cv_target=$ac_cv_host
2943 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2944 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2949 $as_echo "$ac_cv_target" >&6; }
2950 case $ac_cv_target in
2952 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2954 target=$ac_cv_target
2955 ac_save_IFS=$IFS; IFS='-'
2961 # Remember, the first character of IFS is used to create $*,
2962 # except with old shells:
2965 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2968 # The aliases save the names the user supplied, while $host etc.
2969 # will get canonicalized.
2970 test -n "$target_alias" &&
2971 test "$program_prefix$program_suffix$program_transform_name" = \
2973 program_prefix=${target_alias}-
2975 target_alias=${target_alias-$host_alias}
2977 # Handy for debugging:
2978 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
2980 if test "$build" != "$host"; then
2981 # We are being configured with some form of cross compiler.
2982 GLIBCXX_IS_NATIVE=false
2983 case "$host","$target" in
2984 # Darwin crosses can use the host system's libraries and headers,
2985 # because of the fat library support. Of course, it must be the
2986 # same version of Darwin on both sides. Allow the user to
2987 # just say --target=foo-darwin without a version number to mean
2988 # "the version on this system".
2989 *-*-darwin*,*-*-darwin*)
2990 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
2991 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
2992 if test $hostos = $targetos -o $targetos = darwin ; then
2993 GLIBCXX_IS_NATIVE=true
3002 GLIBCXX_IS_NATIVE=true
3005 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3006 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3007 # 1.x: minimum required version
3008 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3009 # of other PACKAGE_* variables will, however, and there's nothing
3010 # we can do about that; they come from AC_INIT).
3011 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3012 # file in the top srcdir, etc, etc), so stop complaining.
3013 # no-dependencies: turns off auto dependency generation (just for now)
3014 # -Wall: turns on all automake warnings...
3015 # -Wno-portability: ...except this one, since GNU make is now required.
3016 am__api_version='1.11'
3018 # Find a good install program. We prefer a C program (faster),
3019 # so one script is as good as another. But avoid the broken or
3020 # incompatible versions:
3021 # SysV /etc/install, /usr/sbin/install
3022 # SunOS /usr/etc/install
3023 # IRIX /sbin/install
3025 # AmigaOS /C/install, which installs bootblocks on floppy discs
3026 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3027 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3028 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3029 # OS/2's system install, which has a completely different semantic
3030 # ./install, which can be erroneously created by make from ./install.sh.
3031 # Reject install programs that cannot install multiple files.
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3033 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3034 if test -z "$INSTALL"; then
3035 if test "${ac_cv_path_install+set}" = set; then :
3036 $as_echo_n "(cached) " >&6
3038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3042 test -z "$as_dir" && as_dir=.
3043 # Account for people who put trailing slashes in PATH elements.
3044 case $as_dir/ in #((
3045 ./ | .// | /[cC]/* | \
3046 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3047 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3050 # OSF1 and SCO ODT 3.0 have their own names for install.
3051 # Don't use installbsd from OSF since it installs stuff as root
3053 for ac_prog in ginstall scoinst install; do
3054 for ac_exec_ext in '' $ac_executable_extensions; do
3055 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3056 if test $ac_prog = install &&
3057 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3058 # AIX install. It has an incompatible calling convention.
3060 elif test $ac_prog = install &&
3061 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3062 # program-specific install script used by HP pwplus--don't use.
3065 rm -rf conftest.one conftest.two conftest.dir
3066 echo one > conftest.one
3067 echo two > conftest.two
3069 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3070 test -s conftest.one && test -s conftest.two &&
3071 test -s conftest.dir/conftest.one &&
3072 test -s conftest.dir/conftest.two
3074 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3087 rm -rf conftest.one conftest.two conftest.dir
3090 if test "${ac_cv_path_install+set}" = set; then
3091 INSTALL=$ac_cv_path_install
3093 # As a last resort, use the slow shell script. Don't cache a
3094 # value for INSTALL within a source directory, because that will
3095 # break other packages using the cache if that directory is
3096 # removed, or if the value is a relative name.
3097 INSTALL=$ac_install_sh
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3101 $as_echo "$INSTALL" >&6; }
3103 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3104 # It thinks the first close brace ends the variable substitution.
3105 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3107 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3109 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3112 $as_echo_n "checking whether build environment is sane... " >&6; }
3115 echo timestamp > conftest.file
3116 # Reject unsafe characters in $srcdir or the absolute working directory
3117 # name. Accept space and tab only in the latter.
3121 *[\\\"\#\$\&\'\`$am_lf]*)
3122 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3125 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3126 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3129 # Do `set' in a subshell so we don't clobber the current shell's
3130 # arguments. Must try -L first in case configure is actually a
3131 # symlink; some systems play weird games with the mod time of symlinks
3132 # (eg FreeBSD returns the mod time of the symlink's containing
3135 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3136 if test "$*" = "X"; then
3138 set X `ls -t "$srcdir/configure" conftest.file`
3141 if test "$*" != "X $srcdir/configure conftest.file" \
3142 && test "$*" != "X conftest.file $srcdir/configure"; then
3144 # If neither matched, then we have a broken ls. This can happen
3145 # if, for instance, CONFIG_SHELL is bash and it inherits a
3146 # broken ls alias from the environment. This has actually
3147 # happened. Such a system could not be considered "sane".
3148 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3149 alias in your environment" "$LINENO" 5
3152 test "$2" = conftest.file
3158 as_fn_error "newly created file is older than distributed files!
3159 Check your system clock" "$LINENO" 5
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3162 $as_echo "yes" >&6; }
3163 test "$program_prefix" != NONE &&
3164 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3165 # Use a double $ so make ignores it.
3166 test "$program_suffix" != NONE &&
3167 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3168 # Double any \ or $.
3169 # By default was `s,x,x', remove it if useless.
3170 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3171 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3173 # expand $ac_aux_dir to an absolute path
3174 am_aux_dir=`cd $ac_aux_dir && pwd`
3176 if test x"${MISSING+set}" != xset; then
3179 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3181 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3184 # Use eval to expand $SHELL
3185 if eval "$MISSING --run true"; then
3186 am_missing_run="$MISSING --run "
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3190 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3193 if test x"${install_sh}" != xset; then
3196 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3198 install_sh="\${SHELL} $am_aux_dir/install-sh"
3202 # Installed binaries are usually stripped using `strip' when the user
3203 # run `make install-strip'. However `strip' might not be the right
3204 # tool to use in cross-compilation environments, therefore Automake
3205 # will honor the `STRIP' environment variable to overrule this program.
3206 if test "$cross_compiling" != no; then
3207 if test -n "$ac_tool_prefix"; then
3208 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3209 set dummy ${ac_tool_prefix}strip; ac_word=$2
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3211 $as_echo_n "checking for $ac_word... " >&6; }
3212 if test "${ac_cv_prog_STRIP+set}" = set; then :
3213 $as_echo_n "(cached) " >&6
3215 if test -n "$STRIP"; then
3216 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3222 test -z "$as_dir" && as_dir=.
3223 for ac_exec_ext in '' $ac_executable_extensions; do
3224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3225 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3235 STRIP=$ac_cv_prog_STRIP
3236 if test -n "$STRIP"; then
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3238 $as_echo "$STRIP" >&6; }
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3241 $as_echo "no" >&6; }
3246 if test -z "$ac_cv_prog_STRIP"; then
3248 # Extract the first word of "strip", so it can be a program name with args.
3249 set dummy strip; ac_word=$2
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3251 $as_echo_n "checking for $ac_word... " >&6; }
3252 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3253 $as_echo_n "(cached) " >&6
3255 if test -n "$ac_ct_STRIP"; then
3256 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3262 test -z "$as_dir" && as_dir=.
3263 for ac_exec_ext in '' $ac_executable_extensions; do
3264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3265 ac_cv_prog_ac_ct_STRIP="strip"
3266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3275 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3276 if test -n "$ac_ct_STRIP"; then
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3278 $as_echo "$ac_ct_STRIP" >&6; }
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3281 $as_echo "no" >&6; }
3284 if test "x$ac_ct_STRIP" = x; then
3287 case $cross_compiling:$ac_tool_warned in
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3290 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3291 ac_tool_warned=yes ;;
3296 STRIP="$ac_cv_prog_STRIP"
3300 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3303 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3304 if test -z "$MKDIR_P"; then
3305 if test "${ac_cv_path_mkdir+set}" = set; then :
3306 $as_echo_n "(cached) " >&6
3308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3309 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3312 test -z "$as_dir" && as_dir=.
3313 for ac_prog in mkdir gmkdir; do
3314 for ac_exec_ext in '' $ac_executable_extensions; do
3315 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3316 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3317 'mkdir (GNU coreutils) '* | \
3318 'mkdir (coreutils) '* | \
3319 'mkdir (fileutils) '4.1*)
3320 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3330 if test "${ac_cv_path_mkdir+set}" = set; then
3331 MKDIR_P="$ac_cv_path_mkdir -p"
3333 # As a last resort, use the slow shell script. Don't cache a
3334 # value for MKDIR_P within a source directory, because that will
3335 # break other packages using the cache if that directory is
3336 # removed, or if the value is a relative name.
3337 test -d ./--version && rmdir ./--version
3338 MKDIR_P="$ac_install_sh -d"
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3342 $as_echo "$MKDIR_P" >&6; }
3346 [\\/$]* | ?:[\\/]*) ;;
3347 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3350 for ac_prog in gawk mawk nawk awk
3352 # Extract the first word of "$ac_prog", so it can be a program name with args.
3353 set dummy $ac_prog; ac_word=$2
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3355 $as_echo_n "checking for $ac_word... " >&6; }
3356 if test "${ac_cv_prog_AWK+set}" = set; then :
3357 $as_echo_n "(cached) " >&6
3359 if test -n "$AWK"; then
3360 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3366 test -z "$as_dir" && as_dir=.
3367 for ac_exec_ext in '' $ac_executable_extensions; do
3368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3369 ac_cv_prog_AWK="$ac_prog"
3370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3380 if test -n "$AWK"; then
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3382 $as_echo "$AWK" >&6; }
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3385 $as_echo "no" >&6; }
3389 test -n "$AWK" && break
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3393 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3395 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3396 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3397 $as_echo_n "(cached) " >&6
3399 cat >conftest.make <<\_ACEOF
3402 @echo '@@@%%%=$(MAKE)=@@@%%%'
3404 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3405 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3407 eval ac_cv_prog_make_${ac_make}_set=yes;;
3409 eval ac_cv_prog_make_${ac_make}_set=no;;
3413 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3415 $as_echo "yes" >&6; }
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3419 $as_echo "no" >&6; }
3420 SET_MAKE="MAKE=${MAKE-make}"
3423 rm -rf .tst 2>/dev/null
3424 mkdir .tst 2>/dev/null
3425 if test -d .tst; then
3430 rmdir .tst 2>/dev/null
3432 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3433 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3434 # is not polluted with repeated "-I."
3435 am__isrc=' -I$(srcdir)'
3436 # test to see if srcdir already configured
3437 if test -f $srcdir/config.status; then
3438 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3442 # test whether we have cygpath
3443 if test -z "$CYGPATH_W"; then
3444 if (cygpath --version) >/dev/null 2>/dev/null; then
3445 CYGPATH_W='cygpath -w'
3452 # Define the identity of the package.
3454 VERSION='version-unused'
3457 # Some tools Automake needs.
3459 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3462 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3465 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3468 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3471 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3473 # We need awk for the "check" target. The system "awk" is bad on
3475 # Always define AMTAR for backward compatibility.
3477 AMTAR=${AMTAR-"${am_missing_run}tar"}
3479 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3488 # We're almost certainly being configured before anything else which uses
3489 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
3490 # we not cache the value of CXX that we "discover" here, because it's set
3491 # to something unique for us and libjava. Other target libraries need to
3492 # find CXX for themselves. We yank the rug out from under the normal AC_*
3493 # process by sneakily renaming the cache variable. This also lets us debug
3494 # the value of "our" CXX in postmortems.
3496 # We must also force CXX to /not/ be a precious variable, otherwise the
3497 # wrong (non-multilib-adjusted) value will be used in multilibs. This
3498 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
3499 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
3500 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
3502 # -fno-builtin must be present here so that a non-conflicting form of
3503 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3508 save_CXXFLAGS="$CXXFLAGS"
3509 CXXFLAGS="$CXXFLAGS -fno-builtin"
3511 ac_cpp='$CPP $CPPFLAGS'
3512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3515 if test -n "$ac_tool_prefix"; then
3516 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3517 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3519 $as_echo_n "checking for $ac_word... " >&6; }
3520 if test "${ac_cv_prog_CC+set}" = set; then :
3521 $as_echo_n "(cached) " >&6
3523 if test -n "$CC"; then
3524 ac_cv_prog_CC="$CC" # Let the user override the test.
3526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3530 test -z "$as_dir" && as_dir=.
3531 for ac_exec_ext in '' $ac_executable_extensions; do
3532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3533 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3544 if test -n "$CC"; then
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3546 $as_echo "$CC" >&6; }
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3549 $as_echo "no" >&6; }
3554 if test -z "$ac_cv_prog_CC"; then
3556 # Extract the first word of "gcc", so it can be a program name with args.
3557 set dummy gcc; ac_word=$2
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3559 $as_echo_n "checking for $ac_word... " >&6; }
3560 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3561 $as_echo_n "(cached) " >&6
3563 if test -n "$ac_ct_CC"; then
3564 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3570 test -z "$as_dir" && as_dir=.
3571 for ac_exec_ext in '' $ac_executable_extensions; do
3572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3573 ac_cv_prog_ac_ct_CC="gcc"
3574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3583 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3584 if test -n "$ac_ct_CC"; then
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3586 $as_echo "$ac_ct_CC" >&6; }
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3589 $as_echo "no" >&6; }
3592 if test "x$ac_ct_CC" = x; then
3595 case $cross_compiling:$ac_tool_warned in
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3598 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3599 ac_tool_warned=yes ;;
3607 if test -z "$CC"; then
3608 if test -n "$ac_tool_prefix"; then
3609 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3610 set dummy ${ac_tool_prefix}cc; ac_word=$2
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3612 $as_echo_n "checking for $ac_word... " >&6; }
3613 if test "${ac_cv_prog_CC+set}" = set; then :
3614 $as_echo_n "(cached) " >&6
3616 if test -n "$CC"; then
3617 ac_cv_prog_CC="$CC" # Let the user override the test.
3619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3623 test -z "$as_dir" && as_dir=.
3624 for ac_exec_ext in '' $ac_executable_extensions; do
3625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3626 ac_cv_prog_CC="${ac_tool_prefix}cc"
3627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3637 if test -n "$CC"; then
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3639 $as_echo "$CC" >&6; }
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3642 $as_echo "no" >&6; }
3648 if test -z "$CC"; then
3649 # Extract the first word of "cc", so it can be a program name with args.
3650 set dummy cc; ac_word=$2
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3652 $as_echo_n "checking for $ac_word... " >&6; }
3653 if test "${ac_cv_prog_CC+set}" = set; then :
3654 $as_echo_n "(cached) " >&6
3656 if test -n "$CC"; then
3657 ac_cv_prog_CC="$CC" # Let the user override the test.
3660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3664 test -z "$as_dir" && as_dir=.
3665 for ac_exec_ext in '' $ac_executable_extensions; do
3666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3667 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3668 ac_prog_rejected=yes
3672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3679 if test $ac_prog_rejected = yes; then
3680 # We found a bogon in the path, so make sure we never use it.
3681 set dummy $ac_cv_prog_CC
3683 if test $# != 0; then
3684 # We chose a different compiler from the bogus one.
3685 # However, it has the same basename, so the bogon will be chosen
3686 # first if we set CC to just the basename; use the full file name.
3688 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3694 if test -n "$CC"; then
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3696 $as_echo "$CC" >&6; }
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3699 $as_echo "no" >&6; }
3704 if test -z "$CC"; then
3705 if test -n "$ac_tool_prefix"; then
3706 for ac_prog in cl.exe
3708 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3709 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3711 $as_echo_n "checking for $ac_word... " >&6; }
3712 if test "${ac_cv_prog_CC+set}" = set; then :
3713 $as_echo_n "(cached) " >&6
3715 if test -n "$CC"; then
3716 ac_cv_prog_CC="$CC" # Let the user override the test.
3718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3722 test -z "$as_dir" && as_dir=.
3723 for ac_exec_ext in '' $ac_executable_extensions; do
3724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3725 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3736 if test -n "$CC"; then
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3738 $as_echo "$CC" >&6; }
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3741 $as_echo "no" >&6; }
3745 test -n "$CC" && break
3748 if test -z "$CC"; then
3750 for ac_prog in cl.exe
3752 # Extract the first word of "$ac_prog", so it can be a program name with args.
3753 set dummy $ac_prog; ac_word=$2
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3755 $as_echo_n "checking for $ac_word... " >&6; }
3756 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3757 $as_echo_n "(cached) " >&6
3759 if test -n "$ac_ct_CC"; then
3760 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3766 test -z "$as_dir" && as_dir=.
3767 for ac_exec_ext in '' $ac_executable_extensions; do
3768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3769 ac_cv_prog_ac_ct_CC="$ac_prog"
3770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3779 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3780 if test -n "$ac_ct_CC"; then
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3782 $as_echo "$ac_ct_CC" >&6; }
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3785 $as_echo "no" >&6; }
3789 test -n "$ac_ct_CC" && break
3792 if test "x$ac_ct_CC" = x; then
3795 case $cross_compiling:$ac_tool_warned in
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3798 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3799 ac_tool_warned=yes ;;
3808 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3809 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3810 as_fn_error "no acceptable C compiler found in \$PATH
3811 See \`config.log' for more details." "$LINENO" 5; }
3813 # Provide some information about the compiler.
3814 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3817 for ac_option in --version -v -V -qversion; do
3818 { { ac_try="$ac_compiler $ac_option >&5"
3820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3821 *) ac_try_echo=$ac_try;;
3823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3824 $as_echo "$ac_try_echo"; } >&5
3825 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3827 if test -s conftest.err; then
3829 ... rest of stderr output deleted ...
3830 10q' conftest.err >conftest.er1
3831 cat conftest.er1 >&5
3832 rm -f conftest.er1 conftest.err
3834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3835 test $ac_status = 0; }
3838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3839 /* end confdefs.h. */
3850 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3851 (eval $ac_link) 2>&5
3853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3854 test $ac_status = 0; }; then :
3859 if test x$gcc_no_link = xyes; then
3860 # Setting cross_compile will disable run tests; it will
3861 # also disable AC_CHECK_FILE but that's generally
3862 # correct if we can't link.
3866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3867 /* end confdefs.h. */
3877 ac_clean_files_save=$ac_clean_files
3878 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3879 # Try to create an executable without -o first, disregard a.out.
3880 # It will help us diagnose broken compilers, and finding out an intuition
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3883 $as_echo_n "checking for C compiler default output file name... " >&6; }
3884 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3886 # The possible output files:
3887 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3890 for ac_file in $ac_files
3893 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3894 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3899 if { { ac_try="$ac_link_default"
3901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3902 *) ac_try_echo=$ac_try;;
3904 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3905 $as_echo "$ac_try_echo"; } >&5
3906 (eval "$ac_link_default") 2>&5
3908 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3909 test $ac_status = 0; }; then :
3910 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3911 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3912 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3913 # so that the user can short-circuit this test for compilers unknown to
3915 for ac_file in $ac_files ''
3917 test -f "$ac_file" || continue
3919 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3922 # We found the default executable, but exeext='' is most
3926 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3928 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3930 # We set ac_cv_exeext here because the later test for it is not
3931 # safe: cross compilers may not add the suffix if given an `-o'
3932 # argument, so we may need to know it at that point already.
3933 # Even if this section looks crufty: it has the advantage of
3940 test "$ac_cv_exeext" = no && ac_cv_exeext=
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3946 $as_echo "$ac_file" >&6; }
3947 if test -z "$ac_file"; then :
3948 $as_echo "$as_me: failed program was:" >&5
3949 sed 's/^/| /' conftest.$ac_ext >&5
3951 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3952 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3953 { as_fn_set_status 77
3954 as_fn_error "C compiler cannot create executables
3955 See \`config.log' for more details." "$LINENO" 5; }; }
3957 ac_exeext=$ac_cv_exeext
3959 # Check that the compiler produces executables we can run. If not, either
3960 # the compiler is broken, or we cross compile.
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3962 $as_echo_n "checking whether the C compiler works... " >&6; }
3963 # If not cross compiling, check that we can run a simple program.
3964 if test "$cross_compiling" != yes; then
3965 if { ac_try='./$ac_file'
3966 { { case "(($ac_try" in
3967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3968 *) ac_try_echo=$ac_try;;
3970 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3971 $as_echo "$ac_try_echo"; } >&5
3972 (eval "$ac_try") 2>&5
3974 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3975 test $ac_status = 0; }; }; then
3978 if test "$cross_compiling" = maybe; then
3981 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3982 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3983 as_fn_error "cannot run C compiled programs.
3984 If you meant to cross compile, use \`--host'.
3985 See \`config.log' for more details." "$LINENO" 5; }
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3990 $as_echo "yes" >&6; }
3992 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3993 ac_clean_files=$ac_clean_files_save
3994 # Check that the compiler produces executables we can run. If not, either
3995 # the compiler is broken, or we cross compile.
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3997 $as_echo_n "checking whether we are cross compiling... " >&6; }
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3999 $as_echo "$cross_compiling" >&6; }
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4002 $as_echo_n "checking for suffix of executables... " >&6; }
4003 if { { ac_try="$ac_link"
4005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4006 *) ac_try_echo=$ac_try;;
4008 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4009 $as_echo "$ac_try_echo"; } >&5
4010 (eval "$ac_link") 2>&5
4012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4013 test $ac_status = 0; }; then :
4014 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4015 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4016 # work properly (i.e., refer to `conftest.exe'), while it won't with
4018 for ac_file in conftest.exe conftest conftest.*; do
4019 test -f "$ac_file" || continue
4021 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4022 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4028 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4029 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4030 as_fn_error "cannot compute suffix of executables: cannot compile and link
4031 See \`config.log' for more details." "$LINENO" 5; }
4033 rm -f conftest$ac_cv_exeext
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4035 $as_echo "$ac_cv_exeext" >&6; }
4037 rm -f conftest.$ac_ext
4038 EXEEXT=$ac_cv_exeext
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4042 $as_echo_n "checking for suffix of object files... " >&6; }
4043 if test "${ac_cv_objext+set}" = set; then :
4044 $as_echo_n "(cached) " >&6
4046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4047 /* end confdefs.h. */
4057 rm -f conftest.o conftest.obj
4058 if { { ac_try="$ac_compile"
4060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4061 *) ac_try_echo=$ac_try;;
4063 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4064 $as_echo "$ac_try_echo"; } >&5
4065 (eval "$ac_compile") 2>&5
4067 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4068 test $ac_status = 0; }; then :
4069 for ac_file in conftest.o conftest.obj conftest.*; do
4070 test -f "$ac_file" || continue;
4072 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4073 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4078 $as_echo "$as_me: failed program was:" >&5
4079 sed 's/^/| /' conftest.$ac_ext >&5
4081 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4082 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4083 as_fn_error "cannot compute suffix of object files: cannot compile
4084 See \`config.log' for more details." "$LINENO" 5; }
4086 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4089 $as_echo "$ac_cv_objext" >&6; }
4090 OBJEXT=$ac_cv_objext
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4093 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4094 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4095 $as_echo_n "(cached) " >&6
4097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4098 /* end confdefs.h. */
4111 if ac_fn_c_try_compile "$LINENO"; then :
4116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4117 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4121 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4122 if test $ac_compiler_gnu = yes; then
4127 ac_test_CFLAGS=${CFLAGS+set}
4128 ac_save_CFLAGS=$CFLAGS
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4130 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4131 if test "${ac_cv_prog_cc_g+set}" = set; then :
4132 $as_echo_n "(cached) " >&6
4134 ac_save_c_werror_flag=$ac_c_werror_flag
4135 ac_c_werror_flag=yes
4138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4139 /* end confdefs.h. */
4149 if ac_fn_c_try_compile "$LINENO"; then :
4153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4154 /* end confdefs.h. */
4164 if ac_fn_c_try_compile "$LINENO"; then :
4167 ac_c_werror_flag=$ac_save_c_werror_flag
4169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4170 /* end confdefs.h. */
4180 if ac_fn_c_try_compile "$LINENO"; then :
4183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4188 ac_c_werror_flag=$ac_save_c_werror_flag
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4191 $as_echo "$ac_cv_prog_cc_g" >&6; }
4192 if test "$ac_test_CFLAGS" = set; then
4193 CFLAGS=$ac_save_CFLAGS
4194 elif test $ac_cv_prog_cc_g = yes; then
4195 if test "$GCC" = yes; then
4201 if test "$GCC" = yes; then
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4208 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4209 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4210 $as_echo_n "(cached) " >&6
4212 ac_cv_prog_cc_c89=no
4214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4215 /* end confdefs.h. */
4218 #include <sys/types.h>
4219 #include <sys/stat.h>
4220 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4221 struct buf { int x; };
4222 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4223 static char *e (p, i)
4229 static char *f (char * (*g) (char **, int), char **p, ...)
4234 s = g (p, va_arg (v,int));
4239 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4240 function prototypes and stuff, but not '\xHH' hex character constants.
4241 These don't provoke an error unfortunately, instead are silently treated
4242 as 'x'. The following induces an error, until -std is added to get
4243 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4244 array size at least. It's necessary to write '\x00'==0 to get something
4245 that's true only with -std. */
4246 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4248 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4249 inside strings and character constants. */
4251 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4253 int test (int i, double x);
4254 struct s1 {int (*f) (int a);};
4255 struct s2 {int (*f) (double a);};
4256 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4262 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4267 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4268 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4270 CC="$ac_save_CC $ac_arg"
4271 if ac_fn_c_try_compile "$LINENO"; then :
4272 ac_cv_prog_cc_c89=$ac_arg
4274 rm -f core conftest.err conftest.$ac_objext
4275 test "x$ac_cv_prog_cc_c89" != "xno" && break
4277 rm -f conftest.$ac_ext
4282 case "x$ac_cv_prog_cc_c89" in
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4285 $as_echo "none needed" >&6; } ;;
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4288 $as_echo "unsupported" >&6; } ;;
4290 CC="$CC $ac_cv_prog_cc_c89"
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4292 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4294 if test "x$ac_cv_prog_cc_c89" != xno; then :
4299 ac_cpp='$CPP $CPPFLAGS'
4300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4305 ac_cpp='$CXXCPP $CPPFLAGS'
4306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4309 if test -z "$CXX"; then
4310 if test -n "$CCC"; then
4313 if test -n "$ac_tool_prefix"; then
4314 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4316 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4317 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4319 $as_echo_n "checking for $ac_word... " >&6; }
4320 if test "${glibcxx_cv_prog_CXX+set}" = set; then :
4321 $as_echo_n "(cached) " >&6
4323 if test -n "$CXX"; then
4324 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
4326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4330 test -z "$as_dir" && as_dir=.
4331 for ac_exec_ext in '' $ac_executable_extensions; do
4332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4333 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4343 CXX=$glibcxx_cv_prog_CXX
4344 if test -n "$CXX"; then
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4346 $as_echo "$CXX" >&6; }
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4349 $as_echo "no" >&6; }
4353 test -n "$CXX" && break
4356 if test -z "$CXX"; then
4358 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4360 # Extract the first word of "$ac_prog", so it can be a program name with args.
4361 set dummy $ac_prog; ac_word=$2
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4363 $as_echo_n "checking for $ac_word... " >&6; }
4364 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4365 $as_echo_n "(cached) " >&6
4367 if test -n "$ac_ct_CXX"; then
4368 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4374 test -z "$as_dir" && as_dir=.
4375 for ac_exec_ext in '' $ac_executable_extensions; do
4376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4377 ac_cv_prog_ac_ct_CXX="$ac_prog"
4378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4387 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4388 if test -n "$ac_ct_CXX"; then
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4390 $as_echo "$ac_ct_CXX" >&6; }
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4393 $as_echo "no" >&6; }
4397 test -n "$ac_ct_CXX" && break
4400 if test "x$ac_ct_CXX" = x; then
4403 case $cross_compiling:$ac_tool_warned in
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4406 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4407 ac_tool_warned=yes ;;
4415 # Provide some information about the compiler.
4416 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4419 for ac_option in --version -v -V -qversion; do
4420 { { ac_try="$ac_compiler $ac_option >&5"
4422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4423 *) ac_try_echo=$ac_try;;
4425 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4426 $as_echo "$ac_try_echo"; } >&5
4427 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4429 if test -s conftest.err; then
4431 ... rest of stderr output deleted ...
4432 10q' conftest.err >conftest.er1
4433 cat conftest.er1 >&5
4434 rm -f conftest.er1 conftest.err
4436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4437 test $ac_status = 0; }
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4441 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4442 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4443 $as_echo_n "(cached) " >&6
4445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4446 /* end confdefs.h. */
4459 if ac_fn_cxx_try_compile "$LINENO"; then :
4464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4465 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4469 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4470 if test $ac_compiler_gnu = yes; then
4475 ac_test_CXXFLAGS=${CXXFLAGS+set}
4476 ac_save_CXXFLAGS=$CXXFLAGS
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4478 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4479 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4480 $as_echo_n "(cached) " >&6
4482 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4483 ac_cxx_werror_flag=yes
4486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4487 /* end confdefs.h. */
4497 if ac_fn_cxx_try_compile "$LINENO"; then :
4498 ac_cv_prog_cxx_g=yes
4501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4502 /* end confdefs.h. */
4512 if ac_fn_cxx_try_compile "$LINENO"; then :
4515 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4518 /* end confdefs.h. */
4528 if ac_fn_cxx_try_compile "$LINENO"; then :
4529 ac_cv_prog_cxx_g=yes
4531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4536 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4539 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4540 if test "$ac_test_CXXFLAGS" = set; then
4541 CXXFLAGS=$ac_save_CXXFLAGS
4542 elif test $ac_cv_prog_cxx_g = yes; then
4543 if test "$GXX" = yes; then
4549 if test "$GXX" = yes; then
4556 ac_cpp='$CPP $CPPFLAGS'
4557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4561 CXXFLAGS="$save_CXXFLAGS"
4566 # Runs configure.host, and assorted other critical bits. Sets
4567 # up critical shell variables.
4570 ac_cpp='$CPP $CPPFLAGS'
4571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4575 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4576 # On Suns, sometimes $CPP names a directory.
4577 if test -n "$CPP" && test -d "$CPP"; then
4580 if test -z "$CPP"; then
4581 if test "${ac_cv_prog_CPP+set}" = set; then :
4582 $as_echo_n "(cached) " >&6
4584 # Double quotes because CPP needs to be expanded
4585 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4588 for ac_c_preproc_warn_flag in '' yes
4590 # Use a header file that comes with gcc, so configuring glibc
4591 # with a fresh cross-compiler works.
4592 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4593 # <limits.h> exists even on freestanding compilers.
4594 # On the NeXT, cc -E runs the code through the compiler's parser,
4595 # not just through cpp. "Syntax error" is here to catch this case.
4596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4597 /* end confdefs.h. */
4599 # include <limits.h>
4601 # include <assert.h>
4605 if ac_fn_c_try_cpp "$LINENO"; then :
4608 # Broken: fails on valid input.
4611 rm -f conftest.err conftest.$ac_ext
4613 # OK, works on sane cases. Now check whether nonexistent headers
4614 # can be detected and how.
4615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4616 /* end confdefs.h. */
4617 #include <ac_nonexistent.h>
4619 if ac_fn_c_try_cpp "$LINENO"; then :
4620 # Broken: success on invalid input.
4623 # Passes both tests.
4627 rm -f conftest.err conftest.$ac_ext
4630 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4631 rm -f conftest.err conftest.$ac_ext
4632 if $ac_preproc_ok; then :
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4645 $as_echo "$CPP" >&6; }
4647 for ac_c_preproc_warn_flag in '' yes
4649 # Use a header file that comes with gcc, so configuring glibc
4650 # with a fresh cross-compiler works.
4651 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4652 # <limits.h> exists even on freestanding compilers.
4653 # On the NeXT, cc -E runs the code through the compiler's parser,
4654 # not just through cpp. "Syntax error" is here to catch this case.
4655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4656 /* end confdefs.h. */
4658 # include <limits.h>
4660 # include <assert.h>
4664 if ac_fn_c_try_cpp "$LINENO"; then :
4667 # Broken: fails on valid input.
4670 rm -f conftest.err conftest.$ac_ext
4672 # OK, works on sane cases. Now check whether nonexistent headers
4673 # can be detected and how.
4674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4675 /* end confdefs.h. */
4676 #include <ac_nonexistent.h>
4678 if ac_fn_c_try_cpp "$LINENO"; then :
4679 # Broken: success on invalid input.
4682 # Passes both tests.
4686 rm -f conftest.err conftest.$ac_ext
4689 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4690 rm -f conftest.err conftest.$ac_ext
4691 if $ac_preproc_ok; then :
4694 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4695 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4696 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4697 See \`config.log' for more details." "$LINENO" 5; }
4701 ac_cpp='$CPP $CPPFLAGS'
4702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4708 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4709 if test "${ac_cv_path_GREP+set}" = set; then :
4710 $as_echo_n "(cached) " >&6
4712 if test -z "$GREP"; then
4713 ac_path_GREP_found=false
4714 # Loop through the user's path and test for each of PROGNAME-LIST
4715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4716 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4719 test -z "$as_dir" && as_dir=.
4720 for ac_prog in grep ggrep; do
4721 for ac_exec_ext in '' $ac_executable_extensions; do
4722 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4723 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4724 # Check for GNU ac_path_GREP and select it if it is found.
4725 # Check for GNU $ac_path_GREP
4726 case `"$ac_path_GREP" --version 2>&1` in
4728 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4731 $as_echo_n 0123456789 >"conftest.in"
4734 cat "conftest.in" "conftest.in" >"conftest.tmp"
4735 mv "conftest.tmp" "conftest.in"
4736 cp "conftest.in" "conftest.nl"
4737 $as_echo 'GREP' >> "conftest.nl"
4738 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4739 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4740 as_fn_arith $ac_count + 1 && ac_count=$as_val
4741 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4742 # Best one so far, save it but keep looking for a better one
4743 ac_cv_path_GREP="$ac_path_GREP"
4744 ac_path_GREP_max=$ac_count
4746 # 10*(2^10) chars as input seems more than enough
4747 test $ac_count -gt 10 && break
4749 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4752 $ac_path_GREP_found && break 3
4757 if test -z "$ac_cv_path_GREP"; then
4758 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4761 ac_cv_path_GREP=$GREP
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4766 $as_echo "$ac_cv_path_GREP" >&6; }
4767 GREP="$ac_cv_path_GREP"
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4771 $as_echo_n "checking for egrep... " >&6; }
4772 if test "${ac_cv_path_EGREP+set}" = set; then :
4773 $as_echo_n "(cached) " >&6
4775 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4776 then ac_cv_path_EGREP="$GREP -E"
4778 if test -z "$EGREP"; then
4779 ac_path_EGREP_found=false
4780 # Loop through the user's path and test for each of PROGNAME-LIST
4781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4782 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4785 test -z "$as_dir" && as_dir=.
4786 for ac_prog in egrep; do
4787 for ac_exec_ext in '' $ac_executable_extensions; do
4788 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4789 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4790 # Check for GNU ac_path_EGREP and select it if it is found.
4791 # Check for GNU $ac_path_EGREP
4792 case `"$ac_path_EGREP" --version 2>&1` in
4794 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4797 $as_echo_n 0123456789 >"conftest.in"
4800 cat "conftest.in" "conftest.in" >"conftest.tmp"
4801 mv "conftest.tmp" "conftest.in"
4802 cp "conftest.in" "conftest.nl"
4803 $as_echo 'EGREP' >> "conftest.nl"
4804 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4805 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4806 as_fn_arith $ac_count + 1 && ac_count=$as_val
4807 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4808 # Best one so far, save it but keep looking for a better one
4809 ac_cv_path_EGREP="$ac_path_EGREP"
4810 ac_path_EGREP_max=$ac_count
4812 # 10*(2^10) chars as input seems more than enough
4813 test $ac_count -gt 10 && break
4815 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4818 $ac_path_EGREP_found && break 3
4823 if test -z "$ac_cv_path_EGREP"; then
4824 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4827 ac_cv_path_EGREP=$EGREP
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4833 $as_echo "$ac_cv_path_EGREP" >&6; }
4834 EGREP="$ac_cv_path_EGREP"
4838 # Keep these sync'd with the list in Makefile.am. The first provides an
4839 # expandable list at autoconf time; the second provides an expandable list
4840 # (i.e., shell variable) at configure time.
4842 SUBDIRS='include libsupc++ python src doc po testsuite'
4844 # These need to be absolute paths, yet at the same time need to
4845 # canonicalize only relative paths, because then amd will not unmount
4846 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4847 glibcxx_builddir=`${PWDCMD-pwd}`
4849 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4850 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4852 toplevel_srcdir=${glibcxx_srcdir}/..
4857 # We use these options to decide which functions to include. They are
4858 # set from the top level.
4860 # Check whether --with-target-subdir was given.
4861 if test "${with_target_subdir+set}" = set; then :
4862 withval=$with_target_subdir;
4867 # Check whether --with-cross-host was given.
4868 if test "${with_cross_host+set}" = set; then :
4869 withval=$with_cross_host;
4874 # Check whether --with-newlib was given.
4875 if test "${with_newlib+set}" = set; then :
4876 withval=$with_newlib;
4880 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4881 # available). Uncomment the next line to force a particular method.
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4883 $as_echo_n "checking whether ln -s works... " >&6; }
4885 if test "$LN_S" = "ln -s"; then
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4887 $as_echo "yes" >&6; }
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4890 $as_echo "no, using $LN_S" >&6; }
4895 if test -n "$ac_tool_prefix"; then
4896 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4897 set dummy ${ac_tool_prefix}as; ac_word=$2
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4899 $as_echo_n "checking for $ac_word... " >&6; }
4900 if test "${ac_cv_prog_AS+set}" = set; then :
4901 $as_echo_n "(cached) " >&6
4903 if test -n "$AS"; then
4904 ac_cv_prog_AS="$AS" # Let the user override the test.
4906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4910 test -z "$as_dir" && as_dir=.
4911 for ac_exec_ext in '' $ac_executable_extensions; do
4912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4913 ac_cv_prog_AS="${ac_tool_prefix}as"
4914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4924 if test -n "$AS"; then
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4926 $as_echo "$AS" >&6; }
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4929 $as_echo "no" >&6; }
4934 if test -z "$ac_cv_prog_AS"; then
4936 # Extract the first word of "as", so it can be a program name with args.
4937 set dummy as; ac_word=$2
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4939 $as_echo_n "checking for $ac_word... " >&6; }
4940 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4941 $as_echo_n "(cached) " >&6
4943 if test -n "$ac_ct_AS"; then
4944 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4950 test -z "$as_dir" && as_dir=.
4951 for ac_exec_ext in '' $ac_executable_extensions; do
4952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4953 ac_cv_prog_ac_ct_AS="as"
4954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4963 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4964 if test -n "$ac_ct_AS"; then
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4966 $as_echo "$ac_ct_AS" >&6; }
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4969 $as_echo "no" >&6; }
4972 if test "x$ac_ct_AS" = x; then
4975 case $cross_compiling:$ac_tool_warned in
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4978 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4979 ac_tool_warned=yes ;;
4987 if test -n "$ac_tool_prefix"; then
4988 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4989 set dummy ${ac_tool_prefix}ar; ac_word=$2
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4991 $as_echo_n "checking for $ac_word... " >&6; }
4992 if test "${ac_cv_prog_AR+set}" = set; then :
4993 $as_echo_n "(cached) " >&6
4995 if test -n "$AR"; then
4996 ac_cv_prog_AR="$AR" # Let the user override the test.
4998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5002 test -z "$as_dir" && as_dir=.
5003 for ac_exec_ext in '' $ac_executable_extensions; do
5004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5005 ac_cv_prog_AR="${ac_tool_prefix}ar"
5006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5016 if test -n "$AR"; then
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5018 $as_echo "$AR" >&6; }
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5021 $as_echo "no" >&6; }
5026 if test -z "$ac_cv_prog_AR"; then
5028 # Extract the first word of "ar", so it can be a program name with args.
5029 set dummy ar; ac_word=$2
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5031 $as_echo_n "checking for $ac_word... " >&6; }
5032 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5033 $as_echo_n "(cached) " >&6
5035 if test -n "$ac_ct_AR"; then
5036 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5042 test -z "$as_dir" && as_dir=.
5043 for ac_exec_ext in '' $ac_executable_extensions; do
5044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5045 ac_cv_prog_ac_ct_AR="ar"
5046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5055 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5056 if test -n "$ac_ct_AR"; then
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5058 $as_echo "$ac_ct_AR" >&6; }
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5061 $as_echo "no" >&6; }
5064 if test "x$ac_ct_AR" = x; then
5067 case $cross_compiling:$ac_tool_warned in
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5070 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5071 ac_tool_warned=yes ;;
5079 if test -n "$ac_tool_prefix"; then
5080 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5081 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5083 $as_echo_n "checking for $ac_word... " >&6; }
5084 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5085 $as_echo_n "(cached) " >&6
5087 if test -n "$RANLIB"; then
5088 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5094 test -z "$as_dir" && as_dir=.
5095 for ac_exec_ext in '' $ac_executable_extensions; do
5096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5097 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5107 RANLIB=$ac_cv_prog_RANLIB
5108 if test -n "$RANLIB"; then
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5110 $as_echo "$RANLIB" >&6; }
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5113 $as_echo "no" >&6; }
5118 if test -z "$ac_cv_prog_RANLIB"; then
5119 ac_ct_RANLIB=$RANLIB
5120 # Extract the first word of "ranlib", so it can be a program name with args.
5121 set dummy ranlib; ac_word=$2
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5123 $as_echo_n "checking for $ac_word... " >&6; }
5124 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5125 $as_echo_n "(cached) " >&6
5127 if test -n "$ac_ct_RANLIB"; then
5128 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5134 test -z "$as_dir" && as_dir=.
5135 for ac_exec_ext in '' $ac_executable_extensions; do
5136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5137 ac_cv_prog_ac_ct_RANLIB="ranlib"
5138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5147 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5148 if test -n "$ac_ct_RANLIB"; then
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5150 $as_echo "$ac_ct_RANLIB" >&6; }
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5153 $as_echo "no" >&6; }
5156 if test "x$ac_ct_RANLIB" = x; then
5157 RANLIB="ranlib-not-found-in-path-error"
5159 case $cross_compiling:$ac_tool_warned in
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5162 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5163 ac_tool_warned=yes ;;
5165 RANLIB=$ac_ct_RANLIB
5168 RANLIB="$ac_cv_prog_RANLIB"
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5174 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5175 # Check whether --enable-maintainer-mode was given.
5176 if test "${enable_maintainer_mode+set}" = set; then :
5177 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5179 USE_MAINTAINER_MODE=no
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5183 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5184 if test $USE_MAINTAINER_MODE = yes; then
5185 MAINTAINER_MODE_TRUE=
5186 MAINTAINER_MODE_FALSE='#'
5188 MAINTAINER_MODE_TRUE='#'
5189 MAINTAINER_MODE_FALSE=
5192 MAINT=$MAINTAINER_MODE_TRUE
5196 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5197 # which are themselves conditionally expanded.
5198 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5199 ## other macros from doing the same. This should be automated.) -pme
5201 # Check for uClibc since Linux platforms use different configuration
5202 # directories depending on the C library in use.
5203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5204 /* end confdefs.h. */
5212 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5213 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5221 # Find platform-specific directories containing configuration info.
5222 # Also possibly modify flags used elsewhere, as needed by the platform.
5224 . $glibcxx_srcdir/configure.host
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5226 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5228 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5232 if test "x${with_newlib}" != "xyes"; then
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5241 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5246 macro_version='2.2.7a'
5247 macro_revision='1.3134'
5261 ltmain="$ac_aux_dir/ltmain.sh"
5263 # Backslashify metacharacters that are still active within
5264 # double-quoted strings.
5265 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5267 # Same as above, but do not quote variable references.
5268 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5270 # Sed substitution to delay expansion of an escaped shell variable in a
5271 # double_quote_subst'ed string.
5272 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5274 # Sed substitution to delay expansion of an escaped single quote.
5275 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5277 # Sed substitution to avoid accidental globbing in evaled expressions
5278 no_glob_subst='s/\*/\\\*/g'
5280 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5281 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5282 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5285 $as_echo_n "checking how to print strings... " >&6; }
5286 # Test print first, because it will be a builtin if present.
5287 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5288 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5290 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5293 # Use this function as a fallback that always works.
5294 func_fallback_echo ()
5296 eval 'cat <<_LTECHO_EOF
5300 ECHO='func_fallback_echo'
5303 # func_echo_all arg...
5304 # Invoke $ECHO with all args, space-separated.
5311 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5312 $as_echo "printf" >&6; } ;;
5313 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5314 $as_echo "print -r" >&6; } ;;
5315 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5316 $as_echo "cat" >&6; } ;;
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5333 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5334 if test "${ac_cv_path_SED+set}" = set; then :
5335 $as_echo_n "(cached) " >&6
5337 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5338 for ac_i in 1 2 3 4 5 6 7; do
5339 ac_script="$ac_script$as_nl$ac_script"
5341 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5342 { ac_script=; unset ac_script;}
5343 if test -z "$SED"; then
5344 ac_path_SED_found=false
5345 # Loop through the user's path and test for each of PROGNAME-LIST
5346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5350 test -z "$as_dir" && as_dir=.
5351 for ac_prog in sed gsed; do
5352 for ac_exec_ext in '' $ac_executable_extensions; do
5353 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5354 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5355 # Check for GNU ac_path_SED and select it if it is found.
5356 # Check for GNU $ac_path_SED
5357 case `"$ac_path_SED" --version 2>&1` in
5359 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5362 $as_echo_n 0123456789 >"conftest.in"
5365 cat "conftest.in" "conftest.in" >"conftest.tmp"
5366 mv "conftest.tmp" "conftest.in"
5367 cp "conftest.in" "conftest.nl"
5368 $as_echo '' >> "conftest.nl"
5369 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5370 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5371 as_fn_arith $ac_count + 1 && ac_count=$as_val
5372 if test $ac_count -gt ${ac_path_SED_max-0}; then
5373 # Best one so far, save it but keep looking for a better one
5374 ac_cv_path_SED="$ac_path_SED"
5375 ac_path_SED_max=$ac_count
5377 # 10*(2^10) chars as input seems more than enough
5378 test $ac_count -gt 10 && break
5380 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5383 $ac_path_SED_found && break 3
5388 if test -z "$ac_cv_path_SED"; then
5389 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5397 $as_echo "$ac_cv_path_SED" >&6; }
5398 SED="$ac_cv_path_SED"
5401 test -z "$SED" && SED=sed
5402 Xsed="$SED -e 1s/^X//"
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5415 $as_echo_n "checking for fgrep... " >&6; }
5416 if test "${ac_cv_path_FGREP+set}" = set; then :
5417 $as_echo_n "(cached) " >&6
5419 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5420 then ac_cv_path_FGREP="$GREP -F"
5422 if test -z "$FGREP"; then
5423 ac_path_FGREP_found=false
5424 # Loop through the user's path and test for each of PROGNAME-LIST
5425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5426 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5429 test -z "$as_dir" && as_dir=.
5430 for ac_prog in fgrep; do
5431 for ac_exec_ext in '' $ac_executable_extensions; do
5432 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5433 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5434 # Check for GNU ac_path_FGREP and select it if it is found.
5435 # Check for GNU $ac_path_FGREP
5436 case `"$ac_path_FGREP" --version 2>&1` in
5438 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5441 $as_echo_n 0123456789 >"conftest.in"
5444 cat "conftest.in" "conftest.in" >"conftest.tmp"
5445 mv "conftest.tmp" "conftest.in"
5446 cp "conftest.in" "conftest.nl"
5447 $as_echo 'FGREP' >> "conftest.nl"
5448 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5449 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5450 as_fn_arith $ac_count + 1 && ac_count=$as_val
5451 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5452 # Best one so far, save it but keep looking for a better one
5453 ac_cv_path_FGREP="$ac_path_FGREP"
5454 ac_path_FGREP_max=$ac_count
5456 # 10*(2^10) chars as input seems more than enough
5457 test $ac_count -gt 10 && break
5459 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5462 $ac_path_FGREP_found && break 3
5467 if test -z "$ac_cv_path_FGREP"; then
5468 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5471 ac_cv_path_FGREP=$FGREP
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5477 $as_echo "$ac_cv_path_FGREP" >&6; }
5478 FGREP="$ac_cv_path_FGREP"
5481 test -z "$GREP" && GREP=grep
5501 # Check whether --with-gnu-ld was given.
5502 if test "${with_gnu_ld+set}" = set; then :
5503 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5509 if test "$GCC" = yes; then
5510 # Check if gcc -print-prog-name=ld gives a path.
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5512 $as_echo_n "checking for ld used by $CC... " >&6; }
5515 # gcc leaves a trailing carriage return which upsets mingw
5516 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5518 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5521 # Accept absolute paths.
5523 re_direlt='/[^/][^/]*/\.\./'
5524 # Canonicalize the pathname of ld
5525 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5526 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5527 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5529 test -z "$LD" && LD="$ac_prog"
5532 # If it fails, then pretend we aren't using GCC.
5536 # If it is relative, then search for the first ld in PATH.
5540 elif test "$with_gnu_ld" = yes; then
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5542 $as_echo_n "checking for GNU ld... " >&6; }
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5545 $as_echo_n "checking for non-GNU ld... " >&6; }
5547 if test "${lt_cv_path_LD+set}" = set; then :
5548 $as_echo_n "(cached) " >&6
5550 if test -z "$LD"; then
5551 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5552 for ac_dir in $PATH; do
5554 test -z "$ac_dir" && ac_dir=.
5555 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5556 lt_cv_path_LD="$ac_dir/$ac_prog"
5557 # Check to see if the program is GNU ld. I'd rather use --version,
5558 # but apparently some variants of GNU ld only accept -v.
5559 # Break only if it was the GNU/non-GNU ld that we prefer.
5560 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5561 *GNU* | *'with BFD'*)
5562 test "$with_gnu_ld" != no && break
5565 test "$with_gnu_ld" != yes && break
5572 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5577 if test -n "$LD"; then
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5579 $as_echo "$LD" >&6; }
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5582 $as_echo "no" >&6; }
5584 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5586 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5587 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5588 $as_echo_n "(cached) " >&6
5590 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5591 case `$LD -v 2>&1 </dev/null` in
5592 *GNU* | *'with BFD'*)
5593 lt_cv_prog_gnu_ld=yes
5596 lt_cv_prog_gnu_ld=no
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5601 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5602 with_gnu_ld=$lt_cv_prog_gnu_ld
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5613 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5614 if test "${lt_cv_path_NM+set}" = set; then :
5615 $as_echo_n "(cached) " >&6
5617 if test -n "$NM"; then
5618 # Let the user override the test.
5621 lt_nm_to_check="${ac_tool_prefix}nm"
5622 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5623 lt_nm_to_check="$lt_nm_to_check nm"
5625 for lt_tmp_nm in $lt_nm_to_check; do
5626 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5627 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5629 test -z "$ac_dir" && ac_dir=.
5630 tmp_nm="$ac_dir/$lt_tmp_nm"
5631 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5632 # Check to see if the nm accepts a BSD-compat flag.
5633 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5634 # nm: unknown option "B" ignored
5635 # Tru64's nm complains that /dev/null is an invalid object file
5636 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5637 */dev/null* | *'Invalid file or object type'*)
5638 lt_cv_path_NM="$tmp_nm -B"
5642 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5644 lt_cv_path_NM="$tmp_nm -p"
5648 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5649 continue # so that we can try to find one that supports BSD flags
5658 : ${lt_cv_path_NM=no}
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5662 $as_echo "$lt_cv_path_NM" >&6; }
5663 if test "$lt_cv_path_NM" != "no"; then
5666 # Didn't find any BSD compatible name lister, look for dumpbin.
5667 if test -n "$DUMPBIN"; then :
5668 # Let the user override the test.
5670 if test -n "$ac_tool_prefix"; then
5671 for ac_prog in dumpbin "link -dump"
5673 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5674 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5676 $as_echo_n "checking for $ac_word... " >&6; }
5677 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5678 $as_echo_n "(cached) " >&6
5680 if test -n "$DUMPBIN"; then
5681 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5687 test -z "$as_dir" && as_dir=.
5688 for ac_exec_ext in '' $ac_executable_extensions; do
5689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5690 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5700 DUMPBIN=$ac_cv_prog_DUMPBIN
5701 if test -n "$DUMPBIN"; then
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5703 $as_echo "$DUMPBIN" >&6; }
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5706 $as_echo "no" >&6; }
5710 test -n "$DUMPBIN" && break
5713 if test -z "$DUMPBIN"; then
5714 ac_ct_DUMPBIN=$DUMPBIN
5715 for ac_prog in dumpbin "link -dump"
5717 # Extract the first word of "$ac_prog", so it can be a program name with args.
5718 set dummy $ac_prog; ac_word=$2
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5720 $as_echo_n "checking for $ac_word... " >&6; }
5721 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5722 $as_echo_n "(cached) " >&6
5724 if test -n "$ac_ct_DUMPBIN"; then
5725 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5731 test -z "$as_dir" && as_dir=.
5732 for ac_exec_ext in '' $ac_executable_extensions; do
5733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5734 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5744 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5745 if test -n "$ac_ct_DUMPBIN"; then
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5747 $as_echo "$ac_ct_DUMPBIN" >&6; }
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5750 $as_echo "no" >&6; }
5754 test -n "$ac_ct_DUMPBIN" && break
5757 if test "x$ac_ct_DUMPBIN" = x; then
5760 case $cross_compiling:$ac_tool_warned in
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5763 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5764 ac_tool_warned=yes ;;
5766 DUMPBIN=$ac_ct_DUMPBIN
5770 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5772 DUMPBIN="$DUMPBIN -symbols"
5780 if test "$DUMPBIN" != ":"; then
5784 test -z "$NM" && NM=nm
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5792 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5793 if test "${lt_cv_nm_interface+set}" = set; then :
5794 $as_echo_n "(cached) " >&6
5796 lt_cv_nm_interface="BSD nm"
5797 echo "int some_variable = 0;" > conftest.$ac_ext
5798 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5799 (eval "$ac_compile" 2>conftest.err)
5800 cat conftest.err >&5
5801 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5802 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5803 cat conftest.err >&5
5804 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5805 cat conftest.out >&5
5806 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5807 lt_cv_nm_interface="MS dumpbin"
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5812 $as_echo "$lt_cv_nm_interface" >&6; }
5814 # find the maximum length of command line arguments
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5816 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5817 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5818 $as_echo_n "(cached) " >&6
5825 # On DJGPP, this test can blow up pretty badly due to problems in libc
5826 # (any single argument exceeding 2000 bytes causes a buffer overrun
5827 # during glob expansion). Even if it were fixed, the result of this
5828 # check would be larger than it should be.
5829 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5833 # Under GNU Hurd, this test is not required because there is
5834 # no limit to the length of command line arguments.
5835 # Libtool will interpret -1 as no limit whatsoever
5836 lt_cv_sys_max_cmd_len=-1;
5839 cygwin* | mingw* | cegcc*)
5840 # On Win9x/ME, this test blows up -- it succeeds, but takes
5841 # about 5 minutes as the teststring grows exponentially.
5842 # Worse, since 9x/ME are not pre-emptively multitasking,
5843 # you end up with a "frozen" computer, even though with patience
5844 # the test eventually succeeds (with a max line length of 256k).
5845 # Instead, let's just punt: use the minimum linelength reported by
5846 # all of the supported platforms: 8192 (on NT/2K/XP).
5847 lt_cv_sys_max_cmd_len=8192;
5851 # On MiNT this can take a long time and run out of memory.
5852 lt_cv_sys_max_cmd_len=8192;
5856 # On AmigaOS with pdksh, this test takes hours, literally.
5857 # So we just punt and use a minimum line length of 8192.
5858 lt_cv_sys_max_cmd_len=8192;
5861 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5862 # This has been around since 386BSD, at least. Likely further.
5863 if test -x /sbin/sysctl; then
5864 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5865 elif test -x /usr/sbin/sysctl; then
5866 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5868 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5870 # And add a safety zone
5871 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5872 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5876 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5877 lt_cv_sys_max_cmd_len=196608
5881 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5882 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5883 # nice to cause kernel panics so lets avoid the loop below.
5884 # First set a reasonable default.
5885 lt_cv_sys_max_cmd_len=16384
5887 if test -x /sbin/sysconfig; then
5888 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5889 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5894 lt_cv_sys_max_cmd_len=102400
5896 sysv5* | sco5v6* | sysv4.2uw2*)
5897 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5898 if test -n "$kargmax"; then
5899 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5901 lt_cv_sys_max_cmd_len=32768
5905 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5906 if test -n "$lt_cv_sys_max_cmd_len"; then
5907 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5908 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5910 # Make teststring a little bigger before we do anything with it.
5911 # a 1K string should be a reasonable start.
5912 for i in 1 2 3 4 5 6 7 8 ; do
5913 teststring=$teststring$teststring
5915 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5916 # If test is not a shell built-in, we'll probably end up computing a
5917 # maximum length that is only half of the actual maximum length, but
5919 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5920 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5921 test $i != 17 # 1/2 MB should be enough
5924 teststring=$teststring$teststring
5926 # Only check the string length outside the loop.
5927 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5929 # Add a significant safety factor because C++ compilers can tack on
5930 # massive amounts of additional arguments before passing them to the
5931 # linker. It appears as though 1/2 is a usable value.
5932 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5939 if test -n $lt_cv_sys_max_cmd_len ; then
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5941 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5944 $as_echo "none" >&6; }
5946 max_cmd_len=$lt_cv_sys_max_cmd_len
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5958 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5959 # Try some XSI features
5962 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5964 && eval 'test $(( 1 + 1 )) -eq 2 \
5965 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5968 $as_echo "$xsi_shell" >&6; }
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5972 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5974 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5976 && lt_shell_append=yes
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5978 $as_echo "$lt_shell_append" >&6; }
5981 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5991 # test EBCDIC or ASCII
5992 case `echo X|tr X '\101'` in
5993 A) # ASCII based system
5994 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5995 lt_SP2NL='tr \040 \012'
5996 lt_NL2SP='tr \015\012 \040\040'
5998 *) # EBCDIC based system
5999 lt_SP2NL='tr \100 \n'
6000 lt_NL2SP='tr \r\n \100\100'
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6013 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6014 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6015 $as_echo_n "(cached) " >&6
6017 lt_cv_ld_reload_flag='-r'
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6020 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6021 reload_flag=$lt_cv_ld_reload_flag
6022 case $reload_flag in
6024 *) reload_flag=" $reload_flag" ;;
6026 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6029 if test "$GCC" = yes; then
6030 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6032 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6045 if test -n "$ac_tool_prefix"; then
6046 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6047 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6049 $as_echo_n "checking for $ac_word... " >&6; }
6050 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6051 $as_echo_n "(cached) " >&6
6053 if test -n "$OBJDUMP"; then
6054 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6060 test -z "$as_dir" && as_dir=.
6061 for ac_exec_ext in '' $ac_executable_extensions; do
6062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6063 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6073 OBJDUMP=$ac_cv_prog_OBJDUMP
6074 if test -n "$OBJDUMP"; then
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6076 $as_echo "$OBJDUMP" >&6; }
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6079 $as_echo "no" >&6; }
6084 if test -z "$ac_cv_prog_OBJDUMP"; then
6085 ac_ct_OBJDUMP=$OBJDUMP
6086 # Extract the first word of "objdump", so it can be a program name with args.
6087 set dummy objdump; ac_word=$2
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6089 $as_echo_n "checking for $ac_word... " >&6; }
6090 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6091 $as_echo_n "(cached) " >&6
6093 if test -n "$ac_ct_OBJDUMP"; then
6094 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6100 test -z "$as_dir" && as_dir=.
6101 for ac_exec_ext in '' $ac_executable_extensions; do
6102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6103 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6113 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6114 if test -n "$ac_ct_OBJDUMP"; then
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6116 $as_echo "$ac_ct_OBJDUMP" >&6; }
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6119 $as_echo "no" >&6; }
6122 if test "x$ac_ct_OBJDUMP" = x; then
6125 case $cross_compiling:$ac_tool_warned in
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6128 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6129 ac_tool_warned=yes ;;
6131 OBJDUMP=$ac_ct_OBJDUMP
6134 OBJDUMP="$ac_cv_prog_OBJDUMP"
6137 test -z "$OBJDUMP" && OBJDUMP=objdump
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6148 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6149 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6150 $as_echo_n "(cached) " >&6
6152 lt_cv_file_magic_cmd='$MAGIC_CMD'
6153 lt_cv_file_magic_test_file=
6154 lt_cv_deplibs_check_method='unknown'
6155 # Need to set the preceding variable on all platforms that support
6156 # interlibrary dependencies.
6157 # 'none' -- dependencies not supported.
6158 # `unknown' -- same as none, but documents that we really don't know.
6159 # 'pass_all' -- all dependencies passed with no checks.
6160 # 'test_compile' -- check by making test program.
6161 # 'file_magic [[regex]]' -- check by looking for files in library path
6162 # which responds to the $file_magic_cmd with a given extended regex.
6163 # If you have `file' or equivalent on your system and you're not sure
6164 # whether `pass_all' will *always* work, you probably want this one.
6168 lt_cv_deplibs_check_method=pass_all
6172 lt_cv_deplibs_check_method=pass_all
6176 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6177 lt_cv_file_magic_cmd='/usr/bin/file -L'
6178 lt_cv_file_magic_test_file=/shlib/libc.so
6182 # func_win32_libid is a shell function defined in ltmain.sh
6183 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6184 lt_cv_file_magic_cmd='func_win32_libid'
6188 # Base MSYS/MinGW do not provide the 'file' command needed by
6189 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6190 # unless we find 'file', for example because we are cross-compiling.
6191 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6192 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6193 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6194 lt_cv_file_magic_cmd='func_win32_libid'
6196 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6197 lt_cv_file_magic_cmd='$OBJDUMP -f'
6202 # use the weaker test based on 'objdump'. See mingw*.
6203 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6204 lt_cv_file_magic_cmd='$OBJDUMP -f'
6207 darwin* | rhapsody*)
6208 lt_cv_deplibs_check_method=pass_all
6211 freebsd* | dragonfly*)
6212 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6215 # Not sure whether the presence of OpenBSD here was a mistake.
6216 # Let's accept both of them until this is cleared up.
6217 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6218 lt_cv_file_magic_cmd=/usr/bin/file
6219 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6223 lt_cv_deplibs_check_method=pass_all
6228 lt_cv_deplibs_check_method=pass_all
6232 lt_cv_deplibs_check_method=pass_all
6235 hpux10.20* | hpux11*)
6236 lt_cv_file_magic_cmd=/usr/bin/file
6239 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6240 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6243 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]'
6244 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6247 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6248 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6254 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6255 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6258 irix5* | irix6* | nonstopux*)
6260 *-32|*"-32 ") libmagic=32-bit;;
6261 *-n32|*"-n32 ") libmagic=N32;;
6262 *-64|*"-64 ") libmagic=64-bit;;
6263 *) libmagic=never-match;;
6265 lt_cv_deplibs_check_method=pass_all
6268 # This must be Linux ELF.
6269 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6270 lt_cv_deplibs_check_method=pass_all
6274 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6275 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6277 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6282 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6283 lt_cv_file_magic_cmd=/usr/bin/file
6284 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6288 lt_cv_deplibs_check_method=pass_all
6292 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6293 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6295 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6299 osf3* | osf4* | osf5*)
6300 lt_cv_deplibs_check_method=pass_all
6304 lt_cv_deplibs_check_method=pass_all
6308 lt_cv_deplibs_check_method=pass_all
6311 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6312 lt_cv_deplibs_check_method=pass_all
6316 case $host_vendor in
6318 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]'
6319 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6322 lt_cv_deplibs_check_method=pass_all
6325 lt_cv_file_magic_cmd='/bin/file'
6326 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6329 lt_cv_file_magic_cmd='/bin/file'
6330 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6331 lt_cv_file_magic_test_file=/lib/libc.so
6334 lt_cv_deplibs_check_method=pass_all
6337 lt_cv_deplibs_check_method=pass_all
6343 lt_cv_deplibs_check_method=pass_all
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6349 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6350 file_magic_cmd=$lt_cv_file_magic_cmd
6351 deplibs_check_method=$lt_cv_deplibs_check_method
6352 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6365 if test -n "$ac_tool_prefix"; then
6366 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6367 set dummy ${ac_tool_prefix}ar; ac_word=$2
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6369 $as_echo_n "checking for $ac_word... " >&6; }
6370 if test "${ac_cv_prog_AR+set}" = set; then :
6371 $as_echo_n "(cached) " >&6
6373 if test -n "$AR"; then
6374 ac_cv_prog_AR="$AR" # Let the user override the test.
6376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6380 test -z "$as_dir" && as_dir=.
6381 for ac_exec_ext in '' $ac_executable_extensions; do
6382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6383 ac_cv_prog_AR="${ac_tool_prefix}ar"
6384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6394 if test -n "$AR"; then
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6396 $as_echo "$AR" >&6; }
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6399 $as_echo "no" >&6; }
6404 if test -z "$ac_cv_prog_AR"; then
6406 # Extract the first word of "ar", so it can be a program name with args.
6407 set dummy ar; ac_word=$2
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6409 $as_echo_n "checking for $ac_word... " >&6; }
6410 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6411 $as_echo_n "(cached) " >&6
6413 if test -n "$ac_ct_AR"; then
6414 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6420 test -z "$as_dir" && as_dir=.
6421 for ac_exec_ext in '' $ac_executable_extensions; do
6422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6423 ac_cv_prog_ac_ct_AR="ar"
6424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6433 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6434 if test -n "$ac_ct_AR"; then
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6436 $as_echo "$ac_ct_AR" >&6; }
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6439 $as_echo "no" >&6; }
6442 if test "x$ac_ct_AR" = x; then
6445 case $cross_compiling:$ac_tool_warned in
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6448 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6449 ac_tool_warned=yes ;;
6457 test -z "$AR" && AR=ar
6458 test -z "$AR_FLAGS" && AR_FLAGS=cru
6470 if test -n "$ac_tool_prefix"; then
6471 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6472 set dummy ${ac_tool_prefix}strip; ac_word=$2
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6474 $as_echo_n "checking for $ac_word... " >&6; }
6475 if test "${ac_cv_prog_STRIP+set}" = set; then :
6476 $as_echo_n "(cached) " >&6
6478 if test -n "$STRIP"; then
6479 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6485 test -z "$as_dir" && as_dir=.
6486 for ac_exec_ext in '' $ac_executable_extensions; do
6487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6488 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6498 STRIP=$ac_cv_prog_STRIP
6499 if test -n "$STRIP"; then
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6501 $as_echo "$STRIP" >&6; }
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6504 $as_echo "no" >&6; }
6509 if test -z "$ac_cv_prog_STRIP"; then
6511 # Extract the first word of "strip", so it can be a program name with args.
6512 set dummy strip; ac_word=$2
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6514 $as_echo_n "checking for $ac_word... " >&6; }
6515 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6516 $as_echo_n "(cached) " >&6
6518 if test -n "$ac_ct_STRIP"; then
6519 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6525 test -z "$as_dir" && as_dir=.
6526 for ac_exec_ext in '' $ac_executable_extensions; do
6527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6528 ac_cv_prog_ac_ct_STRIP="strip"
6529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6538 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6539 if test -n "$ac_ct_STRIP"; then
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6541 $as_echo "$ac_ct_STRIP" >&6; }
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6544 $as_echo "no" >&6; }
6547 if test "x$ac_ct_STRIP" = x; then
6550 case $cross_compiling:$ac_tool_warned in
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6553 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6554 ac_tool_warned=yes ;;
6559 STRIP="$ac_cv_prog_STRIP"
6562 test -z "$STRIP" && STRIP=:
6569 if test -n "$ac_tool_prefix"; then
6570 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6571 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6573 $as_echo_n "checking for $ac_word... " >&6; }
6574 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6575 $as_echo_n "(cached) " >&6
6577 if test -n "$RANLIB"; then
6578 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6584 test -z "$as_dir" && as_dir=.
6585 for ac_exec_ext in '' $ac_executable_extensions; do
6586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6587 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6597 RANLIB=$ac_cv_prog_RANLIB
6598 if test -n "$RANLIB"; then
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6600 $as_echo "$RANLIB" >&6; }
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6603 $as_echo "no" >&6; }
6608 if test -z "$ac_cv_prog_RANLIB"; then
6609 ac_ct_RANLIB=$RANLIB
6610 # Extract the first word of "ranlib", so it can be a program name with args.
6611 set dummy ranlib; ac_word=$2
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6613 $as_echo_n "checking for $ac_word... " >&6; }
6614 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6615 $as_echo_n "(cached) " >&6
6617 if test -n "$ac_ct_RANLIB"; then
6618 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6624 test -z "$as_dir" && as_dir=.
6625 for ac_exec_ext in '' $ac_executable_extensions; do
6626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6627 ac_cv_prog_ac_ct_RANLIB="ranlib"
6628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6637 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6638 if test -n "$ac_ct_RANLIB"; then
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6640 $as_echo "$ac_ct_RANLIB" >&6; }
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6643 $as_echo "no" >&6; }
6646 if test "x$ac_ct_RANLIB" = x; then
6649 case $cross_compiling:$ac_tool_warned in
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6652 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6653 ac_tool_warned=yes ;;
6655 RANLIB=$ac_ct_RANLIB
6658 RANLIB="$ac_cv_prog_RANLIB"
6661 test -z "$RANLIB" && RANLIB=:
6668 # Determine commands to create old-style static archives.
6669 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6670 old_postinstall_cmds='chmod 644 $oldlib'
6671 old_postuninstall_cmds=
6673 if test -n "$RANLIB"; then
6676 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6679 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6682 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6687 lock_old_archive_extraction=yes ;;
6689 lock_old_archive_extraction=no ;;
6730 # If no C compiler was specified, use CC.
6733 # If no C compiler flags were specified, use CFLAGS.
6734 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6736 # Allow CC to be a program name with arguments.
6740 # Check for command to grab the raw symbol name followed by C symbol from nm.
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6742 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6743 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6744 $as_echo_n "(cached) " >&6
6747 # These are sane defaults that work on at least a few old systems.
6748 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6750 # Character class describing NM global symbol codes.
6751 symcode='[BCDEGRST]'
6753 # Regexp to match symbols that can be accessed directly from C.
6754 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6756 # Define system-specific variables.
6761 cygwin* | mingw* | pw32* | cegcc*)
6762 symcode='[ABCDGISTW]'
6765 if test "$host_cpu" = ia64; then
6766 symcode='[ABCDEGRST]'
6770 symcode='[BCDEGRST]'
6773 symcode='[BCDEGQRST]'
6784 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6792 # If we're using GNU nm, then use its standard symbol codes.
6793 case `$NM -V 2>&1` in
6794 *GNU* | *'with BFD'*)
6795 symcode='[ABCDGIRSTW]' ;;
6798 # Transform an extracted symbol line into a proper C declaration.
6799 # Some systems (esp. on ia64) link data and code symbols differently,
6800 # so use this general approach.
6801 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6803 # Transform an extracted symbol line into symbol name and symbol address
6804 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6805 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'"
6807 # Handle CRLF in mingw tool chain
6811 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6815 # Try without a prefix underscore, then with it.
6816 for ac_symprfx in "" "_"; do
6818 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6819 symxfrm="\\1 $ac_symprfx\\2 \\2"
6821 # Write the raw and C identifiers.
6822 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6823 # Fake it for dumpbin and say T for any non-static function
6824 # and D for any global variable.
6825 # Also find C++ and __fastcall symbols from MSVC++,
6826 # which start with @ or ?.
6827 lt_cv_sys_global_symbol_pipe="$AWK '"\
6828 " {last_section=section; section=\$ 3};"\
6829 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6830 " \$ 0!~/External *\|/{next};"\
6831 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6832 " {if(hide[section]) next};"\
6833 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6834 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6835 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6836 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6837 " ' prfx=^$ac_symprfx"
6839 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6842 # Check to see that the pipe works correctly.
6846 cat > conftest.$ac_ext <<_LT_EOF
6851 void nm_test_func(void);
6852 void nm_test_func(void){}
6856 int main(){nm_test_var='a';nm_test_func();return(0);}
6859 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6860 (eval $ac_compile) 2>&5
6862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6863 test $ac_status = 0; }; then
6864 # Now try to grab the symbols.
6866 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6867 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6870 test $ac_status = 0; } && test -s "$nlist"; then
6871 # Try sorting and uniquifying the output.
6872 if sort "$nlist" | uniq > "$nlist"T; then
6873 mv -f "$nlist"T "$nlist"
6878 # Make sure that we snagged all the symbols we need.
6879 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6880 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6881 cat <<_LT_EOF > conftest.$ac_ext
6887 # Now generate the symbol file.
6888 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6890 cat <<_LT_EOF >> conftest.$ac_ext
6892 /* The mapping between symbol names and symbols. */
6897 lt__PROGRAM__LTX_preloaded_symbols[] =
6899 { "@PROGRAM@", (void *) 0 },
6901 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6902 cat <<\_LT_EOF >> conftest.$ac_ext
6906 /* This works around a problem in FreeBSD linker */
6907 #ifdef FREEBSD_WORKAROUND
6908 static const void *lt_preloaded_setup() {
6909 return lt__PROGRAM__LTX_preloaded_symbols;
6917 # Now try linking the two files.
6918 mv conftest.$ac_objext conftstm.$ac_objext
6919 lt_save_LIBS="$LIBS"
6920 lt_save_CFLAGS="$CFLAGS"
6921 LIBS="conftstm.$ac_objext"
6922 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6923 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6924 (eval $ac_link) 2>&5
6926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6927 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6930 LIBS="$lt_save_LIBS"
6931 CFLAGS="$lt_save_CFLAGS"
6933 echo "cannot find nm_test_func in $nlist" >&5
6936 echo "cannot find nm_test_var in $nlist" >&5
6939 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6942 echo "$progname: failed program was:" >&5
6943 cat conftest.$ac_ext >&5
6945 rm -rf conftest* conftst*
6947 # Do not use the global_symbol_pipe unless it works.
6948 if test "$pipe_works" = yes; then
6951 lt_cv_sys_global_symbol_pipe=
6957 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6958 lt_cv_sys_global_symbol_to_cdecl=
6960 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6962 $as_echo "failed" >&6; }
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6965 $as_echo "ok" >&6; }
6989 # Check whether --enable-libtool-lock was given.
6990 if test "${enable_libtool_lock+set}" = set; then :
6991 enableval=$enable_libtool_lock;
6994 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6996 # Some flags need to be propagated to the compiler or linker for good
7000 # Find out which ABI we are using.
7001 echo 'int i;' > conftest.$ac_ext
7002 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7003 (eval $ac_compile) 2>&5
7005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7006 test $ac_status = 0; }; then
7007 case `/usr/bin/file conftest.$ac_objext` in
7019 # Find out which ABI we are using.
7020 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7021 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7022 (eval $ac_compile) 2>&5
7024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7025 test $ac_status = 0; }; then
7026 if test "$lt_cv_prog_gnu_ld" = yes; then
7027 case `/usr/bin/file conftest.$ac_objext` in
7029 LD="${LD-ld} -melf32bsmip"
7032 LD="${LD-ld} -melf32bmipn32"
7035 LD="${LD-ld} -melf64bmip"
7039 case `/usr/bin/file conftest.$ac_objext` in
7055 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7056 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7057 # Find out which ABI we are using.
7058 echo 'int i;' > conftest.$ac_ext
7059 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7060 (eval $ac_compile) 2>&5
7062 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7063 test $ac_status = 0; }; then
7064 case `/usr/bin/file conftest.o` in
7067 x86_64-*kfreebsd*-gnu)
7068 LD="${LD-ld} -m elf_i386_fbsd"
7071 LD="${LD-ld} -m elf_i386"
7073 ppc64-*linux*|powerpc64-*linux*)
7074 LD="${LD-ld} -m elf32ppclinux"
7077 LD="${LD-ld} -m elf_s390"
7080 LD="${LD-ld} -m elf32_sparc"
7086 x86_64-*kfreebsd*-gnu)
7087 LD="${LD-ld} -m elf_x86_64_fbsd"
7090 LD="${LD-ld} -m elf_x86_64"
7092 ppc*-*linux*|powerpc*-*linux*)
7093 LD="${LD-ld} -m elf64ppc"
7095 s390*-*linux*|s390*-*tpf*)
7096 LD="${LD-ld} -m elf64_s390"
7099 LD="${LD-ld} -m elf64_sparc"
7109 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7110 SAVE_CFLAGS="$CFLAGS"
7111 CFLAGS="$CFLAGS -belf"
7112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7113 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7114 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7115 $as_echo_n "(cached) " >&6
7118 ac_cpp='$CPP $CPPFLAGS'
7119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7123 if test x$gcc_no_link = xyes; then
7124 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7127 /* end confdefs.h. */
7137 if ac_fn_c_try_link "$LINENO"; then :
7138 lt_cv_cc_needs_belf=yes
7140 lt_cv_cc_needs_belf=no
7142 rm -f core conftest.err conftest.$ac_objext \
7143 conftest$ac_exeext conftest.$ac_ext
7145 ac_cpp='$CPP $CPPFLAGS'
7146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7152 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7153 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7154 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7155 CFLAGS="$SAVE_CFLAGS"
7159 # Find out which ABI we are using.
7160 echo 'int i;' > conftest.$ac_ext
7161 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7162 (eval $ac_compile) 2>&5
7164 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7165 test $ac_status = 0; }; then
7166 case `/usr/bin/file conftest.o` in
7168 case $lt_cv_prog_gnu_ld in
7169 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7171 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7183 need_locks="$enable_libtool_lock"
7187 rhapsody* | darwin*)
7188 if test -n "$ac_tool_prefix"; then
7189 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7190 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7192 $as_echo_n "checking for $ac_word... " >&6; }
7193 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7194 $as_echo_n "(cached) " >&6
7196 if test -n "$DSYMUTIL"; then
7197 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7203 test -z "$as_dir" && as_dir=.
7204 for ac_exec_ext in '' $ac_executable_extensions; do
7205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7206 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7216 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7217 if test -n "$DSYMUTIL"; then
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7219 $as_echo "$DSYMUTIL" >&6; }
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7222 $as_echo "no" >&6; }
7227 if test -z "$ac_cv_prog_DSYMUTIL"; then
7228 ac_ct_DSYMUTIL=$DSYMUTIL
7229 # Extract the first word of "dsymutil", so it can be a program name with args.
7230 set dummy dsymutil; ac_word=$2
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7232 $as_echo_n "checking for $ac_word... " >&6; }
7233 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7234 $as_echo_n "(cached) " >&6
7236 if test -n "$ac_ct_DSYMUTIL"; then
7237 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7243 test -z "$as_dir" && as_dir=.
7244 for ac_exec_ext in '' $ac_executable_extensions; do
7245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7246 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7256 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7257 if test -n "$ac_ct_DSYMUTIL"; then
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7259 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7262 $as_echo "no" >&6; }
7265 if test "x$ac_ct_DSYMUTIL" = x; then
7268 case $cross_compiling:$ac_tool_warned in
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7271 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7272 ac_tool_warned=yes ;;
7274 DSYMUTIL=$ac_ct_DSYMUTIL
7277 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7280 if test -n "$ac_tool_prefix"; then
7281 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7282 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7284 $as_echo_n "checking for $ac_word... " >&6; }
7285 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7286 $as_echo_n "(cached) " >&6
7288 if test -n "$NMEDIT"; then
7289 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7295 test -z "$as_dir" && as_dir=.
7296 for ac_exec_ext in '' $ac_executable_extensions; do
7297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7298 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7308 NMEDIT=$ac_cv_prog_NMEDIT
7309 if test -n "$NMEDIT"; then
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7311 $as_echo "$NMEDIT" >&6; }
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7314 $as_echo "no" >&6; }
7319 if test -z "$ac_cv_prog_NMEDIT"; then
7320 ac_ct_NMEDIT=$NMEDIT
7321 # Extract the first word of "nmedit", so it can be a program name with args.
7322 set dummy nmedit; ac_word=$2
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7324 $as_echo_n "checking for $ac_word... " >&6; }
7325 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7326 $as_echo_n "(cached) " >&6
7328 if test -n "$ac_ct_NMEDIT"; then
7329 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7335 test -z "$as_dir" && as_dir=.
7336 for ac_exec_ext in '' $ac_executable_extensions; do
7337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7338 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7348 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7349 if test -n "$ac_ct_NMEDIT"; then
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7351 $as_echo "$ac_ct_NMEDIT" >&6; }
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7354 $as_echo "no" >&6; }
7357 if test "x$ac_ct_NMEDIT" = x; then
7360 case $cross_compiling:$ac_tool_warned in
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7363 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7364 ac_tool_warned=yes ;;
7366 NMEDIT=$ac_ct_NMEDIT
7369 NMEDIT="$ac_cv_prog_NMEDIT"
7372 if test -n "$ac_tool_prefix"; then
7373 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7374 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7376 $as_echo_n "checking for $ac_word... " >&6; }
7377 if test "${ac_cv_prog_LIPO+set}" = set; then :
7378 $as_echo_n "(cached) " >&6
7380 if test -n "$LIPO"; then
7381 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7387 test -z "$as_dir" && as_dir=.
7388 for ac_exec_ext in '' $ac_executable_extensions; do
7389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7390 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7400 LIPO=$ac_cv_prog_LIPO
7401 if test -n "$LIPO"; then
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7403 $as_echo "$LIPO" >&6; }
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7406 $as_echo "no" >&6; }
7411 if test -z "$ac_cv_prog_LIPO"; then
7413 # Extract the first word of "lipo", so it can be a program name with args.
7414 set dummy lipo; ac_word=$2
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7416 $as_echo_n "checking for $ac_word... " >&6; }
7417 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7418 $as_echo_n "(cached) " >&6
7420 if test -n "$ac_ct_LIPO"; then
7421 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7427 test -z "$as_dir" && as_dir=.
7428 for ac_exec_ext in '' $ac_executable_extensions; do
7429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7430 ac_cv_prog_ac_ct_LIPO="lipo"
7431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7440 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7441 if test -n "$ac_ct_LIPO"; then
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7443 $as_echo "$ac_ct_LIPO" >&6; }
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7446 $as_echo "no" >&6; }
7449 if test "x$ac_ct_LIPO" = x; then
7452 case $cross_compiling:$ac_tool_warned in
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7455 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7456 ac_tool_warned=yes ;;
7461 LIPO="$ac_cv_prog_LIPO"
7464 if test -n "$ac_tool_prefix"; then
7465 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7466 set dummy ${ac_tool_prefix}otool; ac_word=$2
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7468 $as_echo_n "checking for $ac_word... " >&6; }
7469 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7470 $as_echo_n "(cached) " >&6
7472 if test -n "$OTOOL"; then
7473 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7479 test -z "$as_dir" && as_dir=.
7480 for ac_exec_ext in '' $ac_executable_extensions; do
7481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7482 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7492 OTOOL=$ac_cv_prog_OTOOL
7493 if test -n "$OTOOL"; then
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7495 $as_echo "$OTOOL" >&6; }
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7498 $as_echo "no" >&6; }
7503 if test -z "$ac_cv_prog_OTOOL"; then
7505 # Extract the first word of "otool", so it can be a program name with args.
7506 set dummy otool; ac_word=$2
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7508 $as_echo_n "checking for $ac_word... " >&6; }
7509 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7510 $as_echo_n "(cached) " >&6
7512 if test -n "$ac_ct_OTOOL"; then
7513 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7519 test -z "$as_dir" && as_dir=.
7520 for ac_exec_ext in '' $ac_executable_extensions; do
7521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7522 ac_cv_prog_ac_ct_OTOOL="otool"
7523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7532 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7533 if test -n "$ac_ct_OTOOL"; then
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7535 $as_echo "$ac_ct_OTOOL" >&6; }
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7538 $as_echo "no" >&6; }
7541 if test "x$ac_ct_OTOOL" = x; then
7544 case $cross_compiling:$ac_tool_warned in
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7547 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7548 ac_tool_warned=yes ;;
7553 OTOOL="$ac_cv_prog_OTOOL"
7556 if test -n "$ac_tool_prefix"; then
7557 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7558 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7560 $as_echo_n "checking for $ac_word... " >&6; }
7561 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7562 $as_echo_n "(cached) " >&6
7564 if test -n "$OTOOL64"; then
7565 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7571 test -z "$as_dir" && as_dir=.
7572 for ac_exec_ext in '' $ac_executable_extensions; do
7573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7574 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7584 OTOOL64=$ac_cv_prog_OTOOL64
7585 if test -n "$OTOOL64"; then
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7587 $as_echo "$OTOOL64" >&6; }
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7590 $as_echo "no" >&6; }
7595 if test -z "$ac_cv_prog_OTOOL64"; then
7596 ac_ct_OTOOL64=$OTOOL64
7597 # Extract the first word of "otool64", so it can be a program name with args.
7598 set dummy otool64; ac_word=$2
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7600 $as_echo_n "checking for $ac_word... " >&6; }
7601 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7602 $as_echo_n "(cached) " >&6
7604 if test -n "$ac_ct_OTOOL64"; then
7605 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7611 test -z "$as_dir" && as_dir=.
7612 for ac_exec_ext in '' $ac_executable_extensions; do
7613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7614 ac_cv_prog_ac_ct_OTOOL64="otool64"
7615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7624 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7625 if test -n "$ac_ct_OTOOL64"; then
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7627 $as_echo "$ac_ct_OTOOL64" >&6; }
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7630 $as_echo "no" >&6; }
7633 if test "x$ac_ct_OTOOL64" = x; then
7636 case $cross_compiling:$ac_tool_warned in
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7639 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7640 ac_tool_warned=yes ;;
7642 OTOOL64=$ac_ct_OTOOL64
7645 OTOOL64="$ac_cv_prog_OTOOL64"
7674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7675 $as_echo_n "checking for -single_module linker flag... " >&6; }
7676 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7677 $as_echo_n "(cached) " >&6
7679 lt_cv_apple_cc_single_mod=no
7680 if test -z "${LT_MULTI_MODULE}"; then
7681 # By default we will add the -single_module flag. You can override
7682 # by either setting the environment variable LT_MULTI_MODULE
7683 # non-empty at configure time, or by adding -multi_module to the
7685 rm -rf libconftest.dylib*
7686 echo "int foo(void){return 1;}" > conftest.c
7687 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7688 -dynamiclib -Wl,-single_module conftest.c" >&5
7689 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7690 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7692 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7693 lt_cv_apple_cc_single_mod=yes
7695 cat conftest.err >&5
7697 rm -rf libconftest.dylib*
7701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7702 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7704 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7705 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7706 $as_echo_n "(cached) " >&6
7708 lt_cv_ld_exported_symbols_list=no
7709 save_LDFLAGS=$LDFLAGS
7710 echo "_main" > conftest.sym
7711 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7712 if test x$gcc_no_link = xyes; then
7713 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7716 /* end confdefs.h. */
7726 if ac_fn_c_try_link "$LINENO"; then :
7727 lt_cv_ld_exported_symbols_list=yes
7729 lt_cv_ld_exported_symbols_list=no
7731 rm -f core conftest.err conftest.$ac_objext \
7732 conftest$ac_exeext conftest.$ac_ext
7733 LDFLAGS="$save_LDFLAGS"
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7737 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7739 $as_echo_n "checking for -force_load linker flag... " >&6; }
7740 if test "${lt_cv_ld_force_load+set}" = set; then :
7741 $as_echo_n "(cached) " >&6
7743 lt_cv_ld_force_load=no
7744 cat > conftest.c << _LT_EOF
7745 int forced_loaded() { return 2;}
7747 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7748 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7749 echo "$AR cru libconftest.a conftest.o" >&5
7750 $AR cru libconftest.a conftest.o 2>&5
7751 cat > conftest.c << _LT_EOF
7752 int main() { return 0;}
7754 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7755 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7757 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7758 lt_cv_ld_force_load=yes
7760 cat conftest.err >&5
7762 rm -f conftest.err libconftest.a conftest conftest.c
7763 rm -rf conftest.dSYM
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7767 $as_echo "$lt_cv_ld_force_load" >&6; }
7769 rhapsody* | darwin1.[012])
7770 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7772 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7773 darwin*) # darwin 5.x on
7774 # if running on 10.5 or later, the deployment target defaults
7775 # to the OS version, if on x86, and 10.4, the deployment
7776 # target defaults to 10.4. Don't you love it?
7777 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7778 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7779 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7781 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7783 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7787 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7788 _lt_dar_single_mod='$single_module'
7790 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7791 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7793 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7795 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7796 _lt_dsymutil='~$DSYMUTIL $lib || :'
7803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7804 $as_echo_n "checking for ANSI C header files... " >&6; }
7805 if test "${ac_cv_header_stdc+set}" = set; then :
7806 $as_echo_n "(cached) " >&6
7808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7809 /* end confdefs.h. */
7823 if ac_fn_c_try_compile "$LINENO"; then :
7824 ac_cv_header_stdc=yes
7826 ac_cv_header_stdc=no
7828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7830 if test $ac_cv_header_stdc = yes; then
7831 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7833 /* end confdefs.h. */
7837 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7838 $EGREP "memchr" >/dev/null 2>&1; then :
7841 ac_cv_header_stdc=no
7847 if test $ac_cv_header_stdc = yes; then
7848 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7850 /* end confdefs.h. */
7854 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7855 $EGREP "free" >/dev/null 2>&1; then :
7858 ac_cv_header_stdc=no
7864 if test $ac_cv_header_stdc = yes; then
7865 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7866 if test "$cross_compiling" = yes; then :
7869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7870 /* end confdefs.h. */
7873 #if ((' ' & 0x0FF) == 0x020)
7874 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7875 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7877 # define ISLOWER(c) \
7878 (('a' <= (c) && (c) <= 'i') \
7879 || ('j' <= (c) && (c) <= 'r') \
7880 || ('s' <= (c) && (c) <= 'z'))
7881 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7884 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7889 for (i = 0; i < 256; i++)
7890 if (XOR (islower (i), ISLOWER (i))
7891 || toupper (i) != TOUPPER (i))
7896 if ac_fn_c_try_run "$LINENO"; then :
7899 ac_cv_header_stdc=no
7901 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7902 conftest.$ac_objext conftest.beam conftest.$ac_ext
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7908 $as_echo "$ac_cv_header_stdc" >&6; }
7909 if test $ac_cv_header_stdc = yes; then
7911 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7915 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7916 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7917 inttypes.h stdint.h unistd.h
7919 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7920 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7922 eval as_val=\$$as_ac_Header
7923 if test "x$as_val" = x""yes; then :
7924 cat >>confdefs.h <<_ACEOF
7925 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7933 for ac_header in dlfcn.h
7935 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7937 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7938 cat >>confdefs.h <<_ACEOF
7939 #define HAVE_DLFCN_H 1
7959 # Check whether --enable-shared was given.
7960 if test "${enable_shared+set}" = set; then :
7961 enableval=$enable_shared; p=${PACKAGE-default}
7963 yes) enable_shared=yes ;;
7964 no) enable_shared=no ;;
7967 # Look at the argument we got. We use all the common list separators.
7968 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7969 for pkg in $enableval; do
7971 if test "X$pkg" = "X$p"; then
7990 # Check whether --enable-static was given.
7991 if test "${enable_static+set}" = set; then :
7992 enableval=$enable_static; p=${PACKAGE-default}
7994 yes) enable_static=yes ;;
7995 no) enable_static=no ;;
7998 # Look at the argument we got. We use all the common list separators.
7999 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8000 for pkg in $enableval; do
8002 if test "X$pkg" = "X$p"; then
8022 # Check whether --with-pic was given.
8023 if test "${with_pic+set}" = set; then :
8024 withval=$with_pic; pic_mode="$withval"
8030 test -z "$pic_mode" && pic_mode=default
8038 # Check whether --enable-fast-install was given.
8039 if test "${enable_fast_install+set}" = set; then :
8040 enableval=$enable_fast_install; p=${PACKAGE-default}
8042 yes) enable_fast_install=yes ;;
8043 no) enable_fast_install=no ;;
8045 enable_fast_install=no
8046 # Look at the argument we got. We use all the common list separators.
8047 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8048 for pkg in $enableval; do
8050 if test "X$pkg" = "X$p"; then
8051 enable_fast_install=yes
8058 enable_fast_install=yes
8071 # This can be used to rebuild libtool when needed
8072 LIBTOOL_DEPS="$ltmain"
8074 # Always use our own libtool.
8075 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8102 test -z "$LN_S" && LN_S="ln -s"
8117 if test -n "${ZSH_VERSION+set}" ; then
8118 setopt NO_GLOB_SUBST
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8122 $as_echo_n "checking for objdir... " >&6; }
8123 if test "${lt_cv_objdir+set}" = set; then :
8124 $as_echo_n "(cached) " >&6
8126 rm -f .libs 2>/dev/null
8127 mkdir .libs 2>/dev/null
8128 if test -d .libs; then
8131 # MS-DOS does not allow filenames that begin with a dot.
8134 rmdir .libs 2>/dev/null
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8137 $as_echo "$lt_cv_objdir" >&6; }
8138 objdir=$lt_cv_objdir
8144 cat >>confdefs.h <<_ACEOF
8145 #define LT_OBJDIR "$lt_cv_objdir/"
8153 # AIX sometimes has problems with the GCC collect2 program. For some
8154 # reason, if we set the COLLECT_NAMES environment variable, the problems
8155 # vanish in a puff of smoke.
8156 if test "X${COLLECT_NAMES+set}" != Xset; then
8158 export COLLECT_NAMES
8165 can_build_shared=yes
8167 # All known linkers require a `.a' archive for static linking (except MSVC,
8168 # which needs '.lib').
8171 with_gnu_ld="$lt_cv_prog_gnu_ld"
8174 old_CFLAGS="$CFLAGS"
8176 # Set sane defaults for various variables
8177 test -z "$CC" && CC=cc
8178 test -z "$LTCC" && LTCC=$CC
8179 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8180 test -z "$LD" && LD=ld
8181 test -z "$ac_objext" && ac_objext=o
8183 for cc_temp in $compiler""; do
8185 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8186 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8191 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8194 # Only perform the check for file, if the check method requires it
8195 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8196 case $deplibs_check_method in
8198 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8200 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8201 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8202 $as_echo_n "(cached) " >&6
8206 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8209 lt_save_MAGIC_CMD="$MAGIC_CMD"
8210 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8211 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8212 for ac_dir in $ac_dummy; do
8214 test -z "$ac_dir" && ac_dir=.
8215 if test -f $ac_dir/${ac_tool_prefix}file; then
8216 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8217 if test -n "$file_magic_test_file"; then
8218 case $deplibs_check_method in
8220 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8221 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8222 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8223 $EGREP "$file_magic_regex" > /dev/null; then
8228 *** Warning: the command libtool uses to detect shared libraries,
8229 *** $file_magic_cmd, produces output that libtool cannot recognize.
8230 *** The result is that libtool may fail to recognize shared libraries
8231 *** as such. This will affect the creation of libtool libraries that
8232 *** depend on shared libraries, but programs linked with such libtool
8233 *** libraries will work regardless of this problem. Nevertheless, you
8234 *** may want to report the problem to your system manager and/or to
8235 *** bug-libtool@gnu.org
8245 MAGIC_CMD="$lt_save_MAGIC_CMD"
8250 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8251 if test -n "$MAGIC_CMD"; then
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8253 $as_echo "$MAGIC_CMD" >&6; }
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8256 $as_echo "no" >&6; }
8263 if test -z "$lt_cv_path_MAGIC_CMD"; then
8264 if test -n "$ac_tool_prefix"; then
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8266 $as_echo_n "checking for file... " >&6; }
8267 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8268 $as_echo_n "(cached) " >&6
8272 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8275 lt_save_MAGIC_CMD="$MAGIC_CMD"
8276 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8277 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8278 for ac_dir in $ac_dummy; do
8280 test -z "$ac_dir" && ac_dir=.
8281 if test -f $ac_dir/file; then
8282 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8283 if test -n "$file_magic_test_file"; then
8284 case $deplibs_check_method in
8286 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8287 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8288 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8289 $EGREP "$file_magic_regex" > /dev/null; then
8294 *** Warning: the command libtool uses to detect shared libraries,
8295 *** $file_magic_cmd, produces output that libtool cannot recognize.
8296 *** The result is that libtool may fail to recognize shared libraries
8297 *** as such. This will affect the creation of libtool libraries that
8298 *** depend on shared libraries, but programs linked with such libtool
8299 *** libraries will work regardless of this problem. Nevertheless, you
8300 *** may want to report the problem to your system manager and/or to
8301 *** bug-libtool@gnu.org
8311 MAGIC_CMD="$lt_save_MAGIC_CMD"
8316 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8317 if test -n "$MAGIC_CMD"; then
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8319 $as_echo "$MAGIC_CMD" >&6; }
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8322 $as_echo "no" >&6; }
8335 # Use C for the default configuration in the libtool script
8339 ac_cpp='$CPP $CPPFLAGS'
8340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8345 # Source file extension for C test sources.
8348 # Object file extension for compiled C test sources.
8352 # Code to be used in simple compile tests
8353 lt_simple_compile_test_code="int some_variable = 0;"
8355 # Code to be used in simple link tests
8356 lt_simple_link_test_code='int main(){return(0);}'
8364 # If no C compiler was specified, use CC.
8367 # If no C compiler flags were specified, use CFLAGS.
8368 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8370 # Allow CC to be a program name with arguments.
8373 # Save the default compiler, since it gets overwritten when the other
8374 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8375 compiler_DEFAULT=$CC
8377 # save warnings/boilerplate of simple test code
8378 ac_outfile=conftest.$ac_objext
8379 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8380 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8381 _lt_compiler_boilerplate=`cat conftest.err`
8384 ac_outfile=conftest.$ac_objext
8385 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8386 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8387 _lt_linker_boilerplate=`cat conftest.err`
8392 ## There is no encapsulation within the following macros, do not change
8393 ## the running order or otherwise move them around unless you know exactly
8394 ## what you are doing...
8395 if test -n "$compiler"; then
8397 lt_prog_compiler_no_builtin_flag=
8399 if test "$GCC" = yes; then
8400 case $cc_basename in
8402 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8404 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8408 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8409 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8410 $as_echo_n "(cached) " >&6
8412 lt_cv_prog_compiler_rtti_exceptions=no
8413 ac_outfile=conftest.$ac_objext
8414 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8415 lt_compiler_flag="-fno-rtti -fno-exceptions"
8416 # Insert the option either (1) after the last *FLAGS variable, or
8417 # (2) before a word containing "conftest.", or (3) at the end.
8418 # Note that $ac_compile itself does not contain backslashes and begins
8419 # with a dollar sign (not a hyphen), so the echo should work correctly.
8420 # The option is referenced via a variable to avoid confusing sed.
8421 lt_compile=`echo "$ac_compile" | $SED \
8422 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8423 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8424 -e 's:$: $lt_compiler_flag:'`
8425 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8426 (eval "$lt_compile" 2>conftest.err)
8428 cat conftest.err >&5
8429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8430 if (exit $ac_status) && test -s "$ac_outfile"; then
8431 # The compiler can only warn and ignore the option if not recognized
8432 # So say no if there are warnings other than the usual output.
8433 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8434 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8435 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8436 lt_cv_prog_compiler_rtti_exceptions=yes
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8443 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8445 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8446 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8458 lt_prog_compiler_wl=
8459 lt_prog_compiler_pic=
8460 lt_prog_compiler_static=
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8463 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8465 if test "$GCC" = yes; then
8466 lt_prog_compiler_wl='-Wl,'
8467 lt_prog_compiler_static='-static'
8471 # All AIX code is PIC.
8472 if test "$host_cpu" = ia64; then
8473 # AIX 5 now supports IA64 processor
8474 lt_prog_compiler_static='-Bstatic'
8481 # see comment about AmigaOS4 .so support
8482 lt_prog_compiler_pic='-fPIC'
8485 # FIXME: we need at least 68020 code to build shared libraries, but
8486 # adding the `-m68020' flag to GCC prevents building anything better,
8488 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8493 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8494 # PIC is the default for these OSes.
8497 mingw* | cygwin* | pw32* | os2* | cegcc*)
8498 # This hack is so that the source file can tell whether it is being
8499 # built for inclusion in a dll (and should export symbols for example).
8500 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8501 # (--disable-auto-import) libraries
8502 lt_prog_compiler_pic='-DDLL_EXPORT'
8505 darwin* | rhapsody*)
8506 # PIC is the default on this platform
8507 # Common symbols not allowed in MH_DYLIB files
8508 lt_prog_compiler_pic='-fno-common'
8512 # PIC is the default for Haiku.
8513 # The "-static" flag exists, but is broken.
8514 lt_prog_compiler_static=
8518 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8519 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8520 # sets the default TLS model and affects inlining.
8526 lt_prog_compiler_pic='-fPIC'
8532 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8533 # Instead, we relocate shared libraries at runtime.
8537 # Just because we use GCC doesn't mean we suddenly get shared libraries
8538 # on systems that don't support them.
8539 lt_prog_compiler_can_build_shared=no
8544 # QNX uses GNU C++, but need to define -shared option too, otherwise
8546 lt_prog_compiler_pic='-fPIC -shared'
8550 if test -d /usr/nec; then
8551 lt_prog_compiler_pic=-Kconform_pic
8556 lt_prog_compiler_pic='-fPIC'
8560 case $cc_basename in
8561 nvcc*) # Cuda Compiler Driver 2.2
8562 lt_prog_compiler_wl='-Xlinker '
8563 lt_prog_compiler_pic='-Xcompiler -fPIC'
8567 # PORTME Check for flag to pass linker flags through the system compiler.
8570 lt_prog_compiler_wl='-Wl,'
8571 if test "$host_cpu" = ia64; then
8572 # AIX 5 now supports IA64 processor
8573 lt_prog_compiler_static='-Bstatic'
8575 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8579 mingw* | cygwin* | pw32* | os2* | cegcc*)
8580 # This hack is so that the source file can tell whether it is being
8581 # built for inclusion in a dll (and should export symbols for example).
8582 lt_prog_compiler_pic='-DDLL_EXPORT'
8585 hpux9* | hpux10* | hpux11*)
8586 lt_prog_compiler_wl='-Wl,'
8587 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8594 lt_prog_compiler_pic='+Z'
8597 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8598 lt_prog_compiler_static='${wl}-a ${wl}archive'
8601 irix5* | irix6* | nonstopux*)
8602 lt_prog_compiler_wl='-Wl,'
8603 # PIC (with -KPIC) is the default.
8604 lt_prog_compiler_static='-non_shared'
8607 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8608 case $cc_basename in
8609 # old Intel for x86_64 which still supported -KPIC.
8611 lt_prog_compiler_wl='-Wl,'
8612 lt_prog_compiler_pic='-KPIC'
8613 lt_prog_compiler_static='-static'
8615 # icc used to be incompatible with GCC.
8616 # ICC 10 doesn't accept -KPIC any more.
8618 lt_prog_compiler_wl='-Wl,'
8619 lt_prog_compiler_pic='-fPIC'
8620 lt_prog_compiler_static='-static'
8622 # Lahey Fortran 8.1.
8624 lt_prog_compiler_wl='-Wl,'
8625 lt_prog_compiler_pic='--shared'
8626 lt_prog_compiler_static='--static'
8628 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8629 # Portland Group compilers (*not* the Pentium gcc compiler,
8630 # which looks to be a dead project)
8631 lt_prog_compiler_wl='-Wl,'
8632 lt_prog_compiler_pic='-fpic'
8633 lt_prog_compiler_static='-Bstatic'
8636 lt_prog_compiler_wl='-Wl,'
8637 # All Alpha code is PIC.
8638 lt_prog_compiler_static='-non_shared'
8640 xl* | bgxl* | bgf* | mpixl*)
8641 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8642 lt_prog_compiler_wl='-Wl,'
8643 lt_prog_compiler_pic='-qpic'
8644 lt_prog_compiler_static='-qstaticlink'
8647 case `$CC -V 2>&1 | sed 5q` in
8648 *Sun\ F* | *Sun*Fortran*)
8649 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8650 lt_prog_compiler_pic='-KPIC'
8651 lt_prog_compiler_static='-Bstatic'
8652 lt_prog_compiler_wl=''
8656 lt_prog_compiler_pic='-KPIC'
8657 lt_prog_compiler_static='-Bstatic'
8658 lt_prog_compiler_wl='-Wl,'
8666 lt_prog_compiler_pic='-KPIC'
8667 lt_prog_compiler_static='-Bstatic'
8671 # QNX uses GNU C++, but need to define -shared option too, otherwise
8673 lt_prog_compiler_pic='-fPIC -shared'
8676 osf3* | osf4* | osf5*)
8677 lt_prog_compiler_wl='-Wl,'
8678 # All OSF/1 code is PIC.
8679 lt_prog_compiler_static='-non_shared'
8683 lt_prog_compiler_static='-non_shared'
8687 lt_prog_compiler_pic='-KPIC'
8688 lt_prog_compiler_static='-Bstatic'
8689 case $cc_basename in
8691 lt_prog_compiler_wl='-Qoption ld ';;
8693 lt_prog_compiler_wl='-Wl,';;
8698 lt_prog_compiler_wl='-Qoption ld '
8699 lt_prog_compiler_pic='-PIC'
8700 lt_prog_compiler_static='-Bstatic'
8703 sysv4 | sysv4.2uw2* | sysv4.3*)
8704 lt_prog_compiler_wl='-Wl,'
8705 lt_prog_compiler_pic='-KPIC'
8706 lt_prog_compiler_static='-Bstatic'
8710 if test -d /usr/nec ;then
8711 lt_prog_compiler_pic='-Kconform_pic'
8712 lt_prog_compiler_static='-Bstatic'
8716 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8717 lt_prog_compiler_wl='-Wl,'
8718 lt_prog_compiler_pic='-KPIC'
8719 lt_prog_compiler_static='-Bstatic'
8723 lt_prog_compiler_wl='-Wl,'
8724 lt_prog_compiler_can_build_shared=no
8728 lt_prog_compiler_pic='-pic'
8729 lt_prog_compiler_static='-Bstatic'
8733 lt_prog_compiler_can_build_shared=no
8739 # For platforms which do not support PIC, -DPIC is meaningless:
8741 lt_prog_compiler_pic=
8744 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8748 $as_echo "$lt_prog_compiler_pic" >&6; }
8756 # Check to make sure the PIC flag actually works.
8758 if test -n "$lt_prog_compiler_pic"; then
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8760 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8761 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8762 $as_echo_n "(cached) " >&6
8764 lt_cv_prog_compiler_pic_works=no
8765 ac_outfile=conftest.$ac_objext
8766 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8767 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8768 # Insert the option either (1) after the last *FLAGS variable, or
8769 # (2) before a word containing "conftest.", or (3) at the end.
8770 # Note that $ac_compile itself does not contain backslashes and begins
8771 # with a dollar sign (not a hyphen), so the echo should work correctly.
8772 # The option is referenced via a variable to avoid confusing sed.
8773 lt_compile=`echo "$ac_compile" | $SED \
8774 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8775 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8776 -e 's:$: $lt_compiler_flag:'`
8777 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8778 (eval "$lt_compile" 2>conftest.err)
8780 cat conftest.err >&5
8781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8782 if (exit $ac_status) && test -s "$ac_outfile"; then
8783 # The compiler can only warn and ignore the option if not recognized
8784 # So say no if there are warnings other than the usual output.
8785 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8786 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8787 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8788 lt_cv_prog_compiler_pic_works=yes
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8795 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8797 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8798 case $lt_prog_compiler_pic in
8800 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8803 lt_prog_compiler_pic=
8804 lt_prog_compiler_can_build_shared=no
8815 # Check to make sure the static flag actually works.
8817 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8819 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8820 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8821 $as_echo_n "(cached) " >&6
8823 lt_cv_prog_compiler_static_works=no
8824 save_LDFLAGS="$LDFLAGS"
8825 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8826 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8827 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8828 # The linker can only warn and ignore the option if not recognized
8829 # So say no if there are warnings
8830 if test -s conftest.err; then
8831 # Append any errors to the config.log.
8832 cat conftest.err 1>&5
8833 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8834 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8835 if diff conftest.exp conftest.er2 >/dev/null; then
8836 lt_cv_prog_compiler_static_works=yes
8839 lt_cv_prog_compiler_static_works=yes
8843 LDFLAGS="$save_LDFLAGS"
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8847 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8849 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8852 lt_prog_compiler_static=
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8862 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8863 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8864 $as_echo_n "(cached) " >&6
8866 lt_cv_prog_compiler_c_o=no
8867 $RM -r conftest 2>/dev/null
8871 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8873 lt_compiler_flag="-o out/conftest2.$ac_objext"
8874 # Insert the option either (1) after the last *FLAGS variable, or
8875 # (2) before a word containing "conftest.", or (3) at the end.
8876 # Note that $ac_compile itself does not contain backslashes and begins
8877 # with a dollar sign (not a hyphen), so the echo should work correctly.
8878 lt_compile=`echo "$ac_compile" | $SED \
8879 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8880 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8881 -e 's:$: $lt_compiler_flag:'`
8882 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8883 (eval "$lt_compile" 2>out/conftest.err)
8885 cat out/conftest.err >&5
8886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8887 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8889 # The compiler can only warn and ignore the option if not recognized
8890 # So say no if there are warnings
8891 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8892 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8893 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8894 lt_cv_prog_compiler_c_o=yes
8899 # SGI C++ compiler will create directory out/ii_files/ for
8900 # template instantiation
8901 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8902 $RM out/* && rmdir out
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8909 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8917 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8918 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8919 $as_echo_n "(cached) " >&6
8921 lt_cv_prog_compiler_c_o=no
8922 $RM -r conftest 2>/dev/null
8926 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8928 lt_compiler_flag="-o out/conftest2.$ac_objext"
8929 # Insert the option either (1) after the last *FLAGS variable, or
8930 # (2) before a word containing "conftest.", or (3) at the end.
8931 # Note that $ac_compile itself does not contain backslashes and begins
8932 # with a dollar sign (not a hyphen), so the echo should work correctly.
8933 lt_compile=`echo "$ac_compile" | $SED \
8934 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8935 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8936 -e 's:$: $lt_compiler_flag:'`
8937 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8938 (eval "$lt_compile" 2>out/conftest.err)
8940 cat out/conftest.err >&5
8941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8942 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8944 # The compiler can only warn and ignore the option if not recognized
8945 # So say no if there are warnings
8946 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8947 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8948 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8949 lt_cv_prog_compiler_c_o=yes
8954 # SGI C++ compiler will create directory out/ii_files/ for
8955 # template instantiation
8956 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8957 $RM out/* && rmdir out
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8964 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8969 hard_links="nottested"
8970 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8971 # do not overwrite the value of need_locks provided by the user
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8973 $as_echo_n "checking if we can lock with hard links... " >&6; }
8976 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8978 ln conftest.a conftest.b 2>&5 || hard_links=no
8979 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8981 $as_echo "$hard_links" >&6; }
8982 if test "$hard_links" = no; then
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8984 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8997 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9000 allow_undefined_flag=
9001 always_export_symbols=no
9003 archive_expsym_cmds=
9004 compiler_needs_object=no
9005 enable_shared_with_static_runtimes=no
9006 export_dynamic_flag_spec=
9007 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9008 hardcode_automatic=no
9010 hardcode_direct_absolute=no
9011 hardcode_libdir_flag_spec=
9012 hardcode_libdir_flag_spec_ld=
9013 hardcode_libdir_separator=
9015 hardcode_shlibpath_var=unsupported
9017 link_all_deplibs=unknown
9020 old_archive_from_new_cmds=
9021 old_archive_from_expsyms_cmds=
9022 thread_safe_flag_spec=
9023 whole_archive_flag_spec=
9024 # include_expsyms should be a list of space-separated symbols to be *always*
9025 # included in the symbol list
9027 # exclude_expsyms can be an extended regexp of symbols to exclude
9028 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9029 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9030 # as well as any symbol that contains `d'.
9031 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9032 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9033 # platforms (ab)use it in PIC code, but their linkers get confused if
9034 # the symbol is explicitly referenced. Since portable code cannot
9035 # rely on this symbol name, it's probably fine to never include it in
9036 # preloaded symbol tables.
9037 # Exclude shared library initialization/finalization symbols.
9038 extract_expsyms_cmds=
9041 cygwin* | mingw* | pw32* | cegcc*)
9042 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9043 # When not using gcc, we currently assume that we are using
9044 # Microsoft Visual C++.
9045 if test "$GCC" != yes; then
9050 # we just hope/assume this is gcc and not c89 (= MSVC++)
9060 # On some targets, GNU ld is compatible enough with the native linker
9061 # that we're better off using the native interface for both.
9062 lt_use_gnu_ld_interface=no
9063 if test "$with_gnu_ld" = yes; then
9066 # The AIX port of GNU ld has always aspired to compatibility
9067 # with the native linker. However, as the warning in the GNU ld
9068 # block says, versions before 2.19.5* couldn't really create working
9069 # shared libraries, regardless of the interface used.
9070 case `$LD -v 2>&1` in
9071 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9072 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9073 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9075 lt_use_gnu_ld_interface=yes
9080 lt_use_gnu_ld_interface=yes
9085 if test "$lt_use_gnu_ld_interface" = yes; then
9086 # If archive_cmds runs LD, not CC, wlarc should be empty
9089 # Set some defaults for GNU ld with shared library support. These
9090 # are reset later if shared libraries are not supported. Putting them
9091 # here allows them to be overridden if necessary.
9092 runpath_var=LD_RUN_PATH
9093 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9094 export_dynamic_flag_spec='${wl}--export-dynamic'
9095 # ancient GNU ld didn't support --whole-archive et. al.
9096 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9097 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9099 whole_archive_flag_spec=
9101 supports_anon_versioning=no
9102 case `$LD -v 2>&1` in
9103 *GNU\ gold*) supports_anon_versioning=yes ;;
9104 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9105 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9106 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9107 *\ 2.11.*) ;; # other 2.11 versions
9108 *) supports_anon_versioning=yes ;;
9111 # See if GNU ld supports shared libraries.
9114 # On AIX/PPC, the GNU linker is very broken
9115 if test "$host_cpu" != ia64; then
9119 *** Warning: the GNU linker, at least up to release 2.19, is reported
9120 *** to be unable to reliably create shared libraries on AIX.
9121 *** Therefore, libtool is disabling shared libraries support. If you
9122 *** really care for shared libraries, you may want to install binutils
9123 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9124 *** You will then need to restart the configuration process.
9133 # see comment about AmigaOS4 .so support
9134 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9135 archive_expsym_cmds=''
9138 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)'
9139 hardcode_libdir_flag_spec='-L$libdir'
9140 hardcode_minus_L=yes
9146 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9147 allow_undefined_flag=unsupported
9148 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9149 # support --undefined. This deserves some investigation. FIXME
9150 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9156 cygwin* | mingw* | pw32* | cegcc*)
9157 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9158 # as there is no search path for DLLs.
9159 hardcode_libdir_flag_spec='-L$libdir'
9160 export_dynamic_flag_spec='${wl}--export-all-symbols'
9161 allow_undefined_flag=unsupported
9162 always_export_symbols=no
9163 enable_shared_with_static_runtimes=yes
9164 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9166 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9167 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9168 # If the export-symbols file already is a .def file (1st line
9169 # is EXPORTS), use it as is; otherwise, prepend...
9170 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9171 cp $export_symbols $output_objdir/$soname.def;
9173 echo EXPORTS > $output_objdir/$soname.def;
9174 cat $export_symbols >> $output_objdir/$soname.def;
9176 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9183 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9184 link_all_deplibs=yes
9189 hardcode_shlibpath_var=no
9190 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9191 export_dynamic_flag_spec='${wl}-E'
9192 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9193 # Instead, shared libraries are loaded at an image base (0x10000000 by
9194 # default) and relocated if they conflict, which is a slow very memory
9195 # consuming and fragmenting process. To avoid this, we pick a random,
9196 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9197 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9198 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9199 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'
9202 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9204 if test "$host_os" = linux-dietlibc; then
9205 case $cc_basename in
9206 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9209 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9210 && test "$tmp_diet" = no
9213 tmp_sharedflag='-shared'
9214 case $cc_basename,$host_cpu in
9215 pgcc*) # Portland Group C compiler
9216 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'
9217 tmp_addflag=' $pic_flag'
9219 pgf77* | pgf90* | pgf95* | pgfortran*)
9220 # Portland Group f77 and f90 compilers
9221 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'
9222 tmp_addflag=' $pic_flag -Mnomain' ;;
9223 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9224 tmp_addflag=' -i_dynamic' ;;
9225 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9226 tmp_addflag=' -i_dynamic -nofor_main' ;;
9227 ifc* | ifort*) # Intel Fortran compiler
9228 tmp_addflag=' -nofor_main' ;;
9229 lf95*) # Lahey Fortran 8.1
9230 whole_archive_flag_spec=
9231 tmp_sharedflag='--shared' ;;
9232 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9233 tmp_sharedflag='-qmkshrobj'
9235 nvcc*) # Cuda Compiler Driver 2.2
9236 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'
9237 compiler_needs_object=yes
9240 case `$CC -V 2>&1 | sed 5q` in
9241 *Sun\ C*) # Sun C 5.9
9242 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'
9243 compiler_needs_object=yes
9244 tmp_sharedflag='-G' ;;
9245 *Sun\ F*) # Sun Fortran 8.3
9246 tmp_sharedflag='-G' ;;
9248 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9250 if test "x$supports_anon_versioning" = xyes; then
9251 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9252 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9253 echo "local: *; };" >> $output_objdir/$libname.ver~
9254 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9257 case $cc_basename in
9258 xlf* | bgf* | bgxlf* | mpixlf*)
9259 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9260 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9261 hardcode_libdir_flag_spec=
9262 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9263 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9264 if test "x$supports_anon_versioning" = xyes; then
9265 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9266 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9267 echo "local: *; };" >> $output_objdir/$libname.ver~
9268 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9278 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9279 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9282 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9283 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9288 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9292 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9293 *** create shared libraries on Solaris systems. Therefore, libtool
9294 *** is disabling shared libraries support. We urge you to upgrade GNU
9295 *** binutils to release 2.9.1 or newer. Another option is to modify
9296 *** your PATH or compiler configuration so that the native linker is
9297 *** used, and then restart.
9300 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9301 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9302 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9308 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9309 case `$LD -v 2>&1` in
9310 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9314 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9315 *** reliably create shared libraries on SCO systems. Therefore, libtool
9316 *** is disabling shared libraries support. We urge you to upgrade GNU
9317 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9318 *** your PATH or compiler configuration so that the native linker is
9319 *** used, and then restart.
9324 # For security reasons, it is highly recommended that you always
9325 # use absolute paths for naming shared libraries, and exclude the
9326 # DT_RUNPATH tag from executables and libraries. But doing so
9327 # requires that you compile everything twice, which is a pain.
9328 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9329 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9330 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9331 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9340 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9343 hardcode_shlibpath_var=no
9347 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9348 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9349 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9356 if test "$ld_shlibs" = no; then
9358 hardcode_libdir_flag_spec=
9359 export_dynamic_flag_spec=
9360 whole_archive_flag_spec=
9363 # PORTME fill in a description of your system's linker (not GNU ld)
9366 allow_undefined_flag=unsupported
9367 always_export_symbols=yes
9368 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'
9369 # Note: this linker hardcodes the directories in LIBPATH if there
9370 # are no directories specified by -L.
9371 hardcode_minus_L=yes
9372 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9373 # Neither direct hardcoding nor static linking is supported with a
9375 hardcode_direct=unsupported
9380 if test "$host_cpu" = ia64; then
9381 # On IA64, the linker does run time linking by default, so we don't
9382 # have to do anything special.
9383 aix_use_runtimelinking=no
9384 exp_sym_flag='-Bexport'
9387 # If we're using GNU nm, then we don't want the "-C" option.
9388 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9389 # Also, AIX nm treats weak defined symbols like other global
9390 # defined symbols, whereas GNU nm marks them as "W".
9391 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9392 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'
9394 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'
9396 aix_use_runtimelinking=no
9398 # Test if we are trying to use run time linking or normal
9399 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9400 # need to do runtime linking.
9401 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9402 for ld_flag in $LDFLAGS; do
9403 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9404 aix_use_runtimelinking=yes
9411 exp_sym_flag='-bexport'
9412 no_entry_flag='-bnoentry'
9415 # When large executables or shared objects are built, AIX ld can
9416 # have problems creating the table of contents. If linking a library
9417 # or program results in "error TOC overflow" add -mminimal-toc to
9418 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9419 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9423 hardcode_direct_absolute=yes
9424 hardcode_libdir_separator=':'
9425 link_all_deplibs=yes
9426 file_list_spec='${wl}-f,'
9428 if test "$GCC" = yes; then
9429 case $host_os in aix4.[012]|aix4.[012].*)
9430 # We only want to do this on AIX 4.2 and lower, the check
9431 # below for broken collect2 doesn't work under 4.3+
9432 collect2name=`${CC} -print-prog-name=collect2`
9433 if test -f "$collect2name" &&
9434 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9436 # We have reworked collect2
9439 # We have old collect2
9440 hardcode_direct=unsupported
9441 # It fails to find uninstalled libraries when the uninstalled
9442 # path is not listed in the libpath. Setting hardcode_minus_L
9443 # to unsupported forces relinking
9444 hardcode_minus_L=yes
9445 hardcode_libdir_flag_spec='-L$libdir'
9446 hardcode_libdir_separator=
9450 shared_flag='-shared'
9451 if test "$aix_use_runtimelinking" = yes; then
9452 shared_flag="$shared_flag "'${wl}-G'
9456 if test "$host_cpu" = ia64; then
9457 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9458 # chokes on -Wl,-G. The following line is correct:
9461 if test "$aix_use_runtimelinking" = yes; then
9462 shared_flag='${wl}-G'
9464 shared_flag='${wl}-bM:SRE'
9469 export_dynamic_flag_spec='${wl}-bexpall'
9470 # It seems that -bexpall does not export symbols beginning with
9471 # underscore (_), so it is better to generate a list of symbols to export.
9472 always_export_symbols=yes
9473 if test "$aix_use_runtimelinking" = yes; then
9474 # Warning - without using the other runtime loading flags (-brtl),
9475 # -berok will link without error, but may produce a broken library.
9476 allow_undefined_flag='-berok'
9477 # Determine the default libpath from the value encoded in an
9479 if test x$gcc_no_link = xyes; then
9480 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9483 /* end confdefs.h. */
9493 if ac_fn_c_try_link "$LINENO"; then :
9495 lt_aix_libpath_sed='
9496 /Import File Strings/,/^$/ {
9502 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9503 # Check for a 64-bit object if we didn't find anything.
9504 if test -z "$aix_libpath"; then
9505 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9508 rm -f core conftest.err conftest.$ac_objext \
9509 conftest$ac_exeext conftest.$ac_ext
9510 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9512 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9513 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"
9515 if test "$host_cpu" = ia64; then
9516 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9517 allow_undefined_flag="-z nodefs"
9518 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"
9520 # Determine the default libpath from the value encoded in an
9522 if test x$gcc_no_link = xyes; then
9523 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9526 /* end confdefs.h. */
9536 if ac_fn_c_try_link "$LINENO"; then :
9538 lt_aix_libpath_sed='
9539 /Import File Strings/,/^$/ {
9545 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9546 # Check for a 64-bit object if we didn't find anything.
9547 if test -z "$aix_libpath"; then
9548 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9551 rm -f core conftest.err conftest.$ac_objext \
9552 conftest$ac_exeext conftest.$ac_ext
9553 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9555 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9556 # Warning - without using the other run time loading flags,
9557 # -berok will link without error, but may produce a broken library.
9558 no_undefined_flag=' ${wl}-bernotok'
9559 allow_undefined_flag=' ${wl}-berok'
9560 if test "$with_gnu_ld" = yes; then
9561 # We only use this code for GNU lds that support --whole-archive.
9562 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9564 # Exported symbols can be pulled into shared objects from archives
9565 whole_archive_flag_spec='$convenience'
9567 archive_cmds_need_lc=yes
9568 # This is similar to how AIX traditionally builds its shared libraries.
9569 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'
9577 # see comment about AmigaOS4 .so support
9578 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9579 archive_expsym_cmds=''
9582 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)'
9583 hardcode_libdir_flag_spec='-L$libdir'
9584 hardcode_minus_L=yes
9590 export_dynamic_flag_spec=-rdynamic
9593 cygwin* | mingw* | pw32* | cegcc*)
9594 # When not using gcc, we currently assume that we are using
9595 # Microsoft Visual C++.
9596 # hardcode_libdir_flag_spec is actually meaningless, as there is
9597 # no search path for DLLs.
9598 hardcode_libdir_flag_spec=' '
9599 allow_undefined_flag=unsupported
9600 # Tell ltmain to make .lib files, not .a files.
9602 # Tell ltmain to make .dll files, not .so files.
9604 # FIXME: Setting linknames here is a bad hack.
9605 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9606 # The linker will automatically build a .lib file if we build a DLL.
9607 old_archive_from_new_cmds='true'
9608 # FIXME: Should let the user specify the lib program.
9609 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9610 fix_srcfile_path='`cygpath -w "$srcfile"`'
9611 enable_shared_with_static_runtimes=yes
9614 darwin* | rhapsody*)
9617 archive_cmds_need_lc=no
9619 hardcode_automatic=yes
9620 hardcode_shlibpath_var=unsupported
9621 if test "$lt_cv_ld_force_load" = "yes"; then
9622 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\"`'
9624 whole_archive_flag_spec=''
9626 link_all_deplibs=yes
9627 allow_undefined_flag="$_lt_dar_allow_undefined"
9628 case $cc_basename in
9629 ifort*) _lt_dar_can_shared=yes ;;
9630 *) _lt_dar_can_shared=$GCC ;;
9632 if test "$_lt_dar_can_shared" = "yes"; then
9633 output_verbose_link_cmd=func_echo_all
9634 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9635 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9636 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}"
9637 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}"
9646 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9647 hardcode_libdir_flag_spec='-L$libdir'
9648 hardcode_shlibpath_var=no
9655 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9656 # support. Future versions do this automatically, but an explicit c++rt0.o
9657 # does not break anything, and helps significantly (at the cost of a little
9660 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9661 hardcode_libdir_flag_spec='-R$libdir'
9663 hardcode_shlibpath_var=no
9666 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9668 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9670 hardcode_minus_L=yes
9671 hardcode_shlibpath_var=no
9674 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9675 freebsd* | dragonfly*)
9676 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9677 hardcode_libdir_flag_spec='-R$libdir'
9679 hardcode_shlibpath_var=no
9683 if test "$GCC" = yes; then
9684 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'
9686 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'
9688 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9689 hardcode_libdir_separator=:
9692 # hardcode_minus_L: Not really in the search PATH,
9693 # but as the default location of the library.
9694 hardcode_minus_L=yes
9695 export_dynamic_flag_spec='${wl}-E'
9699 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9700 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9702 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9704 if test "$with_gnu_ld" = no; then
9705 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9706 hardcode_libdir_flag_spec_ld='+b $libdir'
9707 hardcode_libdir_separator=:
9709 hardcode_direct_absolute=yes
9710 export_dynamic_flag_spec='${wl}-E'
9711 # hardcode_minus_L: Not really in the search PATH,
9712 # but as the default location of the library.
9713 hardcode_minus_L=yes
9718 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9721 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9724 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9727 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9733 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9736 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9740 # Older versions of the 11.00 compiler do not understand -b yet
9741 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9743 $as_echo_n "checking if $CC understands -b... " >&6; }
9744 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9745 $as_echo_n "(cached) " >&6
9747 lt_cv_prog_compiler__b=no
9748 save_LDFLAGS="$LDFLAGS"
9749 LDFLAGS="$LDFLAGS -b"
9750 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9751 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9752 # The linker can only warn and ignore the option if not recognized
9753 # So say no if there are warnings
9754 if test -s conftest.err; then
9755 # Append any errors to the config.log.
9756 cat conftest.err 1>&5
9757 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9758 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9759 if diff conftest.exp conftest.er2 >/dev/null; then
9760 lt_cv_prog_compiler__b=yes
9763 lt_cv_prog_compiler__b=yes
9767 LDFLAGS="$save_LDFLAGS"
9770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9771 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9773 if test x"$lt_cv_prog_compiler__b" = xyes; then
9774 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9776 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9782 if test "$with_gnu_ld" = no; then
9783 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9784 hardcode_libdir_separator=:
9789 hardcode_shlibpath_var=no
9793 hardcode_direct_absolute=yes
9794 export_dynamic_flag_spec='${wl}-E'
9796 # hardcode_minus_L: Not really in the search PATH,
9797 # but as the default location of the library.
9798 hardcode_minus_L=yes
9804 irix5* | irix6* | nonstopux*)
9805 if test "$GCC" = yes; then
9806 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'
9807 # Try to use the -exported_symbol ld option, if it does not
9808 # work, assume that -exports_file does not work either and
9809 # implicitly export all symbols.
9810 save_LDFLAGS="$LDFLAGS"
9811 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9812 if test x$gcc_no_link = xyes; then
9813 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9816 /* end confdefs.h. */
9819 if ac_fn_c_try_link "$LINENO"; then :
9820 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'
9823 rm -f core conftest.err conftest.$ac_objext \
9824 conftest$ac_exeext conftest.$ac_ext
9825 LDFLAGS="$save_LDFLAGS"
9827 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'
9828 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'
9830 archive_cmds_need_lc='no'
9831 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9832 hardcode_libdir_separator=:
9834 link_all_deplibs=yes
9838 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9839 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9841 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9843 hardcode_libdir_flag_spec='-R$libdir'
9845 hardcode_shlibpath_var=no
9849 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9851 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9852 hardcode_libdir_separator=:
9853 hardcode_shlibpath_var=no
9860 if test -f /usr/libexec/ld.so; then
9862 hardcode_shlibpath_var=no
9863 hardcode_direct_absolute=yes
9864 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9865 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9866 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9867 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9868 export_dynamic_flag_spec='${wl}-E'
9871 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9872 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9873 hardcode_libdir_flag_spec='-R$libdir'
9876 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9877 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9887 hardcode_libdir_flag_spec='-L$libdir'
9888 hardcode_minus_L=yes
9889 allow_undefined_flag=unsupported
9890 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'
9891 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9895 if test "$GCC" = yes; then
9896 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9897 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'
9899 allow_undefined_flag=' -expect_unresolved \*'
9900 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'
9902 archive_cmds_need_lc='no'
9903 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9904 hardcode_libdir_separator=:
9907 osf4* | osf5*) # as osf3* with the addition of -msym flag
9908 if test "$GCC" = yes; then
9909 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9910 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'
9911 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9913 allow_undefined_flag=' -expect_unresolved \*'
9914 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'
9915 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~
9916 $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'
9918 # Both c and cxx compiler support -rpath directly
9919 hardcode_libdir_flag_spec='-rpath $libdir'
9921 archive_cmds_need_lc='no'
9922 hardcode_libdir_separator=:
9926 no_undefined_flag=' -z defs'
9927 if test "$GCC" = yes; then
9929 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9930 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9931 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9933 case `$CC -V 2>&1` in
9936 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9937 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9938 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9942 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9943 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9944 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9948 hardcode_libdir_flag_spec='-R$libdir'
9949 hardcode_shlibpath_var=no
9951 solaris2.[0-5] | solaris2.[0-5].*) ;;
9953 # The compiler driver will combine and reorder linker options,
9954 # but understands `-z linker_flag'. GCC discards it without `$wl',
9955 # but is careful enough not to reorder.
9956 # Supported since Solaris 2.6 (maybe 2.5.1?)
9957 if test "$GCC" = yes; then
9958 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9960 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9964 link_all_deplibs=yes
9968 if test "x$host_vendor" = xsequent; then
9969 # Use $CC to link under sequent, because it throws in some extra .o
9970 # files that make .init and .fini sections work.
9971 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9973 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9975 hardcode_libdir_flag_spec='-L$libdir'
9977 hardcode_minus_L=yes
9978 hardcode_shlibpath_var=no
9982 case $host_vendor in
9984 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9985 hardcode_direct=yes # is this really true???
9988 ## LD is ld it makes a PLAMLIB
9989 ## CC just makes a GrossModule.
9990 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9991 reload_cmds='$CC -r -o $output$reload_objs'
9995 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9996 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9999 runpath_var='LD_RUN_PATH'
10000 hardcode_shlibpath_var=no
10004 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10005 hardcode_shlibpath_var=no
10006 export_dynamic_flag_spec='-Bexport'
10010 if test -d /usr/nec; then
10011 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10012 hardcode_shlibpath_var=no
10013 runpath_var=LD_RUN_PATH
10014 hardcode_runpath_var=yes
10019 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10020 no_undefined_flag='${wl}-z,text'
10021 archive_cmds_need_lc=no
10022 hardcode_shlibpath_var=no
10023 runpath_var='LD_RUN_PATH'
10025 if test "$GCC" = yes; then
10026 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10027 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10029 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10030 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10034 sysv5* | sco3.2v5* | sco5v6*)
10035 # Note: We can NOT use -z defs as we might desire, because we do not
10036 # link with -lc, and that would cause any symbols used from libc to
10037 # always be unresolved, which means just about no library would
10038 # ever link correctly. If we're not using GNU ld we use -z text
10039 # though, which does catch some bad symbols but isn't as heavy-handed
10041 no_undefined_flag='${wl}-z,text'
10042 allow_undefined_flag='${wl}-z,nodefs'
10043 archive_cmds_need_lc=no
10044 hardcode_shlibpath_var=no
10045 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10046 hardcode_libdir_separator=':'
10047 link_all_deplibs=yes
10048 export_dynamic_flag_spec='${wl}-Bexport'
10049 runpath_var='LD_RUN_PATH'
10051 if test "$GCC" = yes; then
10052 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10053 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10055 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10056 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10061 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10062 hardcode_libdir_flag_spec='-L$libdir'
10063 hardcode_shlibpath_var=no
10071 if test x$host_vendor = xsni; then
10073 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10074 export_dynamic_flag_spec='${wl}-Blargedynsym'
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10081 $as_echo "$ld_shlibs" >&6; }
10082 test "$ld_shlibs" = no && can_build_shared=no
10084 with_gnu_ld=$with_gnu_ld
10101 # Do we need to explicitly link libc?
10103 case "x$archive_cmds_need_lc" in
10105 # Assume -lc should be added
10106 archive_cmds_need_lc=yes
10108 if test "$enable_shared" = yes && test "$GCC" = yes; then
10109 case $archive_cmds in
10111 # FIXME: we may have to deal with multi-command sequences.
10114 # Test whether the compiler implicitly links with -lc since on some
10115 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10116 # to ld, don't add -lc before -lgcc.
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10118 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10119 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10120 $as_echo_n "(cached) " >&6
10123 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10125 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10126 (eval $ac_compile) 2>&5
10128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10129 test $ac_status = 0; } 2>conftest.err; then
10132 libobjs=conftest.$ac_objext
10134 wl=$lt_prog_compiler_wl
10135 pic_flag=$lt_prog_compiler_pic
10141 lt_save_allow_undefined_flag=$allow_undefined_flag
10142 allow_undefined_flag=
10143 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10144 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10146 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10147 test $ac_status = 0; }
10149 lt_cv_archive_cmds_need_lc=no
10151 lt_cv_archive_cmds_need_lc=yes
10153 allow_undefined_flag=$lt_save_allow_undefined_flag
10155 cat conftest.err 1>&5
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10161 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10162 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10326 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10328 if test "$GCC" = yes; then
10330 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10331 *) lt_awk_arg="/^libraries:/" ;;
10334 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10335 *) lt_sed_strip_eq="s,=/,/,g" ;;
10337 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10338 case $lt_search_path_spec in
10340 # if the path contains ";" then we assume it to be the separator
10341 # otherwise default to the standard path separator (i.e. ":") - it is
10342 # assumed that no part of a normal pathname contains ";" but that should
10343 # okay in the real world where ";" in dirpaths is itself problematic.
10344 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10347 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10350 # Ok, now we have the path, separated by spaces, we can step through it
10351 # and add multilib dir if necessary.
10352 lt_tmp_lt_search_path_spec=
10353 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10354 for lt_sys_path in $lt_search_path_spec; do
10355 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10356 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10358 test -d "$lt_sys_path" && \
10359 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10362 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10363 BEGIN {RS=" "; FS="/|\n";} {
10366 for (lt_i = NF; lt_i > 0; lt_i--) {
10367 if ($lt_i != "" && $lt_i != ".") {
10368 if ($lt_i == "..") {
10371 if (lt_count == 0) {
10372 lt_foo="/" $lt_i lt_foo;
10379 if (lt_foo != "") { lt_freq[lt_foo]++; }
10380 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10382 # AWK program above erroneously prepends '/' to C:/dos/paths
10385 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10386 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10388 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10390 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10392 library_names_spec=
10393 libname_spec='lib$name'
10397 postuninstall_cmds=
10401 shlibpath_overrides_runpath=unknown
10403 dynamic_linker="$host_os ld.so"
10404 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10405 need_lib_prefix=unknown
10406 hardcode_into_libs=no
10408 # when you set need_version to no, make sure it does not cause -set_version
10409 # flags to be left without arguments
10410 need_version=unknown
10415 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10416 shlibpath_var=LIBPATH
10418 # AIX 3 has no versioning support, so we append a major version to the name.
10419 soname_spec='${libname}${release}${shared_ext}$major'
10426 hardcode_into_libs=yes
10427 if test "$host_cpu" = ia64; then
10428 # AIX 5 supports IA64
10429 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10430 shlibpath_var=LD_LIBRARY_PATH
10432 # With GCC up to 2.95.x, collect2 would create an import file
10433 # for dependence libraries. The import file would start with
10434 # the line `#! .'. This would cause the generated library to
10435 # depend on `.', always an invalid library. This was fixed in
10436 # development snapshots of GCC prior to 3.0.
10438 aix4 | aix4.[01] | aix4.[01].*)
10439 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10441 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10444 can_build_shared=no
10448 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10449 # soname into executable. Probably we can add versioning support to
10450 # collect2, so additional links can be useful in future.
10451 if test "$aix_use_runtimelinking" = yes; then
10452 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10453 # instead of lib<name>.a to let people know that these are not
10454 # typical AIX shared libraries.
10455 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10457 # We preserve .a as extension for shared libraries through AIX4.2
10458 # and later when we are not doing run time linking.
10459 library_names_spec='${libname}${release}.a $libname.a'
10460 soname_spec='${libname}${release}${shared_ext}$major'
10462 shlibpath_var=LIBPATH
10469 # Since July 2007 AmigaOS4 officially supports .so libraries.
10470 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10471 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10474 library_names_spec='$libname.ixlibrary $libname.a'
10475 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10476 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'
10482 library_names_spec='${libname}${shared_ext}'
10483 dynamic_linker="$host_os ld.so"
10484 shlibpath_var=LIBRARY_PATH
10490 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10491 soname_spec='${libname}${release}${shared_ext}$major'
10492 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10493 shlibpath_var=LD_LIBRARY_PATH
10494 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10495 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10496 # the default ld.so.conf also contains /usr/contrib/lib and
10497 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10498 # libtool to hard-code these into programs
10501 cygwin* | mingw* | pw32* | cegcc*)
10502 version_type=windows
10507 case $GCC,$host_os in
10508 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10509 library_names_spec='$libname.dll.a'
10510 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10511 postinstall_cmds='base_file=`basename \${file}`~
10512 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10513 dldir=$destdir/`dirname \$dlpath`~
10514 test -d \$dldir || mkdir -p \$dldir~
10515 $install_prog $dir/$dlname \$dldir/$dlname~
10516 chmod a+x \$dldir/$dlname~
10517 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10518 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10520 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10521 dlpath=$dir/\$dldll~
10523 shlibpath_overrides_runpath=yes
10527 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10528 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10530 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10533 # MinGW DLLs use traditional 'lib' prefix
10534 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10537 # pw32 DLLs use 'pw' prefix rather than 'lib'
10538 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10544 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10547 dynamic_linker='Win32 ld.exe'
10548 # FIXME: first we should search . and the directory the executable is in
10552 darwin* | rhapsody*)
10553 dynamic_linker="$host_os dyld"
10554 version_type=darwin
10557 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10558 soname_spec='${libname}${release}${major}$shared_ext'
10559 shlibpath_overrides_runpath=yes
10560 shlibpath_var=DYLD_LIBRARY_PATH
10561 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10563 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10564 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10571 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10572 soname_spec='${libname}${release}${shared_ext}$major'
10573 shlibpath_var=LD_LIBRARY_PATH
10580 freebsd* | dragonfly*)
10581 # DragonFly does not have aout. When/if they implement a new
10582 # versioning mechanism, adjust this.
10583 if test -x /usr/bin/objformat; then
10584 objformat=`/usr/bin/objformat`
10587 freebsd[123]*) objformat=aout ;;
10588 *) objformat=elf ;;
10591 version_type=freebsd-$objformat
10592 case $version_type in
10594 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10599 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10603 shlibpath_var=LD_LIBRARY_PATH
10606 shlibpath_overrides_runpath=yes
10608 freebsd3.[01]* | freebsdelf3.[01]*)
10609 shlibpath_overrides_runpath=yes
10610 hardcode_into_libs=yes
10612 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10613 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10614 shlibpath_overrides_runpath=no
10615 hardcode_into_libs=yes
10617 *) # from 4.6 on, and DragonFly
10618 shlibpath_overrides_runpath=yes
10619 hardcode_into_libs=yes
10628 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10629 soname_spec='${libname}${release}${shared_ext}$major'
10630 shlibpath_var=LD_LIBRARY_PATH
10631 hardcode_into_libs=yes
10638 dynamic_linker="$host_os runtime_loader"
10639 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10640 soname_spec='${libname}${release}${shared_ext}$major'
10641 shlibpath_var=LIBRARY_PATH
10642 shlibpath_overrides_runpath=yes
10643 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10644 hardcode_into_libs=yes
10647 hpux9* | hpux10* | hpux11*)
10648 # Give a soname corresponding to the major version so that dld.sl refuses to
10649 # link against other versions.
10656 hardcode_into_libs=yes
10657 dynamic_linker="$host_os dld.so"
10658 shlibpath_var=LD_LIBRARY_PATH
10659 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10660 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10661 soname_spec='${libname}${release}${shared_ext}$major'
10662 if test "X$HPUX_IA64_MODE" = X32; then
10663 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10665 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10667 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10671 hardcode_into_libs=yes
10672 dynamic_linker="$host_os dld.sl"
10673 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10674 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10675 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10676 soname_spec='${libname}${release}${shared_ext}$major'
10677 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10678 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10682 dynamic_linker="$host_os dld.sl"
10683 shlibpath_var=SHLIB_PATH
10684 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10685 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10686 soname_spec='${libname}${release}${shared_ext}$major'
10689 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10690 postinstall_cmds='chmod 555 $lib'
10691 # or fails outright, so override atomically:
10692 install_override_mode=555
10699 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10700 soname_spec='${libname}${release}${shared_ext}$major'
10701 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10702 shlibpath_var=LD_LIBRARY_PATH
10703 shlibpath_overrides_runpath=no
10704 hardcode_into_libs=yes
10707 irix5* | irix6* | nonstopux*)
10709 nonstopux*) version_type=nonstopux ;;
10711 if test "$lt_cv_prog_gnu_ld" = yes; then
10719 soname_spec='${libname}${release}${shared_ext}$major'
10720 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10722 irix5* | nonstopux*)
10723 libsuff= shlibsuff=
10726 case $LD in # libtool.m4 will add one of these switches to LD
10727 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10728 libsuff= shlibsuff= libmagic=32-bit;;
10729 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10730 libsuff=32 shlibsuff=N32 libmagic=N32;;
10731 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10732 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10733 *) libsuff= shlibsuff= libmagic=never-match;;
10737 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10738 shlibpath_overrides_runpath=no
10739 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10740 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10741 hardcode_into_libs=yes
10744 # No shared lib support for Linux oldld, aout, or coff.
10745 linux*oldld* | linux*aout* | linux*coff*)
10749 # This must be Linux ELF.
10750 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10754 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10755 soname_spec='${libname}${release}${shared_ext}$major'
10756 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10757 shlibpath_var=LD_LIBRARY_PATH
10758 shlibpath_overrides_runpath=no
10760 # Some binutils ld are patched to set DT_RUNPATH
10761 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10762 $as_echo_n "(cached) " >&6
10764 lt_cv_shlibpath_overrides_runpath=no
10765 save_LDFLAGS=$LDFLAGS
10766 save_libdir=$libdir
10767 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10768 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10769 if test x$gcc_no_link = xyes; then
10770 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10773 /* end confdefs.h. */
10783 if ac_fn_c_try_link "$LINENO"; then :
10784 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10785 lt_cv_shlibpath_overrides_runpath=yes
10788 rm -f core conftest.err conftest.$ac_objext \
10789 conftest$ac_exeext conftest.$ac_ext
10790 LDFLAGS=$save_LDFLAGS
10791 libdir=$save_libdir
10795 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10797 # This implies no fast_install, which is unacceptable.
10798 # Some rework will be needed to allow for fast_install
10799 # before this can be enabled.
10800 hardcode_into_libs=yes
10802 # Append ld.so.conf contents to the search path
10803 if test -f /etc/ld.so.conf; then
10804 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' ' '`
10805 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10808 # We used to test for /lib/ld.so.1 and disable shared libraries on
10809 # powerpc, because MkLinux only supported shared libraries with the
10810 # GNU dynamic linker. Since this was broken with cross compilers,
10811 # most powerpc-linux boxes support dynamic linking these days and
10812 # people can always --disable-shared, the test was removed, and we
10813 # assume the GNU/Linux dynamic linker is in use.
10814 dynamic_linker='GNU/Linux ld.so'
10821 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10822 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10823 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10824 dynamic_linker='NetBSD (a.out) ld.so'
10826 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10827 soname_spec='${libname}${release}${shared_ext}$major'
10828 dynamic_linker='NetBSD ld.elf_so'
10830 shlibpath_var=LD_LIBRARY_PATH
10831 shlibpath_overrides_runpath=yes
10832 hardcode_into_libs=yes
10837 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10838 shlibpath_var=LD_LIBRARY_PATH
10839 shlibpath_overrides_runpath=yes
10846 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10847 soname_spec='${libname}${release}${shared_ext}$major'
10848 shlibpath_var=LD_LIBRARY_PATH
10849 shlibpath_overrides_runpath=no
10850 hardcode_into_libs=yes
10851 dynamic_linker='ldqnx.so'
10856 sys_lib_dlsearch_path_spec="/usr/lib"
10858 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10860 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10861 *) need_version=no ;;
10863 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10864 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10865 shlibpath_var=LD_LIBRARY_PATH
10866 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10868 openbsd2.[89] | openbsd2.[89].*)
10869 shlibpath_overrides_runpath=no
10872 shlibpath_overrides_runpath=yes
10876 shlibpath_overrides_runpath=yes
10881 libname_spec='$name'
10884 library_names_spec='$libname${shared_ext} $libname.a'
10885 dynamic_linker='OS/2 ld.exe'
10886 shlibpath_var=LIBPATH
10889 osf3* | osf4* | osf5*)
10893 soname_spec='${libname}${release}${shared_ext}$major'
10894 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10895 shlibpath_var=LD_LIBRARY_PATH
10896 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10897 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10908 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10909 soname_spec='${libname}${release}${shared_ext}$major'
10910 shlibpath_var=LD_LIBRARY_PATH
10911 shlibpath_overrides_runpath=yes
10912 hardcode_into_libs=yes
10913 # ldd complains unless libraries are executable
10914 postinstall_cmds='chmod +x $lib'
10919 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10920 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10921 shlibpath_var=LD_LIBRARY_PATH
10922 shlibpath_overrides_runpath=yes
10923 if test "$with_gnu_ld" = yes; then
10931 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10932 soname_spec='${libname}${release}${shared_ext}$major'
10933 shlibpath_var=LD_LIBRARY_PATH
10934 case $host_vendor in
10936 shlibpath_overrides_runpath=no
10938 runpath_var=LD_RUN_PATH
10946 shlibpath_overrides_runpath=no
10947 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10953 if test -d /usr/nec ;then
10955 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10956 soname_spec='$libname${shared_ext}.$major'
10957 shlibpath_var=LD_LIBRARY_PATH
10961 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10962 version_type=freebsd-elf
10965 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10966 soname_spec='${libname}${release}${shared_ext}$major'
10967 shlibpath_var=LD_LIBRARY_PATH
10968 shlibpath_overrides_runpath=yes
10969 hardcode_into_libs=yes
10970 if test "$with_gnu_ld" = yes; then
10971 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10973 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10976 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10980 sys_lib_dlsearch_path_spec='/usr/lib'
10984 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10988 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10989 shlibpath_var=LD_LIBRARY_PATH
10990 shlibpath_overrides_runpath=no
10991 hardcode_into_libs=yes
10996 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10997 soname_spec='${libname}${release}${shared_ext}$major'
10998 shlibpath_var=LD_LIBRARY_PATH
11005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11006 $as_echo "$dynamic_linker" >&6; }
11007 test "$dynamic_linker" = no && can_build_shared=no
11009 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11010 if test "$GCC" = yes; then
11011 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11014 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11015 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11017 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11018 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11113 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11115 if test -n "$hardcode_libdir_flag_spec" ||
11116 test -n "$runpath_var" ||
11117 test "X$hardcode_automatic" = "Xyes" ; then
11119 # We can hardcode non-existent directories.
11120 if test "$hardcode_direct" != no &&
11121 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11122 # have to relink, otherwise we might link with an installed library
11123 # when we should be linking with a yet-to-be-installed one
11124 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11125 test "$hardcode_minus_L" != no; then
11126 # Linking always hardcodes the temporary library directory.
11127 hardcode_action=relink
11129 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11130 hardcode_action=immediate
11133 # We cannot hardcode anything, or else we can only hardcode existing
11135 hardcode_action=unsupported
11137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11138 $as_echo "$hardcode_action" >&6; }
11140 if test "$hardcode_action" = relink ||
11141 test "$inherit_rpath" = yes; then
11142 # Fast installation is not supported
11143 enable_fast_install=no
11144 elif test "$shlibpath_overrides_runpath" = yes ||
11145 test "$enable_shared" = no; then
11146 # Fast installation is not necessary
11147 enable_fast_install=needless
11155 if test "x$enable_dlopen" != xyes; then
11156 enable_dlopen=unknown
11157 enable_dlopen_self=unknown
11158 enable_dlopen_self_static=unknown
11165 lt_cv_dlopen="load_add_on"
11167 lt_cv_dlopen_self=yes
11170 mingw* | pw32* | cegcc*)
11171 lt_cv_dlopen="LoadLibrary"
11176 lt_cv_dlopen="dlopen"
11181 # if libdl is installed we need to link against it
11182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11183 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11184 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11185 $as_echo_n "(cached) " >&6
11187 ac_check_lib_save_LIBS=$LIBS
11189 if test x$gcc_no_link = xyes; then
11190 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11193 /* end confdefs.h. */
11195 /* Override any GCC internal prototype to avoid an error.
11196 Use char because int might match the return type of a GCC
11197 builtin and then its argument prototype would still apply. */
11210 if ac_fn_c_try_link "$LINENO"; then :
11211 ac_cv_lib_dl_dlopen=yes
11213 ac_cv_lib_dl_dlopen=no
11215 rm -f core conftest.err conftest.$ac_objext \
11216 conftest$ac_exeext conftest.$ac_ext
11217 LIBS=$ac_check_lib_save_LIBS
11219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11220 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11221 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11222 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11225 lt_cv_dlopen="dyld"
11227 lt_cv_dlopen_self=yes
11234 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11235 if test "x$ac_cv_func_shl_load" = x""yes; then :
11236 lt_cv_dlopen="shl_load"
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11239 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11240 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11241 $as_echo_n "(cached) " >&6
11243 ac_check_lib_save_LIBS=$LIBS
11245 if test x$gcc_no_link = xyes; then
11246 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11249 /* end confdefs.h. */
11251 /* Override any GCC internal prototype to avoid an error.
11252 Use char because int might match the return type of a GCC
11253 builtin and then its argument prototype would still apply. */
11261 return shl_load ();
11266 if ac_fn_c_try_link "$LINENO"; then :
11267 ac_cv_lib_dld_shl_load=yes
11269 ac_cv_lib_dld_shl_load=no
11271 rm -f core conftest.err conftest.$ac_objext \
11272 conftest$ac_exeext conftest.$ac_ext
11273 LIBS=$ac_check_lib_save_LIBS
11275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11276 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11277 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11278 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11280 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11281 if test "x$ac_cv_func_dlopen" = x""yes; then :
11282 lt_cv_dlopen="dlopen"
11284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11285 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11286 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11287 $as_echo_n "(cached) " >&6
11289 ac_check_lib_save_LIBS=$LIBS
11291 if test x$gcc_no_link = xyes; then
11292 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11295 /* end confdefs.h. */
11297 /* Override any GCC internal prototype to avoid an error.
11298 Use char because int might match the return type of a GCC
11299 builtin and then its argument prototype would still apply. */
11312 if ac_fn_c_try_link "$LINENO"; then :
11313 ac_cv_lib_dl_dlopen=yes
11315 ac_cv_lib_dl_dlopen=no
11317 rm -f core conftest.err conftest.$ac_objext \
11318 conftest$ac_exeext conftest.$ac_ext
11319 LIBS=$ac_check_lib_save_LIBS
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11322 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11323 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11324 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11327 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11328 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11329 $as_echo_n "(cached) " >&6
11331 ac_check_lib_save_LIBS=$LIBS
11332 LIBS="-lsvld $LIBS"
11333 if test x$gcc_no_link = xyes; then
11334 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11337 /* end confdefs.h. */
11339 /* Override any GCC internal prototype to avoid an error.
11340 Use char because int might match the return type of a GCC
11341 builtin and then its argument prototype would still apply. */
11354 if ac_fn_c_try_link "$LINENO"; then :
11355 ac_cv_lib_svld_dlopen=yes
11357 ac_cv_lib_svld_dlopen=no
11359 rm -f core conftest.err conftest.$ac_objext \
11360 conftest$ac_exeext conftest.$ac_ext
11361 LIBS=$ac_check_lib_save_LIBS
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11364 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11365 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11366 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11369 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11370 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11371 $as_echo_n "(cached) " >&6
11373 ac_check_lib_save_LIBS=$LIBS
11375 if test x$gcc_no_link = xyes; then
11376 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11379 /* end confdefs.h. */
11381 /* Override any GCC internal prototype to avoid an error.
11382 Use char because int might match the return type of a GCC
11383 builtin and then its argument prototype would still apply. */
11391 return dld_link ();
11396 if ac_fn_c_try_link "$LINENO"; then :
11397 ac_cv_lib_dld_dld_link=yes
11399 ac_cv_lib_dld_dld_link=no
11401 rm -f core conftest.err conftest.$ac_objext \
11402 conftest$ac_exeext conftest.$ac_ext
11403 LIBS=$ac_check_lib_save_LIBS
11405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11406 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11407 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11408 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11429 if test "x$lt_cv_dlopen" != xno; then
11435 case $lt_cv_dlopen in
11437 save_CPPFLAGS="$CPPFLAGS"
11438 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11440 save_LDFLAGS="$LDFLAGS"
11441 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11444 LIBS="$lt_cv_dlopen_libs $LIBS"
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11447 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11448 if test "${lt_cv_dlopen_self+set}" = set; then :
11449 $as_echo_n "(cached) " >&6
11451 if test "$cross_compiling" = yes; then :
11452 lt_cv_dlopen_self=cross
11454 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11455 lt_status=$lt_dlunknown
11456 cat > conftest.$ac_ext <<_LT_EOF
11457 #line 11457 "configure"
11458 #include "confdefs.h"
11467 # define LT_DLGLOBAL RTLD_GLOBAL
11470 # define LT_DLGLOBAL DL_GLOBAL
11472 # define LT_DLGLOBAL 0
11476 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11477 find out it does not work in some platform. */
11478 #ifndef LT_DLLAZY_OR_NOW
11480 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11483 # define LT_DLLAZY_OR_NOW DL_LAZY
11486 # define LT_DLLAZY_OR_NOW RTLD_NOW
11489 # define LT_DLLAZY_OR_NOW DL_NOW
11491 # define LT_DLLAZY_OR_NOW 0
11498 /* When -fvisbility=hidden is used, assume the code has been annotated
11499 correspondingly for the symbols needed. */
11500 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11501 void fnord () __attribute__((visibility("default")));
11504 void fnord () { int i=42; }
11507 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11508 int status = $lt_dlunknown;
11512 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11515 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11516 else puts (dlerror ());
11518 /* dlclose (self); */
11526 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11527 (eval $ac_link) 2>&5
11529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11530 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11531 (./conftest; exit; ) >&5 2>/dev/null
11533 case x$lt_status in
11534 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11535 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11536 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11539 # compilation failed
11540 lt_cv_dlopen_self=no
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11548 $as_echo "$lt_cv_dlopen_self" >&6; }
11550 if test "x$lt_cv_dlopen_self" = xyes; then
11551 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11553 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11554 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11555 $as_echo_n "(cached) " >&6
11557 if test "$cross_compiling" = yes; then :
11558 lt_cv_dlopen_self_static=cross
11560 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11561 lt_status=$lt_dlunknown
11562 cat > conftest.$ac_ext <<_LT_EOF
11563 #line 11563 "configure"
11564 #include "confdefs.h"
11573 # define LT_DLGLOBAL RTLD_GLOBAL
11576 # define LT_DLGLOBAL DL_GLOBAL
11578 # define LT_DLGLOBAL 0
11582 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11583 find out it does not work in some platform. */
11584 #ifndef LT_DLLAZY_OR_NOW
11586 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11589 # define LT_DLLAZY_OR_NOW DL_LAZY
11592 # define LT_DLLAZY_OR_NOW RTLD_NOW
11595 # define LT_DLLAZY_OR_NOW DL_NOW
11597 # define LT_DLLAZY_OR_NOW 0
11604 /* When -fvisbility=hidden is used, assume the code has been annotated
11605 correspondingly for the symbols needed. */
11606 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11607 void fnord () __attribute__((visibility("default")));
11610 void fnord () { int i=42; }
11613 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11614 int status = $lt_dlunknown;
11618 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11621 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11622 else puts (dlerror ());
11624 /* dlclose (self); */
11632 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11633 (eval $ac_link) 2>&5
11635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11636 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11637 (./conftest; exit; ) >&5 2>/dev/null
11639 case x$lt_status in
11640 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11641 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11642 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11645 # compilation failed
11646 lt_cv_dlopen_self_static=no
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11654 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11657 CPPFLAGS="$save_CPPFLAGS"
11658 LDFLAGS="$save_LDFLAGS"
11663 case $lt_cv_dlopen_self in
11664 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11665 *) enable_dlopen_self=unknown ;;
11668 case $lt_cv_dlopen_self_static in
11669 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11670 *) enable_dlopen_self_static=unknown ;;
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11693 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11694 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11695 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11696 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11698 $as_echo "yes" >&6; }
11700 # FIXME - insert some real tests, host_os isn't really good enough
11703 if test -n "$STRIP" ; then
11704 striplib="$STRIP -x"
11705 old_striplib="$STRIP -S"
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11707 $as_echo "yes" >&6; }
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11710 $as_echo "no" >&6; }
11714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11715 $as_echo "no" >&6; }
11731 # Report which library types will actually be built
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11733 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11735 $as_echo "$can_build_shared" >&6; }
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11738 $as_echo_n "checking whether to build shared libraries... " >&6; }
11739 test "$can_build_shared" = "no" && enable_shared=no
11741 # On AIX, shared libraries and static libraries use the same namespace, and
11742 # are all built from PIC.
11745 test "$enable_shared" = yes && enable_static=no
11746 if test -n "$RANLIB"; then
11747 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11748 postinstall_cmds='$RANLIB $lib'
11753 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11754 test "$enable_shared" = yes && enable_static=no
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11759 $as_echo "$enable_shared" >&6; }
11761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11762 $as_echo_n "checking whether to build static libraries... " >&6; }
11763 # Make sure either enable_shared or enable_static is yes.
11764 test "$enable_shared" = yes || enable_static=yes
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11766 $as_echo "$enable_static" >&6; }
11773 ac_cpp='$CPP $CPPFLAGS'
11774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11780 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11781 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11782 (test "X$CXX" != "Xg++"))) ; then
11784 ac_cpp='$CXXCPP $CPPFLAGS'
11785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11789 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11790 if test -z "$CXXCPP"; then
11791 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11792 $as_echo_n "(cached) " >&6
11794 # Double quotes because CXXCPP needs to be expanded
11795 for CXXCPP in "$CXX -E" "/lib/cpp"
11797 ac_preproc_ok=false
11798 for ac_cxx_preproc_warn_flag in '' yes
11800 # Use a header file that comes with gcc, so configuring glibc
11801 # with a fresh cross-compiler works.
11802 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11803 # <limits.h> exists even on freestanding compilers.
11804 # On the NeXT, cc -E runs the code through the compiler's parser,
11805 # not just through cpp. "Syntax error" is here to catch this case.
11806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11807 /* end confdefs.h. */
11809 # include <limits.h>
11811 # include <assert.h>
11815 if ac_fn_cxx_try_cpp "$LINENO"; then :
11818 # Broken: fails on valid input.
11821 rm -f conftest.err conftest.$ac_ext
11823 # OK, works on sane cases. Now check whether nonexistent headers
11824 # can be detected and how.
11825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11826 /* end confdefs.h. */
11827 #include <ac_nonexistent.h>
11829 if ac_fn_cxx_try_cpp "$LINENO"; then :
11830 # Broken: success on invalid input.
11833 # Passes both tests.
11837 rm -f conftest.err conftest.$ac_ext
11840 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11841 rm -f conftest.err conftest.$ac_ext
11842 if $ac_preproc_ok; then :
11847 ac_cv_prog_CXXCPP=$CXXCPP
11850 CXXCPP=$ac_cv_prog_CXXCPP
11852 ac_cv_prog_CXXCPP=$CXXCPP
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11855 $as_echo "$CXXCPP" >&6; }
11856 ac_preproc_ok=false
11857 for ac_cxx_preproc_warn_flag in '' yes
11859 # Use a header file that comes with gcc, so configuring glibc
11860 # with a fresh cross-compiler works.
11861 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11862 # <limits.h> exists even on freestanding compilers.
11863 # On the NeXT, cc -E runs the code through the compiler's parser,
11864 # not just through cpp. "Syntax error" is here to catch this case.
11865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11866 /* end confdefs.h. */
11868 # include <limits.h>
11870 # include <assert.h>
11874 if ac_fn_cxx_try_cpp "$LINENO"; then :
11877 # Broken: fails on valid input.
11880 rm -f conftest.err conftest.$ac_ext
11882 # OK, works on sane cases. Now check whether nonexistent headers
11883 # can be detected and how.
11884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11885 /* end confdefs.h. */
11886 #include <ac_nonexistent.h>
11888 if ac_fn_cxx_try_cpp "$LINENO"; then :
11889 # Broken: success on invalid input.
11892 # Passes both tests.
11896 rm -f conftest.err conftest.$ac_ext
11899 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11900 rm -f conftest.err conftest.$ac_ext
11901 if $ac_preproc_ok; then :
11904 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11905 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11906 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11907 See \`config.log' for more details." "$LINENO" 5; }
11911 ac_cpp='$CPP $CPPFLAGS'
11912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11917 _lt_caught_CXX_error=yes
11921 ac_cpp='$CXXCPP $CPPFLAGS'
11922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11926 archive_cmds_need_lc_CXX=no
11927 allow_undefined_flag_CXX=
11928 always_export_symbols_CXX=no
11929 archive_expsym_cmds_CXX=
11930 compiler_needs_object_CXX=no
11931 export_dynamic_flag_spec_CXX=
11932 hardcode_direct_CXX=no
11933 hardcode_direct_absolute_CXX=no
11934 hardcode_libdir_flag_spec_CXX=
11935 hardcode_libdir_flag_spec_ld_CXX=
11936 hardcode_libdir_separator_CXX=
11937 hardcode_minus_L_CXX=no
11938 hardcode_shlibpath_var_CXX=unsupported
11939 hardcode_automatic_CXX=no
11940 inherit_rpath_CXX=no
11942 module_expsym_cmds_CXX=
11943 link_all_deplibs_CXX=unknown
11944 old_archive_cmds_CXX=$old_archive_cmds
11945 reload_flag_CXX=$reload_flag
11946 reload_cmds_CXX=$reload_cmds
11947 no_undefined_flag_CXX=
11948 whole_archive_flag_spec_CXX=
11949 enable_shared_with_static_runtimes_CXX=no
11951 # Source file extension for C++ test sources.
11954 # Object file extension for compiled C++ test sources.
11958 # No sense in running all these tests if we already determined that
11959 # the CXX compiler isn't working. Some variables (like enable_shared)
11960 # are currently assumed to apply to all compilers on this platform,
11961 # and will be corrupted by setting them based on a non-working compiler.
11962 if test "$_lt_caught_CXX_error" != yes; then
11963 # Code to be used in simple compile tests
11964 lt_simple_compile_test_code="int some_variable = 0;"
11966 # Code to be used in simple link tests
11967 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11969 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11976 # If no C compiler was specified, use CC.
11979 # If no C compiler flags were specified, use CFLAGS.
11980 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11982 # Allow CC to be a program name with arguments.
11986 # save warnings/boilerplate of simple test code
11987 ac_outfile=conftest.$ac_objext
11988 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11989 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11990 _lt_compiler_boilerplate=`cat conftest.err`
11993 ac_outfile=conftest.$ac_objext
11994 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11995 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11996 _lt_linker_boilerplate=`cat conftest.err`
12000 # Allow CC to be a program name with arguments.
12005 lt_save_with_gnu_ld=$with_gnu_ld
12006 lt_save_path_LD=$lt_cv_path_LD
12007 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12008 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12010 $as_unset lt_cv_prog_gnu_ld
12012 if test -n "${lt_cv_path_LDCXX+set}"; then
12013 lt_cv_path_LD=$lt_cv_path_LDCXX
12015 $as_unset lt_cv_path_LD
12017 test -z "${LDCXX+set}" || LD=$LDCXX
12021 for cc_temp in $compiler""; do
12023 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12024 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12029 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12032 if test -n "$compiler"; then
12033 # We don't want -fno-exception when compiling C++ code, so set the
12034 # no_builtin_flag separately
12035 if test "$GXX" = yes; then
12036 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12038 lt_prog_compiler_no_builtin_flag_CXX=
12041 if test "$GXX" = yes; then
12042 # Set up default GNU C++ configuration
12046 # Check whether --with-gnu-ld was given.
12047 if test "${with_gnu_ld+set}" = set; then :
12048 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12054 if test "$GCC" = yes; then
12055 # Check if gcc -print-prog-name=ld gives a path.
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12057 $as_echo_n "checking for ld used by $CC... " >&6; }
12060 # gcc leaves a trailing carriage return which upsets mingw
12061 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12063 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12066 # Accept absolute paths.
12068 re_direlt='/[^/][^/]*/\.\./'
12069 # Canonicalize the pathname of ld
12070 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12071 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12072 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12074 test -z "$LD" && LD="$ac_prog"
12077 # If it fails, then pretend we aren't using GCC.
12081 # If it is relative, then search for the first ld in PATH.
12082 with_gnu_ld=unknown
12085 elif test "$with_gnu_ld" = yes; then
12086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12087 $as_echo_n "checking for GNU ld... " >&6; }
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12090 $as_echo_n "checking for non-GNU ld... " >&6; }
12092 if test "${lt_cv_path_LD+set}" = set; then :
12093 $as_echo_n "(cached) " >&6
12095 if test -z "$LD"; then
12096 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12097 for ac_dir in $PATH; do
12099 test -z "$ac_dir" && ac_dir=.
12100 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12101 lt_cv_path_LD="$ac_dir/$ac_prog"
12102 # Check to see if the program is GNU ld. I'd rather use --version,
12103 # but apparently some variants of GNU ld only accept -v.
12104 # Break only if it was the GNU/non-GNU ld that we prefer.
12105 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12106 *GNU* | *'with BFD'*)
12107 test "$with_gnu_ld" != no && break
12110 test "$with_gnu_ld" != yes && break
12117 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12121 LD="$lt_cv_path_LD"
12122 if test -n "$LD"; then
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12124 $as_echo "$LD" >&6; }
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12127 $as_echo "no" >&6; }
12129 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12131 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12132 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12133 $as_echo_n "(cached) " >&6
12135 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12136 case `$LD -v 2>&1 </dev/null` in
12137 *GNU* | *'with BFD'*)
12138 lt_cv_prog_gnu_ld=yes
12141 lt_cv_prog_gnu_ld=no
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12146 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12147 with_gnu_ld=$lt_cv_prog_gnu_ld
12155 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12156 # archiving commands below assume that GNU ld is being used.
12157 if test "$with_gnu_ld" = yes; then
12158 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12159 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'
12161 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12162 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12164 # If archive_cmds runs LD, not CC, wlarc should be empty
12165 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12166 # investigate it a little bit more. (MM)
12169 # ancient GNU ld didn't support --whole-archive et. al.
12170 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12171 $GREP 'no-whole-archive' > /dev/null; then
12172 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12174 whole_archive_flag_spec_CXX=
12180 # A generic and very simple default shared library creation
12181 # command for GNU C++ for the case where it uses the native
12182 # linker, instead of GNU ld. If possible, this setting should
12183 # overridden to take advantage of the native linker features on
12184 # the platform it is being used on.
12185 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12188 # Commands to make compiler produce verbose output that lists
12189 # what "hidden" libraries, object files and flags are used when
12190 # linking a shared library.
12191 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12199 # PORTME: fill in a description of your system's C++ link characteristics
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12201 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12205 # FIXME: insert proper C++ library support
12209 if test "$host_cpu" = ia64; then
12210 # On IA64, the linker does run time linking by default, so we don't
12211 # have to do anything special.
12212 aix_use_runtimelinking=no
12213 exp_sym_flag='-Bexport'
12216 aix_use_runtimelinking=no
12218 # Test if we are trying to use run time linking or normal
12219 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12220 # need to do runtime linking.
12221 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12222 for ld_flag in $LDFLAGS; do
12225 aix_use_runtimelinking=yes
12233 exp_sym_flag='-bexport'
12234 no_entry_flag='-bnoentry'
12237 # When large executables or shared objects are built, AIX ld can
12238 # have problems creating the table of contents. If linking a library
12239 # or program results in "error TOC overflow" add -mminimal-toc to
12240 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12241 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12243 archive_cmds_CXX=''
12244 hardcode_direct_CXX=yes
12245 hardcode_direct_absolute_CXX=yes
12246 hardcode_libdir_separator_CXX=':'
12247 link_all_deplibs_CXX=yes
12248 file_list_spec_CXX='${wl}-f,'
12250 if test "$GXX" = yes; then
12251 case $host_os in aix4.[012]|aix4.[012].*)
12252 # We only want to do this on AIX 4.2 and lower, the check
12253 # below for broken collect2 doesn't work under 4.3+
12254 collect2name=`${CC} -print-prog-name=collect2`
12255 if test -f "$collect2name" &&
12256 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12258 # We have reworked collect2
12261 # We have old collect2
12262 hardcode_direct_CXX=unsupported
12263 # It fails to find uninstalled libraries when the uninstalled
12264 # path is not listed in the libpath. Setting hardcode_minus_L
12265 # to unsupported forces relinking
12266 hardcode_minus_L_CXX=yes
12267 hardcode_libdir_flag_spec_CXX='-L$libdir'
12268 hardcode_libdir_separator_CXX=
12271 shared_flag='-shared'
12272 if test "$aix_use_runtimelinking" = yes; then
12273 shared_flag="$shared_flag "'${wl}-G'
12277 if test "$host_cpu" = ia64; then
12278 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12279 # chokes on -Wl,-G. The following line is correct:
12282 if test "$aix_use_runtimelinking" = yes; then
12283 shared_flag='${wl}-G'
12285 shared_flag='${wl}-bM:SRE'
12290 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12291 # It seems that -bexpall does not export symbols beginning with
12292 # underscore (_), so it is better to generate a list of symbols to
12294 always_export_symbols_CXX=yes
12295 if test "$aix_use_runtimelinking" = yes; then
12296 # Warning - without using the other runtime loading flags (-brtl),
12297 # -berok will link without error, but may produce a broken library.
12298 allow_undefined_flag_CXX='-berok'
12299 # Determine the default libpath from the value encoded in an empty
12301 if test x$gcc_no_link = xyes; then
12302 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12305 /* end confdefs.h. */
12315 if ac_fn_cxx_try_link "$LINENO"; then :
12317 lt_aix_libpath_sed='
12318 /Import File Strings/,/^$/ {
12324 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12325 # Check for a 64-bit object if we didn't find anything.
12326 if test -z "$aix_libpath"; then
12327 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12330 rm -f core conftest.err conftest.$ac_objext \
12331 conftest$ac_exeext conftest.$ac_ext
12332 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12334 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12336 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"
12338 if test "$host_cpu" = ia64; then
12339 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12340 allow_undefined_flag_CXX="-z nodefs"
12341 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"
12343 # Determine the default libpath from the value encoded in an
12344 # empty executable.
12345 if test x$gcc_no_link = xyes; then
12346 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12349 /* end confdefs.h. */
12359 if ac_fn_cxx_try_link "$LINENO"; then :
12361 lt_aix_libpath_sed='
12362 /Import File Strings/,/^$/ {
12368 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12369 # Check for a 64-bit object if we didn't find anything.
12370 if test -z "$aix_libpath"; then
12371 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12374 rm -f core conftest.err conftest.$ac_objext \
12375 conftest$ac_exeext conftest.$ac_ext
12376 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12378 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12379 # Warning - without using the other run time loading flags,
12380 # -berok will link without error, but may produce a broken library.
12381 no_undefined_flag_CXX=' ${wl}-bernotok'
12382 allow_undefined_flag_CXX=' ${wl}-berok'
12383 if test "$with_gnu_ld" = yes; then
12384 # We only use this code for GNU lds that support --whole-archive.
12385 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12387 # Exported symbols can be pulled into shared objects from archives
12388 whole_archive_flag_spec_CXX='$convenience'
12390 archive_cmds_need_lc_CXX=yes
12391 # This is similar to how AIX traditionally builds its shared
12393 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'
12399 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12400 allow_undefined_flag_CXX=unsupported
12401 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12402 # support --undefined. This deserves some investigation. FIXME
12403 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12410 case $cc_basename in
12412 # FIXME: insert proper C++ library support
12418 cygwin* | mingw* | pw32* | cegcc*)
12419 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12420 # as there is no search path for DLLs.
12421 hardcode_libdir_flag_spec_CXX='-L$libdir'
12422 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12423 allow_undefined_flag_CXX=unsupported
12424 always_export_symbols_CXX=no
12425 enable_shared_with_static_runtimes_CXX=yes
12427 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12428 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'
12429 # If the export-symbols file already is a .def file (1st line
12430 # is EXPORTS), use it as is; otherwise, prepend...
12431 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12432 cp $export_symbols $output_objdir/$soname.def;
12434 echo EXPORTS > $output_objdir/$soname.def;
12435 cat $export_symbols >> $output_objdir/$soname.def;
12437 $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'
12442 darwin* | rhapsody*)
12445 archive_cmds_need_lc_CXX=no
12446 hardcode_direct_CXX=no
12447 hardcode_automatic_CXX=yes
12448 hardcode_shlibpath_var_CXX=unsupported
12449 if test "$lt_cv_ld_force_load" = "yes"; then
12450 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\"`'
12452 whole_archive_flag_spec_CXX=''
12454 link_all_deplibs_CXX=yes
12455 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12456 case $cc_basename in
12457 ifort*) _lt_dar_can_shared=yes ;;
12458 *) _lt_dar_can_shared=$GCC ;;
12460 if test "$_lt_dar_can_shared" = "yes"; then
12461 output_verbose_link_cmd=func_echo_all
12462 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}"
12463 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12464 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}"
12465 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}"
12466 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12467 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}"
12468 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}"
12478 case $cc_basename in
12480 # FIXME: insert proper C++ library support
12484 # Green Hills C++ Compiler
12485 # FIXME: insert proper C++ library support
12489 # FIXME: insert proper C++ library support
12496 # C++ shared libraries reported to be fairly broken before
12502 archive_cmds_need_lc_CXX=no
12505 freebsd* | dragonfly*)
12506 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12515 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12516 link_all_deplibs_CXX=yes
12520 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12521 hardcode_libdir_separator_CXX=:
12522 export_dynamic_flag_spec_CXX='${wl}-E'
12523 hardcode_direct_CXX=yes
12524 hardcode_minus_L_CXX=yes # Not in the search PATH,
12525 # but as the default
12526 # location of the library.
12528 case $cc_basename in
12530 # FIXME: insert proper C++ library support
12534 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'
12535 # Commands to make compiler produce verbose output that lists
12536 # what "hidden" libraries, object files and flags are used when
12537 # linking a shared library.
12539 # There doesn't appear to be a way to prevent this compiler from
12540 # explicitly linking system object files so we need to strip them
12541 # from the output so that they don't get included in the library
12543 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"'
12546 if test "$GXX" = yes; then
12547 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'
12549 # FIXME: insert proper C++ library support
12557 if test $with_gnu_ld = no; then
12558 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12559 hardcode_libdir_separator_CXX=:
12565 export_dynamic_flag_spec_CXX='${wl}-E'
12571 hardcode_direct_CXX=no
12572 hardcode_shlibpath_var_CXX=no
12575 hardcode_direct_CXX=yes
12576 hardcode_direct_absolute_CXX=yes
12577 hardcode_minus_L_CXX=yes # Not in the search PATH,
12578 # but as the default
12579 # location of the library.
12583 case $cc_basename in
12585 # FIXME: insert proper C++ library support
12591 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12594 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12597 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12600 # Commands to make compiler produce verbose output that lists
12601 # what "hidden" libraries, object files and flags are used when
12602 # linking a shared library.
12604 # There doesn't appear to be a way to prevent this compiler from
12605 # explicitly linking system object files so we need to strip them
12606 # from the output so that they don't get included in the library
12608 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"'
12611 if test "$GXX" = yes; then
12612 if test $with_gnu_ld = no; then
12615 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12618 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12621 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'
12626 # FIXME: insert proper C++ library support
12634 hardcode_direct_CXX=no
12635 hardcode_shlibpath_var_CXX=no
12636 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12637 export_dynamic_flag_spec_CXX='${wl}-E'
12638 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12639 # Instead, shared libraries are loaded at an image base (0x10000000 by
12640 # default) and relocated if they conflict, which is a slow very memory
12641 # consuming and fragmenting process. To avoid this, we pick a random,
12642 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12643 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12644 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'
12645 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'
12648 case $cc_basename in
12651 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'
12653 # Archives containing C++ object files must be created using
12654 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12655 # necessary to make sure instantiated templates are included
12657 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12660 if test "$GXX" = yes; then
12661 if test "$with_gnu_ld" = no; then
12662 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'
12664 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'
12667 link_all_deplibs_CXX=yes
12670 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12671 hardcode_libdir_separator_CXX=:
12672 inherit_rpath_CXX=yes
12675 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12676 case $cc_basename in
12678 # Kuck and Associates, Inc. (KAI) C++ Compiler
12680 # KCC will only create a shared library if the output file
12681 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12682 # to its proper name (with version) after linking.
12683 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'
12684 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'
12685 # Commands to make compiler produce verbose output that lists
12686 # what "hidden" libraries, object files and flags are used when
12687 # linking a shared library.
12689 # There doesn't appear to be a way to prevent this compiler from
12690 # explicitly linking system object files so we need to strip them
12691 # from the output so that they don't get included in the library
12693 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"'
12695 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12696 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12698 # Archives containing C++ object files must be created using
12699 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12700 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12705 # version 8.0 and above of icpc choke on multiply defined symbols
12706 # if we add $predep_objects and $postdep_objects, however 7.1 and
12707 # earlier do not add the objects themselves.
12708 case `$CC -V 2>&1` in
12710 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12711 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'
12713 *) # Version 8.0 or newer
12716 ia64*) tmp_idyn=' -i_dynamic';;
12718 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12719 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'
12722 archive_cmds_need_lc_CXX=no
12723 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12724 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12725 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12728 # Portland Group C++ compiler
12730 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12731 prelink_cmds_CXX='tpldir=Template.dir~
12733 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12734 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12735 old_archive_cmds_CXX='tpldir=Template.dir~
12737 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12738 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12740 archive_cmds_CXX='tpldir=Template.dir~
12742 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12743 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12744 archive_expsym_cmds_CXX='tpldir=Template.dir~
12746 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12747 $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'
12749 *) # Version 6 and above use weak symbols
12750 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12751 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'
12755 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12756 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12757 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'
12761 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12762 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'
12764 runpath_var=LD_RUN_PATH
12765 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12766 hardcode_libdir_separator_CXX=:
12768 # Commands to make compiler produce verbose output that lists
12769 # what "hidden" libraries, object files and flags are used when
12770 # linking a shared library.
12772 # There doesn't appear to be a way to prevent this compiler from
12773 # explicitly linking system object files so we need to strip them
12774 # from the output so that they don't get included in the library
12776 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'
12778 xl* | mpixl* | bgxl*)
12779 # IBM XL 8.0 on PPC, with GNU ld
12780 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12781 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12782 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12783 if test "x$supports_anon_versioning" = xyes; then
12784 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12785 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12786 echo "local: *; };" >> $output_objdir/$libname.ver~
12787 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12791 case `$CC -V 2>&1 | sed 5q` in
12794 no_undefined_flag_CXX=' -zdefs'
12795 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12796 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'
12797 hardcode_libdir_flag_spec_CXX='-R$libdir'
12798 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'
12799 compiler_needs_object_CXX=yes
12801 # Not sure whether something based on
12802 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12804 output_verbose_link_cmd='func_echo_all'
12806 # Archives containing C++ object files must be created using
12807 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12808 # necessary to make sure instantiated templates are included
12810 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12818 # FIXME: insert proper C++ library support
12823 # FIXME: insert proper C++ library support
12828 case $cc_basename in
12830 # FIXME: insert proper C++ library support
12834 # FIXME: insert proper C++ library support
12841 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12842 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12844 hardcode_libdir_flag_spec_CXX='-R$libdir'
12845 hardcode_direct_CXX=yes
12846 hardcode_shlibpath_var_CXX=no
12848 # Workaround some broken pre-1.5 toolchains
12849 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12857 # C++ shared libraries are fairly broken
12862 if test -f /usr/libexec/ld.so; then
12863 hardcode_direct_CXX=yes
12864 hardcode_shlibpath_var_CXX=no
12865 hardcode_direct_absolute_CXX=yes
12866 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12867 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12868 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12869 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12870 export_dynamic_flag_spec_CXX='${wl}-E'
12871 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12873 output_verbose_link_cmd=func_echo_all
12879 osf3* | osf4* | osf5*)
12880 case $cc_basename in
12882 # Kuck and Associates, Inc. (KAI) C++ Compiler
12884 # KCC will only create a shared library if the output file
12885 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12886 # to its proper name (with version) after linking.
12887 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'
12889 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12890 hardcode_libdir_separator_CXX=:
12892 # Archives containing C++ object files must be created using
12893 # the KAI C++ compiler.
12895 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12896 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12900 # Rational C++ 2.4.1
12901 # FIXME: insert proper C++ library support
12907 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12908 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'
12909 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12912 allow_undefined_flag_CXX=' -expect_unresolved \*'
12913 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'
12914 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12915 echo "-hidden">> $lib.exp~
12916 $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~
12918 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12922 hardcode_libdir_separator_CXX=:
12924 # Commands to make compiler produce verbose output that lists
12925 # what "hidden" libraries, object files and flags are used when
12926 # linking a shared library.
12928 # There doesn't appear to be a way to prevent this compiler from
12929 # explicitly linking system object files so we need to strip them
12930 # from the output so that they don't get included in the library
12932 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"'
12935 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12936 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12939 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'
12942 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'
12946 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12947 hardcode_libdir_separator_CXX=:
12949 # Commands to make compiler produce verbose output that lists
12950 # what "hidden" libraries, object files and flags are used when
12951 # linking a shared library.
12952 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12955 # FIXME: insert proper C++ library support
12963 # FIXME: insert proper C++ library support
12968 case $cc_basename in
12971 # FIXME: insert proper C++ library support
12976 # FIXME: insert proper C++ library support
12980 # FIXME: insert proper C++ library support
12987 case $cc_basename in
12989 # Sun C++ 4.2, 5.x and Centerline C++
12990 archive_cmds_need_lc_CXX=yes
12991 no_undefined_flag_CXX=' -zdefs'
12992 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12993 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12994 $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'
12996 hardcode_libdir_flag_spec_CXX='-R$libdir'
12997 hardcode_shlibpath_var_CXX=no
12999 solaris2.[0-5] | solaris2.[0-5].*) ;;
13001 # The compiler driver will combine and reorder linker options,
13002 # but understands `-z linker_flag'.
13003 # Supported since Solaris 2.6 (maybe 2.5.1?)
13004 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13007 link_all_deplibs_CXX=yes
13009 output_verbose_link_cmd='func_echo_all'
13011 # Archives containing C++ object files must be created using
13012 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13013 # necessary to make sure instantiated templates are included
13015 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13018 # Green Hills C++ Compiler
13019 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13021 # The C++ compiler must be used to create the archive.
13022 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13025 # GNU C++ compiler with Solaris linker
13026 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13027 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13028 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13029 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13030 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13031 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13033 # Commands to make compiler produce verbose output that lists
13034 # what "hidden" libraries, object files and flags are used when
13035 # linking a shared library.
13036 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13038 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13040 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13041 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13042 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13044 # Commands to make compiler produce verbose output that lists
13045 # what "hidden" libraries, object files and flags are used when
13046 # linking a shared library.
13047 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13050 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13052 solaris2.[0-5] | solaris2.[0-5].*) ;;
13054 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13062 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13063 no_undefined_flag_CXX='${wl}-z,text'
13064 archive_cmds_need_lc_CXX=no
13065 hardcode_shlibpath_var_CXX=no
13066 runpath_var='LD_RUN_PATH'
13068 case $cc_basename in
13070 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13071 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13074 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13075 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13080 sysv5* | sco3.2v5* | sco5v6*)
13081 # Note: We can NOT use -z defs as we might desire, because we do not
13082 # link with -lc, and that would cause any symbols used from libc to
13083 # always be unresolved, which means just about no library would
13084 # ever link correctly. If we're not using GNU ld we use -z text
13085 # though, which does catch some bad symbols but isn't as heavy-handed
13087 no_undefined_flag_CXX='${wl}-z,text'
13088 allow_undefined_flag_CXX='${wl}-z,nodefs'
13089 archive_cmds_need_lc_CXX=no
13090 hardcode_shlibpath_var_CXX=no
13091 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13092 hardcode_libdir_separator_CXX=':'
13093 link_all_deplibs_CXX=yes
13094 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13095 runpath_var='LD_RUN_PATH'
13097 case $cc_basename in
13099 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13100 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13101 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13102 '"$old_archive_cmds_CXX"
13103 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13104 '"$reload_cmds_CXX"
13107 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13108 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13114 case $cc_basename in
13116 # NonStop-UX NCC 3.20
13117 # FIXME: insert proper C++ library support
13121 # FIXME: insert proper C++ library support
13128 # FIXME: insert proper C++ library support
13133 # FIXME: insert proper C++ library support
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13139 $as_echo "$ld_shlibs_CXX" >&6; }
13140 test "$ld_shlibs_CXX" = no && can_build_shared=no
13146 ## There is no encapsulation within the following macros, do not change
13147 ## the running order or otherwise move them around unless you know exactly
13148 ## what you are doing...
13149 # Dependencies to place before and after the object being linked:
13150 predep_objects_CXX=
13151 postdep_objects_CXX=
13154 compiler_lib_search_path_CXX=
13156 cat > conftest.$ac_ext <<_LT_EOF
13160 Foo (void) { a = 0; }
13166 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13167 (eval $ac_compile) 2>&5
13169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13170 test $ac_status = 0; }; then
13171 # Parse the compiler output and extract the necessary
13172 # objects, libraries and library flags.
13174 # Sentinel used to keep track of whether or not we are before
13175 # the conftest object file.
13176 pre_test_object_deps_done=no
13178 for p in `eval "$output_verbose_link_cmd"`; do
13182 # Some compilers place space between "-{L,R}" and the path.
13183 # Remove the space.
13184 if test $p = "-L" ||
13185 test $p = "-R"; then
13192 if test "$pre_test_object_deps_done" = no; then
13195 # Internal compiler library paths should come after those
13196 # provided the user. The postdeps already come after the
13197 # user supplied libs so there is no need to process them.
13198 if test -z "$compiler_lib_search_path_CXX"; then
13199 compiler_lib_search_path_CXX="${prev}${p}"
13201 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13204 # The "-l" case would never come before the object being
13205 # linked, so don't bother handling this case.
13208 if test -z "$postdeps_CXX"; then
13209 postdeps_CXX="${prev}${p}"
13211 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13217 # This assumes that the test object file only shows up
13218 # once in the compiler output.
13219 if test "$p" = "conftest.$objext"; then
13220 pre_test_object_deps_done=yes
13224 if test "$pre_test_object_deps_done" = no; then
13225 if test -z "$predep_objects_CXX"; then
13226 predep_objects_CXX="$p"
13228 predep_objects_CXX="$predep_objects_CXX $p"
13231 if test -z "$postdep_objects_CXX"; then
13232 postdep_objects_CXX="$p"
13234 postdep_objects_CXX="$postdep_objects_CXX $p"
13239 *) ;; # Ignore the rest.
13247 echo "libtool.m4: error: problem compiling CXX test program"
13250 $RM -f confest.$objext
13252 # PORTME: override above test on systems where it is broken
13255 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13256 # hack all around it, let's just trust "g++" to DTRT.
13257 predep_objects_CXX=
13258 postdep_objects_CXX=
13263 case `$CC -V 2>&1 | sed 5q` in
13267 # The more standards-conforming stlport4 library is
13268 # incompatible with the Cstd library. Avoid specifying
13269 # it if it's in CXXFLAGS. Ignore libCrun as
13270 # -library=stlport4 depends on it.
13271 case " $CXX $CXXFLAGS " in
13272 *" -library=stlport4 "*)
13273 solaris_use_stlport4=yes
13277 if test "$solaris_use_stlport4" != yes; then
13278 postdeps_CXX='-library=Cstd -library=Crun'
13285 case $cc_basename in
13287 # The more standards-conforming stlport4 library is
13288 # incompatible with the Cstd library. Avoid specifying
13289 # it if it's in CXXFLAGS. Ignore libCrun as
13290 # -library=stlport4 depends on it.
13291 case " $CXX $CXXFLAGS " in
13292 *" -library=stlport4 "*)
13293 solaris_use_stlport4=yes
13297 # Adding this requires a known-good setup of shared libraries for
13298 # Sun compiler versions before 5.6, else PIC objects from an old
13299 # archive will be linked into the output, leading to subtle bugs.
13300 if test "$solaris_use_stlport4" != yes; then
13301 postdeps_CXX='-library=Cstd -library=Crun'
13309 case " $postdeps_CXX " in
13310 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13312 compiler_lib_search_dirs_CXX=
13313 if test -n "${compiler_lib_search_path_CXX}"; then
13314 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13347 lt_prog_compiler_wl_CXX=
13348 lt_prog_compiler_pic_CXX=
13349 lt_prog_compiler_static_CXX=
13351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13352 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13354 # C++ specific cases for pic, static, wl, etc.
13355 if test "$GXX" = yes; then
13356 lt_prog_compiler_wl_CXX='-Wl,'
13357 lt_prog_compiler_static_CXX='-static'
13361 # All AIX code is PIC.
13362 if test "$host_cpu" = ia64; then
13363 # AIX 5 now supports IA64 processor
13364 lt_prog_compiler_static_CXX='-Bstatic'
13371 # see comment about AmigaOS4 .so support
13372 lt_prog_compiler_pic_CXX='-fPIC'
13375 # FIXME: we need at least 68020 code to build shared libraries, but
13376 # adding the `-m68020' flag to GCC prevents building anything better,
13378 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13383 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13384 # PIC is the default for these OSes.
13386 mingw* | cygwin* | os2* | pw32* | cegcc*)
13387 # This hack is so that the source file can tell whether it is being
13388 # built for inclusion in a dll (and should export symbols for example).
13389 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13390 # (--disable-auto-import) libraries
13391 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13393 darwin* | rhapsody*)
13394 # PIC is the default on this platform
13395 # Common symbols not allowed in MH_DYLIB files
13396 lt_prog_compiler_pic_CXX='-fno-common'
13399 # DJGPP does not support shared libraries at all
13400 lt_prog_compiler_pic_CXX=
13403 # PIC is the default for Haiku.
13404 # The "-static" flag exists, but is broken.
13405 lt_prog_compiler_static_CXX=
13408 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13409 # Instead, we relocate shared libraries at runtime.
13412 if test -d /usr/nec; then
13413 lt_prog_compiler_pic_CXX=-Kconform_pic
13417 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13418 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13419 # sets the default TLS model and affects inlining.
13424 lt_prog_compiler_pic_CXX='-fPIC'
13429 # QNX uses GNU C++, but need to define -shared option too, otherwise
13430 # it will coredump.
13431 lt_prog_compiler_pic_CXX='-fPIC -shared'
13434 lt_prog_compiler_pic_CXX='-fPIC'
13440 # All AIX code is PIC.
13441 if test "$host_cpu" = ia64; then
13442 # AIX 5 now supports IA64 processor
13443 lt_prog_compiler_static_CXX='-Bstatic'
13445 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13449 case $cc_basename in
13451 # Green Hills C++ Compiler
13452 # _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"
13457 case $cc_basename in
13459 lt_prog_compiler_pic_CXX='-KPIC'
13462 # Green Hills C++ Compiler
13463 lt_prog_compiler_pic_CXX='-pic'
13469 freebsd* | dragonfly*)
13470 # FreeBSD uses GNU C++
13472 hpux9* | hpux10* | hpux11*)
13473 case $cc_basename in
13475 lt_prog_compiler_wl_CXX='-Wl,'
13476 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13477 if test "$host_cpu" != ia64; then
13478 lt_prog_compiler_pic_CXX='+Z'
13482 lt_prog_compiler_wl_CXX='-Wl,'
13483 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13489 lt_prog_compiler_pic_CXX='+Z'
13498 # This is c89, which is MS Visual C++ (no shared libs)
13499 # Anyone wants to do a port?
13501 irix5* | irix6* | nonstopux*)
13502 case $cc_basename in
13504 lt_prog_compiler_wl_CXX='-Wl,'
13505 lt_prog_compiler_static_CXX='-non_shared'
13506 # CC pic flag -KPIC is the default.
13512 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13513 case $cc_basename in
13516 lt_prog_compiler_wl_CXX='--backend -Wl,'
13517 lt_prog_compiler_pic_CXX='-fPIC'
13520 # old Intel C++ for x86_64 which still supported -KPIC.
13521 lt_prog_compiler_wl_CXX='-Wl,'
13522 lt_prog_compiler_pic_CXX='-KPIC'
13523 lt_prog_compiler_static_CXX='-static'
13526 # Intel C++, used to be incompatible with GCC.
13527 # ICC 10 doesn't accept -KPIC any more.
13528 lt_prog_compiler_wl_CXX='-Wl,'
13529 lt_prog_compiler_pic_CXX='-fPIC'
13530 lt_prog_compiler_static_CXX='-static'
13533 # Portland Group C++ compiler
13534 lt_prog_compiler_wl_CXX='-Wl,'
13535 lt_prog_compiler_pic_CXX='-fpic'
13536 lt_prog_compiler_static_CXX='-Bstatic'
13540 # Make sure the PIC flag is empty. It appears that all Alpha
13541 # Linux and Compaq Tru64 Unix objects are PIC.
13542 lt_prog_compiler_pic_CXX=
13543 lt_prog_compiler_static_CXX='-non_shared'
13545 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13546 # IBM XL 8.0, 9.0 on PPC and BlueGene
13547 lt_prog_compiler_wl_CXX='-Wl,'
13548 lt_prog_compiler_pic_CXX='-qpic'
13549 lt_prog_compiler_static_CXX='-qstaticlink'
13552 case `$CC -V 2>&1 | sed 5q` in
13555 lt_prog_compiler_pic_CXX='-KPIC'
13556 lt_prog_compiler_static_CXX='-Bstatic'
13557 lt_prog_compiler_wl_CXX='-Qoption ld '
13568 case $cc_basename in
13570 lt_prog_compiler_pic_CXX='-W c,exportall'
13579 # QNX uses GNU C++, but need to define -shared option too, otherwise
13580 # it will coredump.
13581 lt_prog_compiler_pic_CXX='-fPIC -shared'
13583 osf3* | osf4* | osf5*)
13584 case $cc_basename in
13586 lt_prog_compiler_wl_CXX='--backend -Wl,'
13589 # Rational C++ 2.4.1
13590 lt_prog_compiler_pic_CXX='-pic'
13593 # Digital/Compaq C++
13594 lt_prog_compiler_wl_CXX='-Wl,'
13595 # Make sure the PIC flag is empty. It appears that all Alpha
13596 # Linux and Compaq Tru64 Unix objects are PIC.
13597 lt_prog_compiler_pic_CXX=
13598 lt_prog_compiler_static_CXX='-non_shared'
13607 case $cc_basename in
13609 # Sun C++ 4.2, 5.x and Centerline C++
13610 lt_prog_compiler_pic_CXX='-KPIC'
13611 lt_prog_compiler_static_CXX='-Bstatic'
13612 lt_prog_compiler_wl_CXX='-Qoption ld '
13615 # Green Hills C++ Compiler
13616 lt_prog_compiler_pic_CXX='-PIC'
13623 case $cc_basename in
13626 lt_prog_compiler_pic_CXX='-pic'
13627 lt_prog_compiler_static_CXX='-Bstatic'
13631 lt_prog_compiler_pic_CXX='-pic'
13637 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13638 case $cc_basename in
13640 lt_prog_compiler_wl_CXX='-Wl,'
13641 lt_prog_compiler_pic_CXX='-KPIC'
13642 lt_prog_compiler_static_CXX='-Bstatic'
13647 case $cc_basename in
13649 # NonStop-UX NCC 3.20
13650 lt_prog_compiler_pic_CXX='-KPIC'
13659 lt_prog_compiler_can_build_shared_CXX=no
13665 # For platforms which do not support PIC, -DPIC is meaningless:
13667 lt_prog_compiler_pic_CXX=
13670 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13674 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13679 # Check to make sure the PIC flag actually works.
13681 if test -n "$lt_prog_compiler_pic_CXX"; then
13682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13683 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13684 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13685 $as_echo_n "(cached) " >&6
13687 lt_cv_prog_compiler_pic_works_CXX=no
13688 ac_outfile=conftest.$ac_objext
13689 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13690 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13691 # Insert the option either (1) after the last *FLAGS variable, or
13692 # (2) before a word containing "conftest.", or (3) at the end.
13693 # Note that $ac_compile itself does not contain backslashes and begins
13694 # with a dollar sign (not a hyphen), so the echo should work correctly.
13695 # The option is referenced via a variable to avoid confusing sed.
13696 lt_compile=`echo "$ac_compile" | $SED \
13697 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13698 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13699 -e 's:$: $lt_compiler_flag:'`
13700 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13701 (eval "$lt_compile" 2>conftest.err)
13703 cat conftest.err >&5
13704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13705 if (exit $ac_status) && test -s "$ac_outfile"; then
13706 # The compiler can only warn and ignore the option if not recognized
13707 # So say no if there are warnings other than the usual output.
13708 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13709 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13710 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13711 lt_cv_prog_compiler_pic_works_CXX=yes
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13718 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13720 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13721 case $lt_prog_compiler_pic_CXX in
13723 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13726 lt_prog_compiler_pic_CXX=
13727 lt_prog_compiler_can_build_shared_CXX=no
13735 # Check to make sure the static flag actually works.
13737 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13739 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13740 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13741 $as_echo_n "(cached) " >&6
13743 lt_cv_prog_compiler_static_works_CXX=no
13744 save_LDFLAGS="$LDFLAGS"
13745 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13746 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13747 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13748 # The linker can only warn and ignore the option if not recognized
13749 # So say no if there are warnings
13750 if test -s conftest.err; then
13751 # Append any errors to the config.log.
13752 cat conftest.err 1>&5
13753 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13754 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13755 if diff conftest.exp conftest.er2 >/dev/null; then
13756 lt_cv_prog_compiler_static_works_CXX=yes
13759 lt_cv_prog_compiler_static_works_CXX=yes
13763 LDFLAGS="$save_LDFLAGS"
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13767 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13769 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13772 lt_prog_compiler_static_CXX=
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13779 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13780 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13781 $as_echo_n "(cached) " >&6
13783 lt_cv_prog_compiler_c_o_CXX=no
13784 $RM -r conftest 2>/dev/null
13788 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13790 lt_compiler_flag="-o out/conftest2.$ac_objext"
13791 # Insert the option either (1) after the last *FLAGS variable, or
13792 # (2) before a word containing "conftest.", or (3) at the end.
13793 # Note that $ac_compile itself does not contain backslashes and begins
13794 # with a dollar sign (not a hyphen), so the echo should work correctly.
13795 lt_compile=`echo "$ac_compile" | $SED \
13796 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13797 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13798 -e 's:$: $lt_compiler_flag:'`
13799 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13800 (eval "$lt_compile" 2>out/conftest.err)
13802 cat out/conftest.err >&5
13803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13804 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13806 # The compiler can only warn and ignore the option if not recognized
13807 # So say no if there are warnings
13808 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13809 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13810 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13811 lt_cv_prog_compiler_c_o_CXX=yes
13816 # SGI C++ compiler will create directory out/ii_files/ for
13817 # template instantiation
13818 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13819 $RM out/* && rmdir out
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13826 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13831 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13832 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13833 $as_echo_n "(cached) " >&6
13835 lt_cv_prog_compiler_c_o_CXX=no
13836 $RM -r conftest 2>/dev/null
13840 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13842 lt_compiler_flag="-o out/conftest2.$ac_objext"
13843 # Insert the option either (1) after the last *FLAGS variable, or
13844 # (2) before a word containing "conftest.", or (3) at the end.
13845 # Note that $ac_compile itself does not contain backslashes and begins
13846 # with a dollar sign (not a hyphen), so the echo should work correctly.
13847 lt_compile=`echo "$ac_compile" | $SED \
13848 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13849 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13850 -e 's:$: $lt_compiler_flag:'`
13851 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13852 (eval "$lt_compile" 2>out/conftest.err)
13854 cat out/conftest.err >&5
13855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13856 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13858 # The compiler can only warn and ignore the option if not recognized
13859 # So say no if there are warnings
13860 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13861 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13862 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13863 lt_cv_prog_compiler_c_o_CXX=yes
13868 # SGI C++ compiler will create directory out/ii_files/ for
13869 # template instantiation
13870 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13871 $RM out/* && rmdir out
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13878 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13883 hard_links="nottested"
13884 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13885 # do not overwrite the value of need_locks provided by the user
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13887 $as_echo_n "checking if we can lock with hard links... " >&6; }
13890 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13892 ln conftest.a conftest.b 2>&5 || hard_links=no
13893 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13895 $as_echo "$hard_links" >&6; }
13896 if test "$hard_links" = no; then
13897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13898 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13908 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13910 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13913 # If we're using GNU nm, then we don't want the "-C" option.
13914 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13915 # Also, AIX nm treats weak defined symbols like other global defined
13916 # symbols, whereas GNU nm marks them as "W".
13917 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13918 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'
13920 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'
13924 export_symbols_cmds_CXX="$ltdll_cmds"
13926 cygwin* | mingw* | cegcc*)
13927 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'
13930 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13933 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13936 $as_echo "$ld_shlibs_CXX" >&6; }
13937 test "$ld_shlibs_CXX" = no && can_build_shared=no
13939 with_gnu_ld_CXX=$with_gnu_ld
13947 # Do we need to explicitly link libc?
13949 case "x$archive_cmds_need_lc_CXX" in
13951 # Assume -lc should be added
13952 archive_cmds_need_lc_CXX=yes
13954 if test "$enable_shared" = yes && test "$GCC" = yes; then
13955 case $archive_cmds_CXX in
13957 # FIXME: we may have to deal with multi-command sequences.
13960 # Test whether the compiler implicitly links with -lc since on some
13961 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13962 # to ld, don't add -lc before -lgcc.
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13964 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13965 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
13966 $as_echo_n "(cached) " >&6
13969 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13971 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13972 (eval $ac_compile) 2>&5
13974 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13975 test $ac_status = 0; } 2>conftest.err; then
13978 libobjs=conftest.$ac_objext
13980 wl=$lt_prog_compiler_wl_CXX
13981 pic_flag=$lt_prog_compiler_pic_CXX
13987 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13988 allow_undefined_flag_CXX=
13989 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13990 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13993 test $ac_status = 0; }
13995 lt_cv_archive_cmds_need_lc_CXX=no
13997 lt_cv_archive_cmds_need_lc_CXX=yes
13999 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14001 cat conftest.err 1>&5
14006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14007 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14008 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14079 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14081 library_names_spec=
14082 libname_spec='lib$name'
14086 postuninstall_cmds=
14090 shlibpath_overrides_runpath=unknown
14092 dynamic_linker="$host_os ld.so"
14093 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14094 need_lib_prefix=unknown
14095 hardcode_into_libs=no
14097 # when you set need_version to no, make sure it does not cause -set_version
14098 # flags to be left without arguments
14099 need_version=unknown
14104 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14105 shlibpath_var=LIBPATH
14107 # AIX 3 has no versioning support, so we append a major version to the name.
14108 soname_spec='${libname}${release}${shared_ext}$major'
14115 hardcode_into_libs=yes
14116 if test "$host_cpu" = ia64; then
14117 # AIX 5 supports IA64
14118 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14119 shlibpath_var=LD_LIBRARY_PATH
14121 # With GCC up to 2.95.x, collect2 would create an import file
14122 # for dependence libraries. The import file would start with
14123 # the line `#! .'. This would cause the generated library to
14124 # depend on `.', always an invalid library. This was fixed in
14125 # development snapshots of GCC prior to 3.0.
14127 aix4 | aix4.[01] | aix4.[01].*)
14128 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14130 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14133 can_build_shared=no
14137 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14138 # soname into executable. Probably we can add versioning support to
14139 # collect2, so additional links can be useful in future.
14140 if test "$aix_use_runtimelinking" = yes; then
14141 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14142 # instead of lib<name>.a to let people know that these are not
14143 # typical AIX shared libraries.
14144 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14146 # We preserve .a as extension for shared libraries through AIX4.2
14147 # and later when we are not doing run time linking.
14148 library_names_spec='${libname}${release}.a $libname.a'
14149 soname_spec='${libname}${release}${shared_ext}$major'
14151 shlibpath_var=LIBPATH
14158 # Since July 2007 AmigaOS4 officially supports .so libraries.
14159 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14160 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14163 library_names_spec='$libname.ixlibrary $libname.a'
14164 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14165 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'
14171 library_names_spec='${libname}${shared_ext}'
14172 dynamic_linker="$host_os ld.so"
14173 shlibpath_var=LIBRARY_PATH
14179 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14180 soname_spec='${libname}${release}${shared_ext}$major'
14181 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14182 shlibpath_var=LD_LIBRARY_PATH
14183 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14184 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14185 # the default ld.so.conf also contains /usr/contrib/lib and
14186 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14187 # libtool to hard-code these into programs
14190 cygwin* | mingw* | pw32* | cegcc*)
14191 version_type=windows
14196 case $GCC,$host_os in
14197 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14198 library_names_spec='$libname.dll.a'
14199 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14200 postinstall_cmds='base_file=`basename \${file}`~
14201 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14202 dldir=$destdir/`dirname \$dlpath`~
14203 test -d \$dldir || mkdir -p \$dldir~
14204 $install_prog $dir/$dlname \$dldir/$dlname~
14205 chmod a+x \$dldir/$dlname~
14206 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14207 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14209 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14210 dlpath=$dir/\$dldll~
14212 shlibpath_overrides_runpath=yes
14216 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14217 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14221 # MinGW DLLs use traditional 'lib' prefix
14222 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14225 # pw32 DLLs use 'pw' prefix rather than 'lib'
14226 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14232 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14235 dynamic_linker='Win32 ld.exe'
14236 # FIXME: first we should search . and the directory the executable is in
14240 darwin* | rhapsody*)
14241 dynamic_linker="$host_os dyld"
14242 version_type=darwin
14245 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14246 soname_spec='${libname}${release}${major}$shared_ext'
14247 shlibpath_overrides_runpath=yes
14248 shlibpath_var=DYLD_LIBRARY_PATH
14249 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14251 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14258 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14259 soname_spec='${libname}${release}${shared_ext}$major'
14260 shlibpath_var=LD_LIBRARY_PATH
14267 freebsd* | dragonfly*)
14268 # DragonFly does not have aout. When/if they implement a new
14269 # versioning mechanism, adjust this.
14270 if test -x /usr/bin/objformat; then
14271 objformat=`/usr/bin/objformat`
14274 freebsd[123]*) objformat=aout ;;
14275 *) objformat=elf ;;
14278 version_type=freebsd-$objformat
14279 case $version_type in
14281 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14286 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14290 shlibpath_var=LD_LIBRARY_PATH
14293 shlibpath_overrides_runpath=yes
14295 freebsd3.[01]* | freebsdelf3.[01]*)
14296 shlibpath_overrides_runpath=yes
14297 hardcode_into_libs=yes
14299 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14300 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14301 shlibpath_overrides_runpath=no
14302 hardcode_into_libs=yes
14304 *) # from 4.6 on, and DragonFly
14305 shlibpath_overrides_runpath=yes
14306 hardcode_into_libs=yes
14315 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14316 soname_spec='${libname}${release}${shared_ext}$major'
14317 shlibpath_var=LD_LIBRARY_PATH
14318 hardcode_into_libs=yes
14325 dynamic_linker="$host_os runtime_loader"
14326 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14327 soname_spec='${libname}${release}${shared_ext}$major'
14328 shlibpath_var=LIBRARY_PATH
14329 shlibpath_overrides_runpath=yes
14330 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14331 hardcode_into_libs=yes
14334 hpux9* | hpux10* | hpux11*)
14335 # Give a soname corresponding to the major version so that dld.sl refuses to
14336 # link against other versions.
14343 hardcode_into_libs=yes
14344 dynamic_linker="$host_os dld.so"
14345 shlibpath_var=LD_LIBRARY_PATH
14346 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14347 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14348 soname_spec='${libname}${release}${shared_ext}$major'
14349 if test "X$HPUX_IA64_MODE" = X32; then
14350 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14352 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14354 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14358 hardcode_into_libs=yes
14359 dynamic_linker="$host_os dld.sl"
14360 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14361 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14362 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14363 soname_spec='${libname}${release}${shared_ext}$major'
14364 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14365 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14369 dynamic_linker="$host_os dld.sl"
14370 shlibpath_var=SHLIB_PATH
14371 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14372 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14373 soname_spec='${libname}${release}${shared_ext}$major'
14376 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14377 postinstall_cmds='chmod 555 $lib'
14378 # or fails outright, so override atomically:
14379 install_override_mode=555
14386 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14387 soname_spec='${libname}${release}${shared_ext}$major'
14388 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14389 shlibpath_var=LD_LIBRARY_PATH
14390 shlibpath_overrides_runpath=no
14391 hardcode_into_libs=yes
14394 irix5* | irix6* | nonstopux*)
14396 nonstopux*) version_type=nonstopux ;;
14398 if test "$lt_cv_prog_gnu_ld" = yes; then
14406 soname_spec='${libname}${release}${shared_ext}$major'
14407 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14409 irix5* | nonstopux*)
14410 libsuff= shlibsuff=
14413 case $LD in # libtool.m4 will add one of these switches to LD
14414 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14415 libsuff= shlibsuff= libmagic=32-bit;;
14416 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14417 libsuff=32 shlibsuff=N32 libmagic=N32;;
14418 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14419 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14420 *) libsuff= shlibsuff= libmagic=never-match;;
14424 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14425 shlibpath_overrides_runpath=no
14426 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14427 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14428 hardcode_into_libs=yes
14431 # No shared lib support for Linux oldld, aout, or coff.
14432 linux*oldld* | linux*aout* | linux*coff*)
14436 # This must be Linux ELF.
14437 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14441 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14442 soname_spec='${libname}${release}${shared_ext}$major'
14443 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14444 shlibpath_var=LD_LIBRARY_PATH
14445 shlibpath_overrides_runpath=no
14447 # Some binutils ld are patched to set DT_RUNPATH
14448 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14449 $as_echo_n "(cached) " >&6
14451 lt_cv_shlibpath_overrides_runpath=no
14452 save_LDFLAGS=$LDFLAGS
14453 save_libdir=$libdir
14454 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14455 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14456 if test x$gcc_no_link = xyes; then
14457 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14460 /* end confdefs.h. */
14470 if ac_fn_cxx_try_link "$LINENO"; then :
14471 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14472 lt_cv_shlibpath_overrides_runpath=yes
14475 rm -f core conftest.err conftest.$ac_objext \
14476 conftest$ac_exeext conftest.$ac_ext
14477 LDFLAGS=$save_LDFLAGS
14478 libdir=$save_libdir
14482 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14484 # This implies no fast_install, which is unacceptable.
14485 # Some rework will be needed to allow for fast_install
14486 # before this can be enabled.
14487 hardcode_into_libs=yes
14489 # Append ld.so.conf contents to the search path
14490 if test -f /etc/ld.so.conf; then
14491 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' ' '`
14492 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14495 # We used to test for /lib/ld.so.1 and disable shared libraries on
14496 # powerpc, because MkLinux only supported shared libraries with the
14497 # GNU dynamic linker. Since this was broken with cross compilers,
14498 # most powerpc-linux boxes support dynamic linking these days and
14499 # people can always --disable-shared, the test was removed, and we
14500 # assume the GNU/Linux dynamic linker is in use.
14501 dynamic_linker='GNU/Linux ld.so'
14508 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14509 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14510 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14511 dynamic_linker='NetBSD (a.out) ld.so'
14513 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14514 soname_spec='${libname}${release}${shared_ext}$major'
14515 dynamic_linker='NetBSD ld.elf_so'
14517 shlibpath_var=LD_LIBRARY_PATH
14518 shlibpath_overrides_runpath=yes
14519 hardcode_into_libs=yes
14524 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14525 shlibpath_var=LD_LIBRARY_PATH
14526 shlibpath_overrides_runpath=yes
14533 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14534 soname_spec='${libname}${release}${shared_ext}$major'
14535 shlibpath_var=LD_LIBRARY_PATH
14536 shlibpath_overrides_runpath=no
14537 hardcode_into_libs=yes
14538 dynamic_linker='ldqnx.so'
14543 sys_lib_dlsearch_path_spec="/usr/lib"
14545 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14547 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14548 *) need_version=no ;;
14550 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14551 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14552 shlibpath_var=LD_LIBRARY_PATH
14553 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14555 openbsd2.[89] | openbsd2.[89].*)
14556 shlibpath_overrides_runpath=no
14559 shlibpath_overrides_runpath=yes
14563 shlibpath_overrides_runpath=yes
14568 libname_spec='$name'
14571 library_names_spec='$libname${shared_ext} $libname.a'
14572 dynamic_linker='OS/2 ld.exe'
14573 shlibpath_var=LIBPATH
14576 osf3* | osf4* | osf5*)
14580 soname_spec='${libname}${release}${shared_ext}$major'
14581 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14582 shlibpath_var=LD_LIBRARY_PATH
14583 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14584 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14595 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14596 soname_spec='${libname}${release}${shared_ext}$major'
14597 shlibpath_var=LD_LIBRARY_PATH
14598 shlibpath_overrides_runpath=yes
14599 hardcode_into_libs=yes
14600 # ldd complains unless libraries are executable
14601 postinstall_cmds='chmod +x $lib'
14606 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14607 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14608 shlibpath_var=LD_LIBRARY_PATH
14609 shlibpath_overrides_runpath=yes
14610 if test "$with_gnu_ld" = yes; then
14618 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14619 soname_spec='${libname}${release}${shared_ext}$major'
14620 shlibpath_var=LD_LIBRARY_PATH
14621 case $host_vendor in
14623 shlibpath_overrides_runpath=no
14625 runpath_var=LD_RUN_PATH
14633 shlibpath_overrides_runpath=no
14634 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14640 if test -d /usr/nec ;then
14642 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14643 soname_spec='$libname${shared_ext}.$major'
14644 shlibpath_var=LD_LIBRARY_PATH
14648 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14649 version_type=freebsd-elf
14652 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14653 soname_spec='${libname}${release}${shared_ext}$major'
14654 shlibpath_var=LD_LIBRARY_PATH
14655 shlibpath_overrides_runpath=yes
14656 hardcode_into_libs=yes
14657 if test "$with_gnu_ld" = yes; then
14658 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14660 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14663 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14667 sys_lib_dlsearch_path_spec='/usr/lib'
14671 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14675 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14676 shlibpath_var=LD_LIBRARY_PATH
14677 shlibpath_overrides_runpath=no
14678 hardcode_into_libs=yes
14683 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14684 soname_spec='${libname}${release}${shared_ext}$major'
14685 shlibpath_var=LD_LIBRARY_PATH
14692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14693 $as_echo "$dynamic_linker" >&6; }
14694 test "$dynamic_linker" = no && can_build_shared=no
14696 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14697 if test "$GCC" = yes; then
14698 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14701 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14702 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14704 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14705 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14746 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14747 hardcode_action_CXX=
14748 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14749 test -n "$runpath_var_CXX" ||
14750 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14752 # We can hardcode non-existent directories.
14753 if test "$hardcode_direct_CXX" != no &&
14754 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14755 # have to relink, otherwise we might link with an installed library
14756 # when we should be linking with a yet-to-be-installed one
14757 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14758 test "$hardcode_minus_L_CXX" != no; then
14759 # Linking always hardcodes the temporary library directory.
14760 hardcode_action_CXX=relink
14762 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14763 hardcode_action_CXX=immediate
14766 # We cannot hardcode anything, or else we can only hardcode existing
14768 hardcode_action_CXX=unsupported
14770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14771 $as_echo "$hardcode_action_CXX" >&6; }
14773 if test "$hardcode_action_CXX" = relink ||
14774 test "$inherit_rpath_CXX" = yes; then
14775 # Fast installation is not supported
14776 enable_fast_install=no
14777 elif test "$shlibpath_overrides_runpath" = yes ||
14778 test "$enable_shared" = no; then
14779 # Fast installation is not necessary
14780 enable_fast_install=needless
14789 fi # test -n "$compiler"
14795 with_gnu_ld=$lt_save_with_gnu_ld
14796 lt_cv_path_LDCXX=$lt_cv_path_LD
14797 lt_cv_path_LD=$lt_save_path_LD
14798 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14799 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14800 fi # test "$_lt_caught_CXX_error" != yes
14803 ac_cpp='$CPP $CPPFLAGS'
14804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14820 ac_config_commands="$ac_config_commands libtool"
14825 # Only expand once:
14831 # Possibly disable most of the library.
14832 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14833 ## than just ignoring the results. Faster /and/ more correct, win win.
14835 # Check whether --enable-hosted-libstdcxx was given.
14836 if test "${enable_hosted_libstdcxx+set}" = set; then :
14837 enableval=$enable_hosted_libstdcxx;
14840 arm*-*-symbianelf*)
14841 enable_hosted_libstdcxx=no
14844 enable_hosted_libstdcxx=yes
14849 if test "$enable_hosted_libstdcxx" = no; then
14850 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14851 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14854 enable_abi_check=no
14855 enable_libstdcxx_pch=no
14862 cat >>confdefs.h <<_ACEOF
14863 #define _GLIBCXX_HOSTED $hosted_define
14868 # Enable compiler support that doesn't require linking.
14870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14871 $as_echo_n "checking for exception model to use... " >&6; }
14874 ac_cpp='$CXXCPP $CPPFLAGS'
14875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14879 # Check whether --enable-sjlj-exceptions was given.
14880 if test "${enable_sjlj_exceptions+set}" = set; then :
14881 enableval=$enable_sjlj_exceptions;
14882 case "$enableval" in
14884 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
14888 enable_sjlj_exceptions=auto
14893 if test $enable_sjlj_exceptions = auto; then
14894 # Botheration. Now we've got to detect the exception model. Link tests
14895 # against libgcc.a are problematic since we've not been given proper -L
14896 # bits for single-tree newlib and libgloss.
14898 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
14899 cat > conftest.$ac_ext << EOF
14900 #line 14900 "configure"
14901 struct S { ~S(); };
14909 old_CXXFLAGS="$CXXFLAGS"
14911 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14912 (eval $ac_compile) 2>&5
14914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14915 test $ac_status = 0; }; then
14916 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14917 enable_sjlj_exceptions=yes
14918 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14919 enable_sjlj_exceptions=no
14920 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14921 enable_sjlj_exceptions=no
14924 CXXFLAGS="$old_CXXFLAGS"
14928 # This is a tad weird, for hysterical raisins. We have to map
14929 # enable/disable to two different models.
14930 case $enable_sjlj_exceptions in
14933 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
14935 ac_exception_model_name=sjlj
14938 ac_exception_model_name="call frame"
14941 as_fn_error "unable to detect exception model" "$LINENO" 5
14945 ac_cpp='$CPP $CPPFLAGS'
14946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
14951 $as_echo "$ac_exception_model_name" >&6; }
14954 # Check whether --enable-libstdcxx-pch was given.
14955 if test "${enable_libstdcxx_pch+set}" = set; then :
14956 enableval=$enable_libstdcxx_pch;
14957 case "$enableval" in
14959 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
14963 enable_libstdcxx_pch=$is_hosted
14967 if test $enable_libstdcxx_pch = yes; then
14968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
14969 $as_echo_n "checking for compiler with PCH support... " >&6; }
14970 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
14971 $as_echo_n "(cached) " >&6
14973 ac_save_CXXFLAGS="$CXXFLAGS"
14974 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
14977 ac_cpp='$CXXCPP $CPPFLAGS'
14978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14982 echo '#include <math.h>' > conftest.h
14983 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
14984 -o conftest.h.gch 1>&5 2>&1 &&
14985 echo '#error "pch failed"' > conftest.h &&
14986 echo '#include "conftest.h"' > conftest.cc &&
14987 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
14989 glibcxx_cv_prog_CXX_pch=yes
14991 glibcxx_cv_prog_CXX_pch=no
14994 CXXFLAGS=$ac_save_CXXFLAGS
14996 ac_cpp='$CPP $CPPFLAGS'
14997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15004 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15005 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15009 $as_echo_n "checking for enabled PCH... " >&6; }
15010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15011 $as_echo "$enable_libstdcxx_pch" >&6; }
15014 if test $enable_libstdcxx_pch = yes; then
15015 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15017 glibcxx_PCHFLAGS=""
15022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15023 $as_echo_n "checking for thread model used by GCC... " >&6; }
15024 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15026 $as_echo "$target_thread_file" >&6; }
15028 if test $target_thread_file != single; then
15030 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
15034 glibcxx_thread_h=gthr-$target_thread_file.h
15036 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
15037 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
15048 ac_cpp='$CXXCPP $CPPFLAGS'
15049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15053 old_CXXFLAGS="$CXXFLAGS"
15055 # Do link tests if possible, instead asm tests, limited to some platforms
15056 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15057 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15058 atomic_builtins_link_tests=no
15059 if test x$gcc_no_link != xyes; then
15060 # Can do link tests. Limit to some tested platforms
15062 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15063 atomic_builtins_link_tests=yes
15068 if test x$atomic_builtins_link_tests = xyes; then
15072 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15075 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15076 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15077 $as_echo_n "(cached) " >&6
15080 if test x$gcc_no_link = xyes; then
15081 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15084 /* end confdefs.h. */
15089 typedef bool atomic_type;
15092 const atomic_type c3(0);
15093 __sync_fetch_and_add(&c1, c2);
15094 __sync_val_compare_and_swap(&c1, c3, c2);
15095 __sync_lock_test_and_set(&c1, c3);
15096 __sync_lock_release(&c1);
15097 __sync_synchronize();
15102 if ac_fn_cxx_try_link "$LINENO"; then :
15103 glibcxx_cv_atomic_bool=yes
15105 glibcxx_cv_atomic_bool=no
15107 rm -f core conftest.err conftest.$ac_objext \
15108 conftest$ac_exeext conftest.$ac_ext
15112 if test $glibcxx_cv_atomic_bool = yes; then
15114 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15118 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15121 $as_echo_n "checking for atomic builtins for short... " >&6; }
15122 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15123 $as_echo_n "(cached) " >&6
15126 if test x$gcc_no_link = xyes; then
15127 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15130 /* end confdefs.h. */
15135 typedef short atomic_type;
15138 const atomic_type c3(0);
15139 __sync_fetch_and_add(&c1, c2);
15140 __sync_val_compare_and_swap(&c1, c3, c2);
15141 __sync_lock_test_and_set(&c1, c3);
15142 __sync_lock_release(&c1);
15143 __sync_synchronize();
15148 if ac_fn_cxx_try_link "$LINENO"; then :
15149 glibcxx_cv_atomic_short=yes
15151 glibcxx_cv_atomic_short=no
15153 rm -f core conftest.err conftest.$ac_objext \
15154 conftest$ac_exeext conftest.$ac_ext
15158 if test $glibcxx_cv_atomic_short = yes; then
15160 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15164 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15167 $as_echo_n "checking for atomic builtins for int... " >&6; }
15168 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15169 $as_echo_n "(cached) " >&6
15172 if test x$gcc_no_link = xyes; then
15173 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15176 /* end confdefs.h. */
15181 typedef int atomic_type;
15184 const atomic_type c3(0);
15185 __sync_fetch_and_add(&c1, c2);
15186 __sync_val_compare_and_swap(&c1, c3, c2);
15187 __sync_lock_test_and_set(&c1, c3);
15188 __sync_lock_release(&c1);
15189 __sync_synchronize();
15194 if ac_fn_cxx_try_link "$LINENO"; then :
15195 glibcxx_cv_atomic_int=yes
15197 glibcxx_cv_atomic_int=no
15199 rm -f core conftest.err conftest.$ac_objext \
15200 conftest$ac_exeext conftest.$ac_ext
15204 if test $glibcxx_cv_atomic_int = yes; then
15206 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15210 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15213 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15214 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15215 $as_echo_n "(cached) " >&6
15218 if test x$gcc_no_link = xyes; then
15219 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15222 /* end confdefs.h. */
15227 typedef long long atomic_type;
15230 const atomic_type c3(0);
15231 __sync_fetch_and_add(&c1, c2);
15232 __sync_val_compare_and_swap(&c1, c3, c2);
15233 __sync_lock_test_and_set(&c1, c3);
15234 __sync_lock_release(&c1);
15235 __sync_synchronize();
15240 if ac_fn_cxx_try_link "$LINENO"; then :
15241 glibcxx_cv_atomic_long_long=yes
15243 glibcxx_cv_atomic_long_long=no
15245 rm -f core conftest.err conftest.$ac_objext \
15246 conftest$ac_exeext conftest.$ac_ext
15250 if test $glibcxx_cv_atomic_long_long = yes; then
15252 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15256 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15262 # Compile unoptimized.
15265 # Fake what AC_TRY_COMPILE does.
15267 cat > conftest.$ac_ext << EOF
15268 #line 15268 "configure"
15271 typedef bool atomic_type;
15274 const atomic_type c3(0);
15275 __sync_fetch_and_add(&c1, c2);
15276 __sync_val_compare_and_swap(&c1, c3, c2);
15277 __sync_lock_test_and_set(&c1, c3);
15278 __sync_lock_release(&c1);
15279 __sync_synchronize();
15284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15285 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15286 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15287 (eval $ac_compile) 2>&5
15289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15290 test $ac_status = 0; }; then
15291 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15292 glibcxx_cv_atomic_bool=no
15295 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15297 glibcxx_cv_atomic_bool=yes
15300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15301 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15304 cat > conftest.$ac_ext << EOF
15305 #line 15305 "configure"
15308 typedef short atomic_type;
15311 const atomic_type c3(0);
15312 __sync_fetch_and_add(&c1, c2);
15313 __sync_val_compare_and_swap(&c1, c3, c2);
15314 __sync_lock_test_and_set(&c1, c3);
15315 __sync_lock_release(&c1);
15316 __sync_synchronize();
15321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15322 $as_echo_n "checking for atomic builtins for short... " >&6; }
15323 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15324 (eval $ac_compile) 2>&5
15326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15327 test $ac_status = 0; }; then
15328 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15329 glibcxx_cv_atomic_short=no
15332 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15334 glibcxx_cv_atomic_short=yes
15337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15338 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15341 cat > conftest.$ac_ext << EOF
15342 #line 15342 "configure"
15345 // NB: _Atomic_word not necessarily int.
15346 typedef int atomic_type;
15349 const atomic_type c3(0);
15350 __sync_fetch_and_add(&c1, c2);
15351 __sync_val_compare_and_swap(&c1, c3, c2);
15352 __sync_lock_test_and_set(&c1, c3);
15353 __sync_lock_release(&c1);
15354 __sync_synchronize();
15359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15360 $as_echo_n "checking for atomic builtins for int... " >&6; }
15361 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15362 (eval $ac_compile) 2>&5
15364 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15365 test $ac_status = 0; }; then
15366 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15367 glibcxx_cv_atomic_int=no
15370 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15372 glibcxx_cv_atomic_int=yes
15375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15376 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15379 cat > conftest.$ac_ext << EOF
15380 #line 15380 "configure"
15383 typedef long long atomic_type;
15386 const atomic_type c3(0);
15387 __sync_fetch_and_add(&c1, c2);
15388 __sync_val_compare_and_swap(&c1, c3, c2);
15389 __sync_lock_test_and_set(&c1, c3);
15390 __sync_lock_release(&c1);
15391 __sync_synchronize();
15396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15397 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15398 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15399 (eval $ac_compile) 2>&5
15401 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15402 test $ac_status = 0; }; then
15403 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15404 glibcxx_cv_atomic_long_long=no
15407 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15409 glibcxx_cv_atomic_long_long=yes
15412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15413 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15418 CXXFLAGS="$old_CXXFLAGS"
15420 ac_cpp='$CPP $CPPFLAGS'
15421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15426 # Set atomicity_dir to builtins if either of above tests pass.
15427 if test $glibcxx_cv_atomic_int = yes || test $glibcxx_cv_atomic_bool = yes ; then
15428 atomicity_dir=cpu/generic/atomicity_builtins
15431 # If still generic, set to mutex.
15432 if test $atomicity_dir = "cpu/generic" ; then
15433 atomicity_dir=cpu/generic/atomicity_mutex
15434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15435 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15436 if test "x$target_thread_file" = xsingle; then
15437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15438 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15440 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15443 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15445 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15452 # Fake what AC_TRY_COMPILE does, without linking as this is
15453 # unnecessary for this test.
15455 cat > conftest.$ac_ext << EOF
15456 #line 15456 "configure"
15466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15467 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15468 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15469 (eval $ac_compile) 2>&5
15471 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15472 test $ac_status = 0; }; then
15474 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15481 $as_echo "$enable_dfp" >&6; }
15485 # Checks for compiler support that doesn't require linking.
15487 # All these tests are for C++; save the language and the compiler flags.
15488 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15489 # found in GLIBCXX_CONFIGURE.
15492 ac_cpp='$CXXCPP $CPPFLAGS'
15493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15497 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15498 ac_save_CXXFLAGS="$CXXFLAGS"
15500 # Check for maintainer-mode bits.
15501 if test x"$USE_MAINTAINER_MODE" = xno; then
15507 # Check for -ffunction-sections -fdata-sections
15508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15509 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15510 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15512 /* end confdefs.h. */
15513 int foo; void bar() { };
15522 if ac_fn_cxx_try_compile "$LINENO"; then :
15527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15528 if test "$ac_test_CXXFLAGS" = set; then
15529 CXXFLAGS="$ac_save_CXXFLAGS"
15531 # this is the suspicious part
15534 if test x"$ac_fdsections" = x"yes"; then
15535 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15538 $as_echo "$ac_fdsections" >&6; }
15541 ac_cpp='$CPP $CPPFLAGS'
15542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15550 # Enable all the variable C++ runtime options that don't require linking.
15552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15553 $as_echo_n "checking for underlying I/O to use... " >&6; }
15554 # Check whether --enable-cstdio was given.
15555 if test "${enable_cstdio+set}" = set; then :
15556 enableval=$enable_cstdio;
15557 case "$enableval" in
15559 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15563 enable_cstdio=stdio
15568 # Now that libio has been removed, you can have any color you want as long
15569 # as it's black. This is one big no-op until other packages are added, but
15570 # showing the framework never hurts.
15571 case ${enable_cstdio} in
15573 CSTDIO_H=config/io/c_io_stdio.h
15574 BASIC_FILE_H=config/io/basic_file_stdio.h
15575 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15577 $as_echo "stdio" >&6; }
15586 # Check whether --enable-clocale was given.
15587 if test "${enable_clocale+set}" = set; then :
15588 enableval=$enable_clocale;
15589 case "$enableval" in
15590 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
15591 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15595 enable_clocale=auto
15600 # Deal with gettext issues. Default to not using it (=no) until we detect
15601 # support for it later. Let the user turn it off via --e/d, but let that
15602 # default to on for easier handling.
15604 # Check whether --enable-nls was given.
15605 if test "${enable_nls+set}" = set; then :
15606 enableval=$enable_nls;
15612 # Either a known packaage, or "auto"
15613 if test $enable_clocale = no || test $enable_clocale = yes; then
15614 enable_clocale=auto
15616 enable_clocale_flag=$enable_clocale
15618 # Probe for locale model to use if none specified.
15619 # Default to "generic".
15620 if test $enable_clocale_flag = auto; then
15621 case ${target_os} in
15622 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15623 enable_clocale_flag=gnu
15625 darwin* | freebsd*)
15626 enable_clocale_flag=darwin
15629 enable_clocale_flag=generic
15634 # Sanity check model, and test for special functionality.
15635 if test $enable_clocale_flag = gnu; then
15636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15637 /* end confdefs.h. */
15639 #include <features.h>
15640 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
15645 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15646 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15647 enable_clocale_flag=gnu
15649 enable_clocale_flag=generic
15654 if test $enable_clocale = auto; then
15655 # Test for bugs early in glibc-2.2.x series
15656 if test "$cross_compiling" = yes; then :
15657 enable_clocale_flag=generic
15659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15660 /* end confdefs.h. */
15662 #define _GNU_SOURCE 1
15663 #include <locale.h>
15664 #include <string.h>
15665 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
15666 extern __typeof(newlocale) __newlocale;
15667 extern __typeof(duplocale) __duplocale;
15668 extern __typeof(strcoll_l) __strcoll_l;
15672 const char __one[] = "Äuglein Augmen";
15673 const char __two[] = "Äuglein";
15677 __locale_t loc_dup;
15678 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
15679 loc_dup = __duplocale(loc);
15680 i = __strcoll_l(__one, __two, loc);
15681 j = __strcoll_l(__one, __two, loc_dup);
15686 if ac_fn_c_try_run "$LINENO"; then :
15687 enable_clocale_flag=gnu
15689 enable_clocale_flag=generic
15691 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15692 conftest.$ac_objext conftest.beam conftest.$ac_ext
15697 # Set it to scream when it hurts.
15698 ac_save_CFLAGS="$CFLAGS"
15699 CFLAGS="-Wimplicit-function-declaration -Werror"
15701 # Use strxfrm_l if available.
15702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15703 /* end confdefs.h. */
15704 #define _GNU_SOURCE 1
15705 #include <string.h>
15706 #include <locale.h>
15710 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15715 if ac_fn_c_try_compile "$LINENO"; then :
15717 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15722 # Use strerror_l if available.
15723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15724 /* end confdefs.h. */
15725 #define _GNU_SOURCE 1
15726 #include <string.h>
15727 #include <locale.h>
15731 __locale_t loc; strerror_l(5, loc);
15736 if ac_fn_c_try_compile "$LINENO"; then :
15738 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15743 CFLAGS="$ac_save_CFLAGS"
15746 # Perhaps use strerror_r if available, and strerror_l isn't.
15747 ac_save_CFLAGS="$CFLAGS"
15748 CFLAGS="-Wimplicit-function-declaration -Werror"
15749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15750 /* end confdefs.h. */
15751 #define _GNU_SOURCE 1
15752 #include <string.h>
15753 #include <locale.h>
15757 char s[128]; strerror_r(5, s, 128);
15762 if ac_fn_c_try_compile "$LINENO"; then :
15764 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15768 CFLAGS="$ac_save_CFLAGS"
15770 # Set configure bits for specified locale package
15771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15772 $as_echo_n "checking for C locale to use... " >&6; }
15773 case ${enable_clocale_flag} in
15775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15776 $as_echo "generic" >&6; }
15778 CLOCALE_H=config/locale/generic/c_locale.h
15779 CLOCALE_CC=config/locale/generic/c_locale.cc
15780 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15781 CCOLLATE_CC=config/locale/generic/collate_members.cc
15782 CCTYPE_CC=config/locale/generic/ctype_members.cc
15783 CMESSAGES_H=config/locale/generic/messages_members.h
15784 CMESSAGES_CC=config/locale/generic/messages_members.cc
15785 CMONEY_CC=config/locale/generic/monetary_members.cc
15786 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15787 CTIME_H=config/locale/generic/time_members.h
15788 CTIME_CC=config/locale/generic/time_members.cc
15789 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15793 $as_echo "darwin or freebsd" >&6; }
15795 CLOCALE_H=config/locale/generic/c_locale.h
15796 CLOCALE_CC=config/locale/generic/c_locale.cc
15797 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15798 CCOLLATE_CC=config/locale/generic/collate_members.cc
15799 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15800 CMESSAGES_H=config/locale/generic/messages_members.h
15801 CMESSAGES_CC=config/locale/generic/messages_members.cc
15802 CMONEY_CC=config/locale/generic/monetary_members.cc
15803 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15804 CTIME_H=config/locale/generic/time_members.h
15805 CTIME_CC=config/locale/generic/time_members.cc
15806 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15811 $as_echo "gnu" >&6; }
15813 # Declare intention to use gettext, and add support for specific
15815 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15816 ALL_LINGUAS="de fr"
15818 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15819 # Extract the first word of "msgfmt", so it can be a program name with args.
15820 set dummy msgfmt; ac_word=$2
15821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15822 $as_echo_n "checking for $ac_word... " >&6; }
15823 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15824 $as_echo_n "(cached) " >&6
15826 if test -n "$check_msgfmt"; then
15827 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15830 for as_dir in $PATH
15833 test -z "$as_dir" && as_dir=.
15834 for ac_exec_ext in '' $ac_executable_extensions; do
15835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15836 ac_cv_prog_check_msgfmt="yes"
15837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15844 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15847 check_msgfmt=$ac_cv_prog_check_msgfmt
15848 if test -n "$check_msgfmt"; then
15849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15850 $as_echo "$check_msgfmt" >&6; }
15852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15853 $as_echo "no" >&6; }
15857 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15860 # Export the build objects.
15861 for ling in $ALL_LINGUAS; do \
15862 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15863 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15868 CLOCALE_H=config/locale/gnu/c_locale.h
15869 CLOCALE_CC=config/locale/gnu/c_locale.cc
15870 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15871 CCOLLATE_CC=config/locale/gnu/collate_members.cc
15872 CCTYPE_CC=config/locale/gnu/ctype_members.cc
15873 CMESSAGES_H=config/locale/gnu/messages_members.h
15874 CMESSAGES_CC=config/locale/gnu/messages_members.cc
15875 CMONEY_CC=config/locale/gnu/monetary_members.cc
15876 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15877 CTIME_H=config/locale/gnu/time_members.h
15878 CTIME_CC=config/locale/gnu/time_members.cc
15879 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15883 $as_echo "IEEE 1003.1" >&6; }
15885 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15886 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15887 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15888 CCOLLATE_CC=config/locale/generic/collate_members.cc
15889 CCTYPE_CC=config/locale/generic/ctype_members.cc
15890 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15891 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15892 CMONEY_CC=config/locale/generic/monetary_members.cc
15893 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15894 CTIME_H=config/locale/generic/time_members.h
15895 CTIME_CC=config/locale/generic/time_members.cc
15896 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15900 # This is where the testsuite looks for locale catalogs, using the
15901 # -DLOCALEDIR define during testsuite compilation.
15902 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15905 # A standalone libintl (e.g., GNU libintl) may be in use.
15906 if test $USE_NLS = yes; then
15907 for ac_header in libintl.h
15909 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15910 if test "x$ac_cv_header_libintl_h" = x""yes; then :
15911 cat >>confdefs.h <<_ACEOF
15912 #define HAVE_LIBINTL_H 1
15921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
15922 $as_echo_n "checking for library containing gettext... " >&6; }
15923 if test "${ac_cv_search_gettext+set}" = set; then :
15924 $as_echo_n "(cached) " >&6
15926 ac_func_search_save_LIBS=$LIBS
15927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15928 /* end confdefs.h. */
15930 /* Override any GCC internal prototype to avoid an error.
15931 Use char because int might match the return type of a GCC
15932 builtin and then its argument prototype would still apply. */
15945 for ac_lib in '' intl; do
15946 if test -z "$ac_lib"; then
15947 ac_res="none required"
15950 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15952 if test x$gcc_no_link = xyes; then
15953 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15955 if ac_fn_c_try_link "$LINENO"; then :
15956 ac_cv_search_gettext=$ac_res
15958 rm -f core conftest.err conftest.$ac_objext \
15960 if test "${ac_cv_search_gettext+set}" = set; then :
15964 if test "${ac_cv_search_gettext+set}" = set; then :
15967 ac_cv_search_gettext=no
15969 rm conftest.$ac_ext
15970 LIBS=$ac_func_search_save_LIBS
15972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
15973 $as_echo "$ac_cv_search_gettext" >&6; }
15974 ac_res=$ac_cv_search_gettext
15975 if test "$ac_res" != no; then :
15976 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15983 if test $USE_NLS = yes; then
15985 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16005 $as_echo_n "checking for std::allocator base class... " >&6; }
16006 # Check whether --enable-libstdcxx-allocator was given.
16007 if test "${enable_libstdcxx_allocator+set}" = set; then :
16008 enableval=$enable_libstdcxx_allocator;
16009 case "$enableval" in
16010 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16011 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16015 enable_libstdcxx_allocator=auto
16020 # If they didn't use this option switch, or if they specified --enable
16021 # with no specific model, we'll have to look for one. If they
16022 # specified --disable (???), do likewise.
16023 if test $enable_libstdcxx_allocator = no ||
16024 test $enable_libstdcxx_allocator = yes;
16026 enable_libstdcxx_allocator=auto
16029 # Either a known package, or "auto". Auto implies the default choice
16030 # for a particular platform.
16031 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16033 # Probe for host-specific support if no specific model is specified.
16034 # Default to "new".
16035 if test $enable_libstdcxx_allocator_flag = auto; then
16036 case ${target_os} in
16037 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16038 enable_libstdcxx_allocator_flag=new
16041 enable_libstdcxx_allocator_flag=new
16045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16046 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16049 # Set configure bits for specified locale package
16050 case ${enable_libstdcxx_allocator_flag} in
16052 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16053 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16056 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16057 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16060 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16061 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16064 ALLOCATOR_H=config/allocator/new_allocator_base.h
16065 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16068 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16069 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16077 # Check whether --enable-cheaders was given.
16078 if test "${enable_cheaders+set}" = set; then :
16079 enableval=$enable_cheaders;
16080 case "$enableval" in
16081 c|c_std|c_global) ;;
16082 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16086 enable_cheaders=$c_model
16090 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16091 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16093 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16095 # Allow overrides to configure.host here.
16096 if test $enable_cheaders = c_global; then
16097 c_compatibility=yes
16100 if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
16111 # Check whether --enable-long-long was given.
16112 if test "${enable_long_long+set}" = set; then :
16113 enableval=$enable_long_long;
16114 case "$enableval" in
16116 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16120 enable_long_long=yes
16124 if test $enable_long_long = yes; then
16126 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16130 $as_echo_n "checking for enabled long long specializations... " >&6; }
16131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16132 $as_echo "$enable_long_long" >&6; }
16135 # Check whether --enable-wchar_t was given.
16136 if test "${enable_wchar_t+set}" = set; then :
16137 enableval=$enable_wchar_t;
16138 case "$enableval" in
16140 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16149 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16150 for ac_header in wchar.h
16152 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16153 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16154 cat >>confdefs.h <<_ACEOF
16155 #define HAVE_WCHAR_H 1
16164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16165 $as_echo_n "checking for mbstate_t... " >&6; }
16166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16167 /* end confdefs.h. */
16172 mbstate_t teststate;
16177 if ac_fn_c_try_compile "$LINENO"; then :
16182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16184 $as_echo "$have_mbstate_t" >&6; }
16185 if test x"$have_mbstate_t" = xyes; then
16187 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16191 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16193 for ac_header in wctype.h
16195 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16196 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16197 cat >>confdefs.h <<_ACEOF
16198 #define HAVE_WCTYPE_H 1
16200 ac_has_wctype_h=yes
16208 if test x"$enable_wchar_t" = x"yes"; then
16212 ac_cpp='$CXXCPP $CPPFLAGS'
16213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16218 if test x"$ac_has_wchar_h" = xyes &&
16219 test x"$ac_has_wctype_h" = xyes; then
16220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16221 /* end confdefs.h. */
16223 #include <stddef.h>
16226 long j = WCHAR_MIN;
16227 long k = WCHAR_MAX;
16292 if ac_fn_cxx_try_compile "$LINENO"; then :
16297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16303 ac_cpp='$CPP $CPPFLAGS'
16304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16310 if test x"$enable_wchar_t" = x"yes"; then
16312 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16317 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16319 $as_echo "$enable_wchar_t" >&6; }
16323 # Check whether --enable-c99 was given.
16324 if test "${enable_c99+set}" = set; then :
16325 enableval=$enable_c99;
16326 case "$enableval" in
16328 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16337 if test x"$enable_c99" = x"yes"; then
16341 ac_cpp='$CXXCPP $CPPFLAGS'
16342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16347 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16348 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16349 # spuriously enabled.
16350 # Long term, -std=c++0x could be even better, could manage to explicitely
16351 # request C99 facilities to the underlying C headers.
16352 ac_save_CXXFLAGS="$CXXFLAGS"
16353 CXXFLAGS="$CXXFLAGS -std=c++98"
16354 ac_save_LIBS="$LIBS"
16355 ac_save_gcc_no_link="$gcc_no_link"
16357 if test x$gcc_no_link != xyes; then
16358 # Use -fno-exceptions to that the C driver can link these tests without
16359 # hitting undefined references to personality routines.
16360 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16362 $as_echo_n "checking for sin in -lm... " >&6; }
16363 if test "${ac_cv_lib_m_sin+set}" = set; then :
16364 $as_echo_n "(cached) " >&6
16366 ac_check_lib_save_LIBS=$LIBS
16368 if test x$gcc_no_link = xyes; then
16369 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16372 /* end confdefs.h. */
16374 /* Override any GCC internal prototype to avoid an error.
16375 Use char because int might match the return type of a GCC
16376 builtin and then its argument prototype would still apply. */
16389 if ac_fn_cxx_try_link "$LINENO"; then :
16390 ac_cv_lib_m_sin=yes
16394 rm -f core conftest.err conftest.$ac_objext \
16395 conftest$ac_exeext conftest.$ac_ext
16396 LIBS=$ac_check_lib_save_LIBS
16398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16399 $as_echo "$ac_cv_lib_m_sin" >&6; }
16400 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16406 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16413 # Check for the existence of <math.h> functions used if C99 is enabled.
16414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16415 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16416 if test "${glibcxx_cv_c99_math+set}" = set; then :
16417 $as_echo_n "(cached) " >&6
16420 if test x$gcc_no_link = xyes; then
16421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16422 /* end confdefs.h. */
16424 volatile double d1, d2;
16429 i = fpclassify(d1);
16435 i = isgreater(d1, d2);
16436 i = isgreaterequal(d1, d2);
16437 i = isless(d1, d2);
16438 i = islessequal(d1, d2);
16439 i = islessgreater(d1, d2);
16440 i = islessgreater(d1, d2);
16441 i = isunordered(d1, d2);
16447 if ac_fn_cxx_try_compile "$LINENO"; then :
16448 glibcxx_cv_c99_math=yes
16450 glibcxx_cv_c99_math=no
16452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16454 if test x$gcc_no_link = xyes; then
16455 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16458 /* end confdefs.h. */
16460 volatile double d1, d2;
16465 i = fpclassify(d1);
16471 i = isgreater(d1, d2);
16472 i = isgreaterequal(d1, d2);
16473 i = isless(d1, d2);
16474 i = islessequal(d1, d2);
16475 i = islessgreater(d1, d2);
16476 i = islessgreater(d1, d2);
16477 i = isunordered(d1, d2);
16483 if ac_fn_cxx_try_link "$LINENO"; then :
16484 glibcxx_cv_c99_math=yes
16486 glibcxx_cv_c99_math=no
16488 rm -f core conftest.err conftest.$ac_objext \
16489 conftest$ac_exeext conftest.$ac_ext
16494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16495 $as_echo "$glibcxx_cv_c99_math" >&6; }
16496 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16498 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16502 # Check for the existence of <complex.h> complex math functions.
16503 # This is necessary even though libstdc++ uses the builtin versions
16504 # of these functions, because if the builtin cannot be used, a reference
16505 # to the library function is emitted.
16506 for ac_header in tgmath.h
16508 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16509 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16510 cat >>confdefs.h <<_ACEOF
16511 #define HAVE_TGMATH_H 1
16513 ac_has_tgmath_h=yes
16520 for ac_header in complex.h
16522 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16523 if test "x$ac_cv_header_complex_h" = x""yes; then :
16524 cat >>confdefs.h <<_ACEOF
16525 #define HAVE_COMPLEX_H 1
16527 ac_has_complex_h=yes
16529 ac_has_complex_h=no
16534 glibcxx_cv_c99_complex=no;
16535 if test x"$ac_has_complex_h" = x"yes"; then
16536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16537 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16538 if test x$gcc_no_link = xyes; then
16539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16540 /* end confdefs.h. */
16541 #include <complex.h>
16542 typedef __complex__ float float_type;
16543 typedef __complex__ double double_type;
16544 typedef __complex__ long double ld_type;
16545 volatile float_type tmpf;
16546 volatile double_type tmpd;
16547 volatile ld_type tmpld;
16550 volatile long double ld;
16556 tmpf = ccosf(tmpf);
16557 tmpf = ccoshf(tmpf);
16558 tmpf = cexpf(tmpf);
16559 tmpf = clogf(tmpf);
16560 tmpf = csinf(tmpf);
16561 tmpf = csinhf(tmpf);
16562 tmpf = csqrtf(tmpf);
16563 tmpf = ctanf(tmpf);
16564 tmpf = ctanhf(tmpf);
16565 tmpf = cpowf(tmpf, tmpf);
16566 tmpf = cprojf(tmpf);
16570 tmpd = ccosh(tmpd);
16574 tmpd = csinh(tmpd);
16575 tmpd = csqrt(tmpd);
16577 tmpd = ctanh(tmpd);
16578 tmpd = cpow(tmpd, tmpd);
16579 tmpd = cproj(tmpd);
16582 tmpld = ccosl(tmpld);
16583 tmpld = ccoshl(tmpld);
16584 tmpld = cexpl(tmpld);
16585 tmpld = clogl(tmpld);
16586 tmpld = csinl(tmpld);
16587 tmpld = csinhl(tmpld);
16588 tmpld = csqrtl(tmpld);
16589 tmpld = ctanl(tmpld);
16590 tmpld = ctanhl(tmpld);
16591 tmpld = cpowl(tmpld, tmpld);
16592 tmpld = cprojl(tmpld);
16598 if ac_fn_cxx_try_compile "$LINENO"; then :
16599 glibcxx_cv_c99_complex=yes
16601 glibcxx_cv_c99_complex=no
16603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16605 if test x$gcc_no_link = xyes; then
16606 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16609 /* end confdefs.h. */
16610 #include <complex.h>
16611 typedef __complex__ float float_type;
16612 typedef __complex__ double double_type;
16613 typedef __complex__ long double ld_type;
16614 volatile float_type tmpf;
16615 volatile double_type tmpd;
16616 volatile ld_type tmpld;
16619 volatile long double ld;
16625 tmpf = ccosf(tmpf);
16626 tmpf = ccoshf(tmpf);
16627 tmpf = cexpf(tmpf);
16628 tmpf = clogf(tmpf);
16629 tmpf = csinf(tmpf);
16630 tmpf = csinhf(tmpf);
16631 tmpf = csqrtf(tmpf);
16632 tmpf = ctanf(tmpf);
16633 tmpf = ctanhf(tmpf);
16634 tmpf = cpowf(tmpf, tmpf);
16635 tmpf = cprojf(tmpf);
16639 tmpd = ccosh(tmpd);
16643 tmpd = csinh(tmpd);
16644 tmpd = csqrt(tmpd);
16646 tmpd = ctanh(tmpd);
16647 tmpd = cpow(tmpd, tmpd);
16648 tmpd = cproj(tmpd);
16651 tmpld = ccosl(tmpld);
16652 tmpld = ccoshl(tmpld);
16653 tmpld = cexpl(tmpld);
16654 tmpld = clogl(tmpld);
16655 tmpld = csinl(tmpld);
16656 tmpld = csinhl(tmpld);
16657 tmpld = csqrtl(tmpld);
16658 tmpld = ctanl(tmpld);
16659 tmpld = ctanhl(tmpld);
16660 tmpld = cpowl(tmpld, tmpld);
16661 tmpld = cprojl(tmpld);
16667 if ac_fn_cxx_try_link "$LINENO"; then :
16668 glibcxx_cv_c99_complex=yes
16670 glibcxx_cv_c99_complex=no
16672 rm -f core conftest.err conftest.$ac_objext \
16673 conftest$ac_exeext conftest.$ac_ext
16676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16677 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16678 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16680 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16684 # Check for the existence in <stdio.h> of vscanf, et. al.
16685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16686 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16687 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16688 $as_echo_n "(cached) " >&6
16691 if test x$gcc_no_link = xyes; then
16692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16693 /* end confdefs.h. */
16695 #include <stdarg.h>
16696 void foo(char* fmt, ...)
16698 va_list args; va_start(args, fmt);
16699 vfscanf(stderr, "%i", args);
16700 vscanf("%i", args);
16701 vsnprintf(fmt, 0, "%i", args);
16702 vsscanf(fmt, "%i", args);
16707 snprintf("12", 0, "%i");
16712 if ac_fn_cxx_try_compile "$LINENO"; then :
16713 glibcxx_cv_c99_stdio=yes
16715 glibcxx_cv_c99_stdio=no
16717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16719 if test x$gcc_no_link = xyes; then
16720 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16723 /* end confdefs.h. */
16725 #include <stdarg.h>
16726 void foo(char* fmt, ...)
16728 va_list args; va_start(args, fmt);
16729 vfscanf(stderr, "%i", args);
16730 vscanf("%i", args);
16731 vsnprintf(fmt, 0, "%i", args);
16732 vsscanf(fmt, "%i", args);
16737 snprintf("12", 0, "%i");
16742 if ac_fn_cxx_try_link "$LINENO"; then :
16743 glibcxx_cv_c99_stdio=yes
16745 glibcxx_cv_c99_stdio=no
16747 rm -f core conftest.err conftest.$ac_objext \
16748 conftest$ac_exeext conftest.$ac_ext
16753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16754 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16756 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16758 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16759 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16760 $as_echo_n "(cached) " >&6
16763 if test x$gcc_no_link = xyes; then
16764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16765 /* end confdefs.h. */
16766 #include <stdlib.h>
16768 volatile long double ld;
16769 volatile unsigned long long ll;
16775 f = strtof("gnu", &tmp);
16776 ld = strtold("gnu", &tmp);
16777 ll = strtoll("gnu", &tmp, 10);
16778 ll = strtoull("gnu", &tmp, 10);
16780 mydivt = lldiv(10,1);
16790 if ac_fn_cxx_try_compile "$LINENO"; then :
16791 glibcxx_cv_c99_stdlib=yes
16793 glibcxx_cv_c99_stdlib=no
16795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16797 if test x$gcc_no_link = xyes; then
16798 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16801 /* end confdefs.h. */
16802 #include <stdlib.h>
16804 volatile long double ld;
16805 volatile unsigned long long ll;
16811 f = strtof("gnu", &tmp);
16812 ld = strtold("gnu", &tmp);
16813 ll = strtoll("gnu", &tmp, 10);
16814 ll = strtoull("gnu", &tmp, 10);
16816 mydivt = lldiv(10,1);
16826 if ac_fn_cxx_try_link "$LINENO"; then :
16827 glibcxx_cv_c99_stdlib=yes
16829 glibcxx_cv_c99_stdlib=no
16831 rm -f core conftest.err conftest.$ac_objext \
16832 conftest$ac_exeext conftest.$ac_ext
16837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16838 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16840 # Check for the existence in <wchar.h> of wcstold, etc.
16841 glibcxx_cv_c99_wchar=no;
16842 if test x"$ac_has_wchar_h" = xyes &&
16843 test x"$ac_has_wctype_h" = xyes; then
16844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16845 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16847 /* end confdefs.h. */
16864 if ac_fn_cxx_try_compile "$LINENO"; then :
16865 glibcxx_cv_c99_wchar=yes
16867 glibcxx_cv_c99_wchar=no
16869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16871 # Checks for wide character functions that may not be present.
16872 # Injection of these is wrapped with guard macros.
16873 # NB: only put functions here, instead of immediately above, if
16874 # absolutely necessary.
16875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16876 /* end confdefs.h. */
16878 namespace test { using ::vfwscanf; }
16887 if ac_fn_cxx_try_compile "$LINENO"; then :
16889 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
16892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16895 /* end confdefs.h. */
16897 namespace test { using ::vswscanf; }
16906 if ac_fn_cxx_try_compile "$LINENO"; then :
16908 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
16911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16914 /* end confdefs.h. */
16916 namespace test { using ::vwscanf; }
16925 if ac_fn_cxx_try_compile "$LINENO"; then :
16927 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
16930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16933 /* end confdefs.h. */
16935 namespace test { using ::wcstof; }
16944 if ac_fn_cxx_try_compile "$LINENO"; then :
16946 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
16949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16952 /* end confdefs.h. */
16953 #include <wctype.h>
16957 wint_t t; int i = iswblank(t);
16962 if ac_fn_cxx_try_compile "$LINENO"; then :
16964 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
16967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
16970 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
16973 # Option parsed, now set things appropriately.
16974 if test x"$glibcxx_cv_c99_math" = x"no" ||
16975 test x"$glibcxx_cv_c99_complex" = x"no" ||
16976 test x"$glibcxx_cv_c99_stdio" = x"no" ||
16977 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
16978 test x"$glibcxx_cv_c99_wchar" = x"no"; then
16982 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
16986 gcc_no_link="$ac_save_gcc_no_link"
16987 LIBS="$ac_save_LIBS"
16988 CXXFLAGS="$ac_save_CXXFLAGS"
16990 ac_cpp='$CPP $CPPFLAGS'
16991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
16998 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
16999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17000 $as_echo "$enable_c99" >&6; }
17003 # Check whether --enable-concept-checks was given.
17004 if test "${enable_concept_checks+set}" = set; then :
17005 enableval=$enable_concept_checks;
17006 case "$enableval" in
17008 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17012 enable_concept_checks=no
17016 if test $enable_concept_checks = yes; then
17018 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17023 # Check whether --enable-libstdcxx-debug-flags was given.
17024 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17025 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17026 xno | x) enable_libstdcxx_debug_flags= ;;
17028 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17031 enable_libstdcxx_debug_flags="-g3 -O0"
17036 # Option parsed, now set things appropriately
17037 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17040 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17041 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17045 $as_echo_n "checking for additional debug build... " >&6; }
17046 # Check whether --enable-libstdcxx-debug was given.
17047 if test "${enable_libstdcxx_debug+set}" = set; then :
17048 enableval=$enable_libstdcxx_debug;
17049 case "$enableval" in
17051 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17055 enable_libstdcxx_debug=no
17059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17060 $as_echo "$enable_libstdcxx_debug" >&6; }
17065 enable_parallel=no;
17067 # See if configured libgomp/omp.h exists. (libgomp may be in
17068 # noconfigdirs but not explicitly disabled.)
17069 if test -f $glibcxx_builddir/../libgomp/omp.h; then
17070 enable_parallel=yes;
17072 { $as_echo "$as_me:${as_lineno-$LINENO}: $glibcxx_builddir/../libgomp/omp.h not found" >&5
17073 $as_echo "$as_me: $glibcxx_builddir/../libgomp/omp.h not found" >&6;}
17076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17077 $as_echo_n "checking for parallel mode support... " >&6; }
17078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17079 $as_echo "$enable_parallel" >&6; }
17082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17083 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17084 # Check whether --enable-cxx-flags was given.
17085 if test "${enable_cxx_flags+set}" = set; then :
17086 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17087 xno | x) enable_cxx_flags= ;;
17089 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17097 # Run through flags (either default or command-line) and set anything
17098 # extra (e.g., #defines) that must accompany particular g++ options.
17099 if test -n "$enable_cxx_flags"; then
17100 for f in $enable_cxx_flags; do
17104 *) # and we're trying to pass /what/ exactly?
17105 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17110 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17112 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17116 # Check whether --enable-fully-dynamic-string was given.
17117 if test "${enable_fully_dynamic_string+set}" = set; then :
17118 enableval=$enable_fully_dynamic_string;
17119 case "$enableval" in
17121 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17125 enable_fully_dynamic_string=no
17129 if test $enable_fully_dynamic_string = yes; then
17131 $as_echo "#define _GLIBCXX_FULLY_DYNAMIC_STRING 1" >>confdefs.h
17136 # Checks for operating systems support that doesn't require linking.
17139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17140 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17141 if test "${glibcxx_cv_system_error1+set}" = set; then :
17142 $as_echo_n "(cached) " >&6
17145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17146 /* end confdefs.h. */
17151 int i = EOWNERDEAD;
17156 if ac_fn_c_try_compile "$LINENO"; then :
17157 glibcxx_cv_system_error1=yes
17159 glibcxx_cv_system_error1=no
17161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17166 $as_echo "$glibcxx_cv_system_error1" >&6; }
17167 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17169 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17173 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17174 if test "${glibcxx_cv_system_error2+set}" = set; then :
17175 $as_echo_n "(cached) " >&6
17178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17179 /* end confdefs.h. */
17184 int i = ENOTRECOVERABLE;
17189 if ac_fn_c_try_compile "$LINENO"; then :
17190 glibcxx_cv_system_error2=yes
17192 glibcxx_cv_system_error2=no
17194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17199 $as_echo "$glibcxx_cv_system_error2" >&6; }
17200 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17202 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17206 $as_echo_n "checking for ENOLINK... " >&6; }
17207 if test "${glibcxx_cv_system_error3+set}" = set; then :
17208 $as_echo_n "(cached) " >&6
17211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17212 /* end confdefs.h. */
17222 if ac_fn_c_try_compile "$LINENO"; then :
17223 glibcxx_cv_system_error3=yes
17225 glibcxx_cv_system_error3=no
17227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17232 $as_echo "$glibcxx_cv_system_error3" >&6; }
17233 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17235 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17239 $as_echo_n "checking for EPROTO... " >&6; }
17240 if test "${glibcxx_cv_system_error4+set}" = set; then :
17241 $as_echo_n "(cached) " >&6
17244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17245 /* end confdefs.h. */
17255 if ac_fn_c_try_compile "$LINENO"; then :
17256 glibcxx_cv_system_error4=yes
17258 glibcxx_cv_system_error4=no
17260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17265 $as_echo "$glibcxx_cv_system_error4" >&6; }
17266 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17268 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17272 $as_echo_n "checking for ENODATA... " >&6; }
17273 if test "${glibcxx_cv_system_error5+set}" = set; then :
17274 $as_echo_n "(cached) " >&6
17277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17278 /* end confdefs.h. */
17288 if ac_fn_c_try_compile "$LINENO"; then :
17289 glibcxx_cv_system_error5=yes
17291 glibcxx_cv_system_error5=no
17293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17298 $as_echo "$glibcxx_cv_system_error5" >&6; }
17299 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17301 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17305 $as_echo_n "checking for ENOSR... " >&6; }
17306 if test "${glibcxx_cv_system_error6+set}" = set; then :
17307 $as_echo_n "(cached) " >&6
17310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17311 /* end confdefs.h. */
17321 if ac_fn_c_try_compile "$LINENO"; then :
17322 glibcxx_cv_system_error6=yes
17324 glibcxx_cv_system_error6=no
17326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17331 $as_echo "$glibcxx_cv_system_error6" >&6; }
17332 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17334 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17338 $as_echo_n "checking for ENOSTR... " >&6; }
17339 if test "${glibcxx_cv_system_error7+set}" = set; then :
17340 $as_echo_n "(cached) " >&6
17343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17344 /* end confdefs.h. */
17354 if ac_fn_c_try_compile "$LINENO"; then :
17355 glibcxx_cv_system_error7=yes
17357 glibcxx_cv_system_error7=no
17359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17364 $as_echo "$glibcxx_cv_system_error7" >&6; }
17365 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17367 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17371 $as_echo_n "checking for ETIME... " >&6; }
17372 if test "${glibcxx_cv_system_error8+set}" = set; then :
17373 $as_echo_n "(cached) " >&6
17376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17377 /* end confdefs.h. */
17387 if ac_fn_c_try_compile "$LINENO"; then :
17388 glibcxx_cv_system_error8=yes
17390 glibcxx_cv_system_error8=no
17392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17397 $as_echo "$glibcxx_cv_system_error8" >&6; }
17398 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17400 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17404 $as_echo_n "checking for EBADMSG... " >&6; }
17405 if test "${glibcxx_cv_system_error9+set}" = set; then :
17406 $as_echo_n "(cached) " >&6
17409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17410 /* end confdefs.h. */
17420 if ac_fn_c_try_compile "$LINENO"; then :
17421 glibcxx_cv_system_error9=yes
17423 glibcxx_cv_system_error9=no
17425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17430 $as_echo "$glibcxx_cv_system_error9" >&6; }
17431 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17433 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17437 $as_echo_n "checking for ECANCELED... " >&6; }
17438 if test "${glibcxx_cv_system_error10+set}" = set; then :
17439 $as_echo_n "(cached) " >&6
17442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17443 /* end confdefs.h. */
17453 if ac_fn_c_try_compile "$LINENO"; then :
17454 glibcxx_cv_system_error10=yes
17456 glibcxx_cv_system_error10=no
17458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17463 $as_echo "$glibcxx_cv_system_error10" >&6; }
17464 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17466 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17470 $as_echo_n "checking for EOVERFLOW... " >&6; }
17471 if test "${glibcxx_cv_system_error11+set}" = set; then :
17472 $as_echo_n "(cached) " >&6
17475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17476 /* end confdefs.h. */
17486 if ac_fn_c_try_compile "$LINENO"; then :
17487 glibcxx_cv_system_error11=yes
17489 glibcxx_cv_system_error11=no
17491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17496 $as_echo "$glibcxx_cv_system_error11" >&6; }
17497 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17499 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17503 $as_echo_n "checking for ENOTSUP... " >&6; }
17504 if test "${glibcxx_cv_system_error12+set}" = set; then :
17505 $as_echo_n "(cached) " >&6
17508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17509 /* end confdefs.h. */
17519 if ac_fn_c_try_compile "$LINENO"; then :
17520 glibcxx_cv_system_error12=yes
17522 glibcxx_cv_system_error12=no
17524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17529 $as_echo "$glibcxx_cv_system_error12" >&6; }
17530 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17532 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17536 $as_echo_n "checking for EIDRM... " >&6; }
17537 if test "${glibcxx_cv_system_error13+set}" = set; then :
17538 $as_echo_n "(cached) " >&6
17541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17542 /* end confdefs.h. */
17552 if ac_fn_c_try_compile "$LINENO"; then :
17553 glibcxx_cv_system_error13=yes
17555 glibcxx_cv_system_error13=no
17557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17562 $as_echo "$glibcxx_cv_system_error13" >&6; }
17563 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17565 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17569 $as_echo_n "checking for ETXTBSY... " >&6; }
17570 if test "${glibcxx_cv_system_error14+set}" = set; then :
17571 $as_echo_n "(cached) " >&6
17574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17575 /* end confdefs.h. */
17585 if ac_fn_c_try_compile "$LINENO"; then :
17586 glibcxx_cv_system_error14=yes
17588 glibcxx_cv_system_error14=no
17590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17595 $as_echo "$glibcxx_cv_system_error14" >&6; }
17596 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17598 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17604 # For the streamoff typedef.
17609 ac_cpp='$CXXCPP $CPPFLAGS'
17610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
17616 $as_echo_n "checking for int64_t... " >&6; }
17617 if test "${glibcxx_cv_INT64_T+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>
17632 if ac_fn_cxx_try_compile "$LINENO"; then :
17633 glibcxx_cv_INT64_T=yes
17635 glibcxx_cv_INT64_T=no
17637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17642 if test $glibcxx_cv_INT64_T = yes; then
17644 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
17646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
17647 $as_echo "$glibcxx_cv_INT64_T" >&6; }
17649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
17650 $as_echo_n "checking for int64_t as long... " >&6; }
17651 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
17652 $as_echo_n "(cached) " >&6
17655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17656 /* end confdefs.h. */
17657 #include <stdint.h>
17658 template<typename, typename> struct same { enum { value = -1 }; };
17659 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17660 int array[same<int64_t, long>::value];
17669 if ac_fn_cxx_try_compile "$LINENO"; then :
17670 glibcxx_cv_int64_t_long=yes
17672 glibcxx_cv_int64_t_long=no
17674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17679 if test $glibcxx_cv_int64_t_long = yes; then
17681 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
17683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
17684 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
17687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
17688 $as_echo_n "checking for int64_t as long long... " >&6; }
17689 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
17690 $as_echo_n "(cached) " >&6
17693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17694 /* end confdefs.h. */
17695 #include <stdint.h>
17696 template<typename, typename> struct same { enum { value = -1 }; };
17697 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17698 int array[same<int64_t, long long>::value];
17707 if ac_fn_cxx_try_compile "$LINENO"; then :
17708 glibcxx_cv_int64_t_long_long=yes
17710 glibcxx_cv_int64_t_long_long=no
17712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17717 if test $glibcxx_cv_int64_t_long_long = yes; then
17719 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
17721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
17722 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
17727 ac_cpp='$CPP $CPPFLAGS'
17728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17738 ac_cpp='$CXXCPP $CPPFLAGS'
17739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17743 ac_save_CXXFLAGS="$CXXFLAGS"
17744 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
17746 $as_echo_n "checking for LFS support... " >&6; }
17747 if test "${glibcxx_cv_LFS+set}" = set; then :
17748 $as_echo_n "(cached) " >&6
17751 if test x$gcc_no_link = xyes; then
17752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17753 /* end confdefs.h. */
17754 #include <unistd.h>
17756 #include <sys/stat.h>
17763 fseeko64(fp, 0, SEEK_CUR);
17765 lseek64(1, 0, SEEK_CUR);
17772 if ac_fn_cxx_try_compile "$LINENO"; then :
17777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17779 if test x$gcc_no_link = xyes; then
17780 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17783 /* end confdefs.h. */
17784 #include <unistd.h>
17786 #include <sys/stat.h>
17793 fseeko64(fp, 0, SEEK_CUR);
17795 lseek64(1, 0, SEEK_CUR);
17802 if ac_fn_cxx_try_link "$LINENO"; then :
17807 rm -f core conftest.err conftest.$ac_objext \
17808 conftest$ac_exeext conftest.$ac_ext
17813 if test $glibcxx_cv_LFS = yes; then
17815 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
17818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
17819 $as_echo "$glibcxx_cv_LFS" >&6; }
17820 CXXFLAGS="$ac_save_CXXFLAGS"
17822 ac_cpp='$CPP $CPPFLAGS'
17823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17829 # For showmanyc_helper().
17830 for ac_header in sys/ioctl.h sys/filio.h
17832 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17833 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17834 eval as_val=\$$as_ac_Header
17835 if test "x$as_val" = x""yes; then :
17836 cat >>confdefs.h <<_ACEOF
17837 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17848 ac_cpp='$CXXCPP $CPPFLAGS'
17849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17853 ac_save_CXXFLAGS="$CXXFLAGS"
17854 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
17857 $as_echo_n "checking for poll... " >&6; }
17858 if test "${glibcxx_cv_POLL+set}" = set; then :
17859 $as_echo_n "(cached) " >&6
17862 if test x$gcc_no_link = xyes; then
17863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17864 /* end confdefs.h. */
17869 struct pollfd pfd[1];
17870 pfd[0].events = POLLIN;
17876 if ac_fn_cxx_try_compile "$LINENO"; then :
17877 glibcxx_cv_POLL=yes
17881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17883 if test x$gcc_no_link = xyes; then
17884 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17887 /* end confdefs.h. */
17892 struct pollfd pfd[1];
17893 pfd[0].events = POLLIN;
17899 if ac_fn_cxx_try_link "$LINENO"; then :
17900 glibcxx_cv_POLL=yes
17904 rm -f core conftest.err conftest.$ac_objext \
17905 conftest$ac_exeext conftest.$ac_ext
17910 if test $glibcxx_cv_POLL = yes; then
17912 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
17916 $as_echo "$glibcxx_cv_POLL" >&6; }
17918 CXXFLAGS="$ac_save_CXXFLAGS"
17920 ac_cpp='$CPP $CPPFLAGS'
17921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17930 ac_cpp='$CXXCPP $CPPFLAGS'
17931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17935 ac_save_CXXFLAGS="$CXXFLAGS"
17936 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
17939 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
17940 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
17941 $as_echo_n "(cached) " >&6
17944 if test x$gcc_no_link = xyes; then
17945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17946 /* end confdefs.h. */
17947 #include <sys/stat.h>
17951 struct stat buffer;
17953 S_ISREG(buffer.st_mode);
17958 if ac_fn_cxx_try_compile "$LINENO"; then :
17959 glibcxx_cv_S_ISREG=yes
17961 glibcxx_cv_S_ISREG=no
17963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17965 if test x$gcc_no_link = xyes; then
17966 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17969 /* end confdefs.h. */
17970 #include <sys/stat.h>
17974 struct stat buffer;
17976 S_ISREG(buffer.st_mode);
17981 if ac_fn_cxx_try_link "$LINENO"; then :
17982 glibcxx_cv_S_ISREG=yes
17984 glibcxx_cv_S_ISREG=no
17986 rm -f core conftest.err conftest.$ac_objext \
17987 conftest$ac_exeext conftest.$ac_ext
17992 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
17993 $as_echo_n "(cached) " >&6
17996 if test x$gcc_no_link = xyes; then
17997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17998 /* end confdefs.h. */
17999 #include <sys/stat.h>
18003 struct stat buffer;
18005 S_IFREG & buffer.st_mode;
18010 if ac_fn_cxx_try_compile "$LINENO"; then :
18011 glibcxx_cv_S_IFREG=yes
18013 glibcxx_cv_S_IFREG=no
18015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18017 if test x$gcc_no_link = xyes; then
18018 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18021 /* end confdefs.h. */
18022 #include <sys/stat.h>
18026 struct stat buffer;
18028 S_IFREG & buffer.st_mode;
18033 if ac_fn_cxx_try_link "$LINENO"; then :
18034 glibcxx_cv_S_IFREG=yes
18036 glibcxx_cv_S_IFREG=no
18038 rm -f core conftest.err conftest.$ac_objext \
18039 conftest$ac_exeext conftest.$ac_ext
18045 if test $glibcxx_cv_S_ISREG = yes; then
18047 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18050 elif test $glibcxx_cv_S_IFREG = yes; then
18052 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18057 $as_echo "$res" >&6; }
18059 CXXFLAGS="$ac_save_CXXFLAGS"
18061 ac_cpp='$CPP $CPPFLAGS'
18062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18069 for ac_header in sys/uio.h
18071 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18072 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18073 cat >>confdefs.h <<_ACEOF
18074 #define HAVE_SYS_UIO_H 1
18085 ac_cpp='$CXXCPP $CPPFLAGS'
18086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18090 ac_save_CXXFLAGS="$CXXFLAGS"
18091 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18094 $as_echo_n "checking for writev... " >&6; }
18095 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18096 $as_echo_n "(cached) " >&6
18099 if test x$gcc_no_link = xyes; then
18100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18101 /* end confdefs.h. */
18102 #include <sys/uio.h>
18106 struct iovec iov[2];
18112 if ac_fn_cxx_try_compile "$LINENO"; then :
18113 glibcxx_cv_WRITEV=yes
18115 glibcxx_cv_WRITEV=no
18117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18119 if test x$gcc_no_link = xyes; then
18120 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18123 /* end confdefs.h. */
18124 #include <sys/uio.h>
18128 struct iovec iov[2];
18134 if ac_fn_cxx_try_link "$LINENO"; then :
18135 glibcxx_cv_WRITEV=yes
18137 glibcxx_cv_WRITEV=no
18139 rm -f core conftest.err conftest.$ac_objext \
18140 conftest$ac_exeext conftest.$ac_ext
18145 if test $glibcxx_cv_WRITEV = yes; then
18147 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18151 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18153 CXXFLAGS="$ac_save_CXXFLAGS"
18155 ac_cpp='$CPP $CPPFLAGS'
18156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18162 # For C99 support to TR1.
18167 ac_cpp='$CXXCPP $CPPFLAGS'
18168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18173 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18174 # undefined and fake C99 facilities may be spuriously enabled.
18175 ac_save_CXXFLAGS="$CXXFLAGS"
18176 CXXFLAGS="$CXXFLAGS -std=c++98"
18178 # Check for the existence of <complex.h> complex math functions used
18180 for ac_header in complex.h
18182 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18183 if test "x$ac_cv_header_complex_h" = x""yes; then :
18184 cat >>confdefs.h <<_ACEOF
18185 #define HAVE_COMPLEX_H 1
18187 ac_has_complex_h=yes
18189 ac_has_complex_h=no
18194 ac_c99_complex_tr1=no;
18195 if test x"$ac_has_complex_h" = x"yes"; then
18196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18197 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18199 /* end confdefs.h. */
18200 #include <complex.h>
18204 typedef __complex__ float float_type; float_type tmpf;
18211 typedef __complex__ double double_type; double_type tmpd;
18218 typedef __complex__ long double ld_type; ld_type tmpld;
18230 if ac_fn_cxx_try_compile "$LINENO"; then :
18231 ac_c99_complex_tr1=yes
18233 ac_c99_complex_tr1=no
18235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18238 $as_echo "$ac_c99_complex_tr1" >&6; }
18239 if test x"$ac_c99_complex_tr1" = x"yes"; then
18241 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18245 # Check for the existence of <ctype.h> functions.
18246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18247 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18248 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18249 $as_echo_n "(cached) " >&6
18252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18253 /* end confdefs.h. */
18266 if ac_fn_cxx_try_compile "$LINENO"; then :
18267 glibcxx_cv_c99_ctype_tr1=yes
18269 glibcxx_cv_c99_ctype_tr1=no
18271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18276 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18277 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18279 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18283 # Check for the existence of <fenv.h> functions.
18284 for ac_header in fenv.h
18286 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18287 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18288 cat >>confdefs.h <<_ACEOF
18289 #define HAVE_FENV_H 1
18298 ac_c99_fenv_tr1=no;
18299 if test x"$ac_has_fenv_h" = x"yes"; then
18300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18301 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18303 /* end confdefs.h. */
18312 ret = feclearexcept(except);
18313 ret = fegetexceptflag(pflag, except);
18314 ret = feraiseexcept(except);
18315 ret = fesetexceptflag(pflag, except);
18316 ret = fetestexcept(except);
18317 ret = fegetround();
18318 ret = fesetround(mode);
18319 ret = fegetenv(penv);
18320 ret = feholdexcept(penv);
18321 ret = fesetenv(penv);
18322 ret = feupdateenv(penv);
18328 if ac_fn_cxx_try_compile "$LINENO"; then :
18329 ac_c99_fenv_tr1=yes
18333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18336 $as_echo "$ac_c99_fenv_tr1" >&6; }
18337 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18339 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18343 # Check for the existence of <stdint.h> types.
18344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18345 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18346 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18347 $as_echo_n "(cached) " >&6
18350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18351 /* end confdefs.h. */
18352 #define __STDC_LIMIT_MACROS
18353 #define __STDC_CONSTANT_MACROS
18354 #include <stdint.h>
18358 typedef int8_t my_int8_t;
18359 my_int8_t i8 = INT8_MIN;
18361 typedef int16_t my_int16_t;
18362 my_int16_t i16 = INT16_MIN;
18364 typedef int32_t my_int32_t;
18365 my_int32_t i32 = INT32_MIN;
18367 typedef int64_t my_int64_t;
18368 my_int64_t i64 = INT64_MIN;
18370 typedef int_fast8_t my_int_fast8_t;
18371 my_int_fast8_t if8 = INT_FAST8_MIN;
18372 if8 = INT_FAST8_MAX;
18373 typedef int_fast16_t my_int_fast16_t;
18374 my_int_fast16_t if16 = INT_FAST16_MIN;
18375 if16 = INT_FAST16_MAX;
18376 typedef int_fast32_t my_int_fast32_t;
18377 my_int_fast32_t if32 = INT_FAST32_MIN;
18378 if32 = INT_FAST32_MAX;
18379 typedef int_fast64_t my_int_fast64_t;
18380 my_int_fast64_t if64 = INT_FAST64_MIN;
18381 if64 = INT_FAST64_MAX;
18382 typedef int_least8_t my_int_least8_t;
18383 my_int_least8_t il8 = INT_LEAST8_MIN;
18384 il8 = INT_LEAST8_MAX;
18385 typedef int_least16_t my_int_least16_t;
18386 my_int_least16_t il16 = INT_LEAST16_MIN;
18387 il16 = INT_LEAST16_MAX;
18388 typedef int_least32_t my_int_least32_t;
18389 my_int_least32_t il32 = INT_LEAST32_MIN;
18390 il32 = INT_LEAST32_MAX;
18391 typedef int_least64_t my_int_least64_t;
18392 my_int_least64_t il64 = INT_LEAST64_MIN;
18393 il64 = INT_LEAST64_MAX;
18394 typedef intmax_t my_intmax_t;
18395 my_intmax_t im = INTMAX_MAX;
18397 typedef intptr_t my_intptr_t;
18398 my_intptr_t ip = INTPTR_MAX;
18400 typedef uint8_t my_uint8_t;
18401 my_uint8_t ui8 = UINT8_MAX;
18403 typedef uint16_t my_uint16_t;
18404 my_uint16_t ui16 = UINT16_MAX;
18406 typedef uint32_t my_uint32_t;
18407 my_uint32_t ui32 = UINT32_MAX;
18409 typedef uint64_t my_uint64_t;
18410 my_uint64_t ui64 = UINT64_MAX;
18412 typedef uint_fast8_t my_uint_fast8_t;
18413 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18414 uif8 = UINT_FAST8_MAX;
18415 typedef uint_fast16_t my_uint_fast16_t;
18416 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18417 uif16 = UINT_FAST16_MAX;
18418 typedef uint_fast32_t my_uint_fast32_t;
18419 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18420 uif32 = UINT_FAST32_MAX;
18421 typedef uint_fast64_t my_uint_fast64_t;
18422 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18423 uif64 = UINT_FAST64_MAX;
18424 typedef uint_least8_t my_uint_least8_t;
18425 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18426 uil8 = UINT_LEAST8_MAX;
18427 typedef uint_least16_t my_uint_least16_t;
18428 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18429 uil16 = UINT_LEAST16_MAX;
18430 typedef uint_least32_t my_uint_least32_t;
18431 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18432 uil32 = UINT_LEAST32_MAX;
18433 typedef uint_least64_t my_uint_least64_t;
18434 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18435 uil64 = UINT_LEAST64_MAX;
18436 typedef uintmax_t my_uintmax_t;
18437 my_uintmax_t uim = UINTMAX_MAX;
18439 typedef uintptr_t my_uintptr_t;
18440 my_uintptr_t uip = UINTPTR_MAX;
18447 if ac_fn_cxx_try_compile "$LINENO"; then :
18448 glibcxx_cv_c99_stdint_tr1=yes
18450 glibcxx_cv_c99_stdint_tr1=no
18452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18457 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18458 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18460 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18464 # Check for the existence of <math.h> functions.
18465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18466 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18467 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18468 $as_echo_n "(cached) " >&6
18471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18472 /* end confdefs.h. */
18477 typedef double_t my_double_t;
18478 typedef float_t my_float_t;
18491 copysign(0.0, 0.0);
18492 copysignf(0.0f, 0.0f);
18493 copysignl(0.0l, 0.0l);
18509 fma(0.0, 0.0, 0.0);
18510 fmaf(0.0f, 0.0f, 0.0f);
18511 fmal(0.0l, 0.0l, 0.0l);
18519 hypotf(0.0f, 0.0f);
18520 hypotl(0.0l, 0.0l);
18554 nextafter(0.0, 0.0);
18555 nextafterf(0.0f, 0.0f);
18556 nextafterl(0.0l, 0.0l);
18557 nexttoward(0.0, 0.0);
18558 nexttowardf(0.0f, 0.0f);
18559 nexttowardl(0.0l, 0.0l);
18560 remainder(0.0, 0.0);
18561 remainderf(0.0f, 0.0f);
18562 remainderl(0.0l, 0.0l);
18563 remquo(0.0, 0.0, 0);
18564 remquof(0.0f, 0.0f, 0);
18565 remquol(0.0l, 0.0l, 0);
18573 scalblnf(0.0f, 0l);
18574 scalblnl(0.0l, 0l);
18589 if ac_fn_cxx_try_compile "$LINENO"; then :
18590 glibcxx_cv_c99_math_tr1=yes
18592 glibcxx_cv_c99_math_tr1=no
18594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
18599 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
18600 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
18602 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
18606 # Check for the existence of <inttypes.h> functions (NB: doesn't make
18607 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18608 ac_c99_inttypes_tr1=no;
18609 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
18611 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18613 /* end confdefs.h. */
18614 #include <inttypes.h>
18618 intmax_t i, numer, denom, base;
18621 intmax_t ret = imaxabs(i);
18622 imaxdiv_t dret = imaxdiv(numer, denom);
18623 ret = strtoimax(s, endptr, base);
18624 uintmax_t uret = strtoumax(s, endptr, base);
18630 if ac_fn_cxx_try_compile "$LINENO"; then :
18631 ac_c99_inttypes_tr1=yes
18633 ac_c99_inttypes_tr1=no
18635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
18638 $as_echo "$ac_c99_inttypes_tr1" >&6; }
18639 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
18641 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
18645 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
18646 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18647 ac_c99_inttypes_wchar_t_tr1=no;
18648 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
18650 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18652 /* end confdefs.h. */
18653 #include <inttypes.h>
18660 intmax_t ret = wcstoimax(s, endptr, base);
18661 uintmax_t uret = wcstoumax(s, endptr, base);
18667 if ac_fn_cxx_try_compile "$LINENO"; then :
18668 ac_c99_inttypes_wchar_t_tr1=yes
18670 ac_c99_inttypes_wchar_t_tr1=no
18672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
18675 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
18676 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
18678 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
18682 # Check for the existence of the <stdbool.h> header.
18683 for ac_header in stdbool.h
18685 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
18686 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
18687 cat >>confdefs.h <<_ACEOF
18688 #define HAVE_STDBOOL_H 1
18696 CXXFLAGS="$ac_save_CXXFLAGS"
18698 ac_cpp='$CPP $CPPFLAGS'
18699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18705 # For common values of EOF, SEEK_CUR, SEEK_END.
18708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2" >&5
18709 $as_echo_n "checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2... " >&6; }
18710 if test "${glibcxx_cv_stdio_macros+set}" = set; then :
18711 $as_echo_n "(cached) " >&6
18714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18715 /* end confdefs.h. */
18720 #if ((EOF != -1) || (SEEK_CUR != 1) || (SEEK_END != 2))
18728 if ac_fn_c_try_compile "$LINENO"; then :
18729 glibcxx_cv_stdio_macros=yes
18731 glibcxx_cv_stdio_macros=no
18733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_macros" >&5
18738 $as_echo "$glibcxx_cv_stdio_macros" >&6; }
18739 if test x"$glibcxx_cv_stdio_macros" = x"yes"; then
18741 $as_echo "#define _GLIBCXX_STDIO_MACROS 1" >>confdefs.h
18747 # For gettimeofday support.
18750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18751 $as_echo_n "checking for gettimeofday... " >&6; }
18755 ac_cpp='$CXXCPP $CPPFLAGS'
18756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18760 ac_save_CXXFLAGS="$CXXFLAGS"
18761 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18763 ac_has_gettimeofday=no;
18764 for ac_header in sys/time.h
18766 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
18767 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
18768 cat >>confdefs.h <<_ACEOF
18769 #define HAVE_SYS_TIME_H 1
18771 ac_has_sys_time_h=yes
18773 ac_has_sys_time_h=no
18778 if test x"$ac_has_sys_time_h" = x"yes"; then
18779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18780 $as_echo_n "checking for gettimeofday... " >&6; }
18781 if test x$gcc_no_link = xyes; then
18782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18783 /* end confdefs.h. */
18784 #include <sys/time.h>
18788 timeval tv; gettimeofday(&tv, 0);
18793 if ac_fn_cxx_try_compile "$LINENO"; then :
18794 ac_has_gettimeofday=yes
18796 ac_has_gettimeofday=no
18798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18800 if test x$gcc_no_link = xyes; then
18801 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18804 /* end confdefs.h. */
18805 #include <sys/time.h>
18809 timeval tv; gettimeofday(&tv, 0);
18814 if ac_fn_cxx_try_link "$LINENO"; then :
18815 ac_has_gettimeofday=yes
18817 ac_has_gettimeofday=no
18819 rm -f core conftest.err conftest.$ac_objext \
18820 conftest$ac_exeext conftest.$ac_ext
18823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
18824 $as_echo "$ac_has_gettimeofday" >&6; }
18827 if test x"$ac_has_gettimeofday" = x"yes"; then
18829 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
18833 CXXFLAGS="$ac_save_CXXFLAGS"
18835 ac_cpp='$CPP $CPPFLAGS'
18836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18842 # For clock_gettime, nanosleep and sched_yield support.
18843 # NB: The default is [no], because otherwise it requires linking.
18846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
18847 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
18848 # Check whether --enable-libstdcxx-time was given.
18849 if test "${enable_libstdcxx_time+set}" = set; then :
18850 enableval=$enable_libstdcxx_time;
18851 case "$enableval" in
18853 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
18857 enable_libstdcxx_time=no
18864 ac_cpp='$CXXCPP $CPPFLAGS'
18865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18869 ac_save_CXXFLAGS="$CXXFLAGS"
18870 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18871 ac_save_LIBS="$LIBS"
18873 ac_has_clock_monotonic=no;
18874 ac_has_clock_realtime=no;
18876 if test x"$enable_libstdcxx_time" != x"no"; then
18878 if test x"$enable_libstdcxx_time" = x"rt"; then
18879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18880 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18881 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18882 $as_echo_n "(cached) " >&6
18884 ac_func_search_save_LIBS=$LIBS
18885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18886 /* end confdefs.h. */
18888 /* Override any GCC internal prototype to avoid an error.
18889 Use char because int might match the return type of a GCC
18890 builtin and then its argument prototype would still apply. */
18894 char clock_gettime ();
18898 return clock_gettime ();
18903 for ac_lib in '' rt posix4; do
18904 if test -z "$ac_lib"; then
18905 ac_res="none required"
18908 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18910 if test x$gcc_no_link = xyes; then
18911 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18913 if ac_fn_cxx_try_link "$LINENO"; then :
18914 ac_cv_search_clock_gettime=$ac_res
18916 rm -f core conftest.err conftest.$ac_objext \
18918 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18922 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18925 ac_cv_search_clock_gettime=no
18927 rm conftest.$ac_ext
18928 LIBS=$ac_func_search_save_LIBS
18930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18931 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18932 ac_res=$ac_cv_search_clock_gettime
18933 if test "$ac_res" != no; then :
18934 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
18939 $as_echo_n "checking for library containing nanosleep... " >&6; }
18940 if test "${ac_cv_search_nanosleep+set}" = set; then :
18941 $as_echo_n "(cached) " >&6
18943 ac_func_search_save_LIBS=$LIBS
18944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18945 /* end confdefs.h. */
18947 /* Override any GCC internal prototype to avoid an error.
18948 Use char because int might match the return type of a GCC
18949 builtin and then its argument prototype would still apply. */
18957 return nanosleep ();
18962 for ac_lib in '' rt posix4; do
18963 if test -z "$ac_lib"; then
18964 ac_res="none required"
18967 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18969 if test x$gcc_no_link = xyes; then
18970 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18972 if ac_fn_cxx_try_link "$LINENO"; then :
18973 ac_cv_search_nanosleep=$ac_res
18975 rm -f core conftest.err conftest.$ac_objext \
18977 if test "${ac_cv_search_nanosleep+set}" = set; then :
18981 if test "${ac_cv_search_nanosleep+set}" = set; then :
18984 ac_cv_search_nanosleep=no
18986 rm conftest.$ac_ext
18987 LIBS=$ac_func_search_save_LIBS
18989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
18990 $as_echo "$ac_cv_search_nanosleep" >&6; }
18991 ac_res=$ac_cv_search_nanosleep
18992 if test "$ac_res" != no; then :
18993 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18999 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19000 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19001 $as_echo_n "(cached) " >&6
19003 ac_func_search_save_LIBS=$LIBS
19004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19005 /* end confdefs.h. */
19007 /* Override any GCC internal prototype to avoid an error.
19008 Use char because int might match the return type of a GCC
19009 builtin and then its argument prototype would still apply. */
19013 char clock_gettime ();
19017 return clock_gettime ();
19022 for ac_lib in '' posix4; do
19023 if test -z "$ac_lib"; then
19024 ac_res="none required"
19027 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19029 if test x$gcc_no_link = xyes; then
19030 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19032 if ac_fn_cxx_try_link "$LINENO"; then :
19033 ac_cv_search_clock_gettime=$ac_res
19035 rm -f core conftest.err conftest.$ac_objext \
19037 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19041 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19044 ac_cv_search_clock_gettime=no
19046 rm conftest.$ac_ext
19047 LIBS=$ac_func_search_save_LIBS
19049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19050 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19051 ac_res=$ac_cv_search_clock_gettime
19052 if test "$ac_res" != no; then :
19053 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19058 $as_echo_n "checking for library containing nanosleep... " >&6; }
19059 if test "${ac_cv_search_nanosleep+set}" = set; then :
19060 $as_echo_n "(cached) " >&6
19062 ac_func_search_save_LIBS=$LIBS
19063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19064 /* end confdefs.h. */
19066 /* Override any GCC internal prototype to avoid an error.
19067 Use char because int might match the return type of a GCC
19068 builtin and then its argument prototype would still apply. */
19076 return nanosleep ();
19081 for ac_lib in '' posix4; do
19082 if test -z "$ac_lib"; then
19083 ac_res="none required"
19086 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19088 if test x$gcc_no_link = xyes; then
19089 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19091 if ac_fn_cxx_try_link "$LINENO"; then :
19092 ac_cv_search_nanosleep=$ac_res
19094 rm -f core conftest.err conftest.$ac_objext \
19096 if test "${ac_cv_search_nanosleep+set}" = set; then :
19100 if test "${ac_cv_search_nanosleep+set}" = set; then :
19103 ac_cv_search_nanosleep=no
19105 rm conftest.$ac_ext
19106 LIBS=$ac_func_search_save_LIBS
19108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19109 $as_echo "$ac_cv_search_nanosleep" >&6; }
19110 ac_res=$ac_cv_search_nanosleep
19111 if test "$ac_res" != no; then :
19112 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19118 case "$ac_cv_search_clock_gettime" in
19119 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19122 case "$ac_cv_search_nanosleep" in
19123 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19128 $as_echo_n "checking for library containing sched_yield... " >&6; }
19129 if test "${ac_cv_search_sched_yield+set}" = set; then :
19130 $as_echo_n "(cached) " >&6
19132 ac_func_search_save_LIBS=$LIBS
19133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19134 /* end confdefs.h. */
19136 /* Override any GCC internal prototype to avoid an error.
19137 Use char because int might match the return type of a GCC
19138 builtin and then its argument prototype would still apply. */
19142 char sched_yield ();
19146 return sched_yield ();
19151 for ac_lib in '' rt posix4; do
19152 if test -z "$ac_lib"; then
19153 ac_res="none required"
19156 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19158 if test x$gcc_no_link = xyes; then
19159 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19161 if ac_fn_cxx_try_link "$LINENO"; then :
19162 ac_cv_search_sched_yield=$ac_res
19164 rm -f core conftest.err conftest.$ac_objext \
19166 if test "${ac_cv_search_sched_yield+set}" = set; then :
19170 if test "${ac_cv_search_sched_yield+set}" = set; then :
19173 ac_cv_search_sched_yield=no
19175 rm conftest.$ac_ext
19176 LIBS=$ac_func_search_save_LIBS
19178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19179 $as_echo "$ac_cv_search_sched_yield" >&6; }
19180 ac_res=$ac_cv_search_sched_yield
19181 if test "$ac_res" != no; then :
19182 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19187 case "$ac_cv_search_sched_yield" in
19189 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19191 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19195 if test x"$enable_libstdcxx_time" = x"rt"; then
19196 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19198 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19204 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19209 for ac_header in unistd.h
19211 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19212 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19213 cat >>confdefs.h <<_ACEOF
19214 #define HAVE_UNISTD_H 1
19216 ac_has_unistd_h=yes
19224 if test x"$ac_has_unistd_h" = x"yes"; then
19225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19226 $as_echo_n "checking for monotonic clock... " >&6; }
19227 if test x$gcc_no_link = xyes; then
19228 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19231 /* end confdefs.h. */
19232 #include <unistd.h>
19238 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19241 clock_gettime(CLOCK_MONOTONIC, &tp);
19247 if ac_fn_cxx_try_link "$LINENO"; then :
19248 ac_has_clock_monotonic=yes
19250 ac_has_clock_monotonic=no
19252 rm -f core conftest.err conftest.$ac_objext \
19253 conftest$ac_exeext conftest.$ac_ext
19255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19256 $as_echo "$ac_has_clock_monotonic" >&6; }
19258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19259 $as_echo_n "checking for realtime clock... " >&6; }
19260 if test x$gcc_no_link = xyes; then
19261 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19264 /* end confdefs.h. */
19265 #include <unistd.h>
19271 #if _POSIX_TIMERS > 0
19274 clock_gettime(CLOCK_REALTIME, &tp);
19280 if ac_fn_cxx_try_link "$LINENO"; then :
19281 ac_has_clock_realtime=yes
19283 ac_has_clock_realtime=no
19285 rm -f core conftest.err conftest.$ac_objext \
19286 conftest$ac_exeext conftest.$ac_ext
19288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19289 $as_echo "$ac_has_clock_realtime" >&6; }
19291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19292 $as_echo_n "checking for nanosleep... " >&6; }
19293 if test x$gcc_no_link = xyes; then
19294 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19297 /* end confdefs.h. */
19298 #include <unistd.h>
19304 #if _POSIX_TIMERS > 0
19313 if ac_fn_cxx_try_link "$LINENO"; then :
19314 ac_has_nanosleep=yes
19316 ac_has_nanosleep=no
19318 rm -f core conftest.err conftest.$ac_objext \
19319 conftest$ac_exeext conftest.$ac_ext
19321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19322 $as_echo "$ac_has_nanosleep" >&6; }
19326 if test x"$ac_has_clock_monotonic" = x"yes"; then
19328 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19332 if test x"$ac_has_clock_realtime" = x"yes"; then
19334 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19338 if test x"$ac_has_nanosleep" = x"yes"; then
19340 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19346 CXXFLAGS="$ac_save_CXXFLAGS"
19347 LIBS="$ac_save_LIBS"
19349 ac_cpp='$CPP $CPPFLAGS'
19350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19356 # For gthread support
19360 ac_cpp='$CXXCPP $CPPFLAGS'
19361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19366 ac_save_CXXFLAGS="$CXXFLAGS"
19367 CXXFLAGS="$CXXFLAGS -fno-exceptions -I${toplevel_srcdir}/gcc"
19369 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
19370 case $target_thread_file in
19372 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
19375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
19376 $as_echo_n "checking for gthreads library... " >&6; }
19378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19379 /* end confdefs.h. */
19385 #ifndef __GTHREADS_CXX0X
19389 // In case of POSIX threads check _POSIX_TIMEOUTS too.
19390 #if (defined(_PTHREADS) \
19391 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
19399 if ac_fn_cxx_try_compile "$LINENO"; then :
19400 ac_has_gthreads=yes
19404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
19407 $as_echo "$ac_has_gthreads" >&6; }
19409 if test x"$ac_has_gthreads" = x"yes"; then
19411 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
19415 CXXFLAGS="$ac_save_CXXFLAGS"
19417 ac_cpp='$CPP $CPPFLAGS'
19418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19425 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19426 if test "x$ac_cv_header_locale_h" = x""yes; then :
19428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19429 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19430 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19431 $as_echo_n "(cached) " >&6
19433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19434 /* end confdefs.h. */
19435 #include <locale.h>
19444 if ac_fn_c_try_compile "$LINENO"; then :
19445 ac_cv_val_LC_MESSAGES=yes
19447 ac_cv_val_LC_MESSAGES=no
19449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19452 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19453 if test $ac_cv_val_LC_MESSAGES = yes; then
19455 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19464 # Check for available headers.
19465 for ac_header in endian.h float.h fp.h ieeefp.h inttypes.h locale.h \
19466 machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
19467 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
19468 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
19471 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19472 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19473 eval as_val=\$$as_ac_Header
19474 if test "x$as_val" = x""yes; then :
19475 cat >>confdefs.h <<_ACEOF
19476 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19484 # Only do link tests if native. Else, hardcode.
19485 if $GLIBCXX_IS_NATIVE; then
19487 # We can do more elaborate tests that assume a working linker.
19492 # Check whether --with-gnu-ld was given.
19493 if test "${with_gnu_ld+set}" = set; then :
19494 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
19500 if test "$GCC" = yes; then
19501 # Check if gcc -print-prog-name=ld gives a path.
19502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
19503 $as_echo_n "checking for ld used by $CC... " >&6; }
19506 # gcc leaves a trailing carriage return which upsets mingw
19507 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
19509 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
19512 # Accept absolute paths.
19514 re_direlt='/[^/][^/]*/\.\./'
19515 # Canonicalize the pathname of ld
19516 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
19517 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
19518 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
19520 test -z "$LD" && LD="$ac_prog"
19523 # If it fails, then pretend we aren't using GCC.
19527 # If it is relative, then search for the first ld in PATH.
19528 with_gnu_ld=unknown
19531 elif test "$with_gnu_ld" = yes; then
19532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
19533 $as_echo_n "checking for GNU ld... " >&6; }
19535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
19536 $as_echo_n "checking for non-GNU ld... " >&6; }
19538 if test "${lt_cv_path_LD+set}" = set; then :
19539 $as_echo_n "(cached) " >&6
19541 if test -z "$LD"; then
19542 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
19543 for ac_dir in $PATH; do
19545 test -z "$ac_dir" && ac_dir=.
19546 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
19547 lt_cv_path_LD="$ac_dir/$ac_prog"
19548 # Check to see if the program is GNU ld. I'd rather use --version,
19549 # but apparently some variants of GNU ld only accept -v.
19550 # Break only if it was the GNU/non-GNU ld that we prefer.
19551 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
19552 *GNU* | *'with BFD'*)
19553 test "$with_gnu_ld" != no && break
19556 test "$with_gnu_ld" != yes && break
19563 lt_cv_path_LD="$LD" # Let the user override the test with a path.
19567 LD="$lt_cv_path_LD"
19568 if test -n "$LD"; then
19569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
19570 $as_echo "$LD" >&6; }
19572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19573 $as_echo "no" >&6; }
19575 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
19576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
19577 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
19578 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
19579 $as_echo_n "(cached) " >&6
19581 # I'd rather use --version here, but apparently some GNU lds only accept -v.
19582 case `$LD -v 2>&1 </dev/null` in
19583 *GNU* | *'with BFD'*)
19584 lt_cv_prog_gnu_ld=yes
19587 lt_cv_prog_gnu_ld=no
19591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
19592 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
19593 with_gnu_ld=$lt_cv_prog_gnu_ld
19601 # If we're not using GNU ld, then there's no point in even trying these
19602 # tests. Check for that first. We should have already tested for gld
19603 # by now (in libtool), but require it now just to be safe...
19604 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
19605 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
19609 # The name set by libtool depends on the version of libtool. Shame on us
19610 # for depending on an impl detail, but c'est la vie. Older versions used
19611 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
19612 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
19613 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
19614 # set (hence we're using an older libtool), then set it.
19615 if test x${with_gnu_ld+set} != xset; then
19616 if test x${ac_cv_prog_gnu_ld+set} != xset; then
19617 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
19620 with_gnu_ld=$ac_cv_prog_gnu_ld
19624 # Start by getting the version number. I think the libtool test already
19625 # does some of this, but throws away the result.
19626 glibcxx_ld_is_gold=no
19627 if test x"$with_gnu_ld" = x"yes"; then
19628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
19629 $as_echo_n "checking for ld version... " >&6; }
19631 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
19632 glibcxx_ld_is_gold=yes
19634 ldver=`$LD --version 2>/dev/null |
19635 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'`
19637 glibcxx_gnu_ld_version=`echo $ldver | \
19638 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
19639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
19640 $as_echo "$glibcxx_gnu_ld_version" >&6; }
19643 # Set --gc-sections.
19644 glibcxx_have_gc_sections=no
19645 if test "$glibcxx_ld_is_gold" = "yes"; then
19646 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
19647 glibcxx_have_gc_sections=yes
19650 glibcxx_gcsections_min_ld=21602
19651 if test x"$with_gnu_ld" = x"yes" &&
19652 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
19653 glibcxx_have_gc_sections=yes
19656 if test "$glibcxx_have_gc_sections" = "yes"; then
19657 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
19658 # NB: This flag only works reliably after 2.16.1. Configure tests
19659 # for this are difficult, so hard wire a value that should work.
19661 ac_test_CFLAGS="${CFLAGS+set}"
19662 ac_save_CFLAGS="$CFLAGS"
19663 CFLAGS='-Wl,--gc-sections'
19665 # Check for -Wl,--gc-sections
19666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
19667 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
19668 if test x$gcc_no_link = xyes; then
19669 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19672 /* end confdefs.h. */
19673 int one(void) { return 1; }
19674 int two(void) { return 2; }
19684 if ac_fn_c_try_link "$LINENO"; then :
19689 rm -f core conftest.err conftest.$ac_objext \
19690 conftest$ac_exeext conftest.$ac_ext
19691 if test "$ac_gcsections" = "yes"; then
19694 if $CC -c conftest.c; then
19695 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
19696 grep "Warning: gc-sections option ignored" > /dev/null; then
19700 rm -f conftest.c conftest.o conftest
19702 if test "$ac_gcsections" = "yes"; then
19703 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
19705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
19706 $as_echo "$ac_gcsections" >&6; }
19708 if test "$ac_test_CFLAGS" = set; then
19709 CFLAGS="$ac_save_CFLAGS"
19711 # this is the suspicious part
19717 # Note this is only for shared objects.
19719 if test x"$with_gnu_ld" = x"yes"; then
19720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
19721 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
19722 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
19723 if test -n "$cxx_z_relo"; then
19724 OPT_LDFLAGS="-Wl,-z,relro"
19727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
19728 $as_echo "$ac_ld_relro" >&6; }
19731 # Set linker optimization flags.
19732 if test x"$with_gnu_ld" = x"yes"; then
19733 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
19740 ac_test_CXXFLAGS="${CXXFLAGS+set}"
19741 ac_save_CXXFLAGS="$CXXFLAGS"
19742 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
19744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
19745 $as_echo_n "checking for sin in -lm... " >&6; }
19746 if test "${ac_cv_lib_m_sin+set}" = set; then :
19747 $as_echo_n "(cached) " >&6
19749 ac_check_lib_save_LIBS=$LIBS
19751 if test x$gcc_no_link = xyes; then
19752 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19755 /* end confdefs.h. */
19757 /* Override any GCC internal prototype to avoid an error.
19758 Use char because int might match the return type of a GCC
19759 builtin and then its argument prototype would still apply. */
19772 if ac_fn_c_try_link "$LINENO"; then :
19773 ac_cv_lib_m_sin=yes
19777 rm -f core conftest.err conftest.$ac_objext \
19778 conftest$ac_exeext conftest.$ac_ext
19779 LIBS=$ac_check_lib_save_LIBS
19781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
19782 $as_echo "$ac_cv_lib_m_sin" >&6; }
19783 if test "x$ac_cv_lib_m_sin" = x""yes; then :
19787 ac_save_LIBS="$LIBS"
19792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
19793 $as_echo_n "checking for isinf declaration... " >&6; }
19794 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
19795 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
19796 $as_echo_n "(cached) " >&6
19801 ac_cpp='$CXXCPP $CPPFLAGS'
19802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19807 /* end confdefs.h. */
19809 #ifdef HAVE_IEEEFP_H
19810 #include <ieeefp.h>
19821 if ac_fn_cxx_try_compile "$LINENO"; then :
19822 glibcxx_cv_func_isinf_use=yes
19824 glibcxx_cv_func_isinf_use=no
19826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19828 ac_cpp='$CPP $CPPFLAGS'
19829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
19838 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
19840 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
19841 for ac_func in isinf
19843 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
19844 if test "x$ac_cv_func_isinf" = x""yes; then :
19845 cat >>confdefs.h <<_ACEOF
19846 #define HAVE_ISINF 1
19854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
19855 $as_echo_n "checking for _isinf declaration... " >&6; }
19856 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
19857 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
19858 $as_echo_n "(cached) " >&6
19863 ac_cpp='$CXXCPP $CPPFLAGS'
19864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19869 /* end confdefs.h. */
19871 #ifdef HAVE_IEEEFP_H
19872 #include <ieeefp.h>
19883 if ac_fn_cxx_try_compile "$LINENO"; then :
19884 glibcxx_cv_func__isinf_use=yes
19886 glibcxx_cv_func__isinf_use=no
19888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19890 ac_cpp='$CPP $CPPFLAGS'
19891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
19900 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
19902 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
19903 for ac_func in _isinf
19905 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
19906 if test "x$ac_cv_func__isinf" = x""yes; then :
19907 cat >>confdefs.h <<_ACEOF
19908 #define HAVE__ISINF 1
19921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
19922 $as_echo_n "checking for isnan declaration... " >&6; }
19923 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
19924 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
19925 $as_echo_n "(cached) " >&6
19930 ac_cpp='$CXXCPP $CPPFLAGS'
19931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19936 /* end confdefs.h. */
19938 #ifdef HAVE_IEEEFP_H
19939 #include <ieeefp.h>
19950 if ac_fn_cxx_try_compile "$LINENO"; then :
19951 glibcxx_cv_func_isnan_use=yes
19953 glibcxx_cv_func_isnan_use=no
19955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19957 ac_cpp='$CPP $CPPFLAGS'
19958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
19967 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
19969 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
19970 for ac_func in isnan
19972 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
19973 if test "x$ac_cv_func_isnan" = x""yes; then :
19974 cat >>confdefs.h <<_ACEOF
19975 #define HAVE_ISNAN 1
19983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
19984 $as_echo_n "checking for _isnan declaration... " >&6; }
19985 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
19986 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
19987 $as_echo_n "(cached) " >&6
19992 ac_cpp='$CXXCPP $CPPFLAGS'
19993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19998 /* end confdefs.h. */
20000 #ifdef HAVE_IEEEFP_H
20001 #include <ieeefp.h>
20012 if ac_fn_cxx_try_compile "$LINENO"; then :
20013 glibcxx_cv_func__isnan_use=yes
20015 glibcxx_cv_func__isnan_use=no
20017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20019 ac_cpp='$CPP $CPPFLAGS'
20020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20029 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20031 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20032 for ac_func in _isnan
20034 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20035 if test "x$ac_cv_func__isnan" = x""yes; then :
20036 cat >>confdefs.h <<_ACEOF
20037 #define HAVE__ISNAN 1
20050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20051 $as_echo_n "checking for finite declaration... " >&6; }
20052 if test x${glibcxx_cv_func_finite_use+set} != xset; then
20053 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20054 $as_echo_n "(cached) " >&6
20059 ac_cpp='$CXXCPP $CPPFLAGS'
20060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20065 /* end confdefs.h. */
20067 #ifdef HAVE_IEEEFP_H
20068 #include <ieeefp.h>
20079 if ac_fn_cxx_try_compile "$LINENO"; then :
20080 glibcxx_cv_func_finite_use=yes
20082 glibcxx_cv_func_finite_use=no
20084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20086 ac_cpp='$CPP $CPPFLAGS'
20087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20096 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20098 if test x$glibcxx_cv_func_finite_use = x"yes"; then
20099 for ac_func in finite
20101 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20102 if test "x$ac_cv_func_finite" = x""yes; then :
20103 cat >>confdefs.h <<_ACEOF
20104 #define HAVE_FINITE 1
20112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
20113 $as_echo_n "checking for _finite declaration... " >&6; }
20114 if test x${glibcxx_cv_func__finite_use+set} != xset; then
20115 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
20116 $as_echo_n "(cached) " >&6
20121 ac_cpp='$CXXCPP $CPPFLAGS'
20122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20127 /* end confdefs.h. */
20129 #ifdef HAVE_IEEEFP_H
20130 #include <ieeefp.h>
20141 if ac_fn_cxx_try_compile "$LINENO"; then :
20142 glibcxx_cv_func__finite_use=yes
20144 glibcxx_cv_func__finite_use=no
20146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20148 ac_cpp='$CPP $CPPFLAGS'
20149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
20158 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
20160 if test x$glibcxx_cv_func__finite_use = x"yes"; then
20161 for ac_func in _finite
20163 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
20164 if test "x$ac_cv_func__finite" = x""yes; then :
20165 cat >>confdefs.h <<_ACEOF
20166 #define HAVE__FINITE 1
20179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
20180 $as_echo_n "checking for sincos declaration... " >&6; }
20181 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20182 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
20183 $as_echo_n "(cached) " >&6
20188 ac_cpp='$CXXCPP $CPPFLAGS'
20189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20194 /* end confdefs.h. */
20204 if ac_fn_cxx_try_compile "$LINENO"; then :
20205 glibcxx_cv_func_sincos_use=yes
20207 glibcxx_cv_func_sincos_use=no
20209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20211 ac_cpp='$CPP $CPPFLAGS'
20212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
20221 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
20223 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20224 for ac_func in sincos
20226 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
20227 if test "x$ac_cv_func_sincos" = x""yes; then :
20228 cat >>confdefs.h <<_ACEOF
20229 #define HAVE_SINCOS 1
20237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
20238 $as_echo_n "checking for _sincos declaration... " >&6; }
20239 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20240 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
20241 $as_echo_n "(cached) " >&6
20246 ac_cpp='$CXXCPP $CPPFLAGS'
20247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20252 /* end confdefs.h. */
20262 if ac_fn_cxx_try_compile "$LINENO"; then :
20263 glibcxx_cv_func__sincos_use=yes
20265 glibcxx_cv_func__sincos_use=no
20267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20269 ac_cpp='$CPP $CPPFLAGS'
20270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
20279 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
20281 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20282 for ac_func in _sincos
20284 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
20285 if test "x$ac_cv_func__sincos" = x""yes; then :
20286 cat >>confdefs.h <<_ACEOF
20287 #define HAVE__SINCOS 1
20300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
20301 $as_echo_n "checking for fpclass declaration... " >&6; }
20302 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20303 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
20304 $as_echo_n "(cached) " >&6
20309 ac_cpp='$CXXCPP $CPPFLAGS'
20310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20315 /* end confdefs.h. */
20317 #ifdef HAVE_IEEEFP_H
20318 #include <ieeefp.h>
20329 if ac_fn_cxx_try_compile "$LINENO"; then :
20330 glibcxx_cv_func_fpclass_use=yes
20332 glibcxx_cv_func_fpclass_use=no
20334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20336 ac_cpp='$CPP $CPPFLAGS'
20337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
20346 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
20348 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20349 for ac_func in fpclass
20351 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
20352 if test "x$ac_cv_func_fpclass" = x""yes; then :
20353 cat >>confdefs.h <<_ACEOF
20354 #define HAVE_FPCLASS 1
20362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
20363 $as_echo_n "checking for _fpclass declaration... " >&6; }
20364 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20365 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
20366 $as_echo_n "(cached) " >&6
20371 ac_cpp='$CXXCPP $CPPFLAGS'
20372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20377 /* end confdefs.h. */
20379 #ifdef HAVE_IEEEFP_H
20380 #include <ieeefp.h>
20391 if ac_fn_cxx_try_compile "$LINENO"; then :
20392 glibcxx_cv_func__fpclass_use=yes
20394 glibcxx_cv_func__fpclass_use=no
20396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20398 ac_cpp='$CPP $CPPFLAGS'
20399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
20408 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
20410 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20411 for ac_func in _fpclass
20413 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
20414 if test "x$ac_cv_func__fpclass" = x""yes; then :
20415 cat >>confdefs.h <<_ACEOF
20416 #define HAVE__FPCLASS 1
20429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
20430 $as_echo_n "checking for qfpclass declaration... " >&6; }
20431 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
20432 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
20433 $as_echo_n "(cached) " >&6
20438 ac_cpp='$CXXCPP $CPPFLAGS'
20439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20444 /* end confdefs.h. */
20446 #ifdef HAVE_IEEEFP_H
20447 #include <ieeefp.h>
20458 if ac_fn_cxx_try_compile "$LINENO"; then :
20459 glibcxx_cv_func_qfpclass_use=yes
20461 glibcxx_cv_func_qfpclass_use=no
20463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20465 ac_cpp='$CPP $CPPFLAGS'
20466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
20475 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
20477 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
20478 for ac_func in qfpclass
20480 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
20481 if test "x$ac_cv_func_qfpclass" = x""yes; then :
20482 cat >>confdefs.h <<_ACEOF
20483 #define HAVE_QFPCLASS 1
20491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
20492 $as_echo_n "checking for _qfpclass declaration... " >&6; }
20493 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
20494 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
20495 $as_echo_n "(cached) " >&6
20500 ac_cpp='$CXXCPP $CPPFLAGS'
20501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20506 /* end confdefs.h. */
20508 #ifdef HAVE_IEEEFP_H
20509 #include <ieeefp.h>
20520 if ac_fn_cxx_try_compile "$LINENO"; then :
20521 glibcxx_cv_func__qfpclass_use=yes
20523 glibcxx_cv_func__qfpclass_use=no
20525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20527 ac_cpp='$CPP $CPPFLAGS'
20528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
20537 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
20539 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
20540 for ac_func in _qfpclass
20542 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
20543 if test "x$ac_cv_func__qfpclass" = x""yes; then :
20544 cat >>confdefs.h <<_ACEOF
20545 #define HAVE__QFPCLASS 1
20558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
20559 $as_echo_n "checking for hypot declaration... " >&6; }
20560 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
20561 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
20562 $as_echo_n "(cached) " >&6
20567 ac_cpp='$CXXCPP $CPPFLAGS'
20568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20573 /* end confdefs.h. */
20583 if ac_fn_cxx_try_compile "$LINENO"; then :
20584 glibcxx_cv_func_hypot_use=yes
20586 glibcxx_cv_func_hypot_use=no
20588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20590 ac_cpp='$CPP $CPPFLAGS'
20591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
20600 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
20602 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
20603 for ac_func in hypot
20605 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
20606 if test "x$ac_cv_func_hypot" = x""yes; then :
20607 cat >>confdefs.h <<_ACEOF
20608 #define HAVE_HYPOT 1
20616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
20617 $as_echo_n "checking for _hypot declaration... " >&6; }
20618 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
20619 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
20620 $as_echo_n "(cached) " >&6
20625 ac_cpp='$CXXCPP $CPPFLAGS'
20626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20631 /* end confdefs.h. */
20641 if ac_fn_cxx_try_compile "$LINENO"; then :
20642 glibcxx_cv_func__hypot_use=yes
20644 glibcxx_cv_func__hypot_use=no
20646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20648 ac_cpp='$CPP $CPPFLAGS'
20649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
20658 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
20660 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
20661 for ac_func in _hypot
20663 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
20664 if test "x$ac_cv_func__hypot" = x""yes; then :
20665 cat >>confdefs.h <<_ACEOF
20666 #define HAVE__HYPOT 1
20679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
20680 $as_echo_n "checking for float trig functions... " >&6; }
20681 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
20682 $as_echo_n "(cached) " >&6
20687 ac_cpp='$CXXCPP $CPPFLAGS'
20688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20693 /* end confdefs.h. */
20698 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
20703 if ac_fn_cxx_try_compile "$LINENO"; then :
20704 glibcxx_cv_func_float_trig_use=yes
20706 glibcxx_cv_func_float_trig_use=no
20708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20710 ac_cpp='$CPP $CPPFLAGS'
20711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
20718 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
20719 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
20720 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
20722 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20723 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20724 eval as_val=\$$as_ac_var
20725 if test "x$as_val" = x""yes; then :
20726 cat >>confdefs.h <<_ACEOF
20727 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
20735 $as_echo_n "checking for _float trig functions... " >&6; }
20736 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
20737 $as_echo_n "(cached) " >&6
20742 ac_cpp='$CXXCPP $CPPFLAGS'
20743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20748 /* end confdefs.h. */
20753 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
20758 if ac_fn_cxx_try_compile "$LINENO"; then :
20759 glibcxx_cv_func__float_trig_use=yes
20761 glibcxx_cv_func__float_trig_use=no
20763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20765 ac_cpp='$CPP $CPPFLAGS'
20766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
20773 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
20774 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
20775 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
20777 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20778 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20779 eval as_val=\$$as_ac_var
20780 if test "x$as_val" = x""yes; then :
20781 cat >>confdefs.h <<_ACEOF
20782 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
20796 $as_echo_n "checking for float round functions... " >&6; }
20797 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
20798 $as_echo_n "(cached) " >&6
20803 ac_cpp='$CXXCPP $CPPFLAGS'
20804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20809 /* end confdefs.h. */
20814 ceilf (0); floorf (0);
20819 if ac_fn_cxx_try_compile "$LINENO"; then :
20820 glibcxx_cv_func_float_round_use=yes
20822 glibcxx_cv_func_float_round_use=no
20824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20826 ac_cpp='$CPP $CPPFLAGS'
20827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
20834 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
20835 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
20836 for ac_func in ceilf floorf
20838 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20839 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20840 eval as_val=\$$as_ac_var
20841 if test "x$as_val" = x""yes; then :
20842 cat >>confdefs.h <<_ACEOF
20843 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
20851 $as_echo_n "checking for _float round functions... " >&6; }
20852 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
20853 $as_echo_n "(cached) " >&6
20858 ac_cpp='$CXXCPP $CPPFLAGS'
20859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20864 /* end confdefs.h. */
20869 _ceilf (0); _floorf (0);
20874 if ac_fn_cxx_try_compile "$LINENO"; then :
20875 glibcxx_cv_func__float_round_use=yes
20877 glibcxx_cv_func__float_round_use=no
20879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20881 ac_cpp='$CPP $CPPFLAGS'
20882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
20889 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
20890 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
20891 for ac_func in _ceilf _floorf
20893 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20894 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20895 eval as_val=\$$as_ac_var
20896 if test "x$as_val" = x""yes; then :
20897 cat >>confdefs.h <<_ACEOF
20898 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
20913 $as_echo_n "checking for expf declaration... " >&6; }
20914 if test x${glibcxx_cv_func_expf_use+set} != xset; then
20915 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
20916 $as_echo_n "(cached) " >&6
20921 ac_cpp='$CXXCPP $CPPFLAGS'
20922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20927 /* end confdefs.h. */
20929 #ifdef HAVE_IEEEFP_H
20930 #include <ieeefp.h>
20941 if ac_fn_cxx_try_compile "$LINENO"; then :
20942 glibcxx_cv_func_expf_use=yes
20944 glibcxx_cv_func_expf_use=no
20946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20948 ac_cpp='$CPP $CPPFLAGS'
20949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
20958 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
20960 if test x$glibcxx_cv_func_expf_use = x"yes"; then
20961 for ac_func in expf
20963 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
20964 if test "x$ac_cv_func_expf" = x""yes; then :
20965 cat >>confdefs.h <<_ACEOF
20966 #define HAVE_EXPF 1
20974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
20975 $as_echo_n "checking for _expf declaration... " >&6; }
20976 if test x${glibcxx_cv_func__expf_use+set} != xset; then
20977 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
20978 $as_echo_n "(cached) " >&6
20983 ac_cpp='$CXXCPP $CPPFLAGS'
20984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20989 /* end confdefs.h. */
20991 #ifdef HAVE_IEEEFP_H
20992 #include <ieeefp.h>
21003 if ac_fn_cxx_try_compile "$LINENO"; then :
21004 glibcxx_cv_func__expf_use=yes
21006 glibcxx_cv_func__expf_use=no
21008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21010 ac_cpp='$CPP $CPPFLAGS'
21011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21020 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21022 if test x$glibcxx_cv_func__expf_use = x"yes"; then
21023 for ac_func in _expf
21025 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21026 if test "x$ac_cv_func__expf" = x""yes; then :
21027 cat >>confdefs.h <<_ACEOF
21028 #define HAVE__EXPF 1
21041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21042 $as_echo_n "checking for isnanf declaration... " >&6; }
21043 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21044 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21045 $as_echo_n "(cached) " >&6
21050 ac_cpp='$CXXCPP $CPPFLAGS'
21051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21056 /* end confdefs.h. */
21058 #ifdef HAVE_IEEEFP_H
21059 #include <ieeefp.h>
21070 if ac_fn_cxx_try_compile "$LINENO"; then :
21071 glibcxx_cv_func_isnanf_use=yes
21073 glibcxx_cv_func_isnanf_use=no
21075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21077 ac_cpp='$CPP $CPPFLAGS'
21078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21087 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21089 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21090 for ac_func in isnanf
21092 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21093 if test "x$ac_cv_func_isnanf" = x""yes; then :
21094 cat >>confdefs.h <<_ACEOF
21095 #define HAVE_ISNANF 1
21103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21104 $as_echo_n "checking for _isnanf declaration... " >&6; }
21105 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21106 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
21107 $as_echo_n "(cached) " >&6
21112 ac_cpp='$CXXCPP $CPPFLAGS'
21113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21118 /* end confdefs.h. */
21120 #ifdef HAVE_IEEEFP_H
21121 #include <ieeefp.h>
21132 if ac_fn_cxx_try_compile "$LINENO"; then :
21133 glibcxx_cv_func__isnanf_use=yes
21135 glibcxx_cv_func__isnanf_use=no
21137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21139 ac_cpp='$CPP $CPPFLAGS'
21140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
21149 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
21151 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
21152 for ac_func in _isnanf
21154 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
21155 if test "x$ac_cv_func__isnanf" = x""yes; then :
21156 cat >>confdefs.h <<_ACEOF
21157 #define HAVE__ISNANF 1
21170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
21171 $as_echo_n "checking for isinff declaration... " >&6; }
21172 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
21173 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
21174 $as_echo_n "(cached) " >&6
21179 ac_cpp='$CXXCPP $CPPFLAGS'
21180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21185 /* end confdefs.h. */
21187 #ifdef HAVE_IEEEFP_H
21188 #include <ieeefp.h>
21199 if ac_fn_cxx_try_compile "$LINENO"; then :
21200 glibcxx_cv_func_isinff_use=yes
21202 glibcxx_cv_func_isinff_use=no
21204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21206 ac_cpp='$CPP $CPPFLAGS'
21207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
21216 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
21218 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
21219 for ac_func in isinff
21221 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
21222 if test "x$ac_cv_func_isinff" = x""yes; then :
21223 cat >>confdefs.h <<_ACEOF
21224 #define HAVE_ISINFF 1
21232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
21233 $as_echo_n "checking for _isinff declaration... " >&6; }
21234 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
21235 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
21236 $as_echo_n "(cached) " >&6
21241 ac_cpp='$CXXCPP $CPPFLAGS'
21242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21247 /* end confdefs.h. */
21249 #ifdef HAVE_IEEEFP_H
21250 #include <ieeefp.h>
21261 if ac_fn_cxx_try_compile "$LINENO"; then :
21262 glibcxx_cv_func__isinff_use=yes
21264 glibcxx_cv_func__isinff_use=no
21266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21268 ac_cpp='$CPP $CPPFLAGS'
21269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
21278 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
21280 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
21281 for ac_func in _isinff
21283 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
21284 if test "x$ac_cv_func__isinff" = x""yes; then :
21285 cat >>confdefs.h <<_ACEOF
21286 #define HAVE__ISINFF 1
21299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
21300 $as_echo_n "checking for atan2f declaration... " >&6; }
21301 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
21302 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
21303 $as_echo_n "(cached) " >&6
21308 ac_cpp='$CXXCPP $CPPFLAGS'
21309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21314 /* end confdefs.h. */
21324 if ac_fn_cxx_try_compile "$LINENO"; then :
21325 glibcxx_cv_func_atan2f_use=yes
21327 glibcxx_cv_func_atan2f_use=no
21329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21331 ac_cpp='$CPP $CPPFLAGS'
21332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
21341 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
21343 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
21344 for ac_func in atan2f
21346 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
21347 if test "x$ac_cv_func_atan2f" = x""yes; then :
21348 cat >>confdefs.h <<_ACEOF
21349 #define HAVE_ATAN2F 1
21357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
21358 $as_echo_n "checking for _atan2f declaration... " >&6; }
21359 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
21360 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
21361 $as_echo_n "(cached) " >&6
21366 ac_cpp='$CXXCPP $CPPFLAGS'
21367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21372 /* end confdefs.h. */
21382 if ac_fn_cxx_try_compile "$LINENO"; then :
21383 glibcxx_cv_func__atan2f_use=yes
21385 glibcxx_cv_func__atan2f_use=no
21387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21389 ac_cpp='$CPP $CPPFLAGS'
21390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
21399 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
21401 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
21402 for ac_func in _atan2f
21404 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
21405 if test "x$ac_cv_func__atan2f" = x""yes; then :
21406 cat >>confdefs.h <<_ACEOF
21407 #define HAVE__ATAN2F 1
21420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
21421 $as_echo_n "checking for fabsf declaration... " >&6; }
21422 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
21423 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
21424 $as_echo_n "(cached) " >&6
21429 ac_cpp='$CXXCPP $CPPFLAGS'
21430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21435 /* end confdefs.h. */
21437 #ifdef HAVE_IEEEFP_H
21438 #include <ieeefp.h>
21449 if ac_fn_cxx_try_compile "$LINENO"; then :
21450 glibcxx_cv_func_fabsf_use=yes
21452 glibcxx_cv_func_fabsf_use=no
21454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21456 ac_cpp='$CPP $CPPFLAGS'
21457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
21466 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
21468 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
21469 for ac_func in fabsf
21471 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
21472 if test "x$ac_cv_func_fabsf" = x""yes; then :
21473 cat >>confdefs.h <<_ACEOF
21474 #define HAVE_FABSF 1
21482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
21483 $as_echo_n "checking for _fabsf declaration... " >&6; }
21484 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
21485 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
21486 $as_echo_n "(cached) " >&6
21491 ac_cpp='$CXXCPP $CPPFLAGS'
21492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21497 /* end confdefs.h. */
21499 #ifdef HAVE_IEEEFP_H
21500 #include <ieeefp.h>
21511 if ac_fn_cxx_try_compile "$LINENO"; then :
21512 glibcxx_cv_func__fabsf_use=yes
21514 glibcxx_cv_func__fabsf_use=no
21516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21518 ac_cpp='$CPP $CPPFLAGS'
21519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
21528 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
21530 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
21531 for ac_func in _fabsf
21533 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
21534 if test "x$ac_cv_func__fabsf" = x""yes; then :
21535 cat >>confdefs.h <<_ACEOF
21536 #define HAVE__FABSF 1
21549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
21550 $as_echo_n "checking for fmodf declaration... " >&6; }
21551 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
21552 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
21553 $as_echo_n "(cached) " >&6
21558 ac_cpp='$CXXCPP $CPPFLAGS'
21559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21564 /* end confdefs.h. */
21574 if ac_fn_cxx_try_compile "$LINENO"; then :
21575 glibcxx_cv_func_fmodf_use=yes
21577 glibcxx_cv_func_fmodf_use=no
21579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21581 ac_cpp='$CPP $CPPFLAGS'
21582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
21591 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
21593 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
21594 for ac_func in fmodf
21596 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
21597 if test "x$ac_cv_func_fmodf" = x""yes; then :
21598 cat >>confdefs.h <<_ACEOF
21599 #define HAVE_FMODF 1
21607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
21608 $as_echo_n "checking for _fmodf declaration... " >&6; }
21609 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
21610 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
21611 $as_echo_n "(cached) " >&6
21616 ac_cpp='$CXXCPP $CPPFLAGS'
21617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21622 /* end confdefs.h. */
21632 if ac_fn_cxx_try_compile "$LINENO"; then :
21633 glibcxx_cv_func__fmodf_use=yes
21635 glibcxx_cv_func__fmodf_use=no
21637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21639 ac_cpp='$CPP $CPPFLAGS'
21640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
21649 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
21651 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
21652 for ac_func in _fmodf
21654 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
21655 if test "x$ac_cv_func__fmodf" = x""yes; then :
21656 cat >>confdefs.h <<_ACEOF
21657 #define HAVE__FMODF 1
21670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
21671 $as_echo_n "checking for frexpf declaration... " >&6; }
21672 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
21673 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
21674 $as_echo_n "(cached) " >&6
21679 ac_cpp='$CXXCPP $CPPFLAGS'
21680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21685 /* end confdefs.h. */
21695 if ac_fn_cxx_try_compile "$LINENO"; then :
21696 glibcxx_cv_func_frexpf_use=yes
21698 glibcxx_cv_func_frexpf_use=no
21700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21702 ac_cpp='$CPP $CPPFLAGS'
21703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
21712 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
21714 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
21715 for ac_func in frexpf
21717 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
21718 if test "x$ac_cv_func_frexpf" = x""yes; then :
21719 cat >>confdefs.h <<_ACEOF
21720 #define HAVE_FREXPF 1
21728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
21729 $as_echo_n "checking for _frexpf declaration... " >&6; }
21730 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
21731 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
21732 $as_echo_n "(cached) " >&6
21737 ac_cpp='$CXXCPP $CPPFLAGS'
21738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21743 /* end confdefs.h. */
21753 if ac_fn_cxx_try_compile "$LINENO"; then :
21754 glibcxx_cv_func__frexpf_use=yes
21756 glibcxx_cv_func__frexpf_use=no
21758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21760 ac_cpp='$CPP $CPPFLAGS'
21761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
21770 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
21772 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
21773 for ac_func in _frexpf
21775 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
21776 if test "x$ac_cv_func__frexpf" = x""yes; then :
21777 cat >>confdefs.h <<_ACEOF
21778 #define HAVE__FREXPF 1
21791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
21792 $as_echo_n "checking for hypotf declaration... " >&6; }
21793 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
21794 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
21795 $as_echo_n "(cached) " >&6
21800 ac_cpp='$CXXCPP $CPPFLAGS'
21801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21806 /* end confdefs.h. */
21816 if ac_fn_cxx_try_compile "$LINENO"; then :
21817 glibcxx_cv_func_hypotf_use=yes
21819 glibcxx_cv_func_hypotf_use=no
21821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21823 ac_cpp='$CPP $CPPFLAGS'
21824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
21833 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
21835 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
21836 for ac_func in hypotf
21838 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
21839 if test "x$ac_cv_func_hypotf" = x""yes; then :
21840 cat >>confdefs.h <<_ACEOF
21841 #define HAVE_HYPOTF 1
21849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
21850 $as_echo_n "checking for _hypotf declaration... " >&6; }
21851 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
21852 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
21853 $as_echo_n "(cached) " >&6
21858 ac_cpp='$CXXCPP $CPPFLAGS'
21859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21864 /* end confdefs.h. */
21874 if ac_fn_cxx_try_compile "$LINENO"; then :
21875 glibcxx_cv_func__hypotf_use=yes
21877 glibcxx_cv_func__hypotf_use=no
21879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21881 ac_cpp='$CPP $CPPFLAGS'
21882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
21891 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
21893 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
21894 for ac_func in _hypotf
21896 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
21897 if test "x$ac_cv_func__hypotf" = x""yes; then :
21898 cat >>confdefs.h <<_ACEOF
21899 #define HAVE__HYPOTF 1
21912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
21913 $as_echo_n "checking for ldexpf declaration... " >&6; }
21914 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
21915 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
21916 $as_echo_n "(cached) " >&6
21921 ac_cpp='$CXXCPP $CPPFLAGS'
21922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21927 /* end confdefs.h. */
21937 if ac_fn_cxx_try_compile "$LINENO"; then :
21938 glibcxx_cv_func_ldexpf_use=yes
21940 glibcxx_cv_func_ldexpf_use=no
21942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21944 ac_cpp='$CPP $CPPFLAGS'
21945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
21954 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
21956 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
21957 for ac_func in ldexpf
21959 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
21960 if test "x$ac_cv_func_ldexpf" = x""yes; then :
21961 cat >>confdefs.h <<_ACEOF
21962 #define HAVE_LDEXPF 1
21970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
21971 $as_echo_n "checking for _ldexpf declaration... " >&6; }
21972 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
21973 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
21974 $as_echo_n "(cached) " >&6
21979 ac_cpp='$CXXCPP $CPPFLAGS'
21980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21985 /* end confdefs.h. */
21995 if ac_fn_cxx_try_compile "$LINENO"; then :
21996 glibcxx_cv_func__ldexpf_use=yes
21998 glibcxx_cv_func__ldexpf_use=no
22000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22002 ac_cpp='$CPP $CPPFLAGS'
22003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22012 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22014 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22015 for ac_func in _ldexpf
22017 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22018 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22019 cat >>confdefs.h <<_ACEOF
22020 #define HAVE__LDEXPF 1
22033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22034 $as_echo_n "checking for logf declaration... " >&6; }
22035 if test x${glibcxx_cv_func_logf_use+set} != xset; then
22036 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22037 $as_echo_n "(cached) " >&6
22042 ac_cpp='$CXXCPP $CPPFLAGS'
22043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22048 /* end confdefs.h. */
22050 #ifdef HAVE_IEEEFP_H
22051 #include <ieeefp.h>
22062 if ac_fn_cxx_try_compile "$LINENO"; then :
22063 glibcxx_cv_func_logf_use=yes
22065 glibcxx_cv_func_logf_use=no
22067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22069 ac_cpp='$CPP $CPPFLAGS'
22070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22079 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22081 if test x$glibcxx_cv_func_logf_use = x"yes"; then
22082 for ac_func in logf
22084 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22085 if test "x$ac_cv_func_logf" = x""yes; then :
22086 cat >>confdefs.h <<_ACEOF
22087 #define HAVE_LOGF 1
22095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22096 $as_echo_n "checking for _logf declaration... " >&6; }
22097 if test x${glibcxx_cv_func__logf_use+set} != xset; then
22098 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22099 $as_echo_n "(cached) " >&6
22104 ac_cpp='$CXXCPP $CPPFLAGS'
22105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22110 /* end confdefs.h. */
22112 #ifdef HAVE_IEEEFP_H
22113 #include <ieeefp.h>
22124 if ac_fn_cxx_try_compile "$LINENO"; then :
22125 glibcxx_cv_func__logf_use=yes
22127 glibcxx_cv_func__logf_use=no
22129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22131 ac_cpp='$CPP $CPPFLAGS'
22132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
22141 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
22143 if test x$glibcxx_cv_func__logf_use = x"yes"; then
22144 for ac_func in _logf
22146 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
22147 if test "x$ac_cv_func__logf" = x""yes; then :
22148 cat >>confdefs.h <<_ACEOF
22149 #define HAVE__LOGF 1
22162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
22163 $as_echo_n "checking for log10f declaration... " >&6; }
22164 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
22165 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
22166 $as_echo_n "(cached) " >&6
22171 ac_cpp='$CXXCPP $CPPFLAGS'
22172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22177 /* end confdefs.h. */
22179 #ifdef HAVE_IEEEFP_H
22180 #include <ieeefp.h>
22191 if ac_fn_cxx_try_compile "$LINENO"; then :
22192 glibcxx_cv_func_log10f_use=yes
22194 glibcxx_cv_func_log10f_use=no
22196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22198 ac_cpp='$CPP $CPPFLAGS'
22199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
22208 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
22210 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
22211 for ac_func in log10f
22213 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
22214 if test "x$ac_cv_func_log10f" = x""yes; then :
22215 cat >>confdefs.h <<_ACEOF
22216 #define HAVE_LOG10F 1
22224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
22225 $as_echo_n "checking for _log10f declaration... " >&6; }
22226 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
22227 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
22228 $as_echo_n "(cached) " >&6
22233 ac_cpp='$CXXCPP $CPPFLAGS'
22234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22239 /* end confdefs.h. */
22241 #ifdef HAVE_IEEEFP_H
22242 #include <ieeefp.h>
22253 if ac_fn_cxx_try_compile "$LINENO"; then :
22254 glibcxx_cv_func__log10f_use=yes
22256 glibcxx_cv_func__log10f_use=no
22258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22260 ac_cpp='$CPP $CPPFLAGS'
22261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
22270 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
22272 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
22273 for ac_func in _log10f
22275 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
22276 if test "x$ac_cv_func__log10f" = x""yes; then :
22277 cat >>confdefs.h <<_ACEOF
22278 #define HAVE__LOG10F 1
22291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
22292 $as_echo_n "checking for modff declaration... " >&6; }
22293 if test x${glibcxx_cv_func_modff_use+set} != xset; then
22294 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
22295 $as_echo_n "(cached) " >&6
22300 ac_cpp='$CXXCPP $CPPFLAGS'
22301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22306 /* end confdefs.h. */
22316 if ac_fn_cxx_try_compile "$LINENO"; then :
22317 glibcxx_cv_func_modff_use=yes
22319 glibcxx_cv_func_modff_use=no
22321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22323 ac_cpp='$CPP $CPPFLAGS'
22324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
22333 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
22335 if test x$glibcxx_cv_func_modff_use = x"yes"; then
22336 for ac_func in modff
22338 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
22339 if test "x$ac_cv_func_modff" = x""yes; then :
22340 cat >>confdefs.h <<_ACEOF
22341 #define HAVE_MODFF 1
22349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
22350 $as_echo_n "checking for _modff declaration... " >&6; }
22351 if test x${glibcxx_cv_func__modff_use+set} != xset; then
22352 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
22353 $as_echo_n "(cached) " >&6
22358 ac_cpp='$CXXCPP $CPPFLAGS'
22359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22364 /* end confdefs.h. */
22374 if ac_fn_cxx_try_compile "$LINENO"; then :
22375 glibcxx_cv_func__modff_use=yes
22377 glibcxx_cv_func__modff_use=no
22379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22381 ac_cpp='$CPP $CPPFLAGS'
22382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
22391 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
22393 if test x$glibcxx_cv_func__modff_use = x"yes"; then
22394 for ac_func in _modff
22396 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
22397 if test "x$ac_cv_func__modff" = x""yes; then :
22398 cat >>confdefs.h <<_ACEOF
22399 #define HAVE__MODFF 1
22412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
22413 $as_echo_n "checking for modf declaration... " >&6; }
22414 if test x${glibcxx_cv_func_modf_use+set} != xset; then
22415 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
22416 $as_echo_n "(cached) " >&6
22421 ac_cpp='$CXXCPP $CPPFLAGS'
22422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22427 /* end confdefs.h. */
22437 if ac_fn_cxx_try_compile "$LINENO"; then :
22438 glibcxx_cv_func_modf_use=yes
22440 glibcxx_cv_func_modf_use=no
22442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22444 ac_cpp='$CPP $CPPFLAGS'
22445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
22454 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
22456 if test x$glibcxx_cv_func_modf_use = x"yes"; then
22457 for ac_func in modf
22459 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
22460 if test "x$ac_cv_func_modf" = x""yes; then :
22461 cat >>confdefs.h <<_ACEOF
22462 #define HAVE_MODF 1
22470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
22471 $as_echo_n "checking for _modf declaration... " >&6; }
22472 if test x${glibcxx_cv_func__modf_use+set} != xset; then
22473 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
22474 $as_echo_n "(cached) " >&6
22479 ac_cpp='$CXXCPP $CPPFLAGS'
22480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22485 /* end confdefs.h. */
22495 if ac_fn_cxx_try_compile "$LINENO"; then :
22496 glibcxx_cv_func__modf_use=yes
22498 glibcxx_cv_func__modf_use=no
22500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22502 ac_cpp='$CPP $CPPFLAGS'
22503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
22512 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
22514 if test x$glibcxx_cv_func__modf_use = x"yes"; then
22515 for ac_func in _modf
22517 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
22518 if test "x$ac_cv_func__modf" = x""yes; then :
22519 cat >>confdefs.h <<_ACEOF
22520 #define HAVE__MODF 1
22533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
22534 $as_echo_n "checking for powf declaration... " >&6; }
22535 if test x${glibcxx_cv_func_powf_use+set} != xset; then
22536 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
22537 $as_echo_n "(cached) " >&6
22542 ac_cpp='$CXXCPP $CPPFLAGS'
22543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22548 /* end confdefs.h. */
22558 if ac_fn_cxx_try_compile "$LINENO"; then :
22559 glibcxx_cv_func_powf_use=yes
22561 glibcxx_cv_func_powf_use=no
22563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22565 ac_cpp='$CPP $CPPFLAGS'
22566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
22575 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
22577 if test x$glibcxx_cv_func_powf_use = x"yes"; then
22578 for ac_func in powf
22580 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
22581 if test "x$ac_cv_func_powf" = x""yes; then :
22582 cat >>confdefs.h <<_ACEOF
22583 #define HAVE_POWF 1
22591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
22592 $as_echo_n "checking for _powf declaration... " >&6; }
22593 if test x${glibcxx_cv_func__powf_use+set} != xset; then
22594 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
22595 $as_echo_n "(cached) " >&6
22600 ac_cpp='$CXXCPP $CPPFLAGS'
22601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22606 /* end confdefs.h. */
22616 if ac_fn_cxx_try_compile "$LINENO"; then :
22617 glibcxx_cv_func__powf_use=yes
22619 glibcxx_cv_func__powf_use=no
22621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22623 ac_cpp='$CPP $CPPFLAGS'
22624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
22633 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
22635 if test x$glibcxx_cv_func__powf_use = x"yes"; then
22636 for ac_func in _powf
22638 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
22639 if test "x$ac_cv_func__powf" = x""yes; then :
22640 cat >>confdefs.h <<_ACEOF
22641 #define HAVE__POWF 1
22654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
22655 $as_echo_n "checking for sqrtf declaration... " >&6; }
22656 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
22657 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
22658 $as_echo_n "(cached) " >&6
22663 ac_cpp='$CXXCPP $CPPFLAGS'
22664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22669 /* end confdefs.h. */
22671 #ifdef HAVE_IEEEFP_H
22672 #include <ieeefp.h>
22683 if ac_fn_cxx_try_compile "$LINENO"; then :
22684 glibcxx_cv_func_sqrtf_use=yes
22686 glibcxx_cv_func_sqrtf_use=no
22688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22690 ac_cpp='$CPP $CPPFLAGS'
22691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
22700 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
22702 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
22703 for ac_func in sqrtf
22705 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
22706 if test "x$ac_cv_func_sqrtf" = x""yes; then :
22707 cat >>confdefs.h <<_ACEOF
22708 #define HAVE_SQRTF 1
22716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
22717 $as_echo_n "checking for _sqrtf declaration... " >&6; }
22718 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
22719 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
22720 $as_echo_n "(cached) " >&6
22725 ac_cpp='$CXXCPP $CPPFLAGS'
22726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22731 /* end confdefs.h. */
22733 #ifdef HAVE_IEEEFP_H
22734 #include <ieeefp.h>
22745 if ac_fn_cxx_try_compile "$LINENO"; then :
22746 glibcxx_cv_func__sqrtf_use=yes
22748 glibcxx_cv_func__sqrtf_use=no
22750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22752 ac_cpp='$CPP $CPPFLAGS'
22753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
22762 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
22764 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
22765 for ac_func in _sqrtf
22767 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
22768 if test "x$ac_cv_func__sqrtf" = x""yes; then :
22769 cat >>confdefs.h <<_ACEOF
22770 #define HAVE__SQRTF 1
22783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
22784 $as_echo_n "checking for sincosf declaration... " >&6; }
22785 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
22786 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
22787 $as_echo_n "(cached) " >&6
22792 ac_cpp='$CXXCPP $CPPFLAGS'
22793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22798 /* end confdefs.h. */
22808 if ac_fn_cxx_try_compile "$LINENO"; then :
22809 glibcxx_cv_func_sincosf_use=yes
22811 glibcxx_cv_func_sincosf_use=no
22813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22815 ac_cpp='$CPP $CPPFLAGS'
22816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
22825 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
22827 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
22828 for ac_func in sincosf
22830 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
22831 if test "x$ac_cv_func_sincosf" = x""yes; then :
22832 cat >>confdefs.h <<_ACEOF
22833 #define HAVE_SINCOSF 1
22841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
22842 $as_echo_n "checking for _sincosf declaration... " >&6; }
22843 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
22844 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
22845 $as_echo_n "(cached) " >&6
22850 ac_cpp='$CXXCPP $CPPFLAGS'
22851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22856 /* end confdefs.h. */
22866 if ac_fn_cxx_try_compile "$LINENO"; then :
22867 glibcxx_cv_func__sincosf_use=yes
22869 glibcxx_cv_func__sincosf_use=no
22871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22873 ac_cpp='$CPP $CPPFLAGS'
22874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
22883 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
22885 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
22886 for ac_func in _sincosf
22888 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
22889 if test "x$ac_cv_func__sincosf" = x""yes; then :
22890 cat >>confdefs.h <<_ACEOF
22891 #define HAVE__SINCOSF 1
22904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
22905 $as_echo_n "checking for finitef declaration... " >&6; }
22906 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
22907 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
22908 $as_echo_n "(cached) " >&6
22913 ac_cpp='$CXXCPP $CPPFLAGS'
22914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22919 /* end confdefs.h. */
22921 #ifdef HAVE_IEEEFP_H
22922 #include <ieeefp.h>
22933 if ac_fn_cxx_try_compile "$LINENO"; then :
22934 glibcxx_cv_func_finitef_use=yes
22936 glibcxx_cv_func_finitef_use=no
22938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22940 ac_cpp='$CPP $CPPFLAGS'
22941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
22950 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
22952 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
22953 for ac_func in finitef
22955 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
22956 if test "x$ac_cv_func_finitef" = x""yes; then :
22957 cat >>confdefs.h <<_ACEOF
22958 #define HAVE_FINITEF 1
22966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
22967 $as_echo_n "checking for _finitef declaration... " >&6; }
22968 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
22969 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
22970 $as_echo_n "(cached) " >&6
22975 ac_cpp='$CXXCPP $CPPFLAGS'
22976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22981 /* end confdefs.h. */
22983 #ifdef HAVE_IEEEFP_H
22984 #include <ieeefp.h>
22995 if ac_fn_cxx_try_compile "$LINENO"; then :
22996 glibcxx_cv_func__finitef_use=yes
22998 glibcxx_cv_func__finitef_use=no
23000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23002 ac_cpp='$CPP $CPPFLAGS'
23003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23012 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23014 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23015 for ac_func in _finitef
23017 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23018 if test "x$ac_cv_func__finitef" = x""yes; then :
23019 cat >>confdefs.h <<_ACEOF
23020 #define HAVE__FINITEF 1
23033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23034 $as_echo_n "checking for long double trig functions... " >&6; }
23035 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23036 $as_echo_n "(cached) " >&6
23041 ac_cpp='$CXXCPP $CPPFLAGS'
23042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23047 /* end confdefs.h. */
23052 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23057 if ac_fn_cxx_try_compile "$LINENO"; then :
23058 glibcxx_cv_func_long_double_trig_use=yes
23060 glibcxx_cv_func_long_double_trig_use=no
23062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23064 ac_cpp='$CPP $CPPFLAGS'
23065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23072 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23073 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23074 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23076 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23077 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23078 eval as_val=\$$as_ac_var
23079 if test "x$as_val" = x""yes; then :
23080 cat >>confdefs.h <<_ACEOF
23081 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23089 $as_echo_n "checking for _long double trig functions... " >&6; }
23090 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23091 $as_echo_n "(cached) " >&6
23096 ac_cpp='$CXXCPP $CPPFLAGS'
23097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23102 /* end confdefs.h. */
23107 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23112 if ac_fn_cxx_try_compile "$LINENO"; then :
23113 glibcxx_cv_func__long_double_trig_use=yes
23115 glibcxx_cv_func__long_double_trig_use=no
23117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23119 ac_cpp='$CPP $CPPFLAGS'
23120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23127 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23128 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23129 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23131 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23132 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23133 eval as_val=\$$as_ac_var
23134 if test "x$as_val" = x""yes; then :
23135 cat >>confdefs.h <<_ACEOF
23136 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
23150 $as_echo_n "checking for long double round functions... " >&6; }
23151 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
23152 $as_echo_n "(cached) " >&6
23157 ac_cpp='$CXXCPP $CPPFLAGS'
23158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23163 /* end confdefs.h. */
23168 ceill (0); floorl (0);
23173 if ac_fn_cxx_try_compile "$LINENO"; then :
23174 glibcxx_cv_func_long_double_round_use=yes
23176 glibcxx_cv_func_long_double_round_use=no
23178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23180 ac_cpp='$CPP $CPPFLAGS'
23181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
23188 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
23189 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
23190 for ac_func in ceill floorl
23192 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23193 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23194 eval as_val=\$$as_ac_var
23195 if test "x$as_val" = x""yes; then :
23196 cat >>confdefs.h <<_ACEOF
23197 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
23205 $as_echo_n "checking for _long double round functions... " >&6; }
23206 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
23207 $as_echo_n "(cached) " >&6
23212 ac_cpp='$CXXCPP $CPPFLAGS'
23213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23218 /* end confdefs.h. */
23223 _ceill (0); _floorl (0);
23228 if ac_fn_cxx_try_compile "$LINENO"; then :
23229 glibcxx_cv_func__long_double_round_use=yes
23231 glibcxx_cv_func__long_double_round_use=no
23233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23235 ac_cpp='$CPP $CPPFLAGS'
23236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
23243 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
23244 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
23245 for ac_func in _ceill _floorl
23247 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23248 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23249 eval as_val=\$$as_ac_var
23250 if test "x$as_val" = x""yes; then :
23251 cat >>confdefs.h <<_ACEOF
23252 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
23267 $as_echo_n "checking for isnanl declaration... " >&6; }
23268 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
23269 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
23270 $as_echo_n "(cached) " >&6
23275 ac_cpp='$CXXCPP $CPPFLAGS'
23276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23281 /* end confdefs.h. */
23283 #ifdef HAVE_IEEEFP_H
23284 #include <ieeefp.h>
23295 if ac_fn_cxx_try_compile "$LINENO"; then :
23296 glibcxx_cv_func_isnanl_use=yes
23298 glibcxx_cv_func_isnanl_use=no
23300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23302 ac_cpp='$CPP $CPPFLAGS'
23303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
23312 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
23314 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
23315 for ac_func in isnanl
23317 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
23318 if test "x$ac_cv_func_isnanl" = x""yes; then :
23319 cat >>confdefs.h <<_ACEOF
23320 #define HAVE_ISNANL 1
23328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
23329 $as_echo_n "checking for _isnanl declaration... " >&6; }
23330 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
23331 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
23332 $as_echo_n "(cached) " >&6
23337 ac_cpp='$CXXCPP $CPPFLAGS'
23338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23343 /* end confdefs.h. */
23345 #ifdef HAVE_IEEEFP_H
23346 #include <ieeefp.h>
23357 if ac_fn_cxx_try_compile "$LINENO"; then :
23358 glibcxx_cv_func__isnanl_use=yes
23360 glibcxx_cv_func__isnanl_use=no
23362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23364 ac_cpp='$CPP $CPPFLAGS'
23365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
23374 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
23376 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
23377 for ac_func in _isnanl
23379 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
23380 if test "x$ac_cv_func__isnanl" = x""yes; then :
23381 cat >>confdefs.h <<_ACEOF
23382 #define HAVE__ISNANL 1
23395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
23396 $as_echo_n "checking for isinfl declaration... " >&6; }
23397 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
23398 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
23399 $as_echo_n "(cached) " >&6
23404 ac_cpp='$CXXCPP $CPPFLAGS'
23405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23410 /* end confdefs.h. */
23412 #ifdef HAVE_IEEEFP_H
23413 #include <ieeefp.h>
23424 if ac_fn_cxx_try_compile "$LINENO"; then :
23425 glibcxx_cv_func_isinfl_use=yes
23427 glibcxx_cv_func_isinfl_use=no
23429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23431 ac_cpp='$CPP $CPPFLAGS'
23432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
23441 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
23443 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
23444 for ac_func in isinfl
23446 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
23447 if test "x$ac_cv_func_isinfl" = x""yes; then :
23448 cat >>confdefs.h <<_ACEOF
23449 #define HAVE_ISINFL 1
23457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
23458 $as_echo_n "checking for _isinfl declaration... " >&6; }
23459 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
23460 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
23461 $as_echo_n "(cached) " >&6
23466 ac_cpp='$CXXCPP $CPPFLAGS'
23467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23472 /* end confdefs.h. */
23474 #ifdef HAVE_IEEEFP_H
23475 #include <ieeefp.h>
23486 if ac_fn_cxx_try_compile "$LINENO"; then :
23487 glibcxx_cv_func__isinfl_use=yes
23489 glibcxx_cv_func__isinfl_use=no
23491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23493 ac_cpp='$CPP $CPPFLAGS'
23494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
23503 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
23505 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
23506 for ac_func in _isinfl
23508 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
23509 if test "x$ac_cv_func__isinfl" = x""yes; then :
23510 cat >>confdefs.h <<_ACEOF
23511 #define HAVE__ISINFL 1
23524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
23525 $as_echo_n "checking for atan2l declaration... " >&6; }
23526 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
23527 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
23528 $as_echo_n "(cached) " >&6
23533 ac_cpp='$CXXCPP $CPPFLAGS'
23534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23539 /* end confdefs.h. */
23549 if ac_fn_cxx_try_compile "$LINENO"; then :
23550 glibcxx_cv_func_atan2l_use=yes
23552 glibcxx_cv_func_atan2l_use=no
23554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23556 ac_cpp='$CPP $CPPFLAGS'
23557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
23566 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
23568 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
23569 for ac_func in atan2l
23571 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
23572 if test "x$ac_cv_func_atan2l" = x""yes; then :
23573 cat >>confdefs.h <<_ACEOF
23574 #define HAVE_ATAN2L 1
23582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
23583 $as_echo_n "checking for _atan2l declaration... " >&6; }
23584 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
23585 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
23586 $as_echo_n "(cached) " >&6
23591 ac_cpp='$CXXCPP $CPPFLAGS'
23592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23597 /* end confdefs.h. */
23607 if ac_fn_cxx_try_compile "$LINENO"; then :
23608 glibcxx_cv_func__atan2l_use=yes
23610 glibcxx_cv_func__atan2l_use=no
23612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23614 ac_cpp='$CPP $CPPFLAGS'
23615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
23624 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
23626 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
23627 for ac_func in _atan2l
23629 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
23630 if test "x$ac_cv_func__atan2l" = x""yes; then :
23631 cat >>confdefs.h <<_ACEOF
23632 #define HAVE__ATAN2L 1
23645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
23646 $as_echo_n "checking for expl declaration... " >&6; }
23647 if test x${glibcxx_cv_func_expl_use+set} != xset; then
23648 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
23649 $as_echo_n "(cached) " >&6
23654 ac_cpp='$CXXCPP $CPPFLAGS'
23655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23660 /* end confdefs.h. */
23662 #ifdef HAVE_IEEEFP_H
23663 #include <ieeefp.h>
23674 if ac_fn_cxx_try_compile "$LINENO"; then :
23675 glibcxx_cv_func_expl_use=yes
23677 glibcxx_cv_func_expl_use=no
23679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23681 ac_cpp='$CPP $CPPFLAGS'
23682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
23691 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
23693 if test x$glibcxx_cv_func_expl_use = x"yes"; then
23694 for ac_func in expl
23696 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
23697 if test "x$ac_cv_func_expl" = x""yes; then :
23698 cat >>confdefs.h <<_ACEOF
23699 #define HAVE_EXPL 1
23707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
23708 $as_echo_n "checking for _expl declaration... " >&6; }
23709 if test x${glibcxx_cv_func__expl_use+set} != xset; then
23710 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
23711 $as_echo_n "(cached) " >&6
23716 ac_cpp='$CXXCPP $CPPFLAGS'
23717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23722 /* end confdefs.h. */
23724 #ifdef HAVE_IEEEFP_H
23725 #include <ieeefp.h>
23736 if ac_fn_cxx_try_compile "$LINENO"; then :
23737 glibcxx_cv_func__expl_use=yes
23739 glibcxx_cv_func__expl_use=no
23741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23743 ac_cpp='$CPP $CPPFLAGS'
23744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
23753 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
23755 if test x$glibcxx_cv_func__expl_use = x"yes"; then
23756 for ac_func in _expl
23758 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
23759 if test "x$ac_cv_func__expl" = x""yes; then :
23760 cat >>confdefs.h <<_ACEOF
23761 #define HAVE__EXPL 1
23774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
23775 $as_echo_n "checking for fabsl declaration... " >&6; }
23776 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
23777 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
23778 $as_echo_n "(cached) " >&6
23783 ac_cpp='$CXXCPP $CPPFLAGS'
23784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23789 /* end confdefs.h. */
23791 #ifdef HAVE_IEEEFP_H
23792 #include <ieeefp.h>
23803 if ac_fn_cxx_try_compile "$LINENO"; then :
23804 glibcxx_cv_func_fabsl_use=yes
23806 glibcxx_cv_func_fabsl_use=no
23808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23810 ac_cpp='$CPP $CPPFLAGS'
23811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
23820 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
23822 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
23823 for ac_func in fabsl
23825 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
23826 if test "x$ac_cv_func_fabsl" = x""yes; then :
23827 cat >>confdefs.h <<_ACEOF
23828 #define HAVE_FABSL 1
23836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
23837 $as_echo_n "checking for _fabsl declaration... " >&6; }
23838 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
23839 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
23840 $as_echo_n "(cached) " >&6
23845 ac_cpp='$CXXCPP $CPPFLAGS'
23846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23851 /* end confdefs.h. */
23853 #ifdef HAVE_IEEEFP_H
23854 #include <ieeefp.h>
23865 if ac_fn_cxx_try_compile "$LINENO"; then :
23866 glibcxx_cv_func__fabsl_use=yes
23868 glibcxx_cv_func__fabsl_use=no
23870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23872 ac_cpp='$CPP $CPPFLAGS'
23873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
23882 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
23884 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
23885 for ac_func in _fabsl
23887 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
23888 if test "x$ac_cv_func__fabsl" = x""yes; then :
23889 cat >>confdefs.h <<_ACEOF
23890 #define HAVE__FABSL 1
23903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
23904 $as_echo_n "checking for fmodl declaration... " >&6; }
23905 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
23906 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
23907 $as_echo_n "(cached) " >&6
23912 ac_cpp='$CXXCPP $CPPFLAGS'
23913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23918 /* end confdefs.h. */
23928 if ac_fn_cxx_try_compile "$LINENO"; then :
23929 glibcxx_cv_func_fmodl_use=yes
23931 glibcxx_cv_func_fmodl_use=no
23933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23935 ac_cpp='$CPP $CPPFLAGS'
23936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
23945 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
23947 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
23948 for ac_func in fmodl
23950 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
23951 if test "x$ac_cv_func_fmodl" = x""yes; then :
23952 cat >>confdefs.h <<_ACEOF
23953 #define HAVE_FMODL 1
23961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
23962 $as_echo_n "checking for _fmodl declaration... " >&6; }
23963 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
23964 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
23965 $as_echo_n "(cached) " >&6
23970 ac_cpp='$CXXCPP $CPPFLAGS'
23971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23976 /* end confdefs.h. */
23986 if ac_fn_cxx_try_compile "$LINENO"; then :
23987 glibcxx_cv_func__fmodl_use=yes
23989 glibcxx_cv_func__fmodl_use=no
23991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23993 ac_cpp='$CPP $CPPFLAGS'
23994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24003 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24005 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24006 for ac_func in _fmodl
24008 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24009 if test "x$ac_cv_func__fmodl" = x""yes; then :
24010 cat >>confdefs.h <<_ACEOF
24011 #define HAVE__FMODL 1
24024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24025 $as_echo_n "checking for frexpl declaration... " >&6; }
24026 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24027 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24028 $as_echo_n "(cached) " >&6
24033 ac_cpp='$CXXCPP $CPPFLAGS'
24034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24039 /* end confdefs.h. */
24049 if ac_fn_cxx_try_compile "$LINENO"; then :
24050 glibcxx_cv_func_frexpl_use=yes
24052 glibcxx_cv_func_frexpl_use=no
24054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24056 ac_cpp='$CPP $CPPFLAGS'
24057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24066 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24068 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24069 for ac_func in frexpl
24071 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24072 if test "x$ac_cv_func_frexpl" = x""yes; then :
24073 cat >>confdefs.h <<_ACEOF
24074 #define HAVE_FREXPL 1
24082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24083 $as_echo_n "checking for _frexpl declaration... " >&6; }
24084 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24085 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24086 $as_echo_n "(cached) " >&6
24091 ac_cpp='$CXXCPP $CPPFLAGS'
24092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24097 /* end confdefs.h. */
24107 if ac_fn_cxx_try_compile "$LINENO"; then :
24108 glibcxx_cv_func__frexpl_use=yes
24110 glibcxx_cv_func__frexpl_use=no
24112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24114 ac_cpp='$CPP $CPPFLAGS'
24115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24124 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24126 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24127 for ac_func in _frexpl
24129 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24130 if test "x$ac_cv_func__frexpl" = x""yes; then :
24131 cat >>confdefs.h <<_ACEOF
24132 #define HAVE__FREXPL 1
24145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
24146 $as_echo_n "checking for hypotl declaration... " >&6; }
24147 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
24148 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
24149 $as_echo_n "(cached) " >&6
24154 ac_cpp='$CXXCPP $CPPFLAGS'
24155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24160 /* end confdefs.h. */
24170 if ac_fn_cxx_try_compile "$LINENO"; then :
24171 glibcxx_cv_func_hypotl_use=yes
24173 glibcxx_cv_func_hypotl_use=no
24175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24177 ac_cpp='$CPP $CPPFLAGS'
24178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
24187 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
24189 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
24190 for ac_func in hypotl
24192 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
24193 if test "x$ac_cv_func_hypotl" = x""yes; then :
24194 cat >>confdefs.h <<_ACEOF
24195 #define HAVE_HYPOTL 1
24203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
24204 $as_echo_n "checking for _hypotl declaration... " >&6; }
24205 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
24206 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
24207 $as_echo_n "(cached) " >&6
24212 ac_cpp='$CXXCPP $CPPFLAGS'
24213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24218 /* end confdefs.h. */
24228 if ac_fn_cxx_try_compile "$LINENO"; then :
24229 glibcxx_cv_func__hypotl_use=yes
24231 glibcxx_cv_func__hypotl_use=no
24233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24235 ac_cpp='$CPP $CPPFLAGS'
24236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
24245 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
24247 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
24248 for ac_func in _hypotl
24250 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
24251 if test "x$ac_cv_func__hypotl" = x""yes; then :
24252 cat >>confdefs.h <<_ACEOF
24253 #define HAVE__HYPOTL 1
24266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
24267 $as_echo_n "checking for ldexpl declaration... " >&6; }
24268 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
24269 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
24270 $as_echo_n "(cached) " >&6
24275 ac_cpp='$CXXCPP $CPPFLAGS'
24276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24281 /* end confdefs.h. */
24291 if ac_fn_cxx_try_compile "$LINENO"; then :
24292 glibcxx_cv_func_ldexpl_use=yes
24294 glibcxx_cv_func_ldexpl_use=no
24296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24298 ac_cpp='$CPP $CPPFLAGS'
24299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
24308 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
24310 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
24311 for ac_func in ldexpl
24313 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
24314 if test "x$ac_cv_func_ldexpl" = x""yes; then :
24315 cat >>confdefs.h <<_ACEOF
24316 #define HAVE_LDEXPL 1
24324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
24325 $as_echo_n "checking for _ldexpl declaration... " >&6; }
24326 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
24327 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
24328 $as_echo_n "(cached) " >&6
24333 ac_cpp='$CXXCPP $CPPFLAGS'
24334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24339 /* end confdefs.h. */
24349 if ac_fn_cxx_try_compile "$LINENO"; then :
24350 glibcxx_cv_func__ldexpl_use=yes
24352 glibcxx_cv_func__ldexpl_use=no
24354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24356 ac_cpp='$CPP $CPPFLAGS'
24357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
24366 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
24368 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
24369 for ac_func in _ldexpl
24371 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
24372 if test "x$ac_cv_func__ldexpl" = x""yes; then :
24373 cat >>confdefs.h <<_ACEOF
24374 #define HAVE__LDEXPL 1
24387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
24388 $as_echo_n "checking for logl declaration... " >&6; }
24389 if test x${glibcxx_cv_func_logl_use+set} != xset; then
24390 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
24391 $as_echo_n "(cached) " >&6
24396 ac_cpp='$CXXCPP $CPPFLAGS'
24397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24402 /* end confdefs.h. */
24404 #ifdef HAVE_IEEEFP_H
24405 #include <ieeefp.h>
24416 if ac_fn_cxx_try_compile "$LINENO"; then :
24417 glibcxx_cv_func_logl_use=yes
24419 glibcxx_cv_func_logl_use=no
24421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24423 ac_cpp='$CPP $CPPFLAGS'
24424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
24433 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
24435 if test x$glibcxx_cv_func_logl_use = x"yes"; then
24436 for ac_func in logl
24438 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
24439 if test "x$ac_cv_func_logl" = x""yes; then :
24440 cat >>confdefs.h <<_ACEOF
24441 #define HAVE_LOGL 1
24449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
24450 $as_echo_n "checking for _logl declaration... " >&6; }
24451 if test x${glibcxx_cv_func__logl_use+set} != xset; then
24452 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
24453 $as_echo_n "(cached) " >&6
24458 ac_cpp='$CXXCPP $CPPFLAGS'
24459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24464 /* end confdefs.h. */
24466 #ifdef HAVE_IEEEFP_H
24467 #include <ieeefp.h>
24478 if ac_fn_cxx_try_compile "$LINENO"; then :
24479 glibcxx_cv_func__logl_use=yes
24481 glibcxx_cv_func__logl_use=no
24483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24485 ac_cpp='$CPP $CPPFLAGS'
24486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
24495 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
24497 if test x$glibcxx_cv_func__logl_use = x"yes"; then
24498 for ac_func in _logl
24500 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
24501 if test "x$ac_cv_func__logl" = x""yes; then :
24502 cat >>confdefs.h <<_ACEOF
24503 #define HAVE__LOGL 1
24516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
24517 $as_echo_n "checking for log10l declaration... " >&6; }
24518 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
24519 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
24520 $as_echo_n "(cached) " >&6
24525 ac_cpp='$CXXCPP $CPPFLAGS'
24526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24531 /* end confdefs.h. */
24533 #ifdef HAVE_IEEEFP_H
24534 #include <ieeefp.h>
24545 if ac_fn_cxx_try_compile "$LINENO"; then :
24546 glibcxx_cv_func_log10l_use=yes
24548 glibcxx_cv_func_log10l_use=no
24550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24552 ac_cpp='$CPP $CPPFLAGS'
24553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
24562 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
24564 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
24565 for ac_func in log10l
24567 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
24568 if test "x$ac_cv_func_log10l" = x""yes; then :
24569 cat >>confdefs.h <<_ACEOF
24570 #define HAVE_LOG10L 1
24578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
24579 $as_echo_n "checking for _log10l declaration... " >&6; }
24580 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
24581 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
24582 $as_echo_n "(cached) " >&6
24587 ac_cpp='$CXXCPP $CPPFLAGS'
24588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24593 /* end confdefs.h. */
24595 #ifdef HAVE_IEEEFP_H
24596 #include <ieeefp.h>
24607 if ac_fn_cxx_try_compile "$LINENO"; then :
24608 glibcxx_cv_func__log10l_use=yes
24610 glibcxx_cv_func__log10l_use=no
24612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24614 ac_cpp='$CPP $CPPFLAGS'
24615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
24624 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
24626 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
24627 for ac_func in _log10l
24629 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
24630 if test "x$ac_cv_func__log10l" = x""yes; then :
24631 cat >>confdefs.h <<_ACEOF
24632 #define HAVE__LOG10L 1
24645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
24646 $as_echo_n "checking for modfl declaration... " >&6; }
24647 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
24648 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
24649 $as_echo_n "(cached) " >&6
24654 ac_cpp='$CXXCPP $CPPFLAGS'
24655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24660 /* end confdefs.h. */
24670 if ac_fn_cxx_try_compile "$LINENO"; then :
24671 glibcxx_cv_func_modfl_use=yes
24673 glibcxx_cv_func_modfl_use=no
24675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24677 ac_cpp='$CPP $CPPFLAGS'
24678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
24687 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
24689 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
24690 for ac_func in modfl
24692 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
24693 if test "x$ac_cv_func_modfl" = x""yes; then :
24694 cat >>confdefs.h <<_ACEOF
24695 #define HAVE_MODFL 1
24703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
24704 $as_echo_n "checking for _modfl declaration... " >&6; }
24705 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24706 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
24707 $as_echo_n "(cached) " >&6
24712 ac_cpp='$CXXCPP $CPPFLAGS'
24713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24718 /* end confdefs.h. */
24728 if ac_fn_cxx_try_compile "$LINENO"; then :
24729 glibcxx_cv_func__modfl_use=yes
24731 glibcxx_cv_func__modfl_use=no
24733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24735 ac_cpp='$CPP $CPPFLAGS'
24736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
24745 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
24747 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24748 for ac_func in _modfl
24750 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
24751 if test "x$ac_cv_func__modfl" = x""yes; then :
24752 cat >>confdefs.h <<_ACEOF
24753 #define HAVE__MODFL 1
24766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
24767 $as_echo_n "checking for powl declaration... " >&6; }
24768 if test x${glibcxx_cv_func_powl_use+set} != xset; then
24769 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
24770 $as_echo_n "(cached) " >&6
24775 ac_cpp='$CXXCPP $CPPFLAGS'
24776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24781 /* end confdefs.h. */
24791 if ac_fn_cxx_try_compile "$LINENO"; then :
24792 glibcxx_cv_func_powl_use=yes
24794 glibcxx_cv_func_powl_use=no
24796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24798 ac_cpp='$CPP $CPPFLAGS'
24799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
24808 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
24810 if test x$glibcxx_cv_func_powl_use = x"yes"; then
24811 for ac_func in powl
24813 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
24814 if test "x$ac_cv_func_powl" = x""yes; then :
24815 cat >>confdefs.h <<_ACEOF
24816 #define HAVE_POWL 1
24824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
24825 $as_echo_n "checking for _powl declaration... " >&6; }
24826 if test x${glibcxx_cv_func__powl_use+set} != xset; then
24827 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
24828 $as_echo_n "(cached) " >&6
24833 ac_cpp='$CXXCPP $CPPFLAGS'
24834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24839 /* end confdefs.h. */
24849 if ac_fn_cxx_try_compile "$LINENO"; then :
24850 glibcxx_cv_func__powl_use=yes
24852 glibcxx_cv_func__powl_use=no
24854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24856 ac_cpp='$CPP $CPPFLAGS'
24857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
24866 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
24868 if test x$glibcxx_cv_func__powl_use = x"yes"; then
24869 for ac_func in _powl
24871 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
24872 if test "x$ac_cv_func__powl" = x""yes; then :
24873 cat >>confdefs.h <<_ACEOF
24874 #define HAVE__POWL 1
24887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
24888 $as_echo_n "checking for sqrtl declaration... " >&6; }
24889 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24890 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
24891 $as_echo_n "(cached) " >&6
24896 ac_cpp='$CXXCPP $CPPFLAGS'
24897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24902 /* end confdefs.h. */
24904 #ifdef HAVE_IEEEFP_H
24905 #include <ieeefp.h>
24916 if ac_fn_cxx_try_compile "$LINENO"; then :
24917 glibcxx_cv_func_sqrtl_use=yes
24919 glibcxx_cv_func_sqrtl_use=no
24921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24923 ac_cpp='$CPP $CPPFLAGS'
24924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
24933 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
24935 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24936 for ac_func in sqrtl
24938 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
24939 if test "x$ac_cv_func_sqrtl" = x""yes; then :
24940 cat >>confdefs.h <<_ACEOF
24941 #define HAVE_SQRTL 1
24949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
24950 $as_echo_n "checking for _sqrtl declaration... " >&6; }
24951 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
24952 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
24953 $as_echo_n "(cached) " >&6
24958 ac_cpp='$CXXCPP $CPPFLAGS'
24959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24964 /* end confdefs.h. */
24966 #ifdef HAVE_IEEEFP_H
24967 #include <ieeefp.h>
24978 if ac_fn_cxx_try_compile "$LINENO"; then :
24979 glibcxx_cv_func__sqrtl_use=yes
24981 glibcxx_cv_func__sqrtl_use=no
24983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24985 ac_cpp='$CPP $CPPFLAGS'
24986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
24995 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
24997 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
24998 for ac_func in _sqrtl
25000 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25001 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25002 cat >>confdefs.h <<_ACEOF
25003 #define HAVE__SQRTL 1
25016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25017 $as_echo_n "checking for sincosl declaration... " >&6; }
25018 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25019 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25020 $as_echo_n "(cached) " >&6
25025 ac_cpp='$CXXCPP $CPPFLAGS'
25026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25031 /* end confdefs.h. */
25041 if ac_fn_cxx_try_compile "$LINENO"; then :
25042 glibcxx_cv_func_sincosl_use=yes
25044 glibcxx_cv_func_sincosl_use=no
25046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25048 ac_cpp='$CPP $CPPFLAGS'
25049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25058 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25060 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25061 for ac_func in sincosl
25063 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25064 if test "x$ac_cv_func_sincosl" = x""yes; then :
25065 cat >>confdefs.h <<_ACEOF
25066 #define HAVE_SINCOSL 1
25074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25075 $as_echo_n "checking for _sincosl declaration... " >&6; }
25076 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25077 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25078 $as_echo_n "(cached) " >&6
25083 ac_cpp='$CXXCPP $CPPFLAGS'
25084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25089 /* end confdefs.h. */
25099 if ac_fn_cxx_try_compile "$LINENO"; then :
25100 glibcxx_cv_func__sincosl_use=yes
25102 glibcxx_cv_func__sincosl_use=no
25104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25106 ac_cpp='$CPP $CPPFLAGS'
25107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
25116 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
25118 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25119 for ac_func in _sincosl
25121 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
25122 if test "x$ac_cv_func__sincosl" = x""yes; then :
25123 cat >>confdefs.h <<_ACEOF
25124 #define HAVE__SINCOSL 1
25137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25138 $as_echo_n "checking for finitel declaration... " >&6; }
25139 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25140 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
25141 $as_echo_n "(cached) " >&6
25146 ac_cpp='$CXXCPP $CPPFLAGS'
25147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25152 /* end confdefs.h. */
25154 #ifdef HAVE_IEEEFP_H
25155 #include <ieeefp.h>
25166 if ac_fn_cxx_try_compile "$LINENO"; then :
25167 glibcxx_cv_func_finitel_use=yes
25169 glibcxx_cv_func_finitel_use=no
25171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25173 ac_cpp='$CPP $CPPFLAGS'
25174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
25183 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
25185 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25186 for ac_func in finitel
25188 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
25189 if test "x$ac_cv_func_finitel" = x""yes; then :
25190 cat >>confdefs.h <<_ACEOF
25191 #define HAVE_FINITEL 1
25199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
25200 $as_echo_n "checking for _finitel declaration... " >&6; }
25201 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25202 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
25203 $as_echo_n "(cached) " >&6
25208 ac_cpp='$CXXCPP $CPPFLAGS'
25209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25214 /* end confdefs.h. */
25216 #ifdef HAVE_IEEEFP_H
25217 #include <ieeefp.h>
25228 if ac_fn_cxx_try_compile "$LINENO"; then :
25229 glibcxx_cv_func__finitel_use=yes
25231 glibcxx_cv_func__finitel_use=no
25233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25235 ac_cpp='$CPP $CPPFLAGS'
25236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
25245 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
25247 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25248 for ac_func in _finitel
25250 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
25251 if test "x$ac_cv_func__finitel" = x""yes; then :
25252 cat >>confdefs.h <<_ACEOF
25253 #define HAVE__FINITEL 1
25265 LIBS="$ac_save_LIBS"
25266 CXXFLAGS="$ac_save_CXXFLAGS"
25269 ac_test_CXXFLAGS="${CXXFLAGS+set}"
25270 ac_save_CXXFLAGS="$CXXFLAGS"
25271 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
25274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
25275 $as_echo_n "checking for strtold declaration... " >&6; }
25276 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
25277 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
25278 $as_echo_n "(cached) " >&6
25283 ac_cpp='$CXXCPP $CPPFLAGS'
25284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25289 /* end confdefs.h. */
25290 #include <stdlib.h>
25299 if ac_fn_cxx_try_compile "$LINENO"; then :
25300 glibcxx_cv_func_strtold_use=yes
25302 glibcxx_cv_func_strtold_use=no
25304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25306 ac_cpp='$CPP $CPPFLAGS'
25307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
25316 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
25317 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
25318 for ac_func in strtold
25320 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
25321 if test "x$ac_cv_func_strtold" = x""yes; then :
25322 cat >>confdefs.h <<_ACEOF
25323 #define HAVE_STRTOLD 1
25334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
25335 $as_echo_n "checking for strtof declaration... " >&6; }
25336 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
25337 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
25338 $as_echo_n "(cached) " >&6
25343 ac_cpp='$CXXCPP $CPPFLAGS'
25344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25349 /* end confdefs.h. */
25350 #include <stdlib.h>
25359 if ac_fn_cxx_try_compile "$LINENO"; then :
25360 glibcxx_cv_func_strtof_use=yes
25362 glibcxx_cv_func_strtof_use=no
25364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25366 ac_cpp='$CPP $CPPFLAGS'
25367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
25376 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
25377 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
25378 for ac_func in strtof
25380 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
25381 if test "x$ac_cv_func_strtof" = x""yes; then :
25382 cat >>confdefs.h <<_ACEOF
25383 #define HAVE_STRTOF 1
25394 CXXFLAGS="$ac_save_CXXFLAGS"
25397 # For /dev/random and /dev/urandom for TR1.
25400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
25401 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
25402 if test "${glibcxx_cv_random_tr1+set}" = set; then :
25403 $as_echo_n "(cached) " >&6
25406 if test -r /dev/random && test -r /dev/urandom; then
25407 glibcxx_cv_random_tr1=yes;
25409 glibcxx_cv_random_tr1=no;
25414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
25415 $as_echo "$glibcxx_cv_random_tr1" >&6; }
25417 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
25419 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
25428 # Check whether --enable-tls was given.
25429 if test "${enable_tls+set}" = set; then :
25430 enableval=$enable_tls;
25431 case "$enableval" in
25433 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
25441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
25442 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
25443 if test "${gcc_cv_have_tls+set}" = set; then :
25444 $as_echo_n "(cached) " >&6
25447 if test "$cross_compiling" = yes; then :
25448 if test x$gcc_no_link = xyes; then
25449 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25452 /* end confdefs.h. */
25453 __thread int a; int b; int main() { return a = b; }
25455 if ac_fn_c_try_link "$LINENO"; then :
25456 chktls_save_LDFLAGS="$LDFLAGS"
25459 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
25462 chktls_save_CFLAGS="$CFLAGS"
25463 CFLAGS="-fPIC $CFLAGS"
25464 if test x$gcc_no_link = xyes; then
25465 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25468 /* end confdefs.h. */
25469 int f() { return 0; }
25471 if ac_fn_c_try_link "$LINENO"; then :
25472 if test x$gcc_no_link = xyes; then
25473 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25476 /* end confdefs.h. */
25477 __thread int a; int b; int f() { return a = b; }
25479 if ac_fn_c_try_link "$LINENO"; then :
25480 gcc_cv_have_tls=yes
25484 rm -f core conftest.err conftest.$ac_objext \
25485 conftest$ac_exeext conftest.$ac_ext
25487 gcc_cv_have_tls=yes
25489 rm -f core conftest.err conftest.$ac_objext \
25490 conftest$ac_exeext conftest.$ac_ext
25491 CFLAGS="$chktls_save_CFLAGS"
25492 LDFLAGS="$chktls_save_LDFLAGS"
25496 rm -f core conftest.err conftest.$ac_objext \
25497 conftest$ac_exeext conftest.$ac_ext
25501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25502 /* end confdefs.h. */
25503 __thread int a; int b; int main() { return a = b; }
25505 if ac_fn_c_try_run "$LINENO"; then :
25506 chktls_save_LDFLAGS="$LDFLAGS"
25507 LDFLAGS="-static $LDFLAGS"
25508 if test x$gcc_no_link = xyes; then
25509 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25512 /* end confdefs.h. */
25513 int main() { return 0; }
25515 if ac_fn_c_try_link "$LINENO"; then :
25516 if test "$cross_compiling" = yes; then :
25517 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25518 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25519 as_fn_error "cannot run test program while cross compiling
25520 See \`config.log' for more details." "$LINENO" 5; }
25522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25523 /* end confdefs.h. */
25524 __thread int a; int b; int main() { return a = b; }
25526 if ac_fn_c_try_run "$LINENO"; then :
25527 gcc_cv_have_tls=yes
25531 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25532 conftest.$ac_objext conftest.beam conftest.$ac_ext
25536 gcc_cv_have_tls=yes
25538 rm -f core conftest.err conftest.$ac_objext \
25539 conftest$ac_exeext conftest.$ac_ext
25540 LDFLAGS="$chktls_save_LDFLAGS"
25541 if test $gcc_cv_have_tls = yes; then
25542 chktls_save_CFLAGS="$CFLAGS"
25543 thread_CFLAGS=failed
25544 for flag in '' '-pthread' '-lpthread'; do
25545 CFLAGS="$flag $chktls_save_CFLAGS"
25546 if test x$gcc_no_link = xyes; then
25547 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25550 /* end confdefs.h. */
25551 #include <pthread.h>
25552 void *g(void *d) { return NULL; }
25556 pthread_t t; pthread_create(&t,NULL,g,NULL);
25561 if ac_fn_c_try_link "$LINENO"; then :
25562 thread_CFLAGS="$flag"
25564 rm -f core conftest.err conftest.$ac_objext \
25565 conftest$ac_exeext conftest.$ac_ext
25566 if test "X$thread_CFLAGS" != Xfailed; then
25570 CFLAGS="$chktls_save_CFLAGS"
25571 if test "X$thread_CFLAGS" != Xfailed; then
25572 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
25573 if test "$cross_compiling" = yes; then :
25574 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25575 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25576 as_fn_error "cannot run test program while cross compiling
25577 See \`config.log' for more details." "$LINENO" 5; }
25579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25580 /* end confdefs.h. */
25581 #include <pthread.h>
25583 static int *a_in_other_thread;
25585 thread_func (void *arg)
25587 a_in_other_thread = &a;
25594 void *thread_retval;
25595 int *a_in_main_thread;
25596 if (pthread_create (&thread, (pthread_attr_t *)0,
25597 thread_func, (void *)0))
25599 a_in_main_thread = &a;
25600 if (pthread_join (thread, &thread_retval))
25602 return (a_in_other_thread == a_in_main_thread);
25607 if ac_fn_c_try_run "$LINENO"; then :
25608 gcc_cv_have_tls=yes
25612 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25613 conftest.$ac_objext conftest.beam conftest.$ac_ext
25616 CFLAGS="$chktls_save_CFLAGS"
25622 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25623 conftest.$ac_objext conftest.beam conftest.$ac_ext
25627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
25628 $as_echo "$gcc_cv_have_tls" >&6; }
25629 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
25631 $as_echo "#define HAVE_TLS 1" >>confdefs.h
25635 # For iconv support.
25637 if test "X$prefix" = "XNONE"; then
25638 acl_final_prefix="$ac_default_prefix"
25640 acl_final_prefix="$prefix"
25642 if test "X$exec_prefix" = "XNONE"; then
25643 acl_final_exec_prefix='${prefix}'
25645 acl_final_exec_prefix="$exec_prefix"
25647 acl_save_prefix="$prefix"
25648 prefix="$acl_final_prefix"
25649 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
25650 prefix="$acl_save_prefix"
25653 # Check whether --with-gnu-ld was given.
25654 if test "${with_gnu_ld+set}" = set; then :
25655 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
25660 # Prepare PATH_SEPARATOR.
25661 # The user is always right.
25662 if test "${PATH_SEPARATOR+set}" != set; then
25663 echo "#! /bin/sh" >conf$$.sh
25664 echo "exit 0" >>conf$$.sh
25666 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25674 if test "$GCC" = yes; then
25675 # Check if gcc -print-prog-name=ld gives a path.
25676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
25677 $as_echo_n "checking for ld used by GCC... " >&6; }
25680 # gcc leaves a trailing carriage return which upsets mingw
25681 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
25683 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
25686 # Accept absolute paths.
25687 [\\/]* | [A-Za-z]:[\\/]*)
25688 re_direlt='/[^/][^/]*/\.\./'
25689 # Canonicalize the path of ld
25690 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
25691 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
25692 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
25694 test -z "$LD" && LD="$ac_prog"
25697 # If it fails, then pretend we aren't using GCC.
25701 # If it is relative, then search for the first ld in PATH.
25702 with_gnu_ld=unknown
25705 elif test "$with_gnu_ld" = yes; then
25706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
25707 $as_echo_n "checking for GNU ld... " >&6; }
25709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
25710 $as_echo_n "checking for non-GNU ld... " >&6; }
25712 if test "${acl_cv_path_LD+set}" = set; then :
25713 $as_echo_n "(cached) " >&6
25715 if test -z "$LD"; then
25716 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
25717 for ac_dir in $PATH; do
25718 test -z "$ac_dir" && ac_dir=.
25719 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
25720 acl_cv_path_LD="$ac_dir/$ac_prog"
25721 # Check to see if the program is GNU ld. I'd rather use --version,
25722 # but apparently some GNU ld's only accept -v.
25723 # Break only if it was the GNU/non-GNU ld that we prefer.
25724 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
25725 test "$with_gnu_ld" != no && break
25727 test "$with_gnu_ld" != yes && break
25733 acl_cv_path_LD="$LD" # Let the user override the test with a path.
25737 LD="$acl_cv_path_LD"
25738 if test -n "$LD"; then
25739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
25740 $as_echo "$LD" >&6; }
25742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25743 $as_echo "no" >&6; }
25745 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
25746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
25747 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
25748 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
25749 $as_echo_n "(cached) " >&6
25751 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
25752 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
25753 acl_cv_prog_gnu_ld=yes
25755 acl_cv_prog_gnu_ld=no
25758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
25759 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
25760 with_gnu_ld=$acl_cv_prog_gnu_ld
25764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
25765 $as_echo_n "checking for shared library run path origin... " >&6; }
25766 if test "${acl_cv_rpath+set}" = set; then :
25767 $as_echo_n "(cached) " >&6
25770 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
25771 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
25773 rm -f ./conftest.sh
25777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
25778 $as_echo "$acl_cv_rpath" >&6; }
25780 libext="$acl_cv_libext"
25781 shlibext="$acl_cv_shlibext"
25782 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
25783 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
25784 hardcode_direct="$acl_cv_hardcode_direct"
25785 hardcode_minus_L="$acl_cv_hardcode_minus_L"
25786 # Check whether --enable-rpath was given.
25787 if test "${enable_rpath+set}" = set; then :
25788 enableval=$enable_rpath; :
25802 acl_save_prefix="$prefix"
25803 prefix="$acl_final_prefix"
25804 acl_save_exec_prefix="$exec_prefix"
25805 exec_prefix="$acl_final_exec_prefix"
25807 eval additional_includedir=\"$includedir\"
25808 eval additional_libdir=\"$libdir\"
25810 exec_prefix="$acl_save_exec_prefix"
25811 prefix="$acl_save_prefix"
25814 # Check whether --with-libiconv-prefix was given.
25815 if test "${with_libiconv_prefix+set}" = set; then :
25816 withval=$with_libiconv_prefix;
25817 if test "X$withval" = "Xno"; then
25820 if test "X$withval" = "X"; then
25822 acl_save_prefix="$prefix"
25823 prefix="$acl_final_prefix"
25824 acl_save_exec_prefix="$exec_prefix"
25825 exec_prefix="$acl_final_exec_prefix"
25827 eval additional_includedir=\"$includedir\"
25828 eval additional_libdir=\"$libdir\"
25830 exec_prefix="$acl_save_exec_prefix"
25831 prefix="$acl_save_prefix"
25834 additional_includedir="$withval/include"
25835 additional_libdir="$withval/lib"
25846 names_already_handled=
25847 names_next_round='iconv '
25848 while test -n "$names_next_round"; do
25849 names_this_round="$names_next_round"
25851 for name in $names_this_round; do
25853 for n in $names_already_handled; do
25854 if test "$n" = "$name"; then
25855 already_handled=yes
25859 if test -z "$already_handled"; then
25860 names_already_handled="$names_already_handled $name"
25861 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
25862 eval value=\"\$HAVE_LIB$uppername\"
25863 if test -n "$value"; then
25864 if test "$value" = yes; then
25865 eval value=\"\$LIB$uppername\"
25866 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
25867 eval value=\"\$LTLIB$uppername\"
25868 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
25877 if test $use_additional = yes; then
25878 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
25879 found_dir="$additional_libdir"
25880 found_so="$additional_libdir/lib$name.$shlibext"
25881 if test -f "$additional_libdir/lib$name.la"; then
25882 found_la="$additional_libdir/lib$name.la"
25885 if test -f "$additional_libdir/lib$name.$libext"; then
25886 found_dir="$additional_libdir"
25887 found_a="$additional_libdir/lib$name.$libext"
25888 if test -f "$additional_libdir/lib$name.la"; then
25889 found_la="$additional_libdir/lib$name.la"
25894 if test "X$found_dir" = "X"; then
25895 for x in $LDFLAGS $LTLIBICONV; do
25897 acl_save_prefix="$prefix"
25898 prefix="$acl_final_prefix"
25899 acl_save_exec_prefix="$exec_prefix"
25900 exec_prefix="$acl_final_exec_prefix"
25902 exec_prefix="$acl_save_exec_prefix"
25903 prefix="$acl_save_prefix"
25907 dir=`echo "X$x" | sed -e 's/^X-L//'`
25908 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
25910 found_so="$dir/lib$name.$shlibext"
25911 if test -f "$dir/lib$name.la"; then
25912 found_la="$dir/lib$name.la"
25915 if test -f "$dir/lib$name.$libext"; then
25917 found_a="$dir/lib$name.$libext"
25918 if test -f "$dir/lib$name.la"; then
25919 found_la="$dir/lib$name.la"
25925 if test "X$found_dir" != "X"; then
25930 if test "X$found_dir" != "X"; then
25931 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
25932 if test "X$found_so" != "X"; then
25933 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
25934 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25937 for x in $ltrpathdirs; do
25938 if test "X$x" = "X$found_dir"; then
25943 if test -z "$haveit"; then
25944 ltrpathdirs="$ltrpathdirs $found_dir"
25946 if test "$hardcode_direct" = yes; then
25947 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25949 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
25950 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25952 for x in $rpathdirs; do
25953 if test "X$x" = "X$found_dir"; then
25958 if test -z "$haveit"; then
25959 rpathdirs="$rpathdirs $found_dir"
25963 for x in $LDFLAGS $LIBICONV; do
25965 acl_save_prefix="$prefix"
25966 prefix="$acl_final_prefix"
25967 acl_save_exec_prefix="$exec_prefix"
25968 exec_prefix="$acl_final_exec_prefix"
25970 exec_prefix="$acl_save_exec_prefix"
25971 prefix="$acl_save_prefix"
25973 if test "X$x" = "X-L$found_dir"; then
25978 if test -z "$haveit"; then
25979 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
25981 if test "$hardcode_minus_L" != no; then
25982 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25984 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
25990 if test "X$found_a" != "X"; then
25991 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
25993 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
25996 additional_includedir=
25997 case "$found_dir" in
25999 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26000 additional_includedir="$basedir/include"
26003 if test "X$additional_includedir" != "X"; then
26004 if test "X$additional_includedir" != "X/usr/include"; then
26006 if test "X$additional_includedir" = "X/usr/local/include"; then
26007 if test -n "$GCC"; then
26009 linux*) haveit=yes;;
26013 if test -z "$haveit"; then
26014 for x in $CPPFLAGS $INCICONV; do
26016 acl_save_prefix="$prefix"
26017 prefix="$acl_final_prefix"
26018 acl_save_exec_prefix="$exec_prefix"
26019 exec_prefix="$acl_final_exec_prefix"
26021 exec_prefix="$acl_save_exec_prefix"
26022 prefix="$acl_save_prefix"
26024 if test "X$x" = "X-I$additional_includedir"; then
26029 if test -z "$haveit"; then
26030 if test -d "$additional_includedir"; then
26031 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26037 if test -n "$found_la"; then
26038 save_libdir="$libdir"
26039 case "$found_la" in
26040 */* | *\\*) . "$found_la" ;;
26041 *) . "./$found_la" ;;
26043 libdir="$save_libdir"
26044 for dep in $dependency_libs; do
26047 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26048 if test "X$additional_libdir" != "X/usr/lib"; then
26050 if test "X$additional_libdir" = "X/usr/local/lib"; then
26051 if test -n "$GCC"; then
26053 linux*) haveit=yes;;
26057 if test -z "$haveit"; then
26059 for x in $LDFLAGS $LIBICONV; do
26061 acl_save_prefix="$prefix"
26062 prefix="$acl_final_prefix"
26063 acl_save_exec_prefix="$exec_prefix"
26064 exec_prefix="$acl_final_exec_prefix"
26066 exec_prefix="$acl_save_exec_prefix"
26067 prefix="$acl_save_prefix"
26069 if test "X$x" = "X-L$additional_libdir"; then
26074 if test -z "$haveit"; then
26075 if test -d "$additional_libdir"; then
26076 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26080 for x in $LDFLAGS $LTLIBICONV; do
26082 acl_save_prefix="$prefix"
26083 prefix="$acl_final_prefix"
26084 acl_save_exec_prefix="$exec_prefix"
26085 exec_prefix="$acl_final_exec_prefix"
26087 exec_prefix="$acl_save_exec_prefix"
26088 prefix="$acl_save_prefix"
26090 if test "X$x" = "X-L$additional_libdir"; then
26095 if test -z "$haveit"; then
26096 if test -d "$additional_libdir"; then
26097 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26104 dir=`echo "X$dep" | sed -e 's/^X-R//'`
26105 if test "$enable_rpath" != no; then
26107 for x in $rpathdirs; do
26108 if test "X$x" = "X$dir"; then
26113 if test -z "$haveit"; then
26114 rpathdirs="$rpathdirs $dir"
26117 for x in $ltrpathdirs; do
26118 if test "X$x" = "X$dir"; then
26123 if test -z "$haveit"; then
26124 ltrpathdirs="$ltrpathdirs $dir"
26129 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26132 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26135 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
26136 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26142 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26143 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26149 if test "X$rpathdirs" != "X"; then
26150 if test -n "$hardcode_libdir_separator"; then
26152 for found_dir in $rpathdirs; do
26153 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
26155 acl_save_libdir="$libdir"
26157 eval flag=\"$hardcode_libdir_flag_spec\"
26158 libdir="$acl_save_libdir"
26159 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26161 for found_dir in $rpathdirs; do
26162 acl_save_libdir="$libdir"
26163 libdir="$found_dir"
26164 eval flag=\"$hardcode_libdir_flag_spec\"
26165 libdir="$acl_save_libdir"
26166 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26170 if test "X$ltrpathdirs" != "X"; then
26171 for found_dir in $ltrpathdirs; do
26172 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
26182 am_save_CPPFLAGS="$CPPFLAGS"
26184 for element in $INCICONV; do
26186 for x in $CPPFLAGS; do
26188 acl_save_prefix="$prefix"
26189 prefix="$acl_final_prefix"
26190 acl_save_exec_prefix="$exec_prefix"
26191 exec_prefix="$acl_final_exec_prefix"
26193 exec_prefix="$acl_save_exec_prefix"
26194 prefix="$acl_save_prefix"
26196 if test "X$x" = "X$element"; then
26201 if test -z "$haveit"; then
26202 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
26207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
26208 $as_echo_n "checking for iconv... " >&6; }
26209 if test "${am_cv_func_iconv+set}" = set; then :
26210 $as_echo_n "(cached) " >&6
26213 am_cv_func_iconv="no, consider installing GNU libiconv"
26215 if test x$gcc_no_link = xyes; then
26216 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26219 /* end confdefs.h. */
26220 #include <stdlib.h>
26225 iconv_t cd = iconv_open("","");
26226 iconv(cd,NULL,NULL,NULL,NULL);
26232 if ac_fn_c_try_link "$LINENO"; then :
26233 am_cv_func_iconv=yes
26235 rm -f core conftest.err conftest.$ac_objext \
26236 conftest$ac_exeext conftest.$ac_ext
26237 if test "$am_cv_func_iconv" != yes; then
26238 am_save_LIBS="$LIBS"
26239 LIBS="$LIBS $LIBICONV"
26240 if test x$gcc_no_link = xyes; then
26241 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26244 /* end confdefs.h. */
26245 #include <stdlib.h>
26250 iconv_t cd = iconv_open("","");
26251 iconv(cd,NULL,NULL,NULL,NULL);
26257 if ac_fn_c_try_link "$LINENO"; then :
26258 am_cv_lib_iconv=yes
26259 am_cv_func_iconv=yes
26261 rm -f core conftest.err conftest.$ac_objext \
26262 conftest$ac_exeext conftest.$ac_ext
26263 LIBS="$am_save_LIBS"
26267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
26268 $as_echo "$am_cv_func_iconv" >&6; }
26269 if test "$am_cv_func_iconv" = yes; then
26271 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26274 if test "$am_cv_lib_iconv" = yes; then
26275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
26276 $as_echo_n "checking how to link with libiconv... " >&6; }
26277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
26278 $as_echo "$LIBICONV" >&6; }
26280 CPPFLAGS="$am_save_CPPFLAGS"
26287 if test "$am_cv_func_iconv" = yes; then
26288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
26289 $as_echo_n "checking for iconv declaration... " >&6; }
26290 if test "${am_cv_proto_iconv+set}" = set; then :
26291 $as_echo_n "(cached) " >&6
26294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26295 /* end confdefs.h. */
26297 #include <stdlib.h>
26303 #if defined(__STDC__) || defined(__cplusplus)
26304 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26317 if ac_fn_c_try_compile "$LINENO"; then :
26318 am_cv_proto_iconv_arg1=""
26320 am_cv_proto_iconv_arg1="const"
26322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26323 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);"
26326 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
26327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
26328 }$am_cv_proto_iconv" >&5
26330 }$am_cv_proto_iconv" >&6; }
26332 cat >>confdefs.h <<_ACEOF
26333 #define ICONV_CONST $am_cv_proto_iconv_arg1
26341 # This lets us hard-code the functionality we know we'll have in the cross
26342 # target environment. "Let" is a sugar-coated word placed on an especially
26343 # dull and tedious hack, actually.
26345 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
26346 # that involve linking, can't be used:
26347 # "cannot open sim-crt0.o"
26348 # "cannot open crt0.o"
26349 # etc. All this is because there currently exists no unified, consistent
26350 # way for top level CC information to be passed down to target directories:
26351 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
26352 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
26353 # crosses can be removed.
26355 # If Canadian cross, then don't pick up tools from the build directory.
26356 # Used only in GLIBCXX_EXPORT_INCLUDES.
26357 if test -n "$with_cross_host" &&
26358 test x"$build_alias" != x"$with_cross_host" &&
26359 test x"$build" != x"$target";
26366 # Construct crosses by hand, eliminating bits that need ld...
26367 # GLIBCXX_CHECK_MATH_SUPPORT
26369 # First, test for "known" system libraries. We may be using newlib even
26370 # on a hosted environment.
26371 if test "x${with_newlib}" = "xyes"; then
26372 os_include_dir="os/newlib"
26373 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
26376 # GLIBCXX_CHECK_STDLIB_SUPPORT
26377 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
26380 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
26382 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
26384 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
26386 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
26388 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
26390 $as_echo "#define HAVE_COSF 1" >>confdefs.h
26392 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
26394 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
26396 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
26398 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
26400 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
26402 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
26404 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
26406 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
26408 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
26410 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
26412 $as_echo "#define HAVE_POWF 1" >>confdefs.h
26414 $as_echo "#define HAVE_SINF 1" >>confdefs.h
26416 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
26418 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
26420 $as_echo "#define HAVE_TANF 1" >>confdefs.h
26422 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
26425 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26429 # Base decisions on target environment.
26431 arm*-*-symbianelf*)
26432 # This is a freestanding configuration; there is nothing to do here.
26436 # These definitions are for the SDE C library rather than newlib.
26437 SECTION_FLAGS='-ffunction-sections -fdata-sections'
26440 # All these tests are for C++; save the language and the compiler flags.
26441 # The CXXFLAGS thing is suspicious, but based on similar bits previously
26442 # found in GLIBCXX_CONFIGURE.
26445 ac_cpp='$CXXCPP $CPPFLAGS'
26446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26450 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26451 ac_save_CXXFLAGS="$CXXFLAGS"
26453 # Check for maintainer-mode bits.
26454 if test x"$USE_MAINTAINER_MODE" = xno; then
26460 # Check for -ffunction-sections -fdata-sections
26461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
26462 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
26463 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
26464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26465 /* end confdefs.h. */
26466 int foo; void bar() { };
26475 if ac_fn_cxx_try_compile "$LINENO"; then :
26480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26481 if test "$ac_test_CXXFLAGS" = set; then
26482 CXXFLAGS="$ac_save_CXXFLAGS"
26484 # this is the suspicious part
26487 if test x"$ac_fdsections" = x"yes"; then
26488 SECTION_FLAGS='-ffunction-sections -fdata-sections'
26490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
26491 $as_echo "$ac_fdsections" >&6; }
26494 ac_cpp='$CPP $CPPFLAGS'
26495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26503 # If we're not using GNU ld, then there's no point in even trying these
26504 # tests. Check for that first. We should have already tested for gld
26505 # by now (in libtool), but require it now just to be safe...
26506 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
26507 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
26511 # The name set by libtool depends on the version of libtool. Shame on us
26512 # for depending on an impl detail, but c'est la vie. Older versions used
26513 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
26514 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
26515 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
26516 # set (hence we're using an older libtool), then set it.
26517 if test x${with_gnu_ld+set} != xset; then
26518 if test x${ac_cv_prog_gnu_ld+set} != xset; then
26519 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
26522 with_gnu_ld=$ac_cv_prog_gnu_ld
26526 # Start by getting the version number. I think the libtool test already
26527 # does some of this, but throws away the result.
26528 glibcxx_ld_is_gold=no
26529 if test x"$with_gnu_ld" = x"yes"; then
26530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
26531 $as_echo_n "checking for ld version... " >&6; }
26533 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
26534 glibcxx_ld_is_gold=yes
26536 ldver=`$LD --version 2>/dev/null |
26537 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'`
26539 glibcxx_gnu_ld_version=`echo $ldver | \
26540 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
26541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
26542 $as_echo "$glibcxx_gnu_ld_version" >&6; }
26545 # Set --gc-sections.
26546 glibcxx_have_gc_sections=no
26547 if test "$glibcxx_ld_is_gold" = "yes"; then
26548 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
26549 glibcxx_have_gc_sections=yes
26552 glibcxx_gcsections_min_ld=21602
26553 if test x"$with_gnu_ld" = x"yes" &&
26554 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
26555 glibcxx_have_gc_sections=yes
26558 if test "$glibcxx_have_gc_sections" = "yes"; then
26559 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
26560 # NB: This flag only works reliably after 2.16.1. Configure tests
26561 # for this are difficult, so hard wire a value that should work.
26563 ac_test_CFLAGS="${CFLAGS+set}"
26564 ac_save_CFLAGS="$CFLAGS"
26565 CFLAGS='-Wl,--gc-sections'
26567 # Check for -Wl,--gc-sections
26568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
26569 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
26570 if test x$gcc_no_link = xyes; then
26571 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26574 /* end confdefs.h. */
26575 int one(void) { return 1; }
26576 int two(void) { return 2; }
26586 if ac_fn_c_try_link "$LINENO"; then :
26591 rm -f core conftest.err conftest.$ac_objext \
26592 conftest$ac_exeext conftest.$ac_ext
26593 if test "$ac_gcsections" = "yes"; then
26596 if $CC -c conftest.c; then
26597 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
26598 grep "Warning: gc-sections option ignored" > /dev/null; then
26602 rm -f conftest.c conftest.o conftest
26604 if test "$ac_gcsections" = "yes"; then
26605 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
26607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
26608 $as_echo "$ac_gcsections" >&6; }
26610 if test "$ac_test_CFLAGS" = set; then
26611 CFLAGS="$ac_save_CFLAGS"
26613 # this is the suspicious part
26619 # Note this is only for shared objects.
26621 if test x"$with_gnu_ld" = x"yes"; then
26622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
26623 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
26624 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
26625 if test -n "$cxx_z_relo"; then
26626 OPT_LDFLAGS="-Wl,-z,relro"
26629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
26630 $as_echo "$ac_ld_relro" >&6; }
26633 # Set linker optimization flags.
26634 if test x"$with_gnu_ld" = x"yes"; then
26635 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
26642 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26643 ac_save_CXXFLAGS="$CXXFLAGS"
26644 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
26647 $as_echo_n "checking for sin in -lm... " >&6; }
26648 if test "${ac_cv_lib_m_sin+set}" = set; then :
26649 $as_echo_n "(cached) " >&6
26651 ac_check_lib_save_LIBS=$LIBS
26653 if test x$gcc_no_link = xyes; then
26654 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26657 /* end confdefs.h. */
26659 /* Override any GCC internal prototype to avoid an error.
26660 Use char because int might match the return type of a GCC
26661 builtin and then its argument prototype would still apply. */
26674 if ac_fn_c_try_link "$LINENO"; then :
26675 ac_cv_lib_m_sin=yes
26679 rm -f core conftest.err conftest.$ac_objext \
26680 conftest$ac_exeext conftest.$ac_ext
26681 LIBS=$ac_check_lib_save_LIBS
26683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
26684 $as_echo "$ac_cv_lib_m_sin" >&6; }
26685 if test "x$ac_cv_lib_m_sin" = x""yes; then :
26689 ac_save_LIBS="$LIBS"
26694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
26695 $as_echo_n "checking for isinf declaration... " >&6; }
26696 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
26697 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
26698 $as_echo_n "(cached) " >&6
26703 ac_cpp='$CXXCPP $CPPFLAGS'
26704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26709 /* end confdefs.h. */
26711 #ifdef HAVE_IEEEFP_H
26712 #include <ieeefp.h>
26723 if ac_fn_cxx_try_compile "$LINENO"; then :
26724 glibcxx_cv_func_isinf_use=yes
26726 glibcxx_cv_func_isinf_use=no
26728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26730 ac_cpp='$CPP $CPPFLAGS'
26731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
26740 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
26742 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
26743 for ac_func in isinf
26745 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
26746 if test "x$ac_cv_func_isinf" = x""yes; then :
26747 cat >>confdefs.h <<_ACEOF
26748 #define HAVE_ISINF 1
26756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
26757 $as_echo_n "checking for _isinf declaration... " >&6; }
26758 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
26759 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
26760 $as_echo_n "(cached) " >&6
26765 ac_cpp='$CXXCPP $CPPFLAGS'
26766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26771 /* end confdefs.h. */
26773 #ifdef HAVE_IEEEFP_H
26774 #include <ieeefp.h>
26785 if ac_fn_cxx_try_compile "$LINENO"; then :
26786 glibcxx_cv_func__isinf_use=yes
26788 glibcxx_cv_func__isinf_use=no
26790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26792 ac_cpp='$CPP $CPPFLAGS'
26793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
26802 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
26804 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
26805 for ac_func in _isinf
26807 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
26808 if test "x$ac_cv_func__isinf" = x""yes; then :
26809 cat >>confdefs.h <<_ACEOF
26810 #define HAVE__ISINF 1
26823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
26824 $as_echo_n "checking for isnan declaration... " >&6; }
26825 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
26826 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
26827 $as_echo_n "(cached) " >&6
26832 ac_cpp='$CXXCPP $CPPFLAGS'
26833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26838 /* end confdefs.h. */
26840 #ifdef HAVE_IEEEFP_H
26841 #include <ieeefp.h>
26852 if ac_fn_cxx_try_compile "$LINENO"; then :
26853 glibcxx_cv_func_isnan_use=yes
26855 glibcxx_cv_func_isnan_use=no
26857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26859 ac_cpp='$CPP $CPPFLAGS'
26860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
26869 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
26871 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
26872 for ac_func in isnan
26874 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
26875 if test "x$ac_cv_func_isnan" = x""yes; then :
26876 cat >>confdefs.h <<_ACEOF
26877 #define HAVE_ISNAN 1
26885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
26886 $as_echo_n "checking for _isnan declaration... " >&6; }
26887 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
26888 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
26889 $as_echo_n "(cached) " >&6
26894 ac_cpp='$CXXCPP $CPPFLAGS'
26895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26900 /* end confdefs.h. */
26902 #ifdef HAVE_IEEEFP_H
26903 #include <ieeefp.h>
26914 if ac_fn_cxx_try_compile "$LINENO"; then :
26915 glibcxx_cv_func__isnan_use=yes
26917 glibcxx_cv_func__isnan_use=no
26919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26921 ac_cpp='$CPP $CPPFLAGS'
26922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
26931 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
26933 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
26934 for ac_func in _isnan
26936 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
26937 if test "x$ac_cv_func__isnan" = x""yes; then :
26938 cat >>confdefs.h <<_ACEOF
26939 #define HAVE__ISNAN 1
26952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
26953 $as_echo_n "checking for finite declaration... " >&6; }
26954 if test x${glibcxx_cv_func_finite_use+set} != xset; then
26955 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
26956 $as_echo_n "(cached) " >&6
26961 ac_cpp='$CXXCPP $CPPFLAGS'
26962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26967 /* end confdefs.h. */
26969 #ifdef HAVE_IEEEFP_H
26970 #include <ieeefp.h>
26981 if ac_fn_cxx_try_compile "$LINENO"; then :
26982 glibcxx_cv_func_finite_use=yes
26984 glibcxx_cv_func_finite_use=no
26986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26988 ac_cpp='$CPP $CPPFLAGS'
26989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
26998 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27000 if test x$glibcxx_cv_func_finite_use = x"yes"; then
27001 for ac_func in finite
27003 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27004 if test "x$ac_cv_func_finite" = x""yes; then :
27005 cat >>confdefs.h <<_ACEOF
27006 #define HAVE_FINITE 1
27014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27015 $as_echo_n "checking for _finite declaration... " >&6; }
27016 if test x${glibcxx_cv_func__finite_use+set} != xset; then
27017 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27018 $as_echo_n "(cached) " >&6
27023 ac_cpp='$CXXCPP $CPPFLAGS'
27024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27029 /* end confdefs.h. */
27031 #ifdef HAVE_IEEEFP_H
27032 #include <ieeefp.h>
27043 if ac_fn_cxx_try_compile "$LINENO"; then :
27044 glibcxx_cv_func__finite_use=yes
27046 glibcxx_cv_func__finite_use=no
27048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27050 ac_cpp='$CPP $CPPFLAGS'
27051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27060 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27062 if test x$glibcxx_cv_func__finite_use = x"yes"; then
27063 for ac_func in _finite
27065 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27066 if test "x$ac_cv_func__finite" = x""yes; then :
27067 cat >>confdefs.h <<_ACEOF
27068 #define HAVE__FINITE 1
27081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27082 $as_echo_n "checking for sincos declaration... " >&6; }
27083 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27084 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27085 $as_echo_n "(cached) " >&6
27090 ac_cpp='$CXXCPP $CPPFLAGS'
27091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27096 /* end confdefs.h. */
27106 if ac_fn_cxx_try_compile "$LINENO"; then :
27107 glibcxx_cv_func_sincos_use=yes
27109 glibcxx_cv_func_sincos_use=no
27111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27113 ac_cpp='$CPP $CPPFLAGS'
27114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
27123 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27125 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27126 for ac_func in sincos
27128 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27129 if test "x$ac_cv_func_sincos" = x""yes; then :
27130 cat >>confdefs.h <<_ACEOF
27131 #define HAVE_SINCOS 1
27139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
27140 $as_echo_n "checking for _sincos declaration... " >&6; }
27141 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
27142 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
27143 $as_echo_n "(cached) " >&6
27148 ac_cpp='$CXXCPP $CPPFLAGS'
27149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27154 /* end confdefs.h. */
27164 if ac_fn_cxx_try_compile "$LINENO"; then :
27165 glibcxx_cv_func__sincos_use=yes
27167 glibcxx_cv_func__sincos_use=no
27169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27171 ac_cpp='$CPP $CPPFLAGS'
27172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
27181 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
27183 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
27184 for ac_func in _sincos
27186 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
27187 if test "x$ac_cv_func__sincos" = x""yes; then :
27188 cat >>confdefs.h <<_ACEOF
27189 #define HAVE__SINCOS 1
27202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
27203 $as_echo_n "checking for fpclass declaration... " >&6; }
27204 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
27205 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
27206 $as_echo_n "(cached) " >&6
27211 ac_cpp='$CXXCPP $CPPFLAGS'
27212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27217 /* end confdefs.h. */
27219 #ifdef HAVE_IEEEFP_H
27220 #include <ieeefp.h>
27231 if ac_fn_cxx_try_compile "$LINENO"; then :
27232 glibcxx_cv_func_fpclass_use=yes
27234 glibcxx_cv_func_fpclass_use=no
27236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27238 ac_cpp='$CPP $CPPFLAGS'
27239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
27248 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
27250 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
27251 for ac_func in fpclass
27253 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
27254 if test "x$ac_cv_func_fpclass" = x""yes; then :
27255 cat >>confdefs.h <<_ACEOF
27256 #define HAVE_FPCLASS 1
27264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
27265 $as_echo_n "checking for _fpclass declaration... " >&6; }
27266 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
27267 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
27268 $as_echo_n "(cached) " >&6
27273 ac_cpp='$CXXCPP $CPPFLAGS'
27274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27279 /* end confdefs.h. */
27281 #ifdef HAVE_IEEEFP_H
27282 #include <ieeefp.h>
27293 if ac_fn_cxx_try_compile "$LINENO"; then :
27294 glibcxx_cv_func__fpclass_use=yes
27296 glibcxx_cv_func__fpclass_use=no
27298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27300 ac_cpp='$CPP $CPPFLAGS'
27301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
27310 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
27312 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
27313 for ac_func in _fpclass
27315 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
27316 if test "x$ac_cv_func__fpclass" = x""yes; then :
27317 cat >>confdefs.h <<_ACEOF
27318 #define HAVE__FPCLASS 1
27331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
27332 $as_echo_n "checking for qfpclass declaration... " >&6; }
27333 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
27334 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
27335 $as_echo_n "(cached) " >&6
27340 ac_cpp='$CXXCPP $CPPFLAGS'
27341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27346 /* end confdefs.h. */
27348 #ifdef HAVE_IEEEFP_H
27349 #include <ieeefp.h>
27360 if ac_fn_cxx_try_compile "$LINENO"; then :
27361 glibcxx_cv_func_qfpclass_use=yes
27363 glibcxx_cv_func_qfpclass_use=no
27365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27367 ac_cpp='$CPP $CPPFLAGS'
27368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
27377 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
27379 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
27380 for ac_func in qfpclass
27382 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
27383 if test "x$ac_cv_func_qfpclass" = x""yes; then :
27384 cat >>confdefs.h <<_ACEOF
27385 #define HAVE_QFPCLASS 1
27393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
27394 $as_echo_n "checking for _qfpclass declaration... " >&6; }
27395 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
27396 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
27397 $as_echo_n "(cached) " >&6
27402 ac_cpp='$CXXCPP $CPPFLAGS'
27403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27408 /* end confdefs.h. */
27410 #ifdef HAVE_IEEEFP_H
27411 #include <ieeefp.h>
27422 if ac_fn_cxx_try_compile "$LINENO"; then :
27423 glibcxx_cv_func__qfpclass_use=yes
27425 glibcxx_cv_func__qfpclass_use=no
27427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27429 ac_cpp='$CPP $CPPFLAGS'
27430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
27439 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
27441 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
27442 for ac_func in _qfpclass
27444 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
27445 if test "x$ac_cv_func__qfpclass" = x""yes; then :
27446 cat >>confdefs.h <<_ACEOF
27447 #define HAVE__QFPCLASS 1
27460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
27461 $as_echo_n "checking for hypot declaration... " >&6; }
27462 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
27463 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
27464 $as_echo_n "(cached) " >&6
27469 ac_cpp='$CXXCPP $CPPFLAGS'
27470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27475 /* end confdefs.h. */
27485 if ac_fn_cxx_try_compile "$LINENO"; then :
27486 glibcxx_cv_func_hypot_use=yes
27488 glibcxx_cv_func_hypot_use=no
27490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27492 ac_cpp='$CPP $CPPFLAGS'
27493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
27502 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
27504 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
27505 for ac_func in hypot
27507 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
27508 if test "x$ac_cv_func_hypot" = x""yes; then :
27509 cat >>confdefs.h <<_ACEOF
27510 #define HAVE_HYPOT 1
27518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
27519 $as_echo_n "checking for _hypot declaration... " >&6; }
27520 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
27521 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
27522 $as_echo_n "(cached) " >&6
27527 ac_cpp='$CXXCPP $CPPFLAGS'
27528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27533 /* end confdefs.h. */
27543 if ac_fn_cxx_try_compile "$LINENO"; then :
27544 glibcxx_cv_func__hypot_use=yes
27546 glibcxx_cv_func__hypot_use=no
27548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27550 ac_cpp='$CPP $CPPFLAGS'
27551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
27560 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
27562 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
27563 for ac_func in _hypot
27565 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
27566 if test "x$ac_cv_func__hypot" = x""yes; then :
27567 cat >>confdefs.h <<_ACEOF
27568 #define HAVE__HYPOT 1
27581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
27582 $as_echo_n "checking for float trig functions... " >&6; }
27583 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
27584 $as_echo_n "(cached) " >&6
27589 ac_cpp='$CXXCPP $CPPFLAGS'
27590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27595 /* end confdefs.h. */
27600 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
27605 if ac_fn_cxx_try_compile "$LINENO"; then :
27606 glibcxx_cv_func_float_trig_use=yes
27608 glibcxx_cv_func_float_trig_use=no
27610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27612 ac_cpp='$CPP $CPPFLAGS'
27613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
27620 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
27621 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
27622 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
27624 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27625 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27626 eval as_val=\$$as_ac_var
27627 if test "x$as_val" = x""yes; then :
27628 cat >>confdefs.h <<_ACEOF
27629 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
27637 $as_echo_n "checking for _float trig functions... " >&6; }
27638 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
27639 $as_echo_n "(cached) " >&6
27644 ac_cpp='$CXXCPP $CPPFLAGS'
27645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27650 /* end confdefs.h. */
27655 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
27660 if ac_fn_cxx_try_compile "$LINENO"; then :
27661 glibcxx_cv_func__float_trig_use=yes
27663 glibcxx_cv_func__float_trig_use=no
27665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27667 ac_cpp='$CPP $CPPFLAGS'
27668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
27675 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
27676 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
27677 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
27679 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27680 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27681 eval as_val=\$$as_ac_var
27682 if test "x$as_val" = x""yes; then :
27683 cat >>confdefs.h <<_ACEOF
27684 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
27698 $as_echo_n "checking for float round functions... " >&6; }
27699 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
27700 $as_echo_n "(cached) " >&6
27705 ac_cpp='$CXXCPP $CPPFLAGS'
27706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27711 /* end confdefs.h. */
27716 ceilf (0); floorf (0);
27721 if ac_fn_cxx_try_compile "$LINENO"; then :
27722 glibcxx_cv_func_float_round_use=yes
27724 glibcxx_cv_func_float_round_use=no
27726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27728 ac_cpp='$CPP $CPPFLAGS'
27729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
27736 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
27737 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
27738 for ac_func in ceilf floorf
27740 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27741 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27742 eval as_val=\$$as_ac_var
27743 if test "x$as_val" = x""yes; then :
27744 cat >>confdefs.h <<_ACEOF
27745 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
27753 $as_echo_n "checking for _float round functions... " >&6; }
27754 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
27755 $as_echo_n "(cached) " >&6
27760 ac_cpp='$CXXCPP $CPPFLAGS'
27761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27766 /* end confdefs.h. */
27771 _ceilf (0); _floorf (0);
27776 if ac_fn_cxx_try_compile "$LINENO"; then :
27777 glibcxx_cv_func__float_round_use=yes
27779 glibcxx_cv_func__float_round_use=no
27781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27783 ac_cpp='$CPP $CPPFLAGS'
27784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
27791 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
27792 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
27793 for ac_func in _ceilf _floorf
27795 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27796 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27797 eval as_val=\$$as_ac_var
27798 if test "x$as_val" = x""yes; then :
27799 cat >>confdefs.h <<_ACEOF
27800 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
27815 $as_echo_n "checking for expf declaration... " >&6; }
27816 if test x${glibcxx_cv_func_expf_use+set} != xset; then
27817 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
27818 $as_echo_n "(cached) " >&6
27823 ac_cpp='$CXXCPP $CPPFLAGS'
27824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27829 /* end confdefs.h. */
27831 #ifdef HAVE_IEEEFP_H
27832 #include <ieeefp.h>
27843 if ac_fn_cxx_try_compile "$LINENO"; then :
27844 glibcxx_cv_func_expf_use=yes
27846 glibcxx_cv_func_expf_use=no
27848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27850 ac_cpp='$CPP $CPPFLAGS'
27851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
27860 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
27862 if test x$glibcxx_cv_func_expf_use = x"yes"; then
27863 for ac_func in expf
27865 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
27866 if test "x$ac_cv_func_expf" = x""yes; then :
27867 cat >>confdefs.h <<_ACEOF
27868 #define HAVE_EXPF 1
27876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
27877 $as_echo_n "checking for _expf declaration... " >&6; }
27878 if test x${glibcxx_cv_func__expf_use+set} != xset; then
27879 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
27880 $as_echo_n "(cached) " >&6
27885 ac_cpp='$CXXCPP $CPPFLAGS'
27886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27891 /* end confdefs.h. */
27893 #ifdef HAVE_IEEEFP_H
27894 #include <ieeefp.h>
27905 if ac_fn_cxx_try_compile "$LINENO"; then :
27906 glibcxx_cv_func__expf_use=yes
27908 glibcxx_cv_func__expf_use=no
27910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27912 ac_cpp='$CPP $CPPFLAGS'
27913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
27922 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
27924 if test x$glibcxx_cv_func__expf_use = x"yes"; then
27925 for ac_func in _expf
27927 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
27928 if test "x$ac_cv_func__expf" = x""yes; then :
27929 cat >>confdefs.h <<_ACEOF
27930 #define HAVE__EXPF 1
27943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
27944 $as_echo_n "checking for isnanf declaration... " >&6; }
27945 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
27946 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
27947 $as_echo_n "(cached) " >&6
27952 ac_cpp='$CXXCPP $CPPFLAGS'
27953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27958 /* end confdefs.h. */
27960 #ifdef HAVE_IEEEFP_H
27961 #include <ieeefp.h>
27972 if ac_fn_cxx_try_compile "$LINENO"; then :
27973 glibcxx_cv_func_isnanf_use=yes
27975 glibcxx_cv_func_isnanf_use=no
27977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27979 ac_cpp='$CPP $CPPFLAGS'
27980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
27989 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
27991 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
27992 for ac_func in isnanf
27994 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
27995 if test "x$ac_cv_func_isnanf" = x""yes; then :
27996 cat >>confdefs.h <<_ACEOF
27997 #define HAVE_ISNANF 1
28005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28006 $as_echo_n "checking for _isnanf declaration... " >&6; }
28007 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28008 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28009 $as_echo_n "(cached) " >&6
28014 ac_cpp='$CXXCPP $CPPFLAGS'
28015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28020 /* end confdefs.h. */
28022 #ifdef HAVE_IEEEFP_H
28023 #include <ieeefp.h>
28034 if ac_fn_cxx_try_compile "$LINENO"; then :
28035 glibcxx_cv_func__isnanf_use=yes
28037 glibcxx_cv_func__isnanf_use=no
28039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28041 ac_cpp='$CPP $CPPFLAGS'
28042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28051 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28053 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28054 for ac_func in _isnanf
28056 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28057 if test "x$ac_cv_func__isnanf" = x""yes; then :
28058 cat >>confdefs.h <<_ACEOF
28059 #define HAVE__ISNANF 1
28072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28073 $as_echo_n "checking for isinff declaration... " >&6; }
28074 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28075 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28076 $as_echo_n "(cached) " >&6
28081 ac_cpp='$CXXCPP $CPPFLAGS'
28082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28087 /* end confdefs.h. */
28089 #ifdef HAVE_IEEEFP_H
28090 #include <ieeefp.h>
28101 if ac_fn_cxx_try_compile "$LINENO"; then :
28102 glibcxx_cv_func_isinff_use=yes
28104 glibcxx_cv_func_isinff_use=no
28106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28108 ac_cpp='$CPP $CPPFLAGS'
28109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
28118 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
28120 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28121 for ac_func in isinff
28123 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28124 if test "x$ac_cv_func_isinff" = x""yes; then :
28125 cat >>confdefs.h <<_ACEOF
28126 #define HAVE_ISINFF 1
28134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
28135 $as_echo_n "checking for _isinff declaration... " >&6; }
28136 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28137 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
28138 $as_echo_n "(cached) " >&6
28143 ac_cpp='$CXXCPP $CPPFLAGS'
28144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28149 /* end confdefs.h. */
28151 #ifdef HAVE_IEEEFP_H
28152 #include <ieeefp.h>
28163 if ac_fn_cxx_try_compile "$LINENO"; then :
28164 glibcxx_cv_func__isinff_use=yes
28166 glibcxx_cv_func__isinff_use=no
28168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28170 ac_cpp='$CPP $CPPFLAGS'
28171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
28180 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
28182 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
28183 for ac_func in _isinff
28185 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
28186 if test "x$ac_cv_func__isinff" = x""yes; then :
28187 cat >>confdefs.h <<_ACEOF
28188 #define HAVE__ISINFF 1
28201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
28202 $as_echo_n "checking for atan2f declaration... " >&6; }
28203 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
28204 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
28205 $as_echo_n "(cached) " >&6
28210 ac_cpp='$CXXCPP $CPPFLAGS'
28211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28216 /* end confdefs.h. */
28226 if ac_fn_cxx_try_compile "$LINENO"; then :
28227 glibcxx_cv_func_atan2f_use=yes
28229 glibcxx_cv_func_atan2f_use=no
28231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28233 ac_cpp='$CPP $CPPFLAGS'
28234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
28243 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
28245 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
28246 for ac_func in atan2f
28248 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
28249 if test "x$ac_cv_func_atan2f" = x""yes; then :
28250 cat >>confdefs.h <<_ACEOF
28251 #define HAVE_ATAN2F 1
28259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
28260 $as_echo_n "checking for _atan2f declaration... " >&6; }
28261 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
28262 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
28263 $as_echo_n "(cached) " >&6
28268 ac_cpp='$CXXCPP $CPPFLAGS'
28269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28274 /* end confdefs.h. */
28284 if ac_fn_cxx_try_compile "$LINENO"; then :
28285 glibcxx_cv_func__atan2f_use=yes
28287 glibcxx_cv_func__atan2f_use=no
28289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28291 ac_cpp='$CPP $CPPFLAGS'
28292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
28301 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
28303 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
28304 for ac_func in _atan2f
28306 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
28307 if test "x$ac_cv_func__atan2f" = x""yes; then :
28308 cat >>confdefs.h <<_ACEOF
28309 #define HAVE__ATAN2F 1
28322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
28323 $as_echo_n "checking for fabsf declaration... " >&6; }
28324 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
28325 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
28326 $as_echo_n "(cached) " >&6
28331 ac_cpp='$CXXCPP $CPPFLAGS'
28332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28337 /* end confdefs.h. */
28339 #ifdef HAVE_IEEEFP_H
28340 #include <ieeefp.h>
28351 if ac_fn_cxx_try_compile "$LINENO"; then :
28352 glibcxx_cv_func_fabsf_use=yes
28354 glibcxx_cv_func_fabsf_use=no
28356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28358 ac_cpp='$CPP $CPPFLAGS'
28359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
28368 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
28370 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
28371 for ac_func in fabsf
28373 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
28374 if test "x$ac_cv_func_fabsf" = x""yes; then :
28375 cat >>confdefs.h <<_ACEOF
28376 #define HAVE_FABSF 1
28384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
28385 $as_echo_n "checking for _fabsf declaration... " >&6; }
28386 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
28387 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
28388 $as_echo_n "(cached) " >&6
28393 ac_cpp='$CXXCPP $CPPFLAGS'
28394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28399 /* end confdefs.h. */
28401 #ifdef HAVE_IEEEFP_H
28402 #include <ieeefp.h>
28413 if ac_fn_cxx_try_compile "$LINENO"; then :
28414 glibcxx_cv_func__fabsf_use=yes
28416 glibcxx_cv_func__fabsf_use=no
28418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28420 ac_cpp='$CPP $CPPFLAGS'
28421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
28430 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
28432 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
28433 for ac_func in _fabsf
28435 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
28436 if test "x$ac_cv_func__fabsf" = x""yes; then :
28437 cat >>confdefs.h <<_ACEOF
28438 #define HAVE__FABSF 1
28451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
28452 $as_echo_n "checking for fmodf declaration... " >&6; }
28453 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
28454 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
28455 $as_echo_n "(cached) " >&6
28460 ac_cpp='$CXXCPP $CPPFLAGS'
28461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28466 /* end confdefs.h. */
28476 if ac_fn_cxx_try_compile "$LINENO"; then :
28477 glibcxx_cv_func_fmodf_use=yes
28479 glibcxx_cv_func_fmodf_use=no
28481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28483 ac_cpp='$CPP $CPPFLAGS'
28484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
28493 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
28495 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
28496 for ac_func in fmodf
28498 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
28499 if test "x$ac_cv_func_fmodf" = x""yes; then :
28500 cat >>confdefs.h <<_ACEOF
28501 #define HAVE_FMODF 1
28509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
28510 $as_echo_n "checking for _fmodf declaration... " >&6; }
28511 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
28512 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
28513 $as_echo_n "(cached) " >&6
28518 ac_cpp='$CXXCPP $CPPFLAGS'
28519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28524 /* end confdefs.h. */
28534 if ac_fn_cxx_try_compile "$LINENO"; then :
28535 glibcxx_cv_func__fmodf_use=yes
28537 glibcxx_cv_func__fmodf_use=no
28539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28541 ac_cpp='$CPP $CPPFLAGS'
28542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
28551 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
28553 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
28554 for ac_func in _fmodf
28556 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
28557 if test "x$ac_cv_func__fmodf" = x""yes; then :
28558 cat >>confdefs.h <<_ACEOF
28559 #define HAVE__FMODF 1
28572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
28573 $as_echo_n "checking for frexpf declaration... " >&6; }
28574 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
28575 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
28576 $as_echo_n "(cached) " >&6
28581 ac_cpp='$CXXCPP $CPPFLAGS'
28582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28587 /* end confdefs.h. */
28597 if ac_fn_cxx_try_compile "$LINENO"; then :
28598 glibcxx_cv_func_frexpf_use=yes
28600 glibcxx_cv_func_frexpf_use=no
28602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28604 ac_cpp='$CPP $CPPFLAGS'
28605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
28614 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
28616 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
28617 for ac_func in frexpf
28619 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
28620 if test "x$ac_cv_func_frexpf" = x""yes; then :
28621 cat >>confdefs.h <<_ACEOF
28622 #define HAVE_FREXPF 1
28630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
28631 $as_echo_n "checking for _frexpf declaration... " >&6; }
28632 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
28633 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
28634 $as_echo_n "(cached) " >&6
28639 ac_cpp='$CXXCPP $CPPFLAGS'
28640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28645 /* end confdefs.h. */
28655 if ac_fn_cxx_try_compile "$LINENO"; then :
28656 glibcxx_cv_func__frexpf_use=yes
28658 glibcxx_cv_func__frexpf_use=no
28660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28662 ac_cpp='$CPP $CPPFLAGS'
28663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
28672 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
28674 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
28675 for ac_func in _frexpf
28677 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
28678 if test "x$ac_cv_func__frexpf" = x""yes; then :
28679 cat >>confdefs.h <<_ACEOF
28680 #define HAVE__FREXPF 1
28693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
28694 $as_echo_n "checking for hypotf declaration... " >&6; }
28695 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
28696 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
28697 $as_echo_n "(cached) " >&6
28702 ac_cpp='$CXXCPP $CPPFLAGS'
28703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28708 /* end confdefs.h. */
28718 if ac_fn_cxx_try_compile "$LINENO"; then :
28719 glibcxx_cv_func_hypotf_use=yes
28721 glibcxx_cv_func_hypotf_use=no
28723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28725 ac_cpp='$CPP $CPPFLAGS'
28726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
28735 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
28737 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
28738 for ac_func in hypotf
28740 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
28741 if test "x$ac_cv_func_hypotf" = x""yes; then :
28742 cat >>confdefs.h <<_ACEOF
28743 #define HAVE_HYPOTF 1
28751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
28752 $as_echo_n "checking for _hypotf declaration... " >&6; }
28753 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
28754 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
28755 $as_echo_n "(cached) " >&6
28760 ac_cpp='$CXXCPP $CPPFLAGS'
28761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28766 /* end confdefs.h. */
28776 if ac_fn_cxx_try_compile "$LINENO"; then :
28777 glibcxx_cv_func__hypotf_use=yes
28779 glibcxx_cv_func__hypotf_use=no
28781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28783 ac_cpp='$CPP $CPPFLAGS'
28784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
28793 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
28795 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
28796 for ac_func in _hypotf
28798 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
28799 if test "x$ac_cv_func__hypotf" = x""yes; then :
28800 cat >>confdefs.h <<_ACEOF
28801 #define HAVE__HYPOTF 1
28814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
28815 $as_echo_n "checking for ldexpf declaration... " >&6; }
28816 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
28817 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
28818 $as_echo_n "(cached) " >&6
28823 ac_cpp='$CXXCPP $CPPFLAGS'
28824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28829 /* end confdefs.h. */
28839 if ac_fn_cxx_try_compile "$LINENO"; then :
28840 glibcxx_cv_func_ldexpf_use=yes
28842 glibcxx_cv_func_ldexpf_use=no
28844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28846 ac_cpp='$CPP $CPPFLAGS'
28847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
28856 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
28858 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
28859 for ac_func in ldexpf
28861 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
28862 if test "x$ac_cv_func_ldexpf" = x""yes; then :
28863 cat >>confdefs.h <<_ACEOF
28864 #define HAVE_LDEXPF 1
28872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
28873 $as_echo_n "checking for _ldexpf declaration... " >&6; }
28874 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
28875 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
28876 $as_echo_n "(cached) " >&6
28881 ac_cpp='$CXXCPP $CPPFLAGS'
28882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28887 /* end confdefs.h. */
28897 if ac_fn_cxx_try_compile "$LINENO"; then :
28898 glibcxx_cv_func__ldexpf_use=yes
28900 glibcxx_cv_func__ldexpf_use=no
28902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28904 ac_cpp='$CPP $CPPFLAGS'
28905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
28914 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
28916 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
28917 for ac_func in _ldexpf
28919 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
28920 if test "x$ac_cv_func__ldexpf" = x""yes; then :
28921 cat >>confdefs.h <<_ACEOF
28922 #define HAVE__LDEXPF 1
28935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
28936 $as_echo_n "checking for logf declaration... " >&6; }
28937 if test x${glibcxx_cv_func_logf_use+set} != xset; then
28938 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
28939 $as_echo_n "(cached) " >&6
28944 ac_cpp='$CXXCPP $CPPFLAGS'
28945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28950 /* end confdefs.h. */
28952 #ifdef HAVE_IEEEFP_H
28953 #include <ieeefp.h>
28964 if ac_fn_cxx_try_compile "$LINENO"; then :
28965 glibcxx_cv_func_logf_use=yes
28967 glibcxx_cv_func_logf_use=no
28969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28971 ac_cpp='$CPP $CPPFLAGS'
28972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
28981 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
28983 if test x$glibcxx_cv_func_logf_use = x"yes"; then
28984 for ac_func in logf
28986 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
28987 if test "x$ac_cv_func_logf" = x""yes; then :
28988 cat >>confdefs.h <<_ACEOF
28989 #define HAVE_LOGF 1
28997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
28998 $as_echo_n "checking for _logf declaration... " >&6; }
28999 if test x${glibcxx_cv_func__logf_use+set} != xset; then
29000 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
29001 $as_echo_n "(cached) " >&6
29006 ac_cpp='$CXXCPP $CPPFLAGS'
29007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29012 /* end confdefs.h. */
29014 #ifdef HAVE_IEEEFP_H
29015 #include <ieeefp.h>
29026 if ac_fn_cxx_try_compile "$LINENO"; then :
29027 glibcxx_cv_func__logf_use=yes
29029 glibcxx_cv_func__logf_use=no
29031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29033 ac_cpp='$CPP $CPPFLAGS'
29034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29043 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29045 if test x$glibcxx_cv_func__logf_use = x"yes"; then
29046 for ac_func in _logf
29048 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29049 if test "x$ac_cv_func__logf" = x""yes; then :
29050 cat >>confdefs.h <<_ACEOF
29051 #define HAVE__LOGF 1
29064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29065 $as_echo_n "checking for log10f declaration... " >&6; }
29066 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29067 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29068 $as_echo_n "(cached) " >&6
29073 ac_cpp='$CXXCPP $CPPFLAGS'
29074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29079 /* end confdefs.h. */
29081 #ifdef HAVE_IEEEFP_H
29082 #include <ieeefp.h>
29093 if ac_fn_cxx_try_compile "$LINENO"; then :
29094 glibcxx_cv_func_log10f_use=yes
29096 glibcxx_cv_func_log10f_use=no
29098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29100 ac_cpp='$CPP $CPPFLAGS'
29101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
29110 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
29112 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29113 for ac_func in log10f
29115 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
29116 if test "x$ac_cv_func_log10f" = x""yes; then :
29117 cat >>confdefs.h <<_ACEOF
29118 #define HAVE_LOG10F 1
29126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29127 $as_echo_n "checking for _log10f declaration... " >&6; }
29128 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29129 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
29130 $as_echo_n "(cached) " >&6
29135 ac_cpp='$CXXCPP $CPPFLAGS'
29136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29141 /* end confdefs.h. */
29143 #ifdef HAVE_IEEEFP_H
29144 #include <ieeefp.h>
29155 if ac_fn_cxx_try_compile "$LINENO"; then :
29156 glibcxx_cv_func__log10f_use=yes
29158 glibcxx_cv_func__log10f_use=no
29160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29162 ac_cpp='$CPP $CPPFLAGS'
29163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
29172 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
29174 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
29175 for ac_func in _log10f
29177 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
29178 if test "x$ac_cv_func__log10f" = x""yes; then :
29179 cat >>confdefs.h <<_ACEOF
29180 #define HAVE__LOG10F 1
29193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
29194 $as_echo_n "checking for modff declaration... " >&6; }
29195 if test x${glibcxx_cv_func_modff_use+set} != xset; then
29196 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
29197 $as_echo_n "(cached) " >&6
29202 ac_cpp='$CXXCPP $CPPFLAGS'
29203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29208 /* end confdefs.h. */
29218 if ac_fn_cxx_try_compile "$LINENO"; then :
29219 glibcxx_cv_func_modff_use=yes
29221 glibcxx_cv_func_modff_use=no
29223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29225 ac_cpp='$CPP $CPPFLAGS'
29226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
29235 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
29237 if test x$glibcxx_cv_func_modff_use = x"yes"; then
29238 for ac_func in modff
29240 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
29241 if test "x$ac_cv_func_modff" = x""yes; then :
29242 cat >>confdefs.h <<_ACEOF
29243 #define HAVE_MODFF 1
29251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
29252 $as_echo_n "checking for _modff declaration... " >&6; }
29253 if test x${glibcxx_cv_func__modff_use+set} != xset; then
29254 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
29255 $as_echo_n "(cached) " >&6
29260 ac_cpp='$CXXCPP $CPPFLAGS'
29261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29266 /* end confdefs.h. */
29276 if ac_fn_cxx_try_compile "$LINENO"; then :
29277 glibcxx_cv_func__modff_use=yes
29279 glibcxx_cv_func__modff_use=no
29281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29283 ac_cpp='$CPP $CPPFLAGS'
29284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
29293 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
29295 if test x$glibcxx_cv_func__modff_use = x"yes"; then
29296 for ac_func in _modff
29298 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
29299 if test "x$ac_cv_func__modff" = x""yes; then :
29300 cat >>confdefs.h <<_ACEOF
29301 #define HAVE__MODFF 1
29314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
29315 $as_echo_n "checking for modf declaration... " >&6; }
29316 if test x${glibcxx_cv_func_modf_use+set} != xset; then
29317 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
29318 $as_echo_n "(cached) " >&6
29323 ac_cpp='$CXXCPP $CPPFLAGS'
29324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29329 /* end confdefs.h. */
29339 if ac_fn_cxx_try_compile "$LINENO"; then :
29340 glibcxx_cv_func_modf_use=yes
29342 glibcxx_cv_func_modf_use=no
29344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29346 ac_cpp='$CPP $CPPFLAGS'
29347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
29356 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
29358 if test x$glibcxx_cv_func_modf_use = x"yes"; then
29359 for ac_func in modf
29361 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
29362 if test "x$ac_cv_func_modf" = x""yes; then :
29363 cat >>confdefs.h <<_ACEOF
29364 #define HAVE_MODF 1
29372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
29373 $as_echo_n "checking for _modf declaration... " >&6; }
29374 if test x${glibcxx_cv_func__modf_use+set} != xset; then
29375 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
29376 $as_echo_n "(cached) " >&6
29381 ac_cpp='$CXXCPP $CPPFLAGS'
29382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29387 /* end confdefs.h. */
29397 if ac_fn_cxx_try_compile "$LINENO"; then :
29398 glibcxx_cv_func__modf_use=yes
29400 glibcxx_cv_func__modf_use=no
29402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29404 ac_cpp='$CPP $CPPFLAGS'
29405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
29414 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
29416 if test x$glibcxx_cv_func__modf_use = x"yes"; then
29417 for ac_func in _modf
29419 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
29420 if test "x$ac_cv_func__modf" = x""yes; then :
29421 cat >>confdefs.h <<_ACEOF
29422 #define HAVE__MODF 1
29435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
29436 $as_echo_n "checking for powf declaration... " >&6; }
29437 if test x${glibcxx_cv_func_powf_use+set} != xset; then
29438 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
29439 $as_echo_n "(cached) " >&6
29444 ac_cpp='$CXXCPP $CPPFLAGS'
29445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29450 /* end confdefs.h. */
29460 if ac_fn_cxx_try_compile "$LINENO"; then :
29461 glibcxx_cv_func_powf_use=yes
29463 glibcxx_cv_func_powf_use=no
29465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29467 ac_cpp='$CPP $CPPFLAGS'
29468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
29477 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
29479 if test x$glibcxx_cv_func_powf_use = x"yes"; then
29480 for ac_func in powf
29482 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
29483 if test "x$ac_cv_func_powf" = x""yes; then :
29484 cat >>confdefs.h <<_ACEOF
29485 #define HAVE_POWF 1
29493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
29494 $as_echo_n "checking for _powf declaration... " >&6; }
29495 if test x${glibcxx_cv_func__powf_use+set} != xset; then
29496 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
29497 $as_echo_n "(cached) " >&6
29502 ac_cpp='$CXXCPP $CPPFLAGS'
29503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29508 /* end confdefs.h. */
29518 if ac_fn_cxx_try_compile "$LINENO"; then :
29519 glibcxx_cv_func__powf_use=yes
29521 glibcxx_cv_func__powf_use=no
29523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29525 ac_cpp='$CPP $CPPFLAGS'
29526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
29535 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
29537 if test x$glibcxx_cv_func__powf_use = x"yes"; then
29538 for ac_func in _powf
29540 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
29541 if test "x$ac_cv_func__powf" = x""yes; then :
29542 cat >>confdefs.h <<_ACEOF
29543 #define HAVE__POWF 1
29556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
29557 $as_echo_n "checking for sqrtf declaration... " >&6; }
29558 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
29559 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
29560 $as_echo_n "(cached) " >&6
29565 ac_cpp='$CXXCPP $CPPFLAGS'
29566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29571 /* end confdefs.h. */
29573 #ifdef HAVE_IEEEFP_H
29574 #include <ieeefp.h>
29585 if ac_fn_cxx_try_compile "$LINENO"; then :
29586 glibcxx_cv_func_sqrtf_use=yes
29588 glibcxx_cv_func_sqrtf_use=no
29590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29592 ac_cpp='$CPP $CPPFLAGS'
29593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
29602 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
29604 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
29605 for ac_func in sqrtf
29607 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
29608 if test "x$ac_cv_func_sqrtf" = x""yes; then :
29609 cat >>confdefs.h <<_ACEOF
29610 #define HAVE_SQRTF 1
29618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
29619 $as_echo_n "checking for _sqrtf declaration... " >&6; }
29620 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
29621 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
29622 $as_echo_n "(cached) " >&6
29627 ac_cpp='$CXXCPP $CPPFLAGS'
29628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29633 /* end confdefs.h. */
29635 #ifdef HAVE_IEEEFP_H
29636 #include <ieeefp.h>
29647 if ac_fn_cxx_try_compile "$LINENO"; then :
29648 glibcxx_cv_func__sqrtf_use=yes
29650 glibcxx_cv_func__sqrtf_use=no
29652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29654 ac_cpp='$CPP $CPPFLAGS'
29655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
29664 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
29666 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
29667 for ac_func in _sqrtf
29669 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
29670 if test "x$ac_cv_func__sqrtf" = x""yes; then :
29671 cat >>confdefs.h <<_ACEOF
29672 #define HAVE__SQRTF 1
29685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
29686 $as_echo_n "checking for sincosf declaration... " >&6; }
29687 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
29688 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
29689 $as_echo_n "(cached) " >&6
29694 ac_cpp='$CXXCPP $CPPFLAGS'
29695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29700 /* end confdefs.h. */
29710 if ac_fn_cxx_try_compile "$LINENO"; then :
29711 glibcxx_cv_func_sincosf_use=yes
29713 glibcxx_cv_func_sincosf_use=no
29715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29717 ac_cpp='$CPP $CPPFLAGS'
29718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
29727 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
29729 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
29730 for ac_func in sincosf
29732 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
29733 if test "x$ac_cv_func_sincosf" = x""yes; then :
29734 cat >>confdefs.h <<_ACEOF
29735 #define HAVE_SINCOSF 1
29743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
29744 $as_echo_n "checking for _sincosf declaration... " >&6; }
29745 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
29746 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
29747 $as_echo_n "(cached) " >&6
29752 ac_cpp='$CXXCPP $CPPFLAGS'
29753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29758 /* end confdefs.h. */
29768 if ac_fn_cxx_try_compile "$LINENO"; then :
29769 glibcxx_cv_func__sincosf_use=yes
29771 glibcxx_cv_func__sincosf_use=no
29773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29775 ac_cpp='$CPP $CPPFLAGS'
29776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
29785 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
29787 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
29788 for ac_func in _sincosf
29790 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
29791 if test "x$ac_cv_func__sincosf" = x""yes; then :
29792 cat >>confdefs.h <<_ACEOF
29793 #define HAVE__SINCOSF 1
29806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
29807 $as_echo_n "checking for finitef declaration... " >&6; }
29808 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
29809 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
29810 $as_echo_n "(cached) " >&6
29815 ac_cpp='$CXXCPP $CPPFLAGS'
29816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29821 /* end confdefs.h. */
29823 #ifdef HAVE_IEEEFP_H
29824 #include <ieeefp.h>
29835 if ac_fn_cxx_try_compile "$LINENO"; then :
29836 glibcxx_cv_func_finitef_use=yes
29838 glibcxx_cv_func_finitef_use=no
29840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29842 ac_cpp='$CPP $CPPFLAGS'
29843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
29852 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
29854 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
29855 for ac_func in finitef
29857 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
29858 if test "x$ac_cv_func_finitef" = x""yes; then :
29859 cat >>confdefs.h <<_ACEOF
29860 #define HAVE_FINITEF 1
29868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
29869 $as_echo_n "checking for _finitef declaration... " >&6; }
29870 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
29871 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
29872 $as_echo_n "(cached) " >&6
29877 ac_cpp='$CXXCPP $CPPFLAGS'
29878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29883 /* end confdefs.h. */
29885 #ifdef HAVE_IEEEFP_H
29886 #include <ieeefp.h>
29897 if ac_fn_cxx_try_compile "$LINENO"; then :
29898 glibcxx_cv_func__finitef_use=yes
29900 glibcxx_cv_func__finitef_use=no
29902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29904 ac_cpp='$CPP $CPPFLAGS'
29905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
29914 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
29916 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
29917 for ac_func in _finitef
29919 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
29920 if test "x$ac_cv_func__finitef" = x""yes; then :
29921 cat >>confdefs.h <<_ACEOF
29922 #define HAVE__FINITEF 1
29935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
29936 $as_echo_n "checking for long double trig functions... " >&6; }
29937 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
29938 $as_echo_n "(cached) " >&6
29943 ac_cpp='$CXXCPP $CPPFLAGS'
29944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29949 /* end confdefs.h. */
29954 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
29959 if ac_fn_cxx_try_compile "$LINENO"; then :
29960 glibcxx_cv_func_long_double_trig_use=yes
29962 glibcxx_cv_func_long_double_trig_use=no
29964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29966 ac_cpp='$CPP $CPPFLAGS'
29967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
29974 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
29975 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
29976 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
29978 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29979 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29980 eval as_val=\$$as_ac_var
29981 if test "x$as_val" = x""yes; then :
29982 cat >>confdefs.h <<_ACEOF
29983 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
29991 $as_echo_n "checking for _long double trig functions... " >&6; }
29992 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
29993 $as_echo_n "(cached) " >&6
29998 ac_cpp='$CXXCPP $CPPFLAGS'
29999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30004 /* end confdefs.h. */
30009 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30014 if ac_fn_cxx_try_compile "$LINENO"; then :
30015 glibcxx_cv_func__long_double_trig_use=yes
30017 glibcxx_cv_func__long_double_trig_use=no
30019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30021 ac_cpp='$CPP $CPPFLAGS'
30022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30029 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30030 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30031 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30033 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30034 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30035 eval as_val=\$$as_ac_var
30036 if test "x$as_val" = x""yes; then :
30037 cat >>confdefs.h <<_ACEOF
30038 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30052 $as_echo_n "checking for long double round functions... " >&6; }
30053 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30054 $as_echo_n "(cached) " >&6
30059 ac_cpp='$CXXCPP $CPPFLAGS'
30060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30065 /* end confdefs.h. */
30070 ceill (0); floorl (0);
30075 if ac_fn_cxx_try_compile "$LINENO"; then :
30076 glibcxx_cv_func_long_double_round_use=yes
30078 glibcxx_cv_func_long_double_round_use=no
30080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30082 ac_cpp='$CPP $CPPFLAGS'
30083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30090 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30091 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30092 for ac_func in ceill floorl
30094 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30095 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30096 eval as_val=\$$as_ac_var
30097 if test "x$as_val" = x""yes; then :
30098 cat >>confdefs.h <<_ACEOF
30099 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30107 $as_echo_n "checking for _long double round functions... " >&6; }
30108 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
30109 $as_echo_n "(cached) " >&6
30114 ac_cpp='$CXXCPP $CPPFLAGS'
30115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30120 /* end confdefs.h. */
30125 _ceill (0); _floorl (0);
30130 if ac_fn_cxx_try_compile "$LINENO"; then :
30131 glibcxx_cv_func__long_double_round_use=yes
30133 glibcxx_cv_func__long_double_round_use=no
30135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30137 ac_cpp='$CPP $CPPFLAGS'
30138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
30145 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
30146 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
30147 for ac_func in _ceill _floorl
30149 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30150 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30151 eval as_val=\$$as_ac_var
30152 if test "x$as_val" = x""yes; then :
30153 cat >>confdefs.h <<_ACEOF
30154 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
30169 $as_echo_n "checking for isnanl declaration... " >&6; }
30170 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
30171 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
30172 $as_echo_n "(cached) " >&6
30177 ac_cpp='$CXXCPP $CPPFLAGS'
30178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30183 /* end confdefs.h. */
30185 #ifdef HAVE_IEEEFP_H
30186 #include <ieeefp.h>
30197 if ac_fn_cxx_try_compile "$LINENO"; then :
30198 glibcxx_cv_func_isnanl_use=yes
30200 glibcxx_cv_func_isnanl_use=no
30202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30204 ac_cpp='$CPP $CPPFLAGS'
30205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
30214 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
30216 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
30217 for ac_func in isnanl
30219 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
30220 if test "x$ac_cv_func_isnanl" = x""yes; then :
30221 cat >>confdefs.h <<_ACEOF
30222 #define HAVE_ISNANL 1
30230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
30231 $as_echo_n "checking for _isnanl declaration... " >&6; }
30232 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
30233 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
30234 $as_echo_n "(cached) " >&6
30239 ac_cpp='$CXXCPP $CPPFLAGS'
30240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30245 /* end confdefs.h. */
30247 #ifdef HAVE_IEEEFP_H
30248 #include <ieeefp.h>
30259 if ac_fn_cxx_try_compile "$LINENO"; then :
30260 glibcxx_cv_func__isnanl_use=yes
30262 glibcxx_cv_func__isnanl_use=no
30264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30266 ac_cpp='$CPP $CPPFLAGS'
30267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
30276 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
30278 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
30279 for ac_func in _isnanl
30281 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
30282 if test "x$ac_cv_func__isnanl" = x""yes; then :
30283 cat >>confdefs.h <<_ACEOF
30284 #define HAVE__ISNANL 1
30297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
30298 $as_echo_n "checking for isinfl declaration... " >&6; }
30299 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
30300 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
30301 $as_echo_n "(cached) " >&6
30306 ac_cpp='$CXXCPP $CPPFLAGS'
30307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30312 /* end confdefs.h. */
30314 #ifdef HAVE_IEEEFP_H
30315 #include <ieeefp.h>
30326 if ac_fn_cxx_try_compile "$LINENO"; then :
30327 glibcxx_cv_func_isinfl_use=yes
30329 glibcxx_cv_func_isinfl_use=no
30331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30333 ac_cpp='$CPP $CPPFLAGS'
30334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
30343 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
30345 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
30346 for ac_func in isinfl
30348 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
30349 if test "x$ac_cv_func_isinfl" = x""yes; then :
30350 cat >>confdefs.h <<_ACEOF
30351 #define HAVE_ISINFL 1
30359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
30360 $as_echo_n "checking for _isinfl declaration... " >&6; }
30361 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
30362 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
30363 $as_echo_n "(cached) " >&6
30368 ac_cpp='$CXXCPP $CPPFLAGS'
30369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30374 /* end confdefs.h. */
30376 #ifdef HAVE_IEEEFP_H
30377 #include <ieeefp.h>
30388 if ac_fn_cxx_try_compile "$LINENO"; then :
30389 glibcxx_cv_func__isinfl_use=yes
30391 glibcxx_cv_func__isinfl_use=no
30393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30395 ac_cpp='$CPP $CPPFLAGS'
30396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
30405 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
30407 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30408 for ac_func in _isinfl
30410 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
30411 if test "x$ac_cv_func__isinfl" = x""yes; then :
30412 cat >>confdefs.h <<_ACEOF
30413 #define HAVE__ISINFL 1
30426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
30427 $as_echo_n "checking for atan2l declaration... " >&6; }
30428 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30429 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
30430 $as_echo_n "(cached) " >&6
30435 ac_cpp='$CXXCPP $CPPFLAGS'
30436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30441 /* end confdefs.h. */
30451 if ac_fn_cxx_try_compile "$LINENO"; then :
30452 glibcxx_cv_func_atan2l_use=yes
30454 glibcxx_cv_func_atan2l_use=no
30456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30458 ac_cpp='$CPP $CPPFLAGS'
30459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
30468 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
30470 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30471 for ac_func in atan2l
30473 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
30474 if test "x$ac_cv_func_atan2l" = x""yes; then :
30475 cat >>confdefs.h <<_ACEOF
30476 #define HAVE_ATAN2L 1
30484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
30485 $as_echo_n "checking for _atan2l declaration... " >&6; }
30486 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
30487 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
30488 $as_echo_n "(cached) " >&6
30493 ac_cpp='$CXXCPP $CPPFLAGS'
30494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30499 /* end confdefs.h. */
30509 if ac_fn_cxx_try_compile "$LINENO"; then :
30510 glibcxx_cv_func__atan2l_use=yes
30512 glibcxx_cv_func__atan2l_use=no
30514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30516 ac_cpp='$CPP $CPPFLAGS'
30517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
30526 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
30528 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
30529 for ac_func in _atan2l
30531 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
30532 if test "x$ac_cv_func__atan2l" = x""yes; then :
30533 cat >>confdefs.h <<_ACEOF
30534 #define HAVE__ATAN2L 1
30547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
30548 $as_echo_n "checking for expl declaration... " >&6; }
30549 if test x${glibcxx_cv_func_expl_use+set} != xset; then
30550 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
30551 $as_echo_n "(cached) " >&6
30556 ac_cpp='$CXXCPP $CPPFLAGS'
30557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30562 /* end confdefs.h. */
30564 #ifdef HAVE_IEEEFP_H
30565 #include <ieeefp.h>
30576 if ac_fn_cxx_try_compile "$LINENO"; then :
30577 glibcxx_cv_func_expl_use=yes
30579 glibcxx_cv_func_expl_use=no
30581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30583 ac_cpp='$CPP $CPPFLAGS'
30584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
30593 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
30595 if test x$glibcxx_cv_func_expl_use = x"yes"; then
30596 for ac_func in expl
30598 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
30599 if test "x$ac_cv_func_expl" = x""yes; then :
30600 cat >>confdefs.h <<_ACEOF
30601 #define HAVE_EXPL 1
30609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
30610 $as_echo_n "checking for _expl declaration... " >&6; }
30611 if test x${glibcxx_cv_func__expl_use+set} != xset; then
30612 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
30613 $as_echo_n "(cached) " >&6
30618 ac_cpp='$CXXCPP $CPPFLAGS'
30619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30624 /* end confdefs.h. */
30626 #ifdef HAVE_IEEEFP_H
30627 #include <ieeefp.h>
30638 if ac_fn_cxx_try_compile "$LINENO"; then :
30639 glibcxx_cv_func__expl_use=yes
30641 glibcxx_cv_func__expl_use=no
30643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30645 ac_cpp='$CPP $CPPFLAGS'
30646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
30655 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
30657 if test x$glibcxx_cv_func__expl_use = x"yes"; then
30658 for ac_func in _expl
30660 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
30661 if test "x$ac_cv_func__expl" = x""yes; then :
30662 cat >>confdefs.h <<_ACEOF
30663 #define HAVE__EXPL 1
30676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
30677 $as_echo_n "checking for fabsl declaration... " >&6; }
30678 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
30679 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
30680 $as_echo_n "(cached) " >&6
30685 ac_cpp='$CXXCPP $CPPFLAGS'
30686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30691 /* end confdefs.h. */
30693 #ifdef HAVE_IEEEFP_H
30694 #include <ieeefp.h>
30705 if ac_fn_cxx_try_compile "$LINENO"; then :
30706 glibcxx_cv_func_fabsl_use=yes
30708 glibcxx_cv_func_fabsl_use=no
30710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30712 ac_cpp='$CPP $CPPFLAGS'
30713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
30722 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
30724 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
30725 for ac_func in fabsl
30727 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
30728 if test "x$ac_cv_func_fabsl" = x""yes; then :
30729 cat >>confdefs.h <<_ACEOF
30730 #define HAVE_FABSL 1
30738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
30739 $as_echo_n "checking for _fabsl declaration... " >&6; }
30740 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
30741 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
30742 $as_echo_n "(cached) " >&6
30747 ac_cpp='$CXXCPP $CPPFLAGS'
30748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30753 /* end confdefs.h. */
30755 #ifdef HAVE_IEEEFP_H
30756 #include <ieeefp.h>
30767 if ac_fn_cxx_try_compile "$LINENO"; then :
30768 glibcxx_cv_func__fabsl_use=yes
30770 glibcxx_cv_func__fabsl_use=no
30772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30774 ac_cpp='$CPP $CPPFLAGS'
30775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
30784 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
30786 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
30787 for ac_func in _fabsl
30789 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
30790 if test "x$ac_cv_func__fabsl" = x""yes; then :
30791 cat >>confdefs.h <<_ACEOF
30792 #define HAVE__FABSL 1
30805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
30806 $as_echo_n "checking for fmodl declaration... " >&6; }
30807 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
30808 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
30809 $as_echo_n "(cached) " >&6
30814 ac_cpp='$CXXCPP $CPPFLAGS'
30815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30820 /* end confdefs.h. */
30830 if ac_fn_cxx_try_compile "$LINENO"; then :
30831 glibcxx_cv_func_fmodl_use=yes
30833 glibcxx_cv_func_fmodl_use=no
30835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30837 ac_cpp='$CPP $CPPFLAGS'
30838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
30847 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
30849 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
30850 for ac_func in fmodl
30852 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
30853 if test "x$ac_cv_func_fmodl" = x""yes; then :
30854 cat >>confdefs.h <<_ACEOF
30855 #define HAVE_FMODL 1
30863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
30864 $as_echo_n "checking for _fmodl declaration... " >&6; }
30865 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
30866 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
30867 $as_echo_n "(cached) " >&6
30872 ac_cpp='$CXXCPP $CPPFLAGS'
30873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30878 /* end confdefs.h. */
30888 if ac_fn_cxx_try_compile "$LINENO"; then :
30889 glibcxx_cv_func__fmodl_use=yes
30891 glibcxx_cv_func__fmodl_use=no
30893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30895 ac_cpp='$CPP $CPPFLAGS'
30896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
30905 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
30907 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
30908 for ac_func in _fmodl
30910 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
30911 if test "x$ac_cv_func__fmodl" = x""yes; then :
30912 cat >>confdefs.h <<_ACEOF
30913 #define HAVE__FMODL 1
30926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
30927 $as_echo_n "checking for frexpl declaration... " >&6; }
30928 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
30929 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
30930 $as_echo_n "(cached) " >&6
30935 ac_cpp='$CXXCPP $CPPFLAGS'
30936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30941 /* end confdefs.h. */
30951 if ac_fn_cxx_try_compile "$LINENO"; then :
30952 glibcxx_cv_func_frexpl_use=yes
30954 glibcxx_cv_func_frexpl_use=no
30956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30958 ac_cpp='$CPP $CPPFLAGS'
30959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
30968 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
30970 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
30971 for ac_func in frexpl
30973 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
30974 if test "x$ac_cv_func_frexpl" = x""yes; then :
30975 cat >>confdefs.h <<_ACEOF
30976 #define HAVE_FREXPL 1
30984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
30985 $as_echo_n "checking for _frexpl declaration... " >&6; }
30986 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
30987 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
30988 $as_echo_n "(cached) " >&6
30993 ac_cpp='$CXXCPP $CPPFLAGS'
30994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30999 /* end confdefs.h. */
31009 if ac_fn_cxx_try_compile "$LINENO"; then :
31010 glibcxx_cv_func__frexpl_use=yes
31012 glibcxx_cv_func__frexpl_use=no
31014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31016 ac_cpp='$CPP $CPPFLAGS'
31017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31026 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31028 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31029 for ac_func in _frexpl
31031 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31032 if test "x$ac_cv_func__frexpl" = x""yes; then :
31033 cat >>confdefs.h <<_ACEOF
31034 #define HAVE__FREXPL 1
31047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31048 $as_echo_n "checking for hypotl declaration... " >&6; }
31049 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31050 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31051 $as_echo_n "(cached) " >&6
31056 ac_cpp='$CXXCPP $CPPFLAGS'
31057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31062 /* end confdefs.h. */
31072 if ac_fn_cxx_try_compile "$LINENO"; then :
31073 glibcxx_cv_func_hypotl_use=yes
31075 glibcxx_cv_func_hypotl_use=no
31077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31079 ac_cpp='$CPP $CPPFLAGS'
31080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31089 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31091 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31092 for ac_func in hypotl
31094 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31095 if test "x$ac_cv_func_hypotl" = x""yes; then :
31096 cat >>confdefs.h <<_ACEOF
31097 #define HAVE_HYPOTL 1
31105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31106 $as_echo_n "checking for _hypotl declaration... " >&6; }
31107 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31108 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
31109 $as_echo_n "(cached) " >&6
31114 ac_cpp='$CXXCPP $CPPFLAGS'
31115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31120 /* end confdefs.h. */
31130 if ac_fn_cxx_try_compile "$LINENO"; then :
31131 glibcxx_cv_func__hypotl_use=yes
31133 glibcxx_cv_func__hypotl_use=no
31135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31137 ac_cpp='$CPP $CPPFLAGS'
31138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
31147 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
31149 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
31150 for ac_func in _hypotl
31152 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
31153 if test "x$ac_cv_func__hypotl" = x""yes; then :
31154 cat >>confdefs.h <<_ACEOF
31155 #define HAVE__HYPOTL 1
31168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
31169 $as_echo_n "checking for ldexpl declaration... " >&6; }
31170 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
31171 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
31172 $as_echo_n "(cached) " >&6
31177 ac_cpp='$CXXCPP $CPPFLAGS'
31178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31183 /* end confdefs.h. */
31193 if ac_fn_cxx_try_compile "$LINENO"; then :
31194 glibcxx_cv_func_ldexpl_use=yes
31196 glibcxx_cv_func_ldexpl_use=no
31198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31200 ac_cpp='$CPP $CPPFLAGS'
31201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
31210 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
31212 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
31213 for ac_func in ldexpl
31215 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
31216 if test "x$ac_cv_func_ldexpl" = x""yes; then :
31217 cat >>confdefs.h <<_ACEOF
31218 #define HAVE_LDEXPL 1
31226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
31227 $as_echo_n "checking for _ldexpl declaration... " >&6; }
31228 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
31229 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
31230 $as_echo_n "(cached) " >&6
31235 ac_cpp='$CXXCPP $CPPFLAGS'
31236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31241 /* end confdefs.h. */
31251 if ac_fn_cxx_try_compile "$LINENO"; then :
31252 glibcxx_cv_func__ldexpl_use=yes
31254 glibcxx_cv_func__ldexpl_use=no
31256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31258 ac_cpp='$CPP $CPPFLAGS'
31259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
31268 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
31270 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
31271 for ac_func in _ldexpl
31273 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
31274 if test "x$ac_cv_func__ldexpl" = x""yes; then :
31275 cat >>confdefs.h <<_ACEOF
31276 #define HAVE__LDEXPL 1
31289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
31290 $as_echo_n "checking for logl declaration... " >&6; }
31291 if test x${glibcxx_cv_func_logl_use+set} != xset; then
31292 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
31293 $as_echo_n "(cached) " >&6
31298 ac_cpp='$CXXCPP $CPPFLAGS'
31299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31304 /* end confdefs.h. */
31306 #ifdef HAVE_IEEEFP_H
31307 #include <ieeefp.h>
31318 if ac_fn_cxx_try_compile "$LINENO"; then :
31319 glibcxx_cv_func_logl_use=yes
31321 glibcxx_cv_func_logl_use=no
31323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31325 ac_cpp='$CPP $CPPFLAGS'
31326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
31335 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
31337 if test x$glibcxx_cv_func_logl_use = x"yes"; then
31338 for ac_func in logl
31340 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
31341 if test "x$ac_cv_func_logl" = x""yes; then :
31342 cat >>confdefs.h <<_ACEOF
31343 #define HAVE_LOGL 1
31351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
31352 $as_echo_n "checking for _logl declaration... " >&6; }
31353 if test x${glibcxx_cv_func__logl_use+set} != xset; then
31354 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
31355 $as_echo_n "(cached) " >&6
31360 ac_cpp='$CXXCPP $CPPFLAGS'
31361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31366 /* end confdefs.h. */
31368 #ifdef HAVE_IEEEFP_H
31369 #include <ieeefp.h>
31380 if ac_fn_cxx_try_compile "$LINENO"; then :
31381 glibcxx_cv_func__logl_use=yes
31383 glibcxx_cv_func__logl_use=no
31385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31387 ac_cpp='$CPP $CPPFLAGS'
31388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
31397 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
31399 if test x$glibcxx_cv_func__logl_use = x"yes"; then
31400 for ac_func in _logl
31402 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
31403 if test "x$ac_cv_func__logl" = x""yes; then :
31404 cat >>confdefs.h <<_ACEOF
31405 #define HAVE__LOGL 1
31418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
31419 $as_echo_n "checking for log10l declaration... " >&6; }
31420 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
31421 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
31422 $as_echo_n "(cached) " >&6
31427 ac_cpp='$CXXCPP $CPPFLAGS'
31428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31433 /* end confdefs.h. */
31435 #ifdef HAVE_IEEEFP_H
31436 #include <ieeefp.h>
31447 if ac_fn_cxx_try_compile "$LINENO"; then :
31448 glibcxx_cv_func_log10l_use=yes
31450 glibcxx_cv_func_log10l_use=no
31452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31454 ac_cpp='$CPP $CPPFLAGS'
31455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
31464 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
31466 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
31467 for ac_func in log10l
31469 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
31470 if test "x$ac_cv_func_log10l" = x""yes; then :
31471 cat >>confdefs.h <<_ACEOF
31472 #define HAVE_LOG10L 1
31480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
31481 $as_echo_n "checking for _log10l declaration... " >&6; }
31482 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
31483 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
31484 $as_echo_n "(cached) " >&6
31489 ac_cpp='$CXXCPP $CPPFLAGS'
31490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31495 /* end confdefs.h. */
31497 #ifdef HAVE_IEEEFP_H
31498 #include <ieeefp.h>
31509 if ac_fn_cxx_try_compile "$LINENO"; then :
31510 glibcxx_cv_func__log10l_use=yes
31512 glibcxx_cv_func__log10l_use=no
31514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31516 ac_cpp='$CPP $CPPFLAGS'
31517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
31526 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
31528 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
31529 for ac_func in _log10l
31531 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
31532 if test "x$ac_cv_func__log10l" = x""yes; then :
31533 cat >>confdefs.h <<_ACEOF
31534 #define HAVE__LOG10L 1
31547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
31548 $as_echo_n "checking for modfl declaration... " >&6; }
31549 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
31550 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
31551 $as_echo_n "(cached) " >&6
31556 ac_cpp='$CXXCPP $CPPFLAGS'
31557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31562 /* end confdefs.h. */
31572 if ac_fn_cxx_try_compile "$LINENO"; then :
31573 glibcxx_cv_func_modfl_use=yes
31575 glibcxx_cv_func_modfl_use=no
31577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31579 ac_cpp='$CPP $CPPFLAGS'
31580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
31589 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
31591 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
31592 for ac_func in modfl
31594 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
31595 if test "x$ac_cv_func_modfl" = x""yes; then :
31596 cat >>confdefs.h <<_ACEOF
31597 #define HAVE_MODFL 1
31605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
31606 $as_echo_n "checking for _modfl declaration... " >&6; }
31607 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
31608 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
31609 $as_echo_n "(cached) " >&6
31614 ac_cpp='$CXXCPP $CPPFLAGS'
31615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31620 /* end confdefs.h. */
31630 if ac_fn_cxx_try_compile "$LINENO"; then :
31631 glibcxx_cv_func__modfl_use=yes
31633 glibcxx_cv_func__modfl_use=no
31635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31637 ac_cpp='$CPP $CPPFLAGS'
31638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
31647 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
31649 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
31650 for ac_func in _modfl
31652 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
31653 if test "x$ac_cv_func__modfl" = x""yes; then :
31654 cat >>confdefs.h <<_ACEOF
31655 #define HAVE__MODFL 1
31668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
31669 $as_echo_n "checking for powl declaration... " >&6; }
31670 if test x${glibcxx_cv_func_powl_use+set} != xset; then
31671 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
31672 $as_echo_n "(cached) " >&6
31677 ac_cpp='$CXXCPP $CPPFLAGS'
31678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31683 /* end confdefs.h. */
31693 if ac_fn_cxx_try_compile "$LINENO"; then :
31694 glibcxx_cv_func_powl_use=yes
31696 glibcxx_cv_func_powl_use=no
31698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31700 ac_cpp='$CPP $CPPFLAGS'
31701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
31710 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
31712 if test x$glibcxx_cv_func_powl_use = x"yes"; then
31713 for ac_func in powl
31715 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
31716 if test "x$ac_cv_func_powl" = x""yes; then :
31717 cat >>confdefs.h <<_ACEOF
31718 #define HAVE_POWL 1
31726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
31727 $as_echo_n "checking for _powl declaration... " >&6; }
31728 if test x${glibcxx_cv_func__powl_use+set} != xset; then
31729 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
31730 $as_echo_n "(cached) " >&6
31735 ac_cpp='$CXXCPP $CPPFLAGS'
31736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31741 /* end confdefs.h. */
31751 if ac_fn_cxx_try_compile "$LINENO"; then :
31752 glibcxx_cv_func__powl_use=yes
31754 glibcxx_cv_func__powl_use=no
31756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31758 ac_cpp='$CPP $CPPFLAGS'
31759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
31768 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
31770 if test x$glibcxx_cv_func__powl_use = x"yes"; then
31771 for ac_func in _powl
31773 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
31774 if test "x$ac_cv_func__powl" = x""yes; then :
31775 cat >>confdefs.h <<_ACEOF
31776 #define HAVE__POWL 1
31789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
31790 $as_echo_n "checking for sqrtl declaration... " >&6; }
31791 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
31792 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
31793 $as_echo_n "(cached) " >&6
31798 ac_cpp='$CXXCPP $CPPFLAGS'
31799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31804 /* end confdefs.h. */
31806 #ifdef HAVE_IEEEFP_H
31807 #include <ieeefp.h>
31818 if ac_fn_cxx_try_compile "$LINENO"; then :
31819 glibcxx_cv_func_sqrtl_use=yes
31821 glibcxx_cv_func_sqrtl_use=no
31823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31825 ac_cpp='$CPP $CPPFLAGS'
31826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
31835 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
31837 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
31838 for ac_func in sqrtl
31840 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
31841 if test "x$ac_cv_func_sqrtl" = x""yes; then :
31842 cat >>confdefs.h <<_ACEOF
31843 #define HAVE_SQRTL 1
31851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
31852 $as_echo_n "checking for _sqrtl declaration... " >&6; }
31853 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
31854 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
31855 $as_echo_n "(cached) " >&6
31860 ac_cpp='$CXXCPP $CPPFLAGS'
31861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31866 /* end confdefs.h. */
31868 #ifdef HAVE_IEEEFP_H
31869 #include <ieeefp.h>
31880 if ac_fn_cxx_try_compile "$LINENO"; then :
31881 glibcxx_cv_func__sqrtl_use=yes
31883 glibcxx_cv_func__sqrtl_use=no
31885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31887 ac_cpp='$CPP $CPPFLAGS'
31888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
31897 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
31899 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
31900 for ac_func in _sqrtl
31902 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
31903 if test "x$ac_cv_func__sqrtl" = x""yes; then :
31904 cat >>confdefs.h <<_ACEOF
31905 #define HAVE__SQRTL 1
31918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
31919 $as_echo_n "checking for sincosl declaration... " >&6; }
31920 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
31921 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
31922 $as_echo_n "(cached) " >&6
31927 ac_cpp='$CXXCPP $CPPFLAGS'
31928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31933 /* end confdefs.h. */
31943 if ac_fn_cxx_try_compile "$LINENO"; then :
31944 glibcxx_cv_func_sincosl_use=yes
31946 glibcxx_cv_func_sincosl_use=no
31948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31950 ac_cpp='$CPP $CPPFLAGS'
31951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
31960 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
31962 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
31963 for ac_func in sincosl
31965 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
31966 if test "x$ac_cv_func_sincosl" = x""yes; then :
31967 cat >>confdefs.h <<_ACEOF
31968 #define HAVE_SINCOSL 1
31976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
31977 $as_echo_n "checking for _sincosl declaration... " >&6; }
31978 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
31979 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
31980 $as_echo_n "(cached) " >&6
31985 ac_cpp='$CXXCPP $CPPFLAGS'
31986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31991 /* end confdefs.h. */
32001 if ac_fn_cxx_try_compile "$LINENO"; then :
32002 glibcxx_cv_func__sincosl_use=yes
32004 glibcxx_cv_func__sincosl_use=no
32006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32008 ac_cpp='$CPP $CPPFLAGS'
32009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32018 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32020 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32021 for ac_func in _sincosl
32023 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32024 if test "x$ac_cv_func__sincosl" = x""yes; then :
32025 cat >>confdefs.h <<_ACEOF
32026 #define HAVE__SINCOSL 1
32039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32040 $as_echo_n "checking for finitel declaration... " >&6; }
32041 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32042 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32043 $as_echo_n "(cached) " >&6
32048 ac_cpp='$CXXCPP $CPPFLAGS'
32049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32054 /* end confdefs.h. */
32056 #ifdef HAVE_IEEEFP_H
32057 #include <ieeefp.h>
32068 if ac_fn_cxx_try_compile "$LINENO"; then :
32069 glibcxx_cv_func_finitel_use=yes
32071 glibcxx_cv_func_finitel_use=no
32073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32075 ac_cpp='$CPP $CPPFLAGS'
32076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32085 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32087 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32088 for ac_func in finitel
32090 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32091 if test "x$ac_cv_func_finitel" = x""yes; then :
32092 cat >>confdefs.h <<_ACEOF
32093 #define HAVE_FINITEL 1
32101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32102 $as_echo_n "checking for _finitel declaration... " >&6; }
32103 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32104 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32105 $as_echo_n "(cached) " >&6
32110 ac_cpp='$CXXCPP $CPPFLAGS'
32111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32116 /* end confdefs.h. */
32118 #ifdef HAVE_IEEEFP_H
32119 #include <ieeefp.h>
32130 if ac_fn_cxx_try_compile "$LINENO"; then :
32131 glibcxx_cv_func__finitel_use=yes
32133 glibcxx_cv_func__finitel_use=no
32135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32137 ac_cpp='$CPP $CPPFLAGS'
32138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
32147 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
32149 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
32150 for ac_func in _finitel
32152 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
32153 if test "x$ac_cv_func__finitel" = x""yes; then :
32154 cat >>confdefs.h <<_ACEOF
32155 #define HAVE__FINITEL 1
32167 LIBS="$ac_save_LIBS"
32168 CXXFLAGS="$ac_save_CXXFLAGS"
32171 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32172 ac_save_CXXFLAGS="$CXXFLAGS"
32173 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
32177 $as_echo_n "checking for strtold declaration... " >&6; }
32178 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
32179 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
32180 $as_echo_n "(cached) " >&6
32185 ac_cpp='$CXXCPP $CPPFLAGS'
32186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32191 /* end confdefs.h. */
32192 #include <stdlib.h>
32201 if ac_fn_cxx_try_compile "$LINENO"; then :
32202 glibcxx_cv_func_strtold_use=yes
32204 glibcxx_cv_func_strtold_use=no
32206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32208 ac_cpp='$CPP $CPPFLAGS'
32209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
32218 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
32219 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
32220 for ac_func in strtold
32222 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
32223 if test "x$ac_cv_func_strtold" = x""yes; then :
32224 cat >>confdefs.h <<_ACEOF
32225 #define HAVE_STRTOLD 1
32236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
32237 $as_echo_n "checking for strtof declaration... " >&6; }
32238 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
32239 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
32240 $as_echo_n "(cached) " >&6
32245 ac_cpp='$CXXCPP $CPPFLAGS'
32246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32251 /* end confdefs.h. */
32252 #include <stdlib.h>
32261 if ac_fn_cxx_try_compile "$LINENO"; then :
32262 glibcxx_cv_func_strtof_use=yes
32264 glibcxx_cv_func_strtof_use=no
32266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32268 ac_cpp='$CPP $CPPFLAGS'
32269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
32278 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
32279 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
32280 for ac_func in strtof
32282 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
32283 if test "x$ac_cv_func_strtof" = x""yes; then :
32284 cat >>confdefs.h <<_ACEOF
32285 #define HAVE_STRTOF 1
32296 CXXFLAGS="$ac_save_CXXFLAGS"
32299 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
32301 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
32303 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
32305 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
32308 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
32310 $as_echo "#define HAVE_MODF 1" >>confdefs.h
32312 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
32318 # If we're not using GNU ld, then there's no point in even trying these
32319 # tests. Check for that first. We should have already tested for gld
32320 # by now (in libtool), but require it now just to be safe...
32321 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
32322 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
32326 # The name set by libtool depends on the version of libtool. Shame on us
32327 # for depending on an impl detail, but c'est la vie. Older versions used
32328 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
32329 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
32330 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
32331 # set (hence we're using an older libtool), then set it.
32332 if test x${with_gnu_ld+set} != xset; then
32333 if test x${ac_cv_prog_gnu_ld+set} != xset; then
32334 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
32337 with_gnu_ld=$ac_cv_prog_gnu_ld
32341 # Start by getting the version number. I think the libtool test already
32342 # does some of this, but throws away the result.
32343 glibcxx_ld_is_gold=no
32344 if test x"$with_gnu_ld" = x"yes"; then
32345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
32346 $as_echo_n "checking for ld version... " >&6; }
32348 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
32349 glibcxx_ld_is_gold=yes
32351 ldver=`$LD --version 2>/dev/null |
32352 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'`
32354 glibcxx_gnu_ld_version=`echo $ldver | \
32355 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
32356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
32357 $as_echo "$glibcxx_gnu_ld_version" >&6; }
32360 # Set --gc-sections.
32361 glibcxx_have_gc_sections=no
32362 if test "$glibcxx_ld_is_gold" = "yes"; then
32363 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
32364 glibcxx_have_gc_sections=yes
32367 glibcxx_gcsections_min_ld=21602
32368 if test x"$with_gnu_ld" = x"yes" &&
32369 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
32370 glibcxx_have_gc_sections=yes
32373 if test "$glibcxx_have_gc_sections" = "yes"; then
32374 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
32375 # NB: This flag only works reliably after 2.16.1. Configure tests
32376 # for this are difficult, so hard wire a value that should work.
32378 ac_test_CFLAGS="${CFLAGS+set}"
32379 ac_save_CFLAGS="$CFLAGS"
32380 CFLAGS='-Wl,--gc-sections'
32382 # Check for -Wl,--gc-sections
32383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
32384 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
32385 if test x$gcc_no_link = xyes; then
32386 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32389 /* end confdefs.h. */
32390 int one(void) { return 1; }
32391 int two(void) { return 2; }
32401 if ac_fn_c_try_link "$LINENO"; then :
32406 rm -f core conftest.err conftest.$ac_objext \
32407 conftest$ac_exeext conftest.$ac_ext
32408 if test "$ac_gcsections" = "yes"; then
32411 if $CC -c conftest.c; then
32412 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
32413 grep "Warning: gc-sections option ignored" > /dev/null; then
32417 rm -f conftest.c conftest.o conftest
32419 if test "$ac_gcsections" = "yes"; then
32420 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
32422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
32423 $as_echo "$ac_gcsections" >&6; }
32425 if test "$ac_test_CFLAGS" = set; then
32426 CFLAGS="$ac_save_CFLAGS"
32428 # this is the suspicious part
32434 # Note this is only for shared objects.
32436 if test x"$with_gnu_ld" = x"yes"; then
32437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
32438 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
32439 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
32440 if test -n "$cxx_z_relo"; then
32441 OPT_LDFLAGS="-Wl,-z,relro"
32444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
32445 $as_echo "$ac_ld_relro" >&6; }
32448 # Set linker optimization flags.
32449 if test x"$with_gnu_ld" = x"yes"; then
32450 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
32457 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32458 ac_save_CXXFLAGS="$CXXFLAGS"
32459 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
32462 $as_echo_n "checking for sin in -lm... " >&6; }
32463 if test "${ac_cv_lib_m_sin+set}" = set; then :
32464 $as_echo_n "(cached) " >&6
32466 ac_check_lib_save_LIBS=$LIBS
32468 if test x$gcc_no_link = xyes; then
32469 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32472 /* end confdefs.h. */
32474 /* Override any GCC internal prototype to avoid an error.
32475 Use char because int might match the return type of a GCC
32476 builtin and then its argument prototype would still apply. */
32489 if ac_fn_c_try_link "$LINENO"; then :
32490 ac_cv_lib_m_sin=yes
32494 rm -f core conftest.err conftest.$ac_objext \
32495 conftest$ac_exeext conftest.$ac_ext
32496 LIBS=$ac_check_lib_save_LIBS
32498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
32499 $as_echo "$ac_cv_lib_m_sin" >&6; }
32500 if test "x$ac_cv_lib_m_sin" = x""yes; then :
32504 ac_save_LIBS="$LIBS"
32509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
32510 $as_echo_n "checking for isinf declaration... " >&6; }
32511 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
32512 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
32513 $as_echo_n "(cached) " >&6
32518 ac_cpp='$CXXCPP $CPPFLAGS'
32519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32524 /* end confdefs.h. */
32526 #ifdef HAVE_IEEEFP_H
32527 #include <ieeefp.h>
32538 if ac_fn_cxx_try_compile "$LINENO"; then :
32539 glibcxx_cv_func_isinf_use=yes
32541 glibcxx_cv_func_isinf_use=no
32543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32545 ac_cpp='$CPP $CPPFLAGS'
32546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
32555 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
32557 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
32558 for ac_func in isinf
32560 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
32561 if test "x$ac_cv_func_isinf" = x""yes; then :
32562 cat >>confdefs.h <<_ACEOF
32563 #define HAVE_ISINF 1
32571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
32572 $as_echo_n "checking for _isinf declaration... " >&6; }
32573 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
32574 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
32575 $as_echo_n "(cached) " >&6
32580 ac_cpp='$CXXCPP $CPPFLAGS'
32581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32586 /* end confdefs.h. */
32588 #ifdef HAVE_IEEEFP_H
32589 #include <ieeefp.h>
32600 if ac_fn_cxx_try_compile "$LINENO"; then :
32601 glibcxx_cv_func__isinf_use=yes
32603 glibcxx_cv_func__isinf_use=no
32605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32607 ac_cpp='$CPP $CPPFLAGS'
32608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
32617 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
32619 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
32620 for ac_func in _isinf
32622 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
32623 if test "x$ac_cv_func__isinf" = x""yes; then :
32624 cat >>confdefs.h <<_ACEOF
32625 #define HAVE__ISINF 1
32638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
32639 $as_echo_n "checking for isnan declaration... " >&6; }
32640 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
32641 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
32642 $as_echo_n "(cached) " >&6
32647 ac_cpp='$CXXCPP $CPPFLAGS'
32648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32653 /* end confdefs.h. */
32655 #ifdef HAVE_IEEEFP_H
32656 #include <ieeefp.h>
32667 if ac_fn_cxx_try_compile "$LINENO"; then :
32668 glibcxx_cv_func_isnan_use=yes
32670 glibcxx_cv_func_isnan_use=no
32672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32674 ac_cpp='$CPP $CPPFLAGS'
32675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
32684 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
32686 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
32687 for ac_func in isnan
32689 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
32690 if test "x$ac_cv_func_isnan" = x""yes; then :
32691 cat >>confdefs.h <<_ACEOF
32692 #define HAVE_ISNAN 1
32700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
32701 $as_echo_n "checking for _isnan declaration... " >&6; }
32702 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
32703 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
32704 $as_echo_n "(cached) " >&6
32709 ac_cpp='$CXXCPP $CPPFLAGS'
32710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32715 /* end confdefs.h. */
32717 #ifdef HAVE_IEEEFP_H
32718 #include <ieeefp.h>
32729 if ac_fn_cxx_try_compile "$LINENO"; then :
32730 glibcxx_cv_func__isnan_use=yes
32732 glibcxx_cv_func__isnan_use=no
32734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32736 ac_cpp='$CPP $CPPFLAGS'
32737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
32746 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
32748 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
32749 for ac_func in _isnan
32751 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
32752 if test "x$ac_cv_func__isnan" = x""yes; then :
32753 cat >>confdefs.h <<_ACEOF
32754 #define HAVE__ISNAN 1
32767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
32768 $as_echo_n "checking for finite declaration... " >&6; }
32769 if test x${glibcxx_cv_func_finite_use+set} != xset; then
32770 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
32771 $as_echo_n "(cached) " >&6
32776 ac_cpp='$CXXCPP $CPPFLAGS'
32777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32782 /* end confdefs.h. */
32784 #ifdef HAVE_IEEEFP_H
32785 #include <ieeefp.h>
32796 if ac_fn_cxx_try_compile "$LINENO"; then :
32797 glibcxx_cv_func_finite_use=yes
32799 glibcxx_cv_func_finite_use=no
32801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32803 ac_cpp='$CPP $CPPFLAGS'
32804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
32813 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
32815 if test x$glibcxx_cv_func_finite_use = x"yes"; then
32816 for ac_func in finite
32818 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
32819 if test "x$ac_cv_func_finite" = x""yes; then :
32820 cat >>confdefs.h <<_ACEOF
32821 #define HAVE_FINITE 1
32829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
32830 $as_echo_n "checking for _finite declaration... " >&6; }
32831 if test x${glibcxx_cv_func__finite_use+set} != xset; then
32832 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
32833 $as_echo_n "(cached) " >&6
32838 ac_cpp='$CXXCPP $CPPFLAGS'
32839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32844 /* end confdefs.h. */
32846 #ifdef HAVE_IEEEFP_H
32847 #include <ieeefp.h>
32858 if ac_fn_cxx_try_compile "$LINENO"; then :
32859 glibcxx_cv_func__finite_use=yes
32861 glibcxx_cv_func__finite_use=no
32863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32865 ac_cpp='$CPP $CPPFLAGS'
32866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
32875 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
32877 if test x$glibcxx_cv_func__finite_use = x"yes"; then
32878 for ac_func in _finite
32880 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
32881 if test "x$ac_cv_func__finite" = x""yes; then :
32882 cat >>confdefs.h <<_ACEOF
32883 #define HAVE__FINITE 1
32896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
32897 $as_echo_n "checking for sincos declaration... " >&6; }
32898 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32899 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
32900 $as_echo_n "(cached) " >&6
32905 ac_cpp='$CXXCPP $CPPFLAGS'
32906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32911 /* end confdefs.h. */
32921 if ac_fn_cxx_try_compile "$LINENO"; then :
32922 glibcxx_cv_func_sincos_use=yes
32924 glibcxx_cv_func_sincos_use=no
32926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32928 ac_cpp='$CPP $CPPFLAGS'
32929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
32938 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
32940 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
32941 for ac_func in sincos
32943 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
32944 if test "x$ac_cv_func_sincos" = x""yes; then :
32945 cat >>confdefs.h <<_ACEOF
32946 #define HAVE_SINCOS 1
32954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
32955 $as_echo_n "checking for _sincos declaration... " >&6; }
32956 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
32957 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
32958 $as_echo_n "(cached) " >&6
32963 ac_cpp='$CXXCPP $CPPFLAGS'
32964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32969 /* end confdefs.h. */
32979 if ac_fn_cxx_try_compile "$LINENO"; then :
32980 glibcxx_cv_func__sincos_use=yes
32982 glibcxx_cv_func__sincos_use=no
32984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32986 ac_cpp='$CPP $CPPFLAGS'
32987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
32996 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
32998 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
32999 for ac_func in _sincos
33001 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33002 if test "x$ac_cv_func__sincos" = x""yes; then :
33003 cat >>confdefs.h <<_ACEOF
33004 #define HAVE__SINCOS 1
33017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33018 $as_echo_n "checking for fpclass declaration... " >&6; }
33019 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33020 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33021 $as_echo_n "(cached) " >&6
33026 ac_cpp='$CXXCPP $CPPFLAGS'
33027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33032 /* end confdefs.h. */
33034 #ifdef HAVE_IEEEFP_H
33035 #include <ieeefp.h>
33046 if ac_fn_cxx_try_compile "$LINENO"; then :
33047 glibcxx_cv_func_fpclass_use=yes
33049 glibcxx_cv_func_fpclass_use=no
33051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33053 ac_cpp='$CPP $CPPFLAGS'
33054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33063 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33065 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33066 for ac_func in fpclass
33068 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33069 if test "x$ac_cv_func_fpclass" = x""yes; then :
33070 cat >>confdefs.h <<_ACEOF
33071 #define HAVE_FPCLASS 1
33079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33080 $as_echo_n "checking for _fpclass declaration... " >&6; }
33081 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33082 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33083 $as_echo_n "(cached) " >&6
33088 ac_cpp='$CXXCPP $CPPFLAGS'
33089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33094 /* end confdefs.h. */
33096 #ifdef HAVE_IEEEFP_H
33097 #include <ieeefp.h>
33108 if ac_fn_cxx_try_compile "$LINENO"; then :
33109 glibcxx_cv_func__fpclass_use=yes
33111 glibcxx_cv_func__fpclass_use=no
33113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33115 ac_cpp='$CPP $CPPFLAGS'
33116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33125 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33127 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33128 for ac_func in _fpclass
33130 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
33131 if test "x$ac_cv_func__fpclass" = x""yes; then :
33132 cat >>confdefs.h <<_ACEOF
33133 #define HAVE__FPCLASS 1
33146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
33147 $as_echo_n "checking for qfpclass declaration... " >&6; }
33148 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33149 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
33150 $as_echo_n "(cached) " >&6
33155 ac_cpp='$CXXCPP $CPPFLAGS'
33156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33161 /* end confdefs.h. */
33163 #ifdef HAVE_IEEEFP_H
33164 #include <ieeefp.h>
33175 if ac_fn_cxx_try_compile "$LINENO"; then :
33176 glibcxx_cv_func_qfpclass_use=yes
33178 glibcxx_cv_func_qfpclass_use=no
33180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33182 ac_cpp='$CPP $CPPFLAGS'
33183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
33192 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
33194 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33195 for ac_func in qfpclass
33197 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
33198 if test "x$ac_cv_func_qfpclass" = x""yes; then :
33199 cat >>confdefs.h <<_ACEOF
33200 #define HAVE_QFPCLASS 1
33208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
33209 $as_echo_n "checking for _qfpclass declaration... " >&6; }
33210 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33211 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
33212 $as_echo_n "(cached) " >&6
33217 ac_cpp='$CXXCPP $CPPFLAGS'
33218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33223 /* end confdefs.h. */
33225 #ifdef HAVE_IEEEFP_H
33226 #include <ieeefp.h>
33237 if ac_fn_cxx_try_compile "$LINENO"; then :
33238 glibcxx_cv_func__qfpclass_use=yes
33240 glibcxx_cv_func__qfpclass_use=no
33242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33244 ac_cpp='$CPP $CPPFLAGS'
33245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
33254 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
33256 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33257 for ac_func in _qfpclass
33259 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
33260 if test "x$ac_cv_func__qfpclass" = x""yes; then :
33261 cat >>confdefs.h <<_ACEOF
33262 #define HAVE__QFPCLASS 1
33275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
33276 $as_echo_n "checking for hypot declaration... " >&6; }
33277 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33278 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
33279 $as_echo_n "(cached) " >&6
33284 ac_cpp='$CXXCPP $CPPFLAGS'
33285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33290 /* end confdefs.h. */
33300 if ac_fn_cxx_try_compile "$LINENO"; then :
33301 glibcxx_cv_func_hypot_use=yes
33303 glibcxx_cv_func_hypot_use=no
33305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33307 ac_cpp='$CPP $CPPFLAGS'
33308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
33317 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
33319 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33320 for ac_func in hypot
33322 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
33323 if test "x$ac_cv_func_hypot" = x""yes; then :
33324 cat >>confdefs.h <<_ACEOF
33325 #define HAVE_HYPOT 1
33333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
33334 $as_echo_n "checking for _hypot declaration... " >&6; }
33335 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
33336 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
33337 $as_echo_n "(cached) " >&6
33342 ac_cpp='$CXXCPP $CPPFLAGS'
33343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33348 /* end confdefs.h. */
33358 if ac_fn_cxx_try_compile "$LINENO"; then :
33359 glibcxx_cv_func__hypot_use=yes
33361 glibcxx_cv_func__hypot_use=no
33363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33365 ac_cpp='$CPP $CPPFLAGS'
33366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
33375 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
33377 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
33378 for ac_func in _hypot
33380 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
33381 if test "x$ac_cv_func__hypot" = x""yes; then :
33382 cat >>confdefs.h <<_ACEOF
33383 #define HAVE__HYPOT 1
33396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
33397 $as_echo_n "checking for float trig functions... " >&6; }
33398 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
33399 $as_echo_n "(cached) " >&6
33404 ac_cpp='$CXXCPP $CPPFLAGS'
33405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33410 /* end confdefs.h. */
33415 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
33420 if ac_fn_cxx_try_compile "$LINENO"; then :
33421 glibcxx_cv_func_float_trig_use=yes
33423 glibcxx_cv_func_float_trig_use=no
33425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33427 ac_cpp='$CPP $CPPFLAGS'
33428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
33435 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
33436 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
33437 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
33439 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33440 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33441 eval as_val=\$$as_ac_var
33442 if test "x$as_val" = x""yes; then :
33443 cat >>confdefs.h <<_ACEOF
33444 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
33452 $as_echo_n "checking for _float trig functions... " >&6; }
33453 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
33454 $as_echo_n "(cached) " >&6
33459 ac_cpp='$CXXCPP $CPPFLAGS'
33460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33465 /* end confdefs.h. */
33470 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
33475 if ac_fn_cxx_try_compile "$LINENO"; then :
33476 glibcxx_cv_func__float_trig_use=yes
33478 glibcxx_cv_func__float_trig_use=no
33480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33482 ac_cpp='$CPP $CPPFLAGS'
33483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
33490 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
33491 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
33492 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
33494 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33495 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33496 eval as_val=\$$as_ac_var
33497 if test "x$as_val" = x""yes; then :
33498 cat >>confdefs.h <<_ACEOF
33499 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
33513 $as_echo_n "checking for float round functions... " >&6; }
33514 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
33515 $as_echo_n "(cached) " >&6
33520 ac_cpp='$CXXCPP $CPPFLAGS'
33521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33526 /* end confdefs.h. */
33531 ceilf (0); floorf (0);
33536 if ac_fn_cxx_try_compile "$LINENO"; then :
33537 glibcxx_cv_func_float_round_use=yes
33539 glibcxx_cv_func_float_round_use=no
33541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33543 ac_cpp='$CPP $CPPFLAGS'
33544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
33551 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
33552 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
33553 for ac_func in ceilf floorf
33555 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33556 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33557 eval as_val=\$$as_ac_var
33558 if test "x$as_val" = x""yes; then :
33559 cat >>confdefs.h <<_ACEOF
33560 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
33568 $as_echo_n "checking for _float round functions... " >&6; }
33569 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
33570 $as_echo_n "(cached) " >&6
33575 ac_cpp='$CXXCPP $CPPFLAGS'
33576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33581 /* end confdefs.h. */
33586 _ceilf (0); _floorf (0);
33591 if ac_fn_cxx_try_compile "$LINENO"; then :
33592 glibcxx_cv_func__float_round_use=yes
33594 glibcxx_cv_func__float_round_use=no
33596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33598 ac_cpp='$CPP $CPPFLAGS'
33599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
33606 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
33607 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
33608 for ac_func in _ceilf _floorf
33610 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33611 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33612 eval as_val=\$$as_ac_var
33613 if test "x$as_val" = x""yes; then :
33614 cat >>confdefs.h <<_ACEOF
33615 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
33630 $as_echo_n "checking for expf declaration... " >&6; }
33631 if test x${glibcxx_cv_func_expf_use+set} != xset; then
33632 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
33633 $as_echo_n "(cached) " >&6
33638 ac_cpp='$CXXCPP $CPPFLAGS'
33639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33644 /* end confdefs.h. */
33646 #ifdef HAVE_IEEEFP_H
33647 #include <ieeefp.h>
33658 if ac_fn_cxx_try_compile "$LINENO"; then :
33659 glibcxx_cv_func_expf_use=yes
33661 glibcxx_cv_func_expf_use=no
33663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33665 ac_cpp='$CPP $CPPFLAGS'
33666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
33675 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
33677 if test x$glibcxx_cv_func_expf_use = x"yes"; then
33678 for ac_func in expf
33680 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
33681 if test "x$ac_cv_func_expf" = x""yes; then :
33682 cat >>confdefs.h <<_ACEOF
33683 #define HAVE_EXPF 1
33691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
33692 $as_echo_n "checking for _expf declaration... " >&6; }
33693 if test x${glibcxx_cv_func__expf_use+set} != xset; then
33694 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
33695 $as_echo_n "(cached) " >&6
33700 ac_cpp='$CXXCPP $CPPFLAGS'
33701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33706 /* end confdefs.h. */
33708 #ifdef HAVE_IEEEFP_H
33709 #include <ieeefp.h>
33720 if ac_fn_cxx_try_compile "$LINENO"; then :
33721 glibcxx_cv_func__expf_use=yes
33723 glibcxx_cv_func__expf_use=no
33725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33727 ac_cpp='$CPP $CPPFLAGS'
33728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
33737 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
33739 if test x$glibcxx_cv_func__expf_use = x"yes"; then
33740 for ac_func in _expf
33742 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
33743 if test "x$ac_cv_func__expf" = x""yes; then :
33744 cat >>confdefs.h <<_ACEOF
33745 #define HAVE__EXPF 1
33758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
33759 $as_echo_n "checking for isnanf declaration... " >&6; }
33760 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
33761 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
33762 $as_echo_n "(cached) " >&6
33767 ac_cpp='$CXXCPP $CPPFLAGS'
33768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33773 /* end confdefs.h. */
33775 #ifdef HAVE_IEEEFP_H
33776 #include <ieeefp.h>
33787 if ac_fn_cxx_try_compile "$LINENO"; then :
33788 glibcxx_cv_func_isnanf_use=yes
33790 glibcxx_cv_func_isnanf_use=no
33792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33794 ac_cpp='$CPP $CPPFLAGS'
33795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
33804 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
33806 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
33807 for ac_func in isnanf
33809 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
33810 if test "x$ac_cv_func_isnanf" = x""yes; then :
33811 cat >>confdefs.h <<_ACEOF
33812 #define HAVE_ISNANF 1
33820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
33821 $as_echo_n "checking for _isnanf declaration... " >&6; }
33822 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
33823 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
33824 $as_echo_n "(cached) " >&6
33829 ac_cpp='$CXXCPP $CPPFLAGS'
33830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33835 /* end confdefs.h. */
33837 #ifdef HAVE_IEEEFP_H
33838 #include <ieeefp.h>
33849 if ac_fn_cxx_try_compile "$LINENO"; then :
33850 glibcxx_cv_func__isnanf_use=yes
33852 glibcxx_cv_func__isnanf_use=no
33854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33856 ac_cpp='$CPP $CPPFLAGS'
33857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
33866 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
33868 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
33869 for ac_func in _isnanf
33871 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
33872 if test "x$ac_cv_func__isnanf" = x""yes; then :
33873 cat >>confdefs.h <<_ACEOF
33874 #define HAVE__ISNANF 1
33887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
33888 $as_echo_n "checking for isinff declaration... " >&6; }
33889 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
33890 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
33891 $as_echo_n "(cached) " >&6
33896 ac_cpp='$CXXCPP $CPPFLAGS'
33897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33902 /* end confdefs.h. */
33904 #ifdef HAVE_IEEEFP_H
33905 #include <ieeefp.h>
33916 if ac_fn_cxx_try_compile "$LINENO"; then :
33917 glibcxx_cv_func_isinff_use=yes
33919 glibcxx_cv_func_isinff_use=no
33921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33923 ac_cpp='$CPP $CPPFLAGS'
33924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
33933 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
33935 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
33936 for ac_func in isinff
33938 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
33939 if test "x$ac_cv_func_isinff" = x""yes; then :
33940 cat >>confdefs.h <<_ACEOF
33941 #define HAVE_ISINFF 1
33949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
33950 $as_echo_n "checking for _isinff declaration... " >&6; }
33951 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
33952 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
33953 $as_echo_n "(cached) " >&6
33958 ac_cpp='$CXXCPP $CPPFLAGS'
33959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33964 /* end confdefs.h. */
33966 #ifdef HAVE_IEEEFP_H
33967 #include <ieeefp.h>
33978 if ac_fn_cxx_try_compile "$LINENO"; then :
33979 glibcxx_cv_func__isinff_use=yes
33981 glibcxx_cv_func__isinff_use=no
33983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33985 ac_cpp='$CPP $CPPFLAGS'
33986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
33995 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
33997 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
33998 for ac_func in _isinff
34000 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34001 if test "x$ac_cv_func__isinff" = x""yes; then :
34002 cat >>confdefs.h <<_ACEOF
34003 #define HAVE__ISINFF 1
34016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34017 $as_echo_n "checking for atan2f declaration... " >&6; }
34018 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34019 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34020 $as_echo_n "(cached) " >&6
34025 ac_cpp='$CXXCPP $CPPFLAGS'
34026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34031 /* end confdefs.h. */
34041 if ac_fn_cxx_try_compile "$LINENO"; then :
34042 glibcxx_cv_func_atan2f_use=yes
34044 glibcxx_cv_func_atan2f_use=no
34046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34048 ac_cpp='$CPP $CPPFLAGS'
34049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34058 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34060 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34061 for ac_func in atan2f
34063 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34064 if test "x$ac_cv_func_atan2f" = x""yes; then :
34065 cat >>confdefs.h <<_ACEOF
34066 #define HAVE_ATAN2F 1
34074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34075 $as_echo_n "checking for _atan2f declaration... " >&6; }
34076 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34077 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34078 $as_echo_n "(cached) " >&6
34083 ac_cpp='$CXXCPP $CPPFLAGS'
34084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34089 /* end confdefs.h. */
34099 if ac_fn_cxx_try_compile "$LINENO"; then :
34100 glibcxx_cv_func__atan2f_use=yes
34102 glibcxx_cv_func__atan2f_use=no
34104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34106 ac_cpp='$CPP $CPPFLAGS'
34107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
34116 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
34118 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
34119 for ac_func in _atan2f
34121 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
34122 if test "x$ac_cv_func__atan2f" = x""yes; then :
34123 cat >>confdefs.h <<_ACEOF
34124 #define HAVE__ATAN2F 1
34137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
34138 $as_echo_n "checking for fabsf declaration... " >&6; }
34139 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
34140 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
34141 $as_echo_n "(cached) " >&6
34146 ac_cpp='$CXXCPP $CPPFLAGS'
34147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34152 /* end confdefs.h. */
34154 #ifdef HAVE_IEEEFP_H
34155 #include <ieeefp.h>
34166 if ac_fn_cxx_try_compile "$LINENO"; then :
34167 glibcxx_cv_func_fabsf_use=yes
34169 glibcxx_cv_func_fabsf_use=no
34171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34173 ac_cpp='$CPP $CPPFLAGS'
34174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
34183 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
34185 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
34186 for ac_func in fabsf
34188 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
34189 if test "x$ac_cv_func_fabsf" = x""yes; then :
34190 cat >>confdefs.h <<_ACEOF
34191 #define HAVE_FABSF 1
34199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
34200 $as_echo_n "checking for _fabsf declaration... " >&6; }
34201 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
34202 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
34203 $as_echo_n "(cached) " >&6
34208 ac_cpp='$CXXCPP $CPPFLAGS'
34209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34214 /* end confdefs.h. */
34216 #ifdef HAVE_IEEEFP_H
34217 #include <ieeefp.h>
34228 if ac_fn_cxx_try_compile "$LINENO"; then :
34229 glibcxx_cv_func__fabsf_use=yes
34231 glibcxx_cv_func__fabsf_use=no
34233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34235 ac_cpp='$CPP $CPPFLAGS'
34236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
34245 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
34247 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
34248 for ac_func in _fabsf
34250 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
34251 if test "x$ac_cv_func__fabsf" = x""yes; then :
34252 cat >>confdefs.h <<_ACEOF
34253 #define HAVE__FABSF 1
34266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
34267 $as_echo_n "checking for fmodf declaration... " >&6; }
34268 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
34269 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
34270 $as_echo_n "(cached) " >&6
34275 ac_cpp='$CXXCPP $CPPFLAGS'
34276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34281 /* end confdefs.h. */
34291 if ac_fn_cxx_try_compile "$LINENO"; then :
34292 glibcxx_cv_func_fmodf_use=yes
34294 glibcxx_cv_func_fmodf_use=no
34296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34298 ac_cpp='$CPP $CPPFLAGS'
34299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
34308 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
34310 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
34311 for ac_func in fmodf
34313 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
34314 if test "x$ac_cv_func_fmodf" = x""yes; then :
34315 cat >>confdefs.h <<_ACEOF
34316 #define HAVE_FMODF 1
34324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
34325 $as_echo_n "checking for _fmodf declaration... " >&6; }
34326 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
34327 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
34328 $as_echo_n "(cached) " >&6
34333 ac_cpp='$CXXCPP $CPPFLAGS'
34334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34339 /* end confdefs.h. */
34349 if ac_fn_cxx_try_compile "$LINENO"; then :
34350 glibcxx_cv_func__fmodf_use=yes
34352 glibcxx_cv_func__fmodf_use=no
34354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34356 ac_cpp='$CPP $CPPFLAGS'
34357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
34366 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
34368 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
34369 for ac_func in _fmodf
34371 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
34372 if test "x$ac_cv_func__fmodf" = x""yes; then :
34373 cat >>confdefs.h <<_ACEOF
34374 #define HAVE__FMODF 1
34387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
34388 $as_echo_n "checking for frexpf declaration... " >&6; }
34389 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
34390 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
34391 $as_echo_n "(cached) " >&6
34396 ac_cpp='$CXXCPP $CPPFLAGS'
34397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34402 /* end confdefs.h. */
34412 if ac_fn_cxx_try_compile "$LINENO"; then :
34413 glibcxx_cv_func_frexpf_use=yes
34415 glibcxx_cv_func_frexpf_use=no
34417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34419 ac_cpp='$CPP $CPPFLAGS'
34420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
34429 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
34431 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
34432 for ac_func in frexpf
34434 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
34435 if test "x$ac_cv_func_frexpf" = x""yes; then :
34436 cat >>confdefs.h <<_ACEOF
34437 #define HAVE_FREXPF 1
34445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
34446 $as_echo_n "checking for _frexpf declaration... " >&6; }
34447 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
34448 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
34449 $as_echo_n "(cached) " >&6
34454 ac_cpp='$CXXCPP $CPPFLAGS'
34455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34460 /* end confdefs.h. */
34470 if ac_fn_cxx_try_compile "$LINENO"; then :
34471 glibcxx_cv_func__frexpf_use=yes
34473 glibcxx_cv_func__frexpf_use=no
34475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34477 ac_cpp='$CPP $CPPFLAGS'
34478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
34487 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
34489 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
34490 for ac_func in _frexpf
34492 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
34493 if test "x$ac_cv_func__frexpf" = x""yes; then :
34494 cat >>confdefs.h <<_ACEOF
34495 #define HAVE__FREXPF 1
34508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
34509 $as_echo_n "checking for hypotf declaration... " >&6; }
34510 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
34511 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
34512 $as_echo_n "(cached) " >&6
34517 ac_cpp='$CXXCPP $CPPFLAGS'
34518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34523 /* end confdefs.h. */
34533 if ac_fn_cxx_try_compile "$LINENO"; then :
34534 glibcxx_cv_func_hypotf_use=yes
34536 glibcxx_cv_func_hypotf_use=no
34538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34540 ac_cpp='$CPP $CPPFLAGS'
34541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
34550 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
34552 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
34553 for ac_func in hypotf
34555 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
34556 if test "x$ac_cv_func_hypotf" = x""yes; then :
34557 cat >>confdefs.h <<_ACEOF
34558 #define HAVE_HYPOTF 1
34566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
34567 $as_echo_n "checking for _hypotf declaration... " >&6; }
34568 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
34569 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
34570 $as_echo_n "(cached) " >&6
34575 ac_cpp='$CXXCPP $CPPFLAGS'
34576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34581 /* end confdefs.h. */
34591 if ac_fn_cxx_try_compile "$LINENO"; then :
34592 glibcxx_cv_func__hypotf_use=yes
34594 glibcxx_cv_func__hypotf_use=no
34596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34598 ac_cpp='$CPP $CPPFLAGS'
34599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
34608 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
34610 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
34611 for ac_func in _hypotf
34613 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
34614 if test "x$ac_cv_func__hypotf" = x""yes; then :
34615 cat >>confdefs.h <<_ACEOF
34616 #define HAVE__HYPOTF 1
34629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
34630 $as_echo_n "checking for ldexpf declaration... " >&6; }
34631 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
34632 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
34633 $as_echo_n "(cached) " >&6
34638 ac_cpp='$CXXCPP $CPPFLAGS'
34639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34644 /* end confdefs.h. */
34654 if ac_fn_cxx_try_compile "$LINENO"; then :
34655 glibcxx_cv_func_ldexpf_use=yes
34657 glibcxx_cv_func_ldexpf_use=no
34659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34661 ac_cpp='$CPP $CPPFLAGS'
34662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
34671 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
34673 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
34674 for ac_func in ldexpf
34676 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
34677 if test "x$ac_cv_func_ldexpf" = x""yes; then :
34678 cat >>confdefs.h <<_ACEOF
34679 #define HAVE_LDEXPF 1
34687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
34688 $as_echo_n "checking for _ldexpf declaration... " >&6; }
34689 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
34690 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
34691 $as_echo_n "(cached) " >&6
34696 ac_cpp='$CXXCPP $CPPFLAGS'
34697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34702 /* end confdefs.h. */
34712 if ac_fn_cxx_try_compile "$LINENO"; then :
34713 glibcxx_cv_func__ldexpf_use=yes
34715 glibcxx_cv_func__ldexpf_use=no
34717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34719 ac_cpp='$CPP $CPPFLAGS'
34720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
34729 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
34731 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
34732 for ac_func in _ldexpf
34734 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
34735 if test "x$ac_cv_func__ldexpf" = x""yes; then :
34736 cat >>confdefs.h <<_ACEOF
34737 #define HAVE__LDEXPF 1
34750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
34751 $as_echo_n "checking for logf declaration... " >&6; }
34752 if test x${glibcxx_cv_func_logf_use+set} != xset; then
34753 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
34754 $as_echo_n "(cached) " >&6
34759 ac_cpp='$CXXCPP $CPPFLAGS'
34760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34765 /* end confdefs.h. */
34767 #ifdef HAVE_IEEEFP_H
34768 #include <ieeefp.h>
34779 if ac_fn_cxx_try_compile "$LINENO"; then :
34780 glibcxx_cv_func_logf_use=yes
34782 glibcxx_cv_func_logf_use=no
34784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34786 ac_cpp='$CPP $CPPFLAGS'
34787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
34796 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
34798 if test x$glibcxx_cv_func_logf_use = x"yes"; then
34799 for ac_func in logf
34801 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
34802 if test "x$ac_cv_func_logf" = x""yes; then :
34803 cat >>confdefs.h <<_ACEOF
34804 #define HAVE_LOGF 1
34812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
34813 $as_echo_n "checking for _logf declaration... " >&6; }
34814 if test x${glibcxx_cv_func__logf_use+set} != xset; then
34815 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
34816 $as_echo_n "(cached) " >&6
34821 ac_cpp='$CXXCPP $CPPFLAGS'
34822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34827 /* end confdefs.h. */
34829 #ifdef HAVE_IEEEFP_H
34830 #include <ieeefp.h>
34841 if ac_fn_cxx_try_compile "$LINENO"; then :
34842 glibcxx_cv_func__logf_use=yes
34844 glibcxx_cv_func__logf_use=no
34846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34848 ac_cpp='$CPP $CPPFLAGS'
34849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
34858 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
34860 if test x$glibcxx_cv_func__logf_use = x"yes"; then
34861 for ac_func in _logf
34863 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
34864 if test "x$ac_cv_func__logf" = x""yes; then :
34865 cat >>confdefs.h <<_ACEOF
34866 #define HAVE__LOGF 1
34879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
34880 $as_echo_n "checking for log10f declaration... " >&6; }
34881 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
34882 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
34883 $as_echo_n "(cached) " >&6
34888 ac_cpp='$CXXCPP $CPPFLAGS'
34889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34894 /* end confdefs.h. */
34896 #ifdef HAVE_IEEEFP_H
34897 #include <ieeefp.h>
34908 if ac_fn_cxx_try_compile "$LINENO"; then :
34909 glibcxx_cv_func_log10f_use=yes
34911 glibcxx_cv_func_log10f_use=no
34913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34915 ac_cpp='$CPP $CPPFLAGS'
34916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
34925 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
34927 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
34928 for ac_func in log10f
34930 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
34931 if test "x$ac_cv_func_log10f" = x""yes; then :
34932 cat >>confdefs.h <<_ACEOF
34933 #define HAVE_LOG10F 1
34941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
34942 $as_echo_n "checking for _log10f declaration... " >&6; }
34943 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
34944 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
34945 $as_echo_n "(cached) " >&6
34950 ac_cpp='$CXXCPP $CPPFLAGS'
34951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34956 /* end confdefs.h. */
34958 #ifdef HAVE_IEEEFP_H
34959 #include <ieeefp.h>
34970 if ac_fn_cxx_try_compile "$LINENO"; then :
34971 glibcxx_cv_func__log10f_use=yes
34973 glibcxx_cv_func__log10f_use=no
34975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34977 ac_cpp='$CPP $CPPFLAGS'
34978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
34987 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
34989 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
34990 for ac_func in _log10f
34992 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
34993 if test "x$ac_cv_func__log10f" = x""yes; then :
34994 cat >>confdefs.h <<_ACEOF
34995 #define HAVE__LOG10F 1
35008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35009 $as_echo_n "checking for modff declaration... " >&6; }
35010 if test x${glibcxx_cv_func_modff_use+set} != xset; then
35011 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35012 $as_echo_n "(cached) " >&6
35017 ac_cpp='$CXXCPP $CPPFLAGS'
35018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35023 /* end confdefs.h. */
35033 if ac_fn_cxx_try_compile "$LINENO"; then :
35034 glibcxx_cv_func_modff_use=yes
35036 glibcxx_cv_func_modff_use=no
35038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35040 ac_cpp='$CPP $CPPFLAGS'
35041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35050 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35052 if test x$glibcxx_cv_func_modff_use = x"yes"; then
35053 for ac_func in modff
35055 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35056 if test "x$ac_cv_func_modff" = x""yes; then :
35057 cat >>confdefs.h <<_ACEOF
35058 #define HAVE_MODFF 1
35066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35067 $as_echo_n "checking for _modff declaration... " >&6; }
35068 if test x${glibcxx_cv_func__modff_use+set} != xset; then
35069 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35070 $as_echo_n "(cached) " >&6
35075 ac_cpp='$CXXCPP $CPPFLAGS'
35076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35081 /* end confdefs.h. */
35091 if ac_fn_cxx_try_compile "$LINENO"; then :
35092 glibcxx_cv_func__modff_use=yes
35094 glibcxx_cv_func__modff_use=no
35096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35098 ac_cpp='$CPP $CPPFLAGS'
35099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35108 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
35110 if test x$glibcxx_cv_func__modff_use = x"yes"; then
35111 for ac_func in _modff
35113 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
35114 if test "x$ac_cv_func__modff" = x""yes; then :
35115 cat >>confdefs.h <<_ACEOF
35116 #define HAVE__MODFF 1
35129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35130 $as_echo_n "checking for modf declaration... " >&6; }
35131 if test x${glibcxx_cv_func_modf_use+set} != xset; then
35132 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
35133 $as_echo_n "(cached) " >&6
35138 ac_cpp='$CXXCPP $CPPFLAGS'
35139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35144 /* end confdefs.h. */
35154 if ac_fn_cxx_try_compile "$LINENO"; then :
35155 glibcxx_cv_func_modf_use=yes
35157 glibcxx_cv_func_modf_use=no
35159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35161 ac_cpp='$CPP $CPPFLAGS'
35162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
35171 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
35173 if test x$glibcxx_cv_func_modf_use = x"yes"; then
35174 for ac_func in modf
35176 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
35177 if test "x$ac_cv_func_modf" = x""yes; then :
35178 cat >>confdefs.h <<_ACEOF
35179 #define HAVE_MODF 1
35187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
35188 $as_echo_n "checking for _modf declaration... " >&6; }
35189 if test x${glibcxx_cv_func__modf_use+set} != xset; then
35190 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
35191 $as_echo_n "(cached) " >&6
35196 ac_cpp='$CXXCPP $CPPFLAGS'
35197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35202 /* end confdefs.h. */
35212 if ac_fn_cxx_try_compile "$LINENO"; then :
35213 glibcxx_cv_func__modf_use=yes
35215 glibcxx_cv_func__modf_use=no
35217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35219 ac_cpp='$CPP $CPPFLAGS'
35220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
35229 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
35231 if test x$glibcxx_cv_func__modf_use = x"yes"; then
35232 for ac_func in _modf
35234 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
35235 if test "x$ac_cv_func__modf" = x""yes; then :
35236 cat >>confdefs.h <<_ACEOF
35237 #define HAVE__MODF 1
35250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
35251 $as_echo_n "checking for powf declaration... " >&6; }
35252 if test x${glibcxx_cv_func_powf_use+set} != xset; then
35253 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
35254 $as_echo_n "(cached) " >&6
35259 ac_cpp='$CXXCPP $CPPFLAGS'
35260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35265 /* end confdefs.h. */
35275 if ac_fn_cxx_try_compile "$LINENO"; then :
35276 glibcxx_cv_func_powf_use=yes
35278 glibcxx_cv_func_powf_use=no
35280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35282 ac_cpp='$CPP $CPPFLAGS'
35283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
35292 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
35294 if test x$glibcxx_cv_func_powf_use = x"yes"; then
35295 for ac_func in powf
35297 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
35298 if test "x$ac_cv_func_powf" = x""yes; then :
35299 cat >>confdefs.h <<_ACEOF
35300 #define HAVE_POWF 1
35308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
35309 $as_echo_n "checking for _powf declaration... " >&6; }
35310 if test x${glibcxx_cv_func__powf_use+set} != xset; then
35311 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
35312 $as_echo_n "(cached) " >&6
35317 ac_cpp='$CXXCPP $CPPFLAGS'
35318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35323 /* end confdefs.h. */
35333 if ac_fn_cxx_try_compile "$LINENO"; then :
35334 glibcxx_cv_func__powf_use=yes
35336 glibcxx_cv_func__powf_use=no
35338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35340 ac_cpp='$CPP $CPPFLAGS'
35341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
35350 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
35352 if test x$glibcxx_cv_func__powf_use = x"yes"; then
35353 for ac_func in _powf
35355 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
35356 if test "x$ac_cv_func__powf" = x""yes; then :
35357 cat >>confdefs.h <<_ACEOF
35358 #define HAVE__POWF 1
35371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
35372 $as_echo_n "checking for sqrtf declaration... " >&6; }
35373 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
35374 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
35375 $as_echo_n "(cached) " >&6
35380 ac_cpp='$CXXCPP $CPPFLAGS'
35381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35386 /* end confdefs.h. */
35388 #ifdef HAVE_IEEEFP_H
35389 #include <ieeefp.h>
35400 if ac_fn_cxx_try_compile "$LINENO"; then :
35401 glibcxx_cv_func_sqrtf_use=yes
35403 glibcxx_cv_func_sqrtf_use=no
35405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35407 ac_cpp='$CPP $CPPFLAGS'
35408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
35417 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
35419 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
35420 for ac_func in sqrtf
35422 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
35423 if test "x$ac_cv_func_sqrtf" = x""yes; then :
35424 cat >>confdefs.h <<_ACEOF
35425 #define HAVE_SQRTF 1
35433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
35434 $as_echo_n "checking for _sqrtf declaration... " >&6; }
35435 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
35436 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
35437 $as_echo_n "(cached) " >&6
35442 ac_cpp='$CXXCPP $CPPFLAGS'
35443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35448 /* end confdefs.h. */
35450 #ifdef HAVE_IEEEFP_H
35451 #include <ieeefp.h>
35462 if ac_fn_cxx_try_compile "$LINENO"; then :
35463 glibcxx_cv_func__sqrtf_use=yes
35465 glibcxx_cv_func__sqrtf_use=no
35467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35469 ac_cpp='$CPP $CPPFLAGS'
35470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
35479 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
35481 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
35482 for ac_func in _sqrtf
35484 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
35485 if test "x$ac_cv_func__sqrtf" = x""yes; then :
35486 cat >>confdefs.h <<_ACEOF
35487 #define HAVE__SQRTF 1
35500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
35501 $as_echo_n "checking for sincosf declaration... " >&6; }
35502 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
35503 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
35504 $as_echo_n "(cached) " >&6
35509 ac_cpp='$CXXCPP $CPPFLAGS'
35510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35515 /* end confdefs.h. */
35525 if ac_fn_cxx_try_compile "$LINENO"; then :
35526 glibcxx_cv_func_sincosf_use=yes
35528 glibcxx_cv_func_sincosf_use=no
35530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35532 ac_cpp='$CPP $CPPFLAGS'
35533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
35542 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
35544 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
35545 for ac_func in sincosf
35547 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
35548 if test "x$ac_cv_func_sincosf" = x""yes; then :
35549 cat >>confdefs.h <<_ACEOF
35550 #define HAVE_SINCOSF 1
35558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
35559 $as_echo_n "checking for _sincosf declaration... " >&6; }
35560 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
35561 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
35562 $as_echo_n "(cached) " >&6
35567 ac_cpp='$CXXCPP $CPPFLAGS'
35568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35573 /* end confdefs.h. */
35583 if ac_fn_cxx_try_compile "$LINENO"; then :
35584 glibcxx_cv_func__sincosf_use=yes
35586 glibcxx_cv_func__sincosf_use=no
35588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35590 ac_cpp='$CPP $CPPFLAGS'
35591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
35600 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
35602 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
35603 for ac_func in _sincosf
35605 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
35606 if test "x$ac_cv_func__sincosf" = x""yes; then :
35607 cat >>confdefs.h <<_ACEOF
35608 #define HAVE__SINCOSF 1
35621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
35622 $as_echo_n "checking for finitef declaration... " >&6; }
35623 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
35624 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
35625 $as_echo_n "(cached) " >&6
35630 ac_cpp='$CXXCPP $CPPFLAGS'
35631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35636 /* end confdefs.h. */
35638 #ifdef HAVE_IEEEFP_H
35639 #include <ieeefp.h>
35650 if ac_fn_cxx_try_compile "$LINENO"; then :
35651 glibcxx_cv_func_finitef_use=yes
35653 glibcxx_cv_func_finitef_use=no
35655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35657 ac_cpp='$CPP $CPPFLAGS'
35658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
35667 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
35669 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
35670 for ac_func in finitef
35672 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
35673 if test "x$ac_cv_func_finitef" = x""yes; then :
35674 cat >>confdefs.h <<_ACEOF
35675 #define HAVE_FINITEF 1
35683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
35684 $as_echo_n "checking for _finitef declaration... " >&6; }
35685 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
35686 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
35687 $as_echo_n "(cached) " >&6
35692 ac_cpp='$CXXCPP $CPPFLAGS'
35693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35698 /* end confdefs.h. */
35700 #ifdef HAVE_IEEEFP_H
35701 #include <ieeefp.h>
35712 if ac_fn_cxx_try_compile "$LINENO"; then :
35713 glibcxx_cv_func__finitef_use=yes
35715 glibcxx_cv_func__finitef_use=no
35717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35719 ac_cpp='$CPP $CPPFLAGS'
35720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
35729 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
35731 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
35732 for ac_func in _finitef
35734 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
35735 if test "x$ac_cv_func__finitef" = x""yes; then :
35736 cat >>confdefs.h <<_ACEOF
35737 #define HAVE__FINITEF 1
35750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
35751 $as_echo_n "checking for long double trig functions... " >&6; }
35752 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
35753 $as_echo_n "(cached) " >&6
35758 ac_cpp='$CXXCPP $CPPFLAGS'
35759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35764 /* end confdefs.h. */
35769 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
35774 if ac_fn_cxx_try_compile "$LINENO"; then :
35775 glibcxx_cv_func_long_double_trig_use=yes
35777 glibcxx_cv_func_long_double_trig_use=no
35779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35781 ac_cpp='$CPP $CPPFLAGS'
35782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
35789 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
35790 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
35791 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
35793 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35794 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35795 eval as_val=\$$as_ac_var
35796 if test "x$as_val" = x""yes; then :
35797 cat >>confdefs.h <<_ACEOF
35798 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
35806 $as_echo_n "checking for _long double trig functions... " >&6; }
35807 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
35808 $as_echo_n "(cached) " >&6
35813 ac_cpp='$CXXCPP $CPPFLAGS'
35814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35819 /* end confdefs.h. */
35824 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
35829 if ac_fn_cxx_try_compile "$LINENO"; then :
35830 glibcxx_cv_func__long_double_trig_use=yes
35832 glibcxx_cv_func__long_double_trig_use=no
35834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35836 ac_cpp='$CPP $CPPFLAGS'
35837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
35844 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
35845 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
35846 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
35848 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35849 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35850 eval as_val=\$$as_ac_var
35851 if test "x$as_val" = x""yes; then :
35852 cat >>confdefs.h <<_ACEOF
35853 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
35867 $as_echo_n "checking for long double round functions... " >&6; }
35868 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
35869 $as_echo_n "(cached) " >&6
35874 ac_cpp='$CXXCPP $CPPFLAGS'
35875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35880 /* end confdefs.h. */
35885 ceill (0); floorl (0);
35890 if ac_fn_cxx_try_compile "$LINENO"; then :
35891 glibcxx_cv_func_long_double_round_use=yes
35893 glibcxx_cv_func_long_double_round_use=no
35895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35897 ac_cpp='$CPP $CPPFLAGS'
35898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
35905 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
35906 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
35907 for ac_func in ceill floorl
35909 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35910 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35911 eval as_val=\$$as_ac_var
35912 if test "x$as_val" = x""yes; then :
35913 cat >>confdefs.h <<_ACEOF
35914 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
35922 $as_echo_n "checking for _long double round functions... " >&6; }
35923 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
35924 $as_echo_n "(cached) " >&6
35929 ac_cpp='$CXXCPP $CPPFLAGS'
35930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35935 /* end confdefs.h. */
35940 _ceill (0); _floorl (0);
35945 if ac_fn_cxx_try_compile "$LINENO"; then :
35946 glibcxx_cv_func__long_double_round_use=yes
35948 glibcxx_cv_func__long_double_round_use=no
35950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35952 ac_cpp='$CPP $CPPFLAGS'
35953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
35960 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
35961 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
35962 for ac_func in _ceill _floorl
35964 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35965 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35966 eval as_val=\$$as_ac_var
35967 if test "x$as_val" = x""yes; then :
35968 cat >>confdefs.h <<_ACEOF
35969 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
35984 $as_echo_n "checking for isnanl declaration... " >&6; }
35985 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
35986 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
35987 $as_echo_n "(cached) " >&6
35992 ac_cpp='$CXXCPP $CPPFLAGS'
35993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35998 /* end confdefs.h. */
36000 #ifdef HAVE_IEEEFP_H
36001 #include <ieeefp.h>
36012 if ac_fn_cxx_try_compile "$LINENO"; then :
36013 glibcxx_cv_func_isnanl_use=yes
36015 glibcxx_cv_func_isnanl_use=no
36017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36019 ac_cpp='$CPP $CPPFLAGS'
36020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36029 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36031 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36032 for ac_func in isnanl
36034 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36035 if test "x$ac_cv_func_isnanl" = x""yes; then :
36036 cat >>confdefs.h <<_ACEOF
36037 #define HAVE_ISNANL 1
36045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36046 $as_echo_n "checking for _isnanl declaration... " >&6; }
36047 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36048 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36049 $as_echo_n "(cached) " >&6
36054 ac_cpp='$CXXCPP $CPPFLAGS'
36055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36060 /* end confdefs.h. */
36062 #ifdef HAVE_IEEEFP_H
36063 #include <ieeefp.h>
36074 if ac_fn_cxx_try_compile "$LINENO"; then :
36075 glibcxx_cv_func__isnanl_use=yes
36077 glibcxx_cv_func__isnanl_use=no
36079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36081 ac_cpp='$CPP $CPPFLAGS'
36082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36091 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36093 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36094 for ac_func in _isnanl
36096 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36097 if test "x$ac_cv_func__isnanl" = x""yes; then :
36098 cat >>confdefs.h <<_ACEOF
36099 #define HAVE__ISNANL 1
36112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36113 $as_echo_n "checking for isinfl declaration... " >&6; }
36114 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36115 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
36116 $as_echo_n "(cached) " >&6
36121 ac_cpp='$CXXCPP $CPPFLAGS'
36122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36127 /* end confdefs.h. */
36129 #ifdef HAVE_IEEEFP_H
36130 #include <ieeefp.h>
36141 if ac_fn_cxx_try_compile "$LINENO"; then :
36142 glibcxx_cv_func_isinfl_use=yes
36144 glibcxx_cv_func_isinfl_use=no
36146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36148 ac_cpp='$CPP $CPPFLAGS'
36149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
36158 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
36160 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36161 for ac_func in isinfl
36163 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
36164 if test "x$ac_cv_func_isinfl" = x""yes; then :
36165 cat >>confdefs.h <<_ACEOF
36166 #define HAVE_ISINFL 1
36174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
36175 $as_echo_n "checking for _isinfl declaration... " >&6; }
36176 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36177 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
36178 $as_echo_n "(cached) " >&6
36183 ac_cpp='$CXXCPP $CPPFLAGS'
36184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36189 /* end confdefs.h. */
36191 #ifdef HAVE_IEEEFP_H
36192 #include <ieeefp.h>
36203 if ac_fn_cxx_try_compile "$LINENO"; then :
36204 glibcxx_cv_func__isinfl_use=yes
36206 glibcxx_cv_func__isinfl_use=no
36208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36210 ac_cpp='$CPP $CPPFLAGS'
36211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
36220 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
36222 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
36223 for ac_func in _isinfl
36225 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
36226 if test "x$ac_cv_func__isinfl" = x""yes; then :
36227 cat >>confdefs.h <<_ACEOF
36228 #define HAVE__ISINFL 1
36241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
36242 $as_echo_n "checking for atan2l declaration... " >&6; }
36243 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
36244 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
36245 $as_echo_n "(cached) " >&6
36250 ac_cpp='$CXXCPP $CPPFLAGS'
36251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36256 /* end confdefs.h. */
36266 if ac_fn_cxx_try_compile "$LINENO"; then :
36267 glibcxx_cv_func_atan2l_use=yes
36269 glibcxx_cv_func_atan2l_use=no
36271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36273 ac_cpp='$CPP $CPPFLAGS'
36274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
36283 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
36285 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
36286 for ac_func in atan2l
36288 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
36289 if test "x$ac_cv_func_atan2l" = x""yes; then :
36290 cat >>confdefs.h <<_ACEOF
36291 #define HAVE_ATAN2L 1
36299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
36300 $as_echo_n "checking for _atan2l declaration... " >&6; }
36301 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
36302 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
36303 $as_echo_n "(cached) " >&6
36308 ac_cpp='$CXXCPP $CPPFLAGS'
36309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36314 /* end confdefs.h. */
36324 if ac_fn_cxx_try_compile "$LINENO"; then :
36325 glibcxx_cv_func__atan2l_use=yes
36327 glibcxx_cv_func__atan2l_use=no
36329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36331 ac_cpp='$CPP $CPPFLAGS'
36332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
36341 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
36343 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
36344 for ac_func in _atan2l
36346 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
36347 if test "x$ac_cv_func__atan2l" = x""yes; then :
36348 cat >>confdefs.h <<_ACEOF
36349 #define HAVE__ATAN2L 1
36362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
36363 $as_echo_n "checking for expl declaration... " >&6; }
36364 if test x${glibcxx_cv_func_expl_use+set} != xset; then
36365 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
36366 $as_echo_n "(cached) " >&6
36371 ac_cpp='$CXXCPP $CPPFLAGS'
36372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36377 /* end confdefs.h. */
36379 #ifdef HAVE_IEEEFP_H
36380 #include <ieeefp.h>
36391 if ac_fn_cxx_try_compile "$LINENO"; then :
36392 glibcxx_cv_func_expl_use=yes
36394 glibcxx_cv_func_expl_use=no
36396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36398 ac_cpp='$CPP $CPPFLAGS'
36399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
36408 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
36410 if test x$glibcxx_cv_func_expl_use = x"yes"; then
36411 for ac_func in expl
36413 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
36414 if test "x$ac_cv_func_expl" = x""yes; then :
36415 cat >>confdefs.h <<_ACEOF
36416 #define HAVE_EXPL 1
36424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
36425 $as_echo_n "checking for _expl declaration... " >&6; }
36426 if test x${glibcxx_cv_func__expl_use+set} != xset; then
36427 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
36428 $as_echo_n "(cached) " >&6
36433 ac_cpp='$CXXCPP $CPPFLAGS'
36434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36439 /* end confdefs.h. */
36441 #ifdef HAVE_IEEEFP_H
36442 #include <ieeefp.h>
36453 if ac_fn_cxx_try_compile "$LINENO"; then :
36454 glibcxx_cv_func__expl_use=yes
36456 glibcxx_cv_func__expl_use=no
36458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36460 ac_cpp='$CPP $CPPFLAGS'
36461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
36470 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
36472 if test x$glibcxx_cv_func__expl_use = x"yes"; then
36473 for ac_func in _expl
36475 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
36476 if test "x$ac_cv_func__expl" = x""yes; then :
36477 cat >>confdefs.h <<_ACEOF
36478 #define HAVE__EXPL 1
36491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
36492 $as_echo_n "checking for fabsl declaration... " >&6; }
36493 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
36494 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
36495 $as_echo_n "(cached) " >&6
36500 ac_cpp='$CXXCPP $CPPFLAGS'
36501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36506 /* end confdefs.h. */
36508 #ifdef HAVE_IEEEFP_H
36509 #include <ieeefp.h>
36520 if ac_fn_cxx_try_compile "$LINENO"; then :
36521 glibcxx_cv_func_fabsl_use=yes
36523 glibcxx_cv_func_fabsl_use=no
36525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36527 ac_cpp='$CPP $CPPFLAGS'
36528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
36537 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
36539 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
36540 for ac_func in fabsl
36542 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
36543 if test "x$ac_cv_func_fabsl" = x""yes; then :
36544 cat >>confdefs.h <<_ACEOF
36545 #define HAVE_FABSL 1
36553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
36554 $as_echo_n "checking for _fabsl declaration... " >&6; }
36555 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
36556 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
36557 $as_echo_n "(cached) " >&6
36562 ac_cpp='$CXXCPP $CPPFLAGS'
36563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36568 /* end confdefs.h. */
36570 #ifdef HAVE_IEEEFP_H
36571 #include <ieeefp.h>
36582 if ac_fn_cxx_try_compile "$LINENO"; then :
36583 glibcxx_cv_func__fabsl_use=yes
36585 glibcxx_cv_func__fabsl_use=no
36587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36589 ac_cpp='$CPP $CPPFLAGS'
36590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
36599 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
36601 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
36602 for ac_func in _fabsl
36604 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
36605 if test "x$ac_cv_func__fabsl" = x""yes; then :
36606 cat >>confdefs.h <<_ACEOF
36607 #define HAVE__FABSL 1
36620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
36621 $as_echo_n "checking for fmodl declaration... " >&6; }
36622 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
36623 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
36624 $as_echo_n "(cached) " >&6
36629 ac_cpp='$CXXCPP $CPPFLAGS'
36630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36635 /* end confdefs.h. */
36645 if ac_fn_cxx_try_compile "$LINENO"; then :
36646 glibcxx_cv_func_fmodl_use=yes
36648 glibcxx_cv_func_fmodl_use=no
36650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36652 ac_cpp='$CPP $CPPFLAGS'
36653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
36662 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
36664 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
36665 for ac_func in fmodl
36667 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
36668 if test "x$ac_cv_func_fmodl" = x""yes; then :
36669 cat >>confdefs.h <<_ACEOF
36670 #define HAVE_FMODL 1
36678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
36679 $as_echo_n "checking for _fmodl declaration... " >&6; }
36680 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
36681 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
36682 $as_echo_n "(cached) " >&6
36687 ac_cpp='$CXXCPP $CPPFLAGS'
36688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36693 /* end confdefs.h. */
36703 if ac_fn_cxx_try_compile "$LINENO"; then :
36704 glibcxx_cv_func__fmodl_use=yes
36706 glibcxx_cv_func__fmodl_use=no
36708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36710 ac_cpp='$CPP $CPPFLAGS'
36711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
36720 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
36722 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
36723 for ac_func in _fmodl
36725 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
36726 if test "x$ac_cv_func__fmodl" = x""yes; then :
36727 cat >>confdefs.h <<_ACEOF
36728 #define HAVE__FMODL 1
36741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
36742 $as_echo_n "checking for frexpl declaration... " >&6; }
36743 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
36744 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
36745 $as_echo_n "(cached) " >&6
36750 ac_cpp='$CXXCPP $CPPFLAGS'
36751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36756 /* end confdefs.h. */
36766 if ac_fn_cxx_try_compile "$LINENO"; then :
36767 glibcxx_cv_func_frexpl_use=yes
36769 glibcxx_cv_func_frexpl_use=no
36771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36773 ac_cpp='$CPP $CPPFLAGS'
36774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
36783 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
36785 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
36786 for ac_func in frexpl
36788 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
36789 if test "x$ac_cv_func_frexpl" = x""yes; then :
36790 cat >>confdefs.h <<_ACEOF
36791 #define HAVE_FREXPL 1
36799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
36800 $as_echo_n "checking for _frexpl declaration... " >&6; }
36801 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
36802 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
36803 $as_echo_n "(cached) " >&6
36808 ac_cpp='$CXXCPP $CPPFLAGS'
36809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36814 /* end confdefs.h. */
36824 if ac_fn_cxx_try_compile "$LINENO"; then :
36825 glibcxx_cv_func__frexpl_use=yes
36827 glibcxx_cv_func__frexpl_use=no
36829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36831 ac_cpp='$CPP $CPPFLAGS'
36832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
36841 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
36843 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
36844 for ac_func in _frexpl
36846 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
36847 if test "x$ac_cv_func__frexpl" = x""yes; then :
36848 cat >>confdefs.h <<_ACEOF
36849 #define HAVE__FREXPL 1
36862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
36863 $as_echo_n "checking for hypotl declaration... " >&6; }
36864 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
36865 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
36866 $as_echo_n "(cached) " >&6
36871 ac_cpp='$CXXCPP $CPPFLAGS'
36872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36877 /* end confdefs.h. */
36887 if ac_fn_cxx_try_compile "$LINENO"; then :
36888 glibcxx_cv_func_hypotl_use=yes
36890 glibcxx_cv_func_hypotl_use=no
36892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36894 ac_cpp='$CPP $CPPFLAGS'
36895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
36904 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
36906 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
36907 for ac_func in hypotl
36909 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
36910 if test "x$ac_cv_func_hypotl" = x""yes; then :
36911 cat >>confdefs.h <<_ACEOF
36912 #define HAVE_HYPOTL 1
36920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
36921 $as_echo_n "checking for _hypotl declaration... " >&6; }
36922 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
36923 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
36924 $as_echo_n "(cached) " >&6
36929 ac_cpp='$CXXCPP $CPPFLAGS'
36930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36935 /* end confdefs.h. */
36945 if ac_fn_cxx_try_compile "$LINENO"; then :
36946 glibcxx_cv_func__hypotl_use=yes
36948 glibcxx_cv_func__hypotl_use=no
36950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36952 ac_cpp='$CPP $CPPFLAGS'
36953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
36962 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
36964 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
36965 for ac_func in _hypotl
36967 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
36968 if test "x$ac_cv_func__hypotl" = x""yes; then :
36969 cat >>confdefs.h <<_ACEOF
36970 #define HAVE__HYPOTL 1
36983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
36984 $as_echo_n "checking for ldexpl declaration... " >&6; }
36985 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
36986 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
36987 $as_echo_n "(cached) " >&6
36992 ac_cpp='$CXXCPP $CPPFLAGS'
36993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36998 /* end confdefs.h. */
37008 if ac_fn_cxx_try_compile "$LINENO"; then :
37009 glibcxx_cv_func_ldexpl_use=yes
37011 glibcxx_cv_func_ldexpl_use=no
37013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37015 ac_cpp='$CPP $CPPFLAGS'
37016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37025 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37027 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37028 for ac_func in ldexpl
37030 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37031 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37032 cat >>confdefs.h <<_ACEOF
37033 #define HAVE_LDEXPL 1
37041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37042 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37043 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37044 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37045 $as_echo_n "(cached) " >&6
37050 ac_cpp='$CXXCPP $CPPFLAGS'
37051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37056 /* end confdefs.h. */
37066 if ac_fn_cxx_try_compile "$LINENO"; then :
37067 glibcxx_cv_func__ldexpl_use=yes
37069 glibcxx_cv_func__ldexpl_use=no
37071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37073 ac_cpp='$CPP $CPPFLAGS'
37074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37083 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37085 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37086 for ac_func in _ldexpl
37088 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37089 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37090 cat >>confdefs.h <<_ACEOF
37091 #define HAVE__LDEXPL 1
37104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37105 $as_echo_n "checking for logl declaration... " >&6; }
37106 if test x${glibcxx_cv_func_logl_use+set} != xset; then
37107 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37108 $as_echo_n "(cached) " >&6
37113 ac_cpp='$CXXCPP $CPPFLAGS'
37114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37119 /* end confdefs.h. */
37121 #ifdef HAVE_IEEEFP_H
37122 #include <ieeefp.h>
37133 if ac_fn_cxx_try_compile "$LINENO"; then :
37134 glibcxx_cv_func_logl_use=yes
37136 glibcxx_cv_func_logl_use=no
37138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37140 ac_cpp='$CPP $CPPFLAGS'
37141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
37150 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
37152 if test x$glibcxx_cv_func_logl_use = x"yes"; then
37153 for ac_func in logl
37155 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
37156 if test "x$ac_cv_func_logl" = x""yes; then :
37157 cat >>confdefs.h <<_ACEOF
37158 #define HAVE_LOGL 1
37166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
37167 $as_echo_n "checking for _logl declaration... " >&6; }
37168 if test x${glibcxx_cv_func__logl_use+set} != xset; then
37169 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
37170 $as_echo_n "(cached) " >&6
37175 ac_cpp='$CXXCPP $CPPFLAGS'
37176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37181 /* end confdefs.h. */
37183 #ifdef HAVE_IEEEFP_H
37184 #include <ieeefp.h>
37195 if ac_fn_cxx_try_compile "$LINENO"; then :
37196 glibcxx_cv_func__logl_use=yes
37198 glibcxx_cv_func__logl_use=no
37200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37202 ac_cpp='$CPP $CPPFLAGS'
37203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
37212 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
37214 if test x$glibcxx_cv_func__logl_use = x"yes"; then
37215 for ac_func in _logl
37217 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
37218 if test "x$ac_cv_func__logl" = x""yes; then :
37219 cat >>confdefs.h <<_ACEOF
37220 #define HAVE__LOGL 1
37233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
37234 $as_echo_n "checking for log10l declaration... " >&6; }
37235 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
37236 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
37237 $as_echo_n "(cached) " >&6
37242 ac_cpp='$CXXCPP $CPPFLAGS'
37243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37248 /* end confdefs.h. */
37250 #ifdef HAVE_IEEEFP_H
37251 #include <ieeefp.h>
37262 if ac_fn_cxx_try_compile "$LINENO"; then :
37263 glibcxx_cv_func_log10l_use=yes
37265 glibcxx_cv_func_log10l_use=no
37267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37269 ac_cpp='$CPP $CPPFLAGS'
37270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
37279 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
37281 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
37282 for ac_func in log10l
37284 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
37285 if test "x$ac_cv_func_log10l" = x""yes; then :
37286 cat >>confdefs.h <<_ACEOF
37287 #define HAVE_LOG10L 1
37295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
37296 $as_echo_n "checking for _log10l declaration... " >&6; }
37297 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
37298 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
37299 $as_echo_n "(cached) " >&6
37304 ac_cpp='$CXXCPP $CPPFLAGS'
37305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37310 /* end confdefs.h. */
37312 #ifdef HAVE_IEEEFP_H
37313 #include <ieeefp.h>
37324 if ac_fn_cxx_try_compile "$LINENO"; then :
37325 glibcxx_cv_func__log10l_use=yes
37327 glibcxx_cv_func__log10l_use=no
37329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37331 ac_cpp='$CPP $CPPFLAGS'
37332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
37341 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
37343 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
37344 for ac_func in _log10l
37346 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
37347 if test "x$ac_cv_func__log10l" = x""yes; then :
37348 cat >>confdefs.h <<_ACEOF
37349 #define HAVE__LOG10L 1
37362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
37363 $as_echo_n "checking for modfl declaration... " >&6; }
37364 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
37365 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
37366 $as_echo_n "(cached) " >&6
37371 ac_cpp='$CXXCPP $CPPFLAGS'
37372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37377 /* end confdefs.h. */
37387 if ac_fn_cxx_try_compile "$LINENO"; then :
37388 glibcxx_cv_func_modfl_use=yes
37390 glibcxx_cv_func_modfl_use=no
37392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37394 ac_cpp='$CPP $CPPFLAGS'
37395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
37404 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
37406 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
37407 for ac_func in modfl
37409 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
37410 if test "x$ac_cv_func_modfl" = x""yes; then :
37411 cat >>confdefs.h <<_ACEOF
37412 #define HAVE_MODFL 1
37420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
37421 $as_echo_n "checking for _modfl declaration... " >&6; }
37422 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
37423 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
37424 $as_echo_n "(cached) " >&6
37429 ac_cpp='$CXXCPP $CPPFLAGS'
37430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37435 /* end confdefs.h. */
37445 if ac_fn_cxx_try_compile "$LINENO"; then :
37446 glibcxx_cv_func__modfl_use=yes
37448 glibcxx_cv_func__modfl_use=no
37450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37452 ac_cpp='$CPP $CPPFLAGS'
37453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
37462 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
37464 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
37465 for ac_func in _modfl
37467 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
37468 if test "x$ac_cv_func__modfl" = x""yes; then :
37469 cat >>confdefs.h <<_ACEOF
37470 #define HAVE__MODFL 1
37483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
37484 $as_echo_n "checking for powl declaration... " >&6; }
37485 if test x${glibcxx_cv_func_powl_use+set} != xset; then
37486 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
37487 $as_echo_n "(cached) " >&6
37492 ac_cpp='$CXXCPP $CPPFLAGS'
37493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37498 /* end confdefs.h. */
37508 if ac_fn_cxx_try_compile "$LINENO"; then :
37509 glibcxx_cv_func_powl_use=yes
37511 glibcxx_cv_func_powl_use=no
37513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37515 ac_cpp='$CPP $CPPFLAGS'
37516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
37525 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
37527 if test x$glibcxx_cv_func_powl_use = x"yes"; then
37528 for ac_func in powl
37530 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
37531 if test "x$ac_cv_func_powl" = x""yes; then :
37532 cat >>confdefs.h <<_ACEOF
37533 #define HAVE_POWL 1
37541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
37542 $as_echo_n "checking for _powl declaration... " >&6; }
37543 if test x${glibcxx_cv_func__powl_use+set} != xset; then
37544 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
37545 $as_echo_n "(cached) " >&6
37550 ac_cpp='$CXXCPP $CPPFLAGS'
37551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37556 /* end confdefs.h. */
37566 if ac_fn_cxx_try_compile "$LINENO"; then :
37567 glibcxx_cv_func__powl_use=yes
37569 glibcxx_cv_func__powl_use=no
37571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37573 ac_cpp='$CPP $CPPFLAGS'
37574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
37583 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
37585 if test x$glibcxx_cv_func__powl_use = x"yes"; then
37586 for ac_func in _powl
37588 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
37589 if test "x$ac_cv_func__powl" = x""yes; then :
37590 cat >>confdefs.h <<_ACEOF
37591 #define HAVE__POWL 1
37604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
37605 $as_echo_n "checking for sqrtl declaration... " >&6; }
37606 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
37607 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
37608 $as_echo_n "(cached) " >&6
37613 ac_cpp='$CXXCPP $CPPFLAGS'
37614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37619 /* end confdefs.h. */
37621 #ifdef HAVE_IEEEFP_H
37622 #include <ieeefp.h>
37633 if ac_fn_cxx_try_compile "$LINENO"; then :
37634 glibcxx_cv_func_sqrtl_use=yes
37636 glibcxx_cv_func_sqrtl_use=no
37638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37640 ac_cpp='$CPP $CPPFLAGS'
37641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
37650 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
37652 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
37653 for ac_func in sqrtl
37655 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
37656 if test "x$ac_cv_func_sqrtl" = x""yes; then :
37657 cat >>confdefs.h <<_ACEOF
37658 #define HAVE_SQRTL 1
37666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
37667 $as_echo_n "checking for _sqrtl declaration... " >&6; }
37668 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
37669 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
37670 $as_echo_n "(cached) " >&6
37675 ac_cpp='$CXXCPP $CPPFLAGS'
37676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37681 /* end confdefs.h. */
37683 #ifdef HAVE_IEEEFP_H
37684 #include <ieeefp.h>
37695 if ac_fn_cxx_try_compile "$LINENO"; then :
37696 glibcxx_cv_func__sqrtl_use=yes
37698 glibcxx_cv_func__sqrtl_use=no
37700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37702 ac_cpp='$CPP $CPPFLAGS'
37703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
37712 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
37714 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
37715 for ac_func in _sqrtl
37717 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
37718 if test "x$ac_cv_func__sqrtl" = x""yes; then :
37719 cat >>confdefs.h <<_ACEOF
37720 #define HAVE__SQRTL 1
37733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
37734 $as_echo_n "checking for sincosl declaration... " >&6; }
37735 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
37736 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
37737 $as_echo_n "(cached) " >&6
37742 ac_cpp='$CXXCPP $CPPFLAGS'
37743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37748 /* end confdefs.h. */
37758 if ac_fn_cxx_try_compile "$LINENO"; then :
37759 glibcxx_cv_func_sincosl_use=yes
37761 glibcxx_cv_func_sincosl_use=no
37763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37765 ac_cpp='$CPP $CPPFLAGS'
37766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
37775 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
37777 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
37778 for ac_func in sincosl
37780 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
37781 if test "x$ac_cv_func_sincosl" = x""yes; then :
37782 cat >>confdefs.h <<_ACEOF
37783 #define HAVE_SINCOSL 1
37791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
37792 $as_echo_n "checking for _sincosl declaration... " >&6; }
37793 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
37794 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
37795 $as_echo_n "(cached) " >&6
37800 ac_cpp='$CXXCPP $CPPFLAGS'
37801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37806 /* end confdefs.h. */
37816 if ac_fn_cxx_try_compile "$LINENO"; then :
37817 glibcxx_cv_func__sincosl_use=yes
37819 glibcxx_cv_func__sincosl_use=no
37821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37823 ac_cpp='$CPP $CPPFLAGS'
37824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
37833 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
37835 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
37836 for ac_func in _sincosl
37838 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
37839 if test "x$ac_cv_func__sincosl" = x""yes; then :
37840 cat >>confdefs.h <<_ACEOF
37841 #define HAVE__SINCOSL 1
37854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
37855 $as_echo_n "checking for finitel declaration... " >&6; }
37856 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
37857 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
37858 $as_echo_n "(cached) " >&6
37863 ac_cpp='$CXXCPP $CPPFLAGS'
37864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37869 /* end confdefs.h. */
37871 #ifdef HAVE_IEEEFP_H
37872 #include <ieeefp.h>
37883 if ac_fn_cxx_try_compile "$LINENO"; then :
37884 glibcxx_cv_func_finitel_use=yes
37886 glibcxx_cv_func_finitel_use=no
37888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37890 ac_cpp='$CPP $CPPFLAGS'
37891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
37900 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
37902 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
37903 for ac_func in finitel
37905 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
37906 if test "x$ac_cv_func_finitel" = x""yes; then :
37907 cat >>confdefs.h <<_ACEOF
37908 #define HAVE_FINITEL 1
37916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
37917 $as_echo_n "checking for _finitel declaration... " >&6; }
37918 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
37919 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
37920 $as_echo_n "(cached) " >&6
37925 ac_cpp='$CXXCPP $CPPFLAGS'
37926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37931 /* end confdefs.h. */
37933 #ifdef HAVE_IEEEFP_H
37934 #include <ieeefp.h>
37945 if ac_fn_cxx_try_compile "$LINENO"; then :
37946 glibcxx_cv_func__finitel_use=yes
37948 glibcxx_cv_func__finitel_use=no
37950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37952 ac_cpp='$CPP $CPPFLAGS'
37953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
37962 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
37964 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
37965 for ac_func in _finitel
37967 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
37968 if test "x$ac_cv_func__finitel" = x""yes; then :
37969 cat >>confdefs.h <<_ACEOF
37970 #define HAVE__FINITEL 1
37982 LIBS="$ac_save_LIBS"
37983 CXXFLAGS="$ac_save_CXXFLAGS"
37986 ac_test_CXXFLAGS="${CXXFLAGS+set}"
37987 ac_save_CXXFLAGS="$CXXFLAGS"
37988 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
37991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
37992 $as_echo_n "checking for strtold declaration... " >&6; }
37993 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
37994 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
37995 $as_echo_n "(cached) " >&6
38000 ac_cpp='$CXXCPP $CPPFLAGS'
38001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38006 /* end confdefs.h. */
38007 #include <stdlib.h>
38016 if ac_fn_cxx_try_compile "$LINENO"; then :
38017 glibcxx_cv_func_strtold_use=yes
38019 glibcxx_cv_func_strtold_use=no
38021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38023 ac_cpp='$CPP $CPPFLAGS'
38024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38033 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38034 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38035 for ac_func in strtold
38037 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38038 if test "x$ac_cv_func_strtold" = x""yes; then :
38039 cat >>confdefs.h <<_ACEOF
38040 #define HAVE_STRTOLD 1
38051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38052 $as_echo_n "checking for strtof declaration... " >&6; }
38053 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38054 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38055 $as_echo_n "(cached) " >&6
38060 ac_cpp='$CXXCPP $CPPFLAGS'
38061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38066 /* end confdefs.h. */
38067 #include <stdlib.h>
38076 if ac_fn_cxx_try_compile "$LINENO"; then :
38077 glibcxx_cv_func_strtof_use=yes
38079 glibcxx_cv_func_strtof_use=no
38081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38083 ac_cpp='$CPP $CPPFLAGS'
38084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38093 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38094 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38095 for ac_func in strtof
38097 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38098 if test "x$ac_cv_func_strtof" = x""yes; then :
38099 cat >>confdefs.h <<_ACEOF
38100 #define HAVE_STRTOF 1
38111 CXXFLAGS="$ac_save_CXXFLAGS"
38113 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
38115 # We don't yet support AIX's TLS ABI.
38122 am_save_CPPFLAGS="$CPPFLAGS"
38124 for element in $INCICONV; do
38126 for x in $CPPFLAGS; do
38128 acl_save_prefix="$prefix"
38129 prefix="$acl_final_prefix"
38130 acl_save_exec_prefix="$exec_prefix"
38131 exec_prefix="$acl_final_exec_prefix"
38133 exec_prefix="$acl_save_exec_prefix"
38134 prefix="$acl_save_prefix"
38136 if test "X$x" = "X$element"; then
38141 if test -z "$haveit"; then
38142 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
38147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
38148 $as_echo_n "checking for iconv... " >&6; }
38149 if test "${am_cv_func_iconv+set}" = set; then :
38150 $as_echo_n "(cached) " >&6
38153 am_cv_func_iconv="no, consider installing GNU libiconv"
38155 if test x$gcc_no_link = xyes; then
38156 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38159 /* end confdefs.h. */
38160 #include <stdlib.h>
38165 iconv_t cd = iconv_open("","");
38166 iconv(cd,NULL,NULL,NULL,NULL);
38172 if ac_fn_c_try_link "$LINENO"; then :
38173 am_cv_func_iconv=yes
38175 rm -f core conftest.err conftest.$ac_objext \
38176 conftest$ac_exeext conftest.$ac_ext
38177 if test "$am_cv_func_iconv" != yes; then
38178 am_save_LIBS="$LIBS"
38179 LIBS="$LIBS $LIBICONV"
38180 if test x$gcc_no_link = xyes; then
38181 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38184 /* end confdefs.h. */
38185 #include <stdlib.h>
38190 iconv_t cd = iconv_open("","");
38191 iconv(cd,NULL,NULL,NULL,NULL);
38197 if ac_fn_c_try_link "$LINENO"; then :
38198 am_cv_lib_iconv=yes
38199 am_cv_func_iconv=yes
38201 rm -f core conftest.err conftest.$ac_objext \
38202 conftest$ac_exeext conftest.$ac_ext
38203 LIBS="$am_save_LIBS"
38207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
38208 $as_echo "$am_cv_func_iconv" >&6; }
38209 if test "$am_cv_func_iconv" = yes; then
38211 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
38214 if test "$am_cv_lib_iconv" = yes; then
38215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
38216 $as_echo_n "checking how to link with libiconv... " >&6; }
38217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
38218 $as_echo "$LIBICONV" >&6; }
38220 CPPFLAGS="$am_save_CPPFLAGS"
38227 if test "$am_cv_func_iconv" = yes; then
38228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
38229 $as_echo_n "checking for iconv declaration... " >&6; }
38230 if test "${am_cv_proto_iconv+set}" = set; then :
38231 $as_echo_n "(cached) " >&6
38234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38235 /* end confdefs.h. */
38237 #include <stdlib.h>
38243 #if defined(__STDC__) || defined(__cplusplus)
38244 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38257 if ac_fn_c_try_compile "$LINENO"; then :
38258 am_cv_proto_iconv_arg1=""
38260 am_cv_proto_iconv_arg1="const"
38262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38263 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);"
38266 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
38267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
38268 }$am_cv_proto_iconv" >&5
38270 }$am_cv_proto_iconv" >&6; }
38272 cat >>confdefs.h <<_ACEOF
38273 #define ICONV_CONST $am_cv_proto_iconv_arg1
38281 # Darwin versions vary, but the linker should work in a cross environment,
38282 # so we just check for all the features here.
38283 # Check for available headers.
38285 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
38287 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38288 ac_save_CXXFLAGS="$CXXFLAGS"
38289 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
38292 $as_echo_n "checking for sin in -lm... " >&6; }
38293 if test "${ac_cv_lib_m_sin+set}" = set; then :
38294 $as_echo_n "(cached) " >&6
38296 ac_check_lib_save_LIBS=$LIBS
38298 if test x$gcc_no_link = xyes; then
38299 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38302 /* end confdefs.h. */
38304 /* Override any GCC internal prototype to avoid an error.
38305 Use char because int might match the return type of a GCC
38306 builtin and then its argument prototype would still apply. */
38319 if ac_fn_c_try_link "$LINENO"; then :
38320 ac_cv_lib_m_sin=yes
38324 rm -f core conftest.err conftest.$ac_objext \
38325 conftest$ac_exeext conftest.$ac_ext
38326 LIBS=$ac_check_lib_save_LIBS
38328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
38329 $as_echo "$ac_cv_lib_m_sin" >&6; }
38330 if test "x$ac_cv_lib_m_sin" = x""yes; then :
38334 ac_save_LIBS="$LIBS"
38339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
38340 $as_echo_n "checking for isinf declaration... " >&6; }
38341 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
38342 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
38343 $as_echo_n "(cached) " >&6
38348 ac_cpp='$CXXCPP $CPPFLAGS'
38349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38354 /* end confdefs.h. */
38356 #ifdef HAVE_IEEEFP_H
38357 #include <ieeefp.h>
38368 if ac_fn_cxx_try_compile "$LINENO"; then :
38369 glibcxx_cv_func_isinf_use=yes
38371 glibcxx_cv_func_isinf_use=no
38373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38375 ac_cpp='$CPP $CPPFLAGS'
38376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
38385 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
38387 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
38388 for ac_func in isinf
38390 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
38391 if test "x$ac_cv_func_isinf" = x""yes; then :
38392 cat >>confdefs.h <<_ACEOF
38393 #define HAVE_ISINF 1
38401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
38402 $as_echo_n "checking for _isinf declaration... " >&6; }
38403 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
38404 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
38405 $as_echo_n "(cached) " >&6
38410 ac_cpp='$CXXCPP $CPPFLAGS'
38411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38416 /* end confdefs.h. */
38418 #ifdef HAVE_IEEEFP_H
38419 #include <ieeefp.h>
38430 if ac_fn_cxx_try_compile "$LINENO"; then :
38431 glibcxx_cv_func__isinf_use=yes
38433 glibcxx_cv_func__isinf_use=no
38435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38437 ac_cpp='$CPP $CPPFLAGS'
38438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
38447 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
38449 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
38450 for ac_func in _isinf
38452 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
38453 if test "x$ac_cv_func__isinf" = x""yes; then :
38454 cat >>confdefs.h <<_ACEOF
38455 #define HAVE__ISINF 1
38468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
38469 $as_echo_n "checking for isnan declaration... " >&6; }
38470 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
38471 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
38472 $as_echo_n "(cached) " >&6
38477 ac_cpp='$CXXCPP $CPPFLAGS'
38478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38483 /* end confdefs.h. */
38485 #ifdef HAVE_IEEEFP_H
38486 #include <ieeefp.h>
38497 if ac_fn_cxx_try_compile "$LINENO"; then :
38498 glibcxx_cv_func_isnan_use=yes
38500 glibcxx_cv_func_isnan_use=no
38502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38504 ac_cpp='$CPP $CPPFLAGS'
38505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
38514 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
38516 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
38517 for ac_func in isnan
38519 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
38520 if test "x$ac_cv_func_isnan" = x""yes; then :
38521 cat >>confdefs.h <<_ACEOF
38522 #define HAVE_ISNAN 1
38530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
38531 $as_echo_n "checking for _isnan declaration... " >&6; }
38532 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
38533 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
38534 $as_echo_n "(cached) " >&6
38539 ac_cpp='$CXXCPP $CPPFLAGS'
38540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38545 /* end confdefs.h. */
38547 #ifdef HAVE_IEEEFP_H
38548 #include <ieeefp.h>
38559 if ac_fn_cxx_try_compile "$LINENO"; then :
38560 glibcxx_cv_func__isnan_use=yes
38562 glibcxx_cv_func__isnan_use=no
38564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38566 ac_cpp='$CPP $CPPFLAGS'
38567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
38576 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
38578 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
38579 for ac_func in _isnan
38581 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
38582 if test "x$ac_cv_func__isnan" = x""yes; then :
38583 cat >>confdefs.h <<_ACEOF
38584 #define HAVE__ISNAN 1
38597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
38598 $as_echo_n "checking for finite declaration... " >&6; }
38599 if test x${glibcxx_cv_func_finite_use+set} != xset; then
38600 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
38601 $as_echo_n "(cached) " >&6
38606 ac_cpp='$CXXCPP $CPPFLAGS'
38607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38612 /* end confdefs.h. */
38614 #ifdef HAVE_IEEEFP_H
38615 #include <ieeefp.h>
38626 if ac_fn_cxx_try_compile "$LINENO"; then :
38627 glibcxx_cv_func_finite_use=yes
38629 glibcxx_cv_func_finite_use=no
38631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38633 ac_cpp='$CPP $CPPFLAGS'
38634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
38643 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
38645 if test x$glibcxx_cv_func_finite_use = x"yes"; then
38646 for ac_func in finite
38648 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
38649 if test "x$ac_cv_func_finite" = x""yes; then :
38650 cat >>confdefs.h <<_ACEOF
38651 #define HAVE_FINITE 1
38659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
38660 $as_echo_n "checking for _finite declaration... " >&6; }
38661 if test x${glibcxx_cv_func__finite_use+set} != xset; then
38662 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
38663 $as_echo_n "(cached) " >&6
38668 ac_cpp='$CXXCPP $CPPFLAGS'
38669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38674 /* end confdefs.h. */
38676 #ifdef HAVE_IEEEFP_H
38677 #include <ieeefp.h>
38688 if ac_fn_cxx_try_compile "$LINENO"; then :
38689 glibcxx_cv_func__finite_use=yes
38691 glibcxx_cv_func__finite_use=no
38693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38695 ac_cpp='$CPP $CPPFLAGS'
38696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
38705 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
38707 if test x$glibcxx_cv_func__finite_use = x"yes"; then
38708 for ac_func in _finite
38710 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
38711 if test "x$ac_cv_func__finite" = x""yes; then :
38712 cat >>confdefs.h <<_ACEOF
38713 #define HAVE__FINITE 1
38726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
38727 $as_echo_n "checking for sincos declaration... " >&6; }
38728 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
38729 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
38730 $as_echo_n "(cached) " >&6
38735 ac_cpp='$CXXCPP $CPPFLAGS'
38736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38741 /* end confdefs.h. */
38751 if ac_fn_cxx_try_compile "$LINENO"; then :
38752 glibcxx_cv_func_sincos_use=yes
38754 glibcxx_cv_func_sincos_use=no
38756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38758 ac_cpp='$CPP $CPPFLAGS'
38759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
38768 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
38770 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
38771 for ac_func in sincos
38773 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
38774 if test "x$ac_cv_func_sincos" = x""yes; then :
38775 cat >>confdefs.h <<_ACEOF
38776 #define HAVE_SINCOS 1
38784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
38785 $as_echo_n "checking for _sincos declaration... " >&6; }
38786 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
38787 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
38788 $as_echo_n "(cached) " >&6
38793 ac_cpp='$CXXCPP $CPPFLAGS'
38794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38799 /* end confdefs.h. */
38809 if ac_fn_cxx_try_compile "$LINENO"; then :
38810 glibcxx_cv_func__sincos_use=yes
38812 glibcxx_cv_func__sincos_use=no
38814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38816 ac_cpp='$CPP $CPPFLAGS'
38817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
38826 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
38828 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
38829 for ac_func in _sincos
38831 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
38832 if test "x$ac_cv_func__sincos" = x""yes; then :
38833 cat >>confdefs.h <<_ACEOF
38834 #define HAVE__SINCOS 1
38847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
38848 $as_echo_n "checking for fpclass declaration... " >&6; }
38849 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
38850 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
38851 $as_echo_n "(cached) " >&6
38856 ac_cpp='$CXXCPP $CPPFLAGS'
38857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38862 /* end confdefs.h. */
38864 #ifdef HAVE_IEEEFP_H
38865 #include <ieeefp.h>
38876 if ac_fn_cxx_try_compile "$LINENO"; then :
38877 glibcxx_cv_func_fpclass_use=yes
38879 glibcxx_cv_func_fpclass_use=no
38881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38883 ac_cpp='$CPP $CPPFLAGS'
38884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
38893 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
38895 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
38896 for ac_func in fpclass
38898 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
38899 if test "x$ac_cv_func_fpclass" = x""yes; then :
38900 cat >>confdefs.h <<_ACEOF
38901 #define HAVE_FPCLASS 1
38909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
38910 $as_echo_n "checking for _fpclass declaration... " >&6; }
38911 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
38912 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
38913 $as_echo_n "(cached) " >&6
38918 ac_cpp='$CXXCPP $CPPFLAGS'
38919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38924 /* end confdefs.h. */
38926 #ifdef HAVE_IEEEFP_H
38927 #include <ieeefp.h>
38938 if ac_fn_cxx_try_compile "$LINENO"; then :
38939 glibcxx_cv_func__fpclass_use=yes
38941 glibcxx_cv_func__fpclass_use=no
38943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38945 ac_cpp='$CPP $CPPFLAGS'
38946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
38955 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
38957 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
38958 for ac_func in _fpclass
38960 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
38961 if test "x$ac_cv_func__fpclass" = x""yes; then :
38962 cat >>confdefs.h <<_ACEOF
38963 #define HAVE__FPCLASS 1
38976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
38977 $as_echo_n "checking for qfpclass declaration... " >&6; }
38978 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
38979 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
38980 $as_echo_n "(cached) " >&6
38985 ac_cpp='$CXXCPP $CPPFLAGS'
38986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38991 /* end confdefs.h. */
38993 #ifdef HAVE_IEEEFP_H
38994 #include <ieeefp.h>
39005 if ac_fn_cxx_try_compile "$LINENO"; then :
39006 glibcxx_cv_func_qfpclass_use=yes
39008 glibcxx_cv_func_qfpclass_use=no
39010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39012 ac_cpp='$CPP $CPPFLAGS'
39013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39022 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39024 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39025 for ac_func in qfpclass
39027 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39028 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39029 cat >>confdefs.h <<_ACEOF
39030 #define HAVE_QFPCLASS 1
39038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39039 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39040 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39041 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39042 $as_echo_n "(cached) " >&6
39047 ac_cpp='$CXXCPP $CPPFLAGS'
39048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39053 /* end confdefs.h. */
39055 #ifdef HAVE_IEEEFP_H
39056 #include <ieeefp.h>
39067 if ac_fn_cxx_try_compile "$LINENO"; then :
39068 glibcxx_cv_func__qfpclass_use=yes
39070 glibcxx_cv_func__qfpclass_use=no
39072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39074 ac_cpp='$CPP $CPPFLAGS'
39075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39084 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39086 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39087 for ac_func in _qfpclass
39089 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39090 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39091 cat >>confdefs.h <<_ACEOF
39092 #define HAVE__QFPCLASS 1
39105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39106 $as_echo_n "checking for hypot declaration... " >&6; }
39107 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39108 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
39109 $as_echo_n "(cached) " >&6
39114 ac_cpp='$CXXCPP $CPPFLAGS'
39115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39120 /* end confdefs.h. */
39130 if ac_fn_cxx_try_compile "$LINENO"; then :
39131 glibcxx_cv_func_hypot_use=yes
39133 glibcxx_cv_func_hypot_use=no
39135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39137 ac_cpp='$CPP $CPPFLAGS'
39138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
39147 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
39149 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
39150 for ac_func in hypot
39152 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
39153 if test "x$ac_cv_func_hypot" = x""yes; then :
39154 cat >>confdefs.h <<_ACEOF
39155 #define HAVE_HYPOT 1
39163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
39164 $as_echo_n "checking for _hypot declaration... " >&6; }
39165 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
39166 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
39167 $as_echo_n "(cached) " >&6
39172 ac_cpp='$CXXCPP $CPPFLAGS'
39173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39178 /* end confdefs.h. */
39188 if ac_fn_cxx_try_compile "$LINENO"; then :
39189 glibcxx_cv_func__hypot_use=yes
39191 glibcxx_cv_func__hypot_use=no
39193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39195 ac_cpp='$CPP $CPPFLAGS'
39196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
39205 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
39207 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
39208 for ac_func in _hypot
39210 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
39211 if test "x$ac_cv_func__hypot" = x""yes; then :
39212 cat >>confdefs.h <<_ACEOF
39213 #define HAVE__HYPOT 1
39226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
39227 $as_echo_n "checking for float trig functions... " >&6; }
39228 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
39229 $as_echo_n "(cached) " >&6
39234 ac_cpp='$CXXCPP $CPPFLAGS'
39235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39240 /* end confdefs.h. */
39245 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
39250 if ac_fn_cxx_try_compile "$LINENO"; then :
39251 glibcxx_cv_func_float_trig_use=yes
39253 glibcxx_cv_func_float_trig_use=no
39255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39257 ac_cpp='$CPP $CPPFLAGS'
39258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
39265 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
39266 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
39267 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
39269 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39270 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39271 eval as_val=\$$as_ac_var
39272 if test "x$as_val" = x""yes; then :
39273 cat >>confdefs.h <<_ACEOF
39274 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
39282 $as_echo_n "checking for _float trig functions... " >&6; }
39283 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
39284 $as_echo_n "(cached) " >&6
39289 ac_cpp='$CXXCPP $CPPFLAGS'
39290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39295 /* end confdefs.h. */
39300 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
39305 if ac_fn_cxx_try_compile "$LINENO"; then :
39306 glibcxx_cv_func__float_trig_use=yes
39308 glibcxx_cv_func__float_trig_use=no
39310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39312 ac_cpp='$CPP $CPPFLAGS'
39313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
39320 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
39321 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
39322 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
39324 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39325 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39326 eval as_val=\$$as_ac_var
39327 if test "x$as_val" = x""yes; then :
39328 cat >>confdefs.h <<_ACEOF
39329 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
39343 $as_echo_n "checking for float round functions... " >&6; }
39344 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
39345 $as_echo_n "(cached) " >&6
39350 ac_cpp='$CXXCPP $CPPFLAGS'
39351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39356 /* end confdefs.h. */
39361 ceilf (0); floorf (0);
39366 if ac_fn_cxx_try_compile "$LINENO"; then :
39367 glibcxx_cv_func_float_round_use=yes
39369 glibcxx_cv_func_float_round_use=no
39371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39373 ac_cpp='$CPP $CPPFLAGS'
39374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
39381 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
39382 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
39383 for ac_func in ceilf floorf
39385 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39386 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39387 eval as_val=\$$as_ac_var
39388 if test "x$as_val" = x""yes; then :
39389 cat >>confdefs.h <<_ACEOF
39390 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
39398 $as_echo_n "checking for _float round functions... " >&6; }
39399 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
39400 $as_echo_n "(cached) " >&6
39405 ac_cpp='$CXXCPP $CPPFLAGS'
39406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39411 /* end confdefs.h. */
39416 _ceilf (0); _floorf (0);
39421 if ac_fn_cxx_try_compile "$LINENO"; then :
39422 glibcxx_cv_func__float_round_use=yes
39424 glibcxx_cv_func__float_round_use=no
39426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39428 ac_cpp='$CPP $CPPFLAGS'
39429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
39436 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
39437 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
39438 for ac_func in _ceilf _floorf
39440 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39441 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39442 eval as_val=\$$as_ac_var
39443 if test "x$as_val" = x""yes; then :
39444 cat >>confdefs.h <<_ACEOF
39445 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
39460 $as_echo_n "checking for expf declaration... " >&6; }
39461 if test x${glibcxx_cv_func_expf_use+set} != xset; then
39462 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
39463 $as_echo_n "(cached) " >&6
39468 ac_cpp='$CXXCPP $CPPFLAGS'
39469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39474 /* end confdefs.h. */
39476 #ifdef HAVE_IEEEFP_H
39477 #include <ieeefp.h>
39488 if ac_fn_cxx_try_compile "$LINENO"; then :
39489 glibcxx_cv_func_expf_use=yes
39491 glibcxx_cv_func_expf_use=no
39493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39495 ac_cpp='$CPP $CPPFLAGS'
39496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
39505 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
39507 if test x$glibcxx_cv_func_expf_use = x"yes"; then
39508 for ac_func in expf
39510 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
39511 if test "x$ac_cv_func_expf" = x""yes; then :
39512 cat >>confdefs.h <<_ACEOF
39513 #define HAVE_EXPF 1
39521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
39522 $as_echo_n "checking for _expf declaration... " >&6; }
39523 if test x${glibcxx_cv_func__expf_use+set} != xset; then
39524 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
39525 $as_echo_n "(cached) " >&6
39530 ac_cpp='$CXXCPP $CPPFLAGS'
39531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39536 /* end confdefs.h. */
39538 #ifdef HAVE_IEEEFP_H
39539 #include <ieeefp.h>
39550 if ac_fn_cxx_try_compile "$LINENO"; then :
39551 glibcxx_cv_func__expf_use=yes
39553 glibcxx_cv_func__expf_use=no
39555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39557 ac_cpp='$CPP $CPPFLAGS'
39558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
39567 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
39569 if test x$glibcxx_cv_func__expf_use = x"yes"; then
39570 for ac_func in _expf
39572 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
39573 if test "x$ac_cv_func__expf" = x""yes; then :
39574 cat >>confdefs.h <<_ACEOF
39575 #define HAVE__EXPF 1
39588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
39589 $as_echo_n "checking for isnanf declaration... " >&6; }
39590 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
39591 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
39592 $as_echo_n "(cached) " >&6
39597 ac_cpp='$CXXCPP $CPPFLAGS'
39598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39603 /* end confdefs.h. */
39605 #ifdef HAVE_IEEEFP_H
39606 #include <ieeefp.h>
39617 if ac_fn_cxx_try_compile "$LINENO"; then :
39618 glibcxx_cv_func_isnanf_use=yes
39620 glibcxx_cv_func_isnanf_use=no
39622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39624 ac_cpp='$CPP $CPPFLAGS'
39625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
39634 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
39636 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
39637 for ac_func in isnanf
39639 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
39640 if test "x$ac_cv_func_isnanf" = x""yes; then :
39641 cat >>confdefs.h <<_ACEOF
39642 #define HAVE_ISNANF 1
39650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
39651 $as_echo_n "checking for _isnanf declaration... " >&6; }
39652 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
39653 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
39654 $as_echo_n "(cached) " >&6
39659 ac_cpp='$CXXCPP $CPPFLAGS'
39660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39665 /* end confdefs.h. */
39667 #ifdef HAVE_IEEEFP_H
39668 #include <ieeefp.h>
39679 if ac_fn_cxx_try_compile "$LINENO"; then :
39680 glibcxx_cv_func__isnanf_use=yes
39682 glibcxx_cv_func__isnanf_use=no
39684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39686 ac_cpp='$CPP $CPPFLAGS'
39687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
39696 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
39698 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
39699 for ac_func in _isnanf
39701 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
39702 if test "x$ac_cv_func__isnanf" = x""yes; then :
39703 cat >>confdefs.h <<_ACEOF
39704 #define HAVE__ISNANF 1
39717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
39718 $as_echo_n "checking for isinff declaration... " >&6; }
39719 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
39720 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
39721 $as_echo_n "(cached) " >&6
39726 ac_cpp='$CXXCPP $CPPFLAGS'
39727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39732 /* end confdefs.h. */
39734 #ifdef HAVE_IEEEFP_H
39735 #include <ieeefp.h>
39746 if ac_fn_cxx_try_compile "$LINENO"; then :
39747 glibcxx_cv_func_isinff_use=yes
39749 glibcxx_cv_func_isinff_use=no
39751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39753 ac_cpp='$CPP $CPPFLAGS'
39754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
39763 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
39765 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
39766 for ac_func in isinff
39768 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
39769 if test "x$ac_cv_func_isinff" = x""yes; then :
39770 cat >>confdefs.h <<_ACEOF
39771 #define HAVE_ISINFF 1
39779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
39780 $as_echo_n "checking for _isinff declaration... " >&6; }
39781 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
39782 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
39783 $as_echo_n "(cached) " >&6
39788 ac_cpp='$CXXCPP $CPPFLAGS'
39789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39794 /* end confdefs.h. */
39796 #ifdef HAVE_IEEEFP_H
39797 #include <ieeefp.h>
39808 if ac_fn_cxx_try_compile "$LINENO"; then :
39809 glibcxx_cv_func__isinff_use=yes
39811 glibcxx_cv_func__isinff_use=no
39813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39815 ac_cpp='$CPP $CPPFLAGS'
39816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
39825 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
39827 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
39828 for ac_func in _isinff
39830 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
39831 if test "x$ac_cv_func__isinff" = x""yes; then :
39832 cat >>confdefs.h <<_ACEOF
39833 #define HAVE__ISINFF 1
39846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
39847 $as_echo_n "checking for atan2f declaration... " >&6; }
39848 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
39849 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
39850 $as_echo_n "(cached) " >&6
39855 ac_cpp='$CXXCPP $CPPFLAGS'
39856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39861 /* end confdefs.h. */
39871 if ac_fn_cxx_try_compile "$LINENO"; then :
39872 glibcxx_cv_func_atan2f_use=yes
39874 glibcxx_cv_func_atan2f_use=no
39876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39878 ac_cpp='$CPP $CPPFLAGS'
39879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
39888 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
39890 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
39891 for ac_func in atan2f
39893 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
39894 if test "x$ac_cv_func_atan2f" = x""yes; then :
39895 cat >>confdefs.h <<_ACEOF
39896 #define HAVE_ATAN2F 1
39904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
39905 $as_echo_n "checking for _atan2f declaration... " >&6; }
39906 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
39907 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
39908 $as_echo_n "(cached) " >&6
39913 ac_cpp='$CXXCPP $CPPFLAGS'
39914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39919 /* end confdefs.h. */
39929 if ac_fn_cxx_try_compile "$LINENO"; then :
39930 glibcxx_cv_func__atan2f_use=yes
39932 glibcxx_cv_func__atan2f_use=no
39934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39936 ac_cpp='$CPP $CPPFLAGS'
39937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
39946 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
39948 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
39949 for ac_func in _atan2f
39951 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
39952 if test "x$ac_cv_func__atan2f" = x""yes; then :
39953 cat >>confdefs.h <<_ACEOF
39954 #define HAVE__ATAN2F 1
39967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
39968 $as_echo_n "checking for fabsf declaration... " >&6; }
39969 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
39970 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
39971 $as_echo_n "(cached) " >&6
39976 ac_cpp='$CXXCPP $CPPFLAGS'
39977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39982 /* end confdefs.h. */
39984 #ifdef HAVE_IEEEFP_H
39985 #include <ieeefp.h>
39996 if ac_fn_cxx_try_compile "$LINENO"; then :
39997 glibcxx_cv_func_fabsf_use=yes
39999 glibcxx_cv_func_fabsf_use=no
40001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40003 ac_cpp='$CPP $CPPFLAGS'
40004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40013 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40015 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40016 for ac_func in fabsf
40018 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40019 if test "x$ac_cv_func_fabsf" = x""yes; then :
40020 cat >>confdefs.h <<_ACEOF
40021 #define HAVE_FABSF 1
40029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40030 $as_echo_n "checking for _fabsf declaration... " >&6; }
40031 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40032 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40033 $as_echo_n "(cached) " >&6
40038 ac_cpp='$CXXCPP $CPPFLAGS'
40039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40044 /* end confdefs.h. */
40046 #ifdef HAVE_IEEEFP_H
40047 #include <ieeefp.h>
40058 if ac_fn_cxx_try_compile "$LINENO"; then :
40059 glibcxx_cv_func__fabsf_use=yes
40061 glibcxx_cv_func__fabsf_use=no
40063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40065 ac_cpp='$CPP $CPPFLAGS'
40066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40075 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40077 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40078 for ac_func in _fabsf
40080 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40081 if test "x$ac_cv_func__fabsf" = x""yes; then :
40082 cat >>confdefs.h <<_ACEOF
40083 #define HAVE__FABSF 1
40096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40097 $as_echo_n "checking for fmodf declaration... " >&6; }
40098 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40099 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40100 $as_echo_n "(cached) " >&6
40105 ac_cpp='$CXXCPP $CPPFLAGS'
40106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40111 /* end confdefs.h. */
40121 if ac_fn_cxx_try_compile "$LINENO"; then :
40122 glibcxx_cv_func_fmodf_use=yes
40124 glibcxx_cv_func_fmodf_use=no
40126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40128 ac_cpp='$CPP $CPPFLAGS'
40129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
40138 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
40140 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
40141 for ac_func in fmodf
40143 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
40144 if test "x$ac_cv_func_fmodf" = x""yes; then :
40145 cat >>confdefs.h <<_ACEOF
40146 #define HAVE_FMODF 1
40154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
40155 $as_echo_n "checking for _fmodf declaration... " >&6; }
40156 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
40157 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
40158 $as_echo_n "(cached) " >&6
40163 ac_cpp='$CXXCPP $CPPFLAGS'
40164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40169 /* end confdefs.h. */
40179 if ac_fn_cxx_try_compile "$LINENO"; then :
40180 glibcxx_cv_func__fmodf_use=yes
40182 glibcxx_cv_func__fmodf_use=no
40184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40186 ac_cpp='$CPP $CPPFLAGS'
40187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
40196 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
40198 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
40199 for ac_func in _fmodf
40201 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
40202 if test "x$ac_cv_func__fmodf" = x""yes; then :
40203 cat >>confdefs.h <<_ACEOF
40204 #define HAVE__FMODF 1
40217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
40218 $as_echo_n "checking for frexpf declaration... " >&6; }
40219 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
40220 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
40221 $as_echo_n "(cached) " >&6
40226 ac_cpp='$CXXCPP $CPPFLAGS'
40227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40232 /* end confdefs.h. */
40242 if ac_fn_cxx_try_compile "$LINENO"; then :
40243 glibcxx_cv_func_frexpf_use=yes
40245 glibcxx_cv_func_frexpf_use=no
40247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40249 ac_cpp='$CPP $CPPFLAGS'
40250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
40259 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
40261 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
40262 for ac_func in frexpf
40264 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
40265 if test "x$ac_cv_func_frexpf" = x""yes; then :
40266 cat >>confdefs.h <<_ACEOF
40267 #define HAVE_FREXPF 1
40275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
40276 $as_echo_n "checking for _frexpf declaration... " >&6; }
40277 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
40278 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
40279 $as_echo_n "(cached) " >&6
40284 ac_cpp='$CXXCPP $CPPFLAGS'
40285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40290 /* end confdefs.h. */
40300 if ac_fn_cxx_try_compile "$LINENO"; then :
40301 glibcxx_cv_func__frexpf_use=yes
40303 glibcxx_cv_func__frexpf_use=no
40305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40307 ac_cpp='$CPP $CPPFLAGS'
40308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
40317 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
40319 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
40320 for ac_func in _frexpf
40322 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
40323 if test "x$ac_cv_func__frexpf" = x""yes; then :
40324 cat >>confdefs.h <<_ACEOF
40325 #define HAVE__FREXPF 1
40338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
40339 $as_echo_n "checking for hypotf declaration... " >&6; }
40340 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
40341 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
40342 $as_echo_n "(cached) " >&6
40347 ac_cpp='$CXXCPP $CPPFLAGS'
40348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40353 /* end confdefs.h. */
40363 if ac_fn_cxx_try_compile "$LINENO"; then :
40364 glibcxx_cv_func_hypotf_use=yes
40366 glibcxx_cv_func_hypotf_use=no
40368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40370 ac_cpp='$CPP $CPPFLAGS'
40371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
40380 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
40382 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
40383 for ac_func in hypotf
40385 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
40386 if test "x$ac_cv_func_hypotf" = x""yes; then :
40387 cat >>confdefs.h <<_ACEOF
40388 #define HAVE_HYPOTF 1
40396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
40397 $as_echo_n "checking for _hypotf declaration... " >&6; }
40398 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
40399 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
40400 $as_echo_n "(cached) " >&6
40405 ac_cpp='$CXXCPP $CPPFLAGS'
40406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40411 /* end confdefs.h. */
40421 if ac_fn_cxx_try_compile "$LINENO"; then :
40422 glibcxx_cv_func__hypotf_use=yes
40424 glibcxx_cv_func__hypotf_use=no
40426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40428 ac_cpp='$CPP $CPPFLAGS'
40429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
40438 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
40440 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
40441 for ac_func in _hypotf
40443 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
40444 if test "x$ac_cv_func__hypotf" = x""yes; then :
40445 cat >>confdefs.h <<_ACEOF
40446 #define HAVE__HYPOTF 1
40459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
40460 $as_echo_n "checking for ldexpf declaration... " >&6; }
40461 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
40462 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
40463 $as_echo_n "(cached) " >&6
40468 ac_cpp='$CXXCPP $CPPFLAGS'
40469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40474 /* end confdefs.h. */
40484 if ac_fn_cxx_try_compile "$LINENO"; then :
40485 glibcxx_cv_func_ldexpf_use=yes
40487 glibcxx_cv_func_ldexpf_use=no
40489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40491 ac_cpp='$CPP $CPPFLAGS'
40492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
40501 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
40503 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
40504 for ac_func in ldexpf
40506 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
40507 if test "x$ac_cv_func_ldexpf" = x""yes; then :
40508 cat >>confdefs.h <<_ACEOF
40509 #define HAVE_LDEXPF 1
40517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
40518 $as_echo_n "checking for _ldexpf declaration... " >&6; }
40519 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
40520 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
40521 $as_echo_n "(cached) " >&6
40526 ac_cpp='$CXXCPP $CPPFLAGS'
40527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40532 /* end confdefs.h. */
40542 if ac_fn_cxx_try_compile "$LINENO"; then :
40543 glibcxx_cv_func__ldexpf_use=yes
40545 glibcxx_cv_func__ldexpf_use=no
40547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40549 ac_cpp='$CPP $CPPFLAGS'
40550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
40559 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
40561 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
40562 for ac_func in _ldexpf
40564 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
40565 if test "x$ac_cv_func__ldexpf" = x""yes; then :
40566 cat >>confdefs.h <<_ACEOF
40567 #define HAVE__LDEXPF 1
40580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
40581 $as_echo_n "checking for logf declaration... " >&6; }
40582 if test x${glibcxx_cv_func_logf_use+set} != xset; then
40583 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
40584 $as_echo_n "(cached) " >&6
40589 ac_cpp='$CXXCPP $CPPFLAGS'
40590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40595 /* end confdefs.h. */
40597 #ifdef HAVE_IEEEFP_H
40598 #include <ieeefp.h>
40609 if ac_fn_cxx_try_compile "$LINENO"; then :
40610 glibcxx_cv_func_logf_use=yes
40612 glibcxx_cv_func_logf_use=no
40614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40616 ac_cpp='$CPP $CPPFLAGS'
40617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
40626 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
40628 if test x$glibcxx_cv_func_logf_use = x"yes"; then
40629 for ac_func in logf
40631 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
40632 if test "x$ac_cv_func_logf" = x""yes; then :
40633 cat >>confdefs.h <<_ACEOF
40634 #define HAVE_LOGF 1
40642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
40643 $as_echo_n "checking for _logf declaration... " >&6; }
40644 if test x${glibcxx_cv_func__logf_use+set} != xset; then
40645 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
40646 $as_echo_n "(cached) " >&6
40651 ac_cpp='$CXXCPP $CPPFLAGS'
40652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40657 /* end confdefs.h. */
40659 #ifdef HAVE_IEEEFP_H
40660 #include <ieeefp.h>
40671 if ac_fn_cxx_try_compile "$LINENO"; then :
40672 glibcxx_cv_func__logf_use=yes
40674 glibcxx_cv_func__logf_use=no
40676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40678 ac_cpp='$CPP $CPPFLAGS'
40679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
40688 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
40690 if test x$glibcxx_cv_func__logf_use = x"yes"; then
40691 for ac_func in _logf
40693 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
40694 if test "x$ac_cv_func__logf" = x""yes; then :
40695 cat >>confdefs.h <<_ACEOF
40696 #define HAVE__LOGF 1
40709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
40710 $as_echo_n "checking for log10f declaration... " >&6; }
40711 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
40712 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
40713 $as_echo_n "(cached) " >&6
40718 ac_cpp='$CXXCPP $CPPFLAGS'
40719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40724 /* end confdefs.h. */
40726 #ifdef HAVE_IEEEFP_H
40727 #include <ieeefp.h>
40738 if ac_fn_cxx_try_compile "$LINENO"; then :
40739 glibcxx_cv_func_log10f_use=yes
40741 glibcxx_cv_func_log10f_use=no
40743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40745 ac_cpp='$CPP $CPPFLAGS'
40746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
40755 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
40757 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
40758 for ac_func in log10f
40760 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
40761 if test "x$ac_cv_func_log10f" = x""yes; then :
40762 cat >>confdefs.h <<_ACEOF
40763 #define HAVE_LOG10F 1
40771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
40772 $as_echo_n "checking for _log10f declaration... " >&6; }
40773 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
40774 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
40775 $as_echo_n "(cached) " >&6
40780 ac_cpp='$CXXCPP $CPPFLAGS'
40781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40786 /* end confdefs.h. */
40788 #ifdef HAVE_IEEEFP_H
40789 #include <ieeefp.h>
40800 if ac_fn_cxx_try_compile "$LINENO"; then :
40801 glibcxx_cv_func__log10f_use=yes
40803 glibcxx_cv_func__log10f_use=no
40805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40807 ac_cpp='$CPP $CPPFLAGS'
40808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
40817 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
40819 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
40820 for ac_func in _log10f
40822 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
40823 if test "x$ac_cv_func__log10f" = x""yes; then :
40824 cat >>confdefs.h <<_ACEOF
40825 #define HAVE__LOG10F 1
40838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
40839 $as_echo_n "checking for modff declaration... " >&6; }
40840 if test x${glibcxx_cv_func_modff_use+set} != xset; then
40841 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
40842 $as_echo_n "(cached) " >&6
40847 ac_cpp='$CXXCPP $CPPFLAGS'
40848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40853 /* end confdefs.h. */
40863 if ac_fn_cxx_try_compile "$LINENO"; then :
40864 glibcxx_cv_func_modff_use=yes
40866 glibcxx_cv_func_modff_use=no
40868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40870 ac_cpp='$CPP $CPPFLAGS'
40871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
40880 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
40882 if test x$glibcxx_cv_func_modff_use = x"yes"; then
40883 for ac_func in modff
40885 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
40886 if test "x$ac_cv_func_modff" = x""yes; then :
40887 cat >>confdefs.h <<_ACEOF
40888 #define HAVE_MODFF 1
40896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
40897 $as_echo_n "checking for _modff declaration... " >&6; }
40898 if test x${glibcxx_cv_func__modff_use+set} != xset; then
40899 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
40900 $as_echo_n "(cached) " >&6
40905 ac_cpp='$CXXCPP $CPPFLAGS'
40906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40911 /* end confdefs.h. */
40921 if ac_fn_cxx_try_compile "$LINENO"; then :
40922 glibcxx_cv_func__modff_use=yes
40924 glibcxx_cv_func__modff_use=no
40926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40928 ac_cpp='$CPP $CPPFLAGS'
40929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
40938 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
40940 if test x$glibcxx_cv_func__modff_use = x"yes"; then
40941 for ac_func in _modff
40943 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
40944 if test "x$ac_cv_func__modff" = x""yes; then :
40945 cat >>confdefs.h <<_ACEOF
40946 #define HAVE__MODFF 1
40959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
40960 $as_echo_n "checking for modf declaration... " >&6; }
40961 if test x${glibcxx_cv_func_modf_use+set} != xset; then
40962 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
40963 $as_echo_n "(cached) " >&6
40968 ac_cpp='$CXXCPP $CPPFLAGS'
40969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40974 /* end confdefs.h. */
40984 if ac_fn_cxx_try_compile "$LINENO"; then :
40985 glibcxx_cv_func_modf_use=yes
40987 glibcxx_cv_func_modf_use=no
40989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40991 ac_cpp='$CPP $CPPFLAGS'
40992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
41001 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41003 if test x$glibcxx_cv_func_modf_use = x"yes"; then
41004 for ac_func in modf
41006 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41007 if test "x$ac_cv_func_modf" = x""yes; then :
41008 cat >>confdefs.h <<_ACEOF
41009 #define HAVE_MODF 1
41017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41018 $as_echo_n "checking for _modf declaration... " >&6; }
41019 if test x${glibcxx_cv_func__modf_use+set} != xset; then
41020 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41021 $as_echo_n "(cached) " >&6
41026 ac_cpp='$CXXCPP $CPPFLAGS'
41027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41032 /* end confdefs.h. */
41042 if ac_fn_cxx_try_compile "$LINENO"; then :
41043 glibcxx_cv_func__modf_use=yes
41045 glibcxx_cv_func__modf_use=no
41047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41049 ac_cpp='$CPP $CPPFLAGS'
41050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41059 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41061 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41062 for ac_func in _modf
41064 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41065 if test "x$ac_cv_func__modf" = x""yes; then :
41066 cat >>confdefs.h <<_ACEOF
41067 #define HAVE__MODF 1
41080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41081 $as_echo_n "checking for powf declaration... " >&6; }
41082 if test x${glibcxx_cv_func_powf_use+set} != xset; then
41083 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41084 $as_echo_n "(cached) " >&6
41089 ac_cpp='$CXXCPP $CPPFLAGS'
41090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41095 /* end confdefs.h. */
41105 if ac_fn_cxx_try_compile "$LINENO"; then :
41106 glibcxx_cv_func_powf_use=yes
41108 glibcxx_cv_func_powf_use=no
41110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41112 ac_cpp='$CPP $CPPFLAGS'
41113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
41122 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41124 if test x$glibcxx_cv_func_powf_use = x"yes"; then
41125 for ac_func in powf
41127 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41128 if test "x$ac_cv_func_powf" = x""yes; then :
41129 cat >>confdefs.h <<_ACEOF
41130 #define HAVE_POWF 1
41138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
41139 $as_echo_n "checking for _powf declaration... " >&6; }
41140 if test x${glibcxx_cv_func__powf_use+set} != xset; then
41141 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
41142 $as_echo_n "(cached) " >&6
41147 ac_cpp='$CXXCPP $CPPFLAGS'
41148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41153 /* end confdefs.h. */
41163 if ac_fn_cxx_try_compile "$LINENO"; then :
41164 glibcxx_cv_func__powf_use=yes
41166 glibcxx_cv_func__powf_use=no
41168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41170 ac_cpp='$CPP $CPPFLAGS'
41171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
41180 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
41182 if test x$glibcxx_cv_func__powf_use = x"yes"; then
41183 for ac_func in _powf
41185 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
41186 if test "x$ac_cv_func__powf" = x""yes; then :
41187 cat >>confdefs.h <<_ACEOF
41188 #define HAVE__POWF 1
41201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
41202 $as_echo_n "checking for sqrtf declaration... " >&6; }
41203 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41204 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
41205 $as_echo_n "(cached) " >&6
41210 ac_cpp='$CXXCPP $CPPFLAGS'
41211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41216 /* end confdefs.h. */
41218 #ifdef HAVE_IEEEFP_H
41219 #include <ieeefp.h>
41230 if ac_fn_cxx_try_compile "$LINENO"; then :
41231 glibcxx_cv_func_sqrtf_use=yes
41233 glibcxx_cv_func_sqrtf_use=no
41235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41237 ac_cpp='$CPP $CPPFLAGS'
41238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
41247 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
41249 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41250 for ac_func in sqrtf
41252 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
41253 if test "x$ac_cv_func_sqrtf" = x""yes; then :
41254 cat >>confdefs.h <<_ACEOF
41255 #define HAVE_SQRTF 1
41263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
41264 $as_echo_n "checking for _sqrtf declaration... " >&6; }
41265 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41266 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
41267 $as_echo_n "(cached) " >&6
41272 ac_cpp='$CXXCPP $CPPFLAGS'
41273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41278 /* end confdefs.h. */
41280 #ifdef HAVE_IEEEFP_H
41281 #include <ieeefp.h>
41292 if ac_fn_cxx_try_compile "$LINENO"; then :
41293 glibcxx_cv_func__sqrtf_use=yes
41295 glibcxx_cv_func__sqrtf_use=no
41297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41299 ac_cpp='$CPP $CPPFLAGS'
41300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
41309 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
41311 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41312 for ac_func in _sqrtf
41314 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
41315 if test "x$ac_cv_func__sqrtf" = x""yes; then :
41316 cat >>confdefs.h <<_ACEOF
41317 #define HAVE__SQRTF 1
41330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
41331 $as_echo_n "checking for sincosf declaration... " >&6; }
41332 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
41333 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
41334 $as_echo_n "(cached) " >&6
41339 ac_cpp='$CXXCPP $CPPFLAGS'
41340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41345 /* end confdefs.h. */
41355 if ac_fn_cxx_try_compile "$LINENO"; then :
41356 glibcxx_cv_func_sincosf_use=yes
41358 glibcxx_cv_func_sincosf_use=no
41360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41362 ac_cpp='$CPP $CPPFLAGS'
41363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
41372 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
41374 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
41375 for ac_func in sincosf
41377 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
41378 if test "x$ac_cv_func_sincosf" = x""yes; then :
41379 cat >>confdefs.h <<_ACEOF
41380 #define HAVE_SINCOSF 1
41388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
41389 $as_echo_n "checking for _sincosf declaration... " >&6; }
41390 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
41391 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
41392 $as_echo_n "(cached) " >&6
41397 ac_cpp='$CXXCPP $CPPFLAGS'
41398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41403 /* end confdefs.h. */
41413 if ac_fn_cxx_try_compile "$LINENO"; then :
41414 glibcxx_cv_func__sincosf_use=yes
41416 glibcxx_cv_func__sincosf_use=no
41418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41420 ac_cpp='$CPP $CPPFLAGS'
41421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
41430 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
41432 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
41433 for ac_func in _sincosf
41435 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
41436 if test "x$ac_cv_func__sincosf" = x""yes; then :
41437 cat >>confdefs.h <<_ACEOF
41438 #define HAVE__SINCOSF 1
41451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
41452 $as_echo_n "checking for finitef declaration... " >&6; }
41453 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
41454 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
41455 $as_echo_n "(cached) " >&6
41460 ac_cpp='$CXXCPP $CPPFLAGS'
41461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41466 /* end confdefs.h. */
41468 #ifdef HAVE_IEEEFP_H
41469 #include <ieeefp.h>
41480 if ac_fn_cxx_try_compile "$LINENO"; then :
41481 glibcxx_cv_func_finitef_use=yes
41483 glibcxx_cv_func_finitef_use=no
41485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41487 ac_cpp='$CPP $CPPFLAGS'
41488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
41497 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
41499 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
41500 for ac_func in finitef
41502 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
41503 if test "x$ac_cv_func_finitef" = x""yes; then :
41504 cat >>confdefs.h <<_ACEOF
41505 #define HAVE_FINITEF 1
41513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
41514 $as_echo_n "checking for _finitef declaration... " >&6; }
41515 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
41516 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
41517 $as_echo_n "(cached) " >&6
41522 ac_cpp='$CXXCPP $CPPFLAGS'
41523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41528 /* end confdefs.h. */
41530 #ifdef HAVE_IEEEFP_H
41531 #include <ieeefp.h>
41542 if ac_fn_cxx_try_compile "$LINENO"; then :
41543 glibcxx_cv_func__finitef_use=yes
41545 glibcxx_cv_func__finitef_use=no
41547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41549 ac_cpp='$CPP $CPPFLAGS'
41550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
41559 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
41561 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
41562 for ac_func in _finitef
41564 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
41565 if test "x$ac_cv_func__finitef" = x""yes; then :
41566 cat >>confdefs.h <<_ACEOF
41567 #define HAVE__FINITEF 1
41580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
41581 $as_echo_n "checking for long double trig functions... " >&6; }
41582 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
41583 $as_echo_n "(cached) " >&6
41588 ac_cpp='$CXXCPP $CPPFLAGS'
41589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41594 /* end confdefs.h. */
41599 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
41604 if ac_fn_cxx_try_compile "$LINENO"; then :
41605 glibcxx_cv_func_long_double_trig_use=yes
41607 glibcxx_cv_func_long_double_trig_use=no
41609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41611 ac_cpp='$CPP $CPPFLAGS'
41612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
41619 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
41620 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
41621 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
41623 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41624 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41625 eval as_val=\$$as_ac_var
41626 if test "x$as_val" = x""yes; then :
41627 cat >>confdefs.h <<_ACEOF
41628 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
41636 $as_echo_n "checking for _long double trig functions... " >&6; }
41637 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
41638 $as_echo_n "(cached) " >&6
41643 ac_cpp='$CXXCPP $CPPFLAGS'
41644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41649 /* end confdefs.h. */
41654 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
41659 if ac_fn_cxx_try_compile "$LINENO"; then :
41660 glibcxx_cv_func__long_double_trig_use=yes
41662 glibcxx_cv_func__long_double_trig_use=no
41664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41666 ac_cpp='$CPP $CPPFLAGS'
41667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
41674 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
41675 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
41676 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
41678 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41679 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41680 eval as_val=\$$as_ac_var
41681 if test "x$as_val" = x""yes; then :
41682 cat >>confdefs.h <<_ACEOF
41683 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
41697 $as_echo_n "checking for long double round functions... " >&6; }
41698 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
41699 $as_echo_n "(cached) " >&6
41704 ac_cpp='$CXXCPP $CPPFLAGS'
41705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41710 /* end confdefs.h. */
41715 ceill (0); floorl (0);
41720 if ac_fn_cxx_try_compile "$LINENO"; then :
41721 glibcxx_cv_func_long_double_round_use=yes
41723 glibcxx_cv_func_long_double_round_use=no
41725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41727 ac_cpp='$CPP $CPPFLAGS'
41728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
41735 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
41736 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41737 for ac_func in ceill floorl
41739 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41740 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41741 eval as_val=\$$as_ac_var
41742 if test "x$as_val" = x""yes; then :
41743 cat >>confdefs.h <<_ACEOF
41744 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
41752 $as_echo_n "checking for _long double round functions... " >&6; }
41753 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
41754 $as_echo_n "(cached) " >&6
41759 ac_cpp='$CXXCPP $CPPFLAGS'
41760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41765 /* end confdefs.h. */
41770 _ceill (0); _floorl (0);
41775 if ac_fn_cxx_try_compile "$LINENO"; then :
41776 glibcxx_cv_func__long_double_round_use=yes
41778 glibcxx_cv_func__long_double_round_use=no
41780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41782 ac_cpp='$CPP $CPPFLAGS'
41783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
41790 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
41791 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
41792 for ac_func in _ceill _floorl
41794 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41795 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41796 eval as_val=\$$as_ac_var
41797 if test "x$as_val" = x""yes; then :
41798 cat >>confdefs.h <<_ACEOF
41799 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
41814 $as_echo_n "checking for isnanl declaration... " >&6; }
41815 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
41816 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
41817 $as_echo_n "(cached) " >&6
41822 ac_cpp='$CXXCPP $CPPFLAGS'
41823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41828 /* end confdefs.h. */
41830 #ifdef HAVE_IEEEFP_H
41831 #include <ieeefp.h>
41842 if ac_fn_cxx_try_compile "$LINENO"; then :
41843 glibcxx_cv_func_isnanl_use=yes
41845 glibcxx_cv_func_isnanl_use=no
41847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41849 ac_cpp='$CPP $CPPFLAGS'
41850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
41859 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
41861 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
41862 for ac_func in isnanl
41864 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
41865 if test "x$ac_cv_func_isnanl" = x""yes; then :
41866 cat >>confdefs.h <<_ACEOF
41867 #define HAVE_ISNANL 1
41875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
41876 $as_echo_n "checking for _isnanl declaration... " >&6; }
41877 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
41878 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
41879 $as_echo_n "(cached) " >&6
41884 ac_cpp='$CXXCPP $CPPFLAGS'
41885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41890 /* end confdefs.h. */
41892 #ifdef HAVE_IEEEFP_H
41893 #include <ieeefp.h>
41904 if ac_fn_cxx_try_compile "$LINENO"; then :
41905 glibcxx_cv_func__isnanl_use=yes
41907 glibcxx_cv_func__isnanl_use=no
41909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41911 ac_cpp='$CPP $CPPFLAGS'
41912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
41921 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
41923 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
41924 for ac_func in _isnanl
41926 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
41927 if test "x$ac_cv_func__isnanl" = x""yes; then :
41928 cat >>confdefs.h <<_ACEOF
41929 #define HAVE__ISNANL 1
41942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
41943 $as_echo_n "checking for isinfl declaration... " >&6; }
41944 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
41945 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
41946 $as_echo_n "(cached) " >&6
41951 ac_cpp='$CXXCPP $CPPFLAGS'
41952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41957 /* end confdefs.h. */
41959 #ifdef HAVE_IEEEFP_H
41960 #include <ieeefp.h>
41971 if ac_fn_cxx_try_compile "$LINENO"; then :
41972 glibcxx_cv_func_isinfl_use=yes
41974 glibcxx_cv_func_isinfl_use=no
41976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41978 ac_cpp='$CPP $CPPFLAGS'
41979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
41988 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
41990 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
41991 for ac_func in isinfl
41993 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
41994 if test "x$ac_cv_func_isinfl" = x""yes; then :
41995 cat >>confdefs.h <<_ACEOF
41996 #define HAVE_ISINFL 1
42004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42005 $as_echo_n "checking for _isinfl declaration... " >&6; }
42006 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42007 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42008 $as_echo_n "(cached) " >&6
42013 ac_cpp='$CXXCPP $CPPFLAGS'
42014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42019 /* end confdefs.h. */
42021 #ifdef HAVE_IEEEFP_H
42022 #include <ieeefp.h>
42033 if ac_fn_cxx_try_compile "$LINENO"; then :
42034 glibcxx_cv_func__isinfl_use=yes
42036 glibcxx_cv_func__isinfl_use=no
42038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42040 ac_cpp='$CPP $CPPFLAGS'
42041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42050 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42052 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42053 for ac_func in _isinfl
42055 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42056 if test "x$ac_cv_func__isinfl" = x""yes; then :
42057 cat >>confdefs.h <<_ACEOF
42058 #define HAVE__ISINFL 1
42071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42072 $as_echo_n "checking for atan2l declaration... " >&6; }
42073 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42074 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42075 $as_echo_n "(cached) " >&6
42080 ac_cpp='$CXXCPP $CPPFLAGS'
42081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42086 /* end confdefs.h. */
42096 if ac_fn_cxx_try_compile "$LINENO"; then :
42097 glibcxx_cv_func_atan2l_use=yes
42099 glibcxx_cv_func_atan2l_use=no
42101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42103 ac_cpp='$CPP $CPPFLAGS'
42104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
42113 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
42115 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42116 for ac_func in atan2l
42118 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
42119 if test "x$ac_cv_func_atan2l" = x""yes; then :
42120 cat >>confdefs.h <<_ACEOF
42121 #define HAVE_ATAN2L 1
42129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42130 $as_echo_n "checking for _atan2l declaration... " >&6; }
42131 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42132 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
42133 $as_echo_n "(cached) " >&6
42138 ac_cpp='$CXXCPP $CPPFLAGS'
42139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42144 /* end confdefs.h. */
42154 if ac_fn_cxx_try_compile "$LINENO"; then :
42155 glibcxx_cv_func__atan2l_use=yes
42157 glibcxx_cv_func__atan2l_use=no
42159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42161 ac_cpp='$CPP $CPPFLAGS'
42162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
42171 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
42173 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42174 for ac_func in _atan2l
42176 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
42177 if test "x$ac_cv_func__atan2l" = x""yes; then :
42178 cat >>confdefs.h <<_ACEOF
42179 #define HAVE__ATAN2L 1
42192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
42193 $as_echo_n "checking for expl declaration... " >&6; }
42194 if test x${glibcxx_cv_func_expl_use+set} != xset; then
42195 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
42196 $as_echo_n "(cached) " >&6
42201 ac_cpp='$CXXCPP $CPPFLAGS'
42202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42207 /* end confdefs.h. */
42209 #ifdef HAVE_IEEEFP_H
42210 #include <ieeefp.h>
42221 if ac_fn_cxx_try_compile "$LINENO"; then :
42222 glibcxx_cv_func_expl_use=yes
42224 glibcxx_cv_func_expl_use=no
42226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42228 ac_cpp='$CPP $CPPFLAGS'
42229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
42238 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
42240 if test x$glibcxx_cv_func_expl_use = x"yes"; then
42241 for ac_func in expl
42243 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
42244 if test "x$ac_cv_func_expl" = x""yes; then :
42245 cat >>confdefs.h <<_ACEOF
42246 #define HAVE_EXPL 1
42254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
42255 $as_echo_n "checking for _expl declaration... " >&6; }
42256 if test x${glibcxx_cv_func__expl_use+set} != xset; then
42257 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
42258 $as_echo_n "(cached) " >&6
42263 ac_cpp='$CXXCPP $CPPFLAGS'
42264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42269 /* end confdefs.h. */
42271 #ifdef HAVE_IEEEFP_H
42272 #include <ieeefp.h>
42283 if ac_fn_cxx_try_compile "$LINENO"; then :
42284 glibcxx_cv_func__expl_use=yes
42286 glibcxx_cv_func__expl_use=no
42288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42290 ac_cpp='$CPP $CPPFLAGS'
42291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
42300 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
42302 if test x$glibcxx_cv_func__expl_use = x"yes"; then
42303 for ac_func in _expl
42305 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
42306 if test "x$ac_cv_func__expl" = x""yes; then :
42307 cat >>confdefs.h <<_ACEOF
42308 #define HAVE__EXPL 1
42321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
42322 $as_echo_n "checking for fabsl declaration... " >&6; }
42323 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
42324 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
42325 $as_echo_n "(cached) " >&6
42330 ac_cpp='$CXXCPP $CPPFLAGS'
42331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42336 /* end confdefs.h. */
42338 #ifdef HAVE_IEEEFP_H
42339 #include <ieeefp.h>
42350 if ac_fn_cxx_try_compile "$LINENO"; then :
42351 glibcxx_cv_func_fabsl_use=yes
42353 glibcxx_cv_func_fabsl_use=no
42355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42357 ac_cpp='$CPP $CPPFLAGS'
42358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
42367 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
42369 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
42370 for ac_func in fabsl
42372 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
42373 if test "x$ac_cv_func_fabsl" = x""yes; then :
42374 cat >>confdefs.h <<_ACEOF
42375 #define HAVE_FABSL 1
42383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
42384 $as_echo_n "checking for _fabsl declaration... " >&6; }
42385 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
42386 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
42387 $as_echo_n "(cached) " >&6
42392 ac_cpp='$CXXCPP $CPPFLAGS'
42393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42398 /* end confdefs.h. */
42400 #ifdef HAVE_IEEEFP_H
42401 #include <ieeefp.h>
42412 if ac_fn_cxx_try_compile "$LINENO"; then :
42413 glibcxx_cv_func__fabsl_use=yes
42415 glibcxx_cv_func__fabsl_use=no
42417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42419 ac_cpp='$CPP $CPPFLAGS'
42420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
42429 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
42431 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
42432 for ac_func in _fabsl
42434 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
42435 if test "x$ac_cv_func__fabsl" = x""yes; then :
42436 cat >>confdefs.h <<_ACEOF
42437 #define HAVE__FABSL 1
42450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
42451 $as_echo_n "checking for fmodl declaration... " >&6; }
42452 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
42453 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
42454 $as_echo_n "(cached) " >&6
42459 ac_cpp='$CXXCPP $CPPFLAGS'
42460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42465 /* end confdefs.h. */
42475 if ac_fn_cxx_try_compile "$LINENO"; then :
42476 glibcxx_cv_func_fmodl_use=yes
42478 glibcxx_cv_func_fmodl_use=no
42480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42482 ac_cpp='$CPP $CPPFLAGS'
42483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
42492 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
42494 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
42495 for ac_func in fmodl
42497 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
42498 if test "x$ac_cv_func_fmodl" = x""yes; then :
42499 cat >>confdefs.h <<_ACEOF
42500 #define HAVE_FMODL 1
42508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
42509 $as_echo_n "checking for _fmodl declaration... " >&6; }
42510 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
42511 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
42512 $as_echo_n "(cached) " >&6
42517 ac_cpp='$CXXCPP $CPPFLAGS'
42518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42523 /* end confdefs.h. */
42533 if ac_fn_cxx_try_compile "$LINENO"; then :
42534 glibcxx_cv_func__fmodl_use=yes
42536 glibcxx_cv_func__fmodl_use=no
42538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42540 ac_cpp='$CPP $CPPFLAGS'
42541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
42550 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
42552 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
42553 for ac_func in _fmodl
42555 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
42556 if test "x$ac_cv_func__fmodl" = x""yes; then :
42557 cat >>confdefs.h <<_ACEOF
42558 #define HAVE__FMODL 1
42571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
42572 $as_echo_n "checking for frexpl declaration... " >&6; }
42573 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
42574 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
42575 $as_echo_n "(cached) " >&6
42580 ac_cpp='$CXXCPP $CPPFLAGS'
42581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42586 /* end confdefs.h. */
42596 if ac_fn_cxx_try_compile "$LINENO"; then :
42597 glibcxx_cv_func_frexpl_use=yes
42599 glibcxx_cv_func_frexpl_use=no
42601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42603 ac_cpp='$CPP $CPPFLAGS'
42604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
42613 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
42615 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
42616 for ac_func in frexpl
42618 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
42619 if test "x$ac_cv_func_frexpl" = x""yes; then :
42620 cat >>confdefs.h <<_ACEOF
42621 #define HAVE_FREXPL 1
42629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
42630 $as_echo_n "checking for _frexpl declaration... " >&6; }
42631 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
42632 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
42633 $as_echo_n "(cached) " >&6
42638 ac_cpp='$CXXCPP $CPPFLAGS'
42639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42644 /* end confdefs.h. */
42654 if ac_fn_cxx_try_compile "$LINENO"; then :
42655 glibcxx_cv_func__frexpl_use=yes
42657 glibcxx_cv_func__frexpl_use=no
42659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42661 ac_cpp='$CPP $CPPFLAGS'
42662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
42671 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
42673 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
42674 for ac_func in _frexpl
42676 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
42677 if test "x$ac_cv_func__frexpl" = x""yes; then :
42678 cat >>confdefs.h <<_ACEOF
42679 #define HAVE__FREXPL 1
42692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
42693 $as_echo_n "checking for hypotl declaration... " >&6; }
42694 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
42695 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
42696 $as_echo_n "(cached) " >&6
42701 ac_cpp='$CXXCPP $CPPFLAGS'
42702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42707 /* end confdefs.h. */
42717 if ac_fn_cxx_try_compile "$LINENO"; then :
42718 glibcxx_cv_func_hypotl_use=yes
42720 glibcxx_cv_func_hypotl_use=no
42722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42724 ac_cpp='$CPP $CPPFLAGS'
42725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
42734 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
42736 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
42737 for ac_func in hypotl
42739 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
42740 if test "x$ac_cv_func_hypotl" = x""yes; then :
42741 cat >>confdefs.h <<_ACEOF
42742 #define HAVE_HYPOTL 1
42750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
42751 $as_echo_n "checking for _hypotl declaration... " >&6; }
42752 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
42753 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
42754 $as_echo_n "(cached) " >&6
42759 ac_cpp='$CXXCPP $CPPFLAGS'
42760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42765 /* end confdefs.h. */
42775 if ac_fn_cxx_try_compile "$LINENO"; then :
42776 glibcxx_cv_func__hypotl_use=yes
42778 glibcxx_cv_func__hypotl_use=no
42780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42782 ac_cpp='$CPP $CPPFLAGS'
42783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
42792 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
42794 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
42795 for ac_func in _hypotl
42797 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
42798 if test "x$ac_cv_func__hypotl" = x""yes; then :
42799 cat >>confdefs.h <<_ACEOF
42800 #define HAVE__HYPOTL 1
42813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
42814 $as_echo_n "checking for ldexpl declaration... " >&6; }
42815 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
42816 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
42817 $as_echo_n "(cached) " >&6
42822 ac_cpp='$CXXCPP $CPPFLAGS'
42823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42828 /* end confdefs.h. */
42838 if ac_fn_cxx_try_compile "$LINENO"; then :
42839 glibcxx_cv_func_ldexpl_use=yes
42841 glibcxx_cv_func_ldexpl_use=no
42843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42845 ac_cpp='$CPP $CPPFLAGS'
42846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
42855 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
42857 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
42858 for ac_func in ldexpl
42860 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
42861 if test "x$ac_cv_func_ldexpl" = x""yes; then :
42862 cat >>confdefs.h <<_ACEOF
42863 #define HAVE_LDEXPL 1
42871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
42872 $as_echo_n "checking for _ldexpl declaration... " >&6; }
42873 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
42874 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
42875 $as_echo_n "(cached) " >&6
42880 ac_cpp='$CXXCPP $CPPFLAGS'
42881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42886 /* end confdefs.h. */
42896 if ac_fn_cxx_try_compile "$LINENO"; then :
42897 glibcxx_cv_func__ldexpl_use=yes
42899 glibcxx_cv_func__ldexpl_use=no
42901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42903 ac_cpp='$CPP $CPPFLAGS'
42904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
42913 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
42915 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
42916 for ac_func in _ldexpl
42918 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
42919 if test "x$ac_cv_func__ldexpl" = x""yes; then :
42920 cat >>confdefs.h <<_ACEOF
42921 #define HAVE__LDEXPL 1
42934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
42935 $as_echo_n "checking for logl declaration... " >&6; }
42936 if test x${glibcxx_cv_func_logl_use+set} != xset; then
42937 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
42938 $as_echo_n "(cached) " >&6
42943 ac_cpp='$CXXCPP $CPPFLAGS'
42944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42949 /* end confdefs.h. */
42951 #ifdef HAVE_IEEEFP_H
42952 #include <ieeefp.h>
42963 if ac_fn_cxx_try_compile "$LINENO"; then :
42964 glibcxx_cv_func_logl_use=yes
42966 glibcxx_cv_func_logl_use=no
42968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42970 ac_cpp='$CPP $CPPFLAGS'
42971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
42980 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
42982 if test x$glibcxx_cv_func_logl_use = x"yes"; then
42983 for ac_func in logl
42985 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
42986 if test "x$ac_cv_func_logl" = x""yes; then :
42987 cat >>confdefs.h <<_ACEOF
42988 #define HAVE_LOGL 1
42996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
42997 $as_echo_n "checking for _logl declaration... " >&6; }
42998 if test x${glibcxx_cv_func__logl_use+set} != xset; then
42999 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
43000 $as_echo_n "(cached) " >&6
43005 ac_cpp='$CXXCPP $CPPFLAGS'
43006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43011 /* end confdefs.h. */
43013 #ifdef HAVE_IEEEFP_H
43014 #include <ieeefp.h>
43025 if ac_fn_cxx_try_compile "$LINENO"; then :
43026 glibcxx_cv_func__logl_use=yes
43028 glibcxx_cv_func__logl_use=no
43030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43032 ac_cpp='$CPP $CPPFLAGS'
43033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43042 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43044 if test x$glibcxx_cv_func__logl_use = x"yes"; then
43045 for ac_func in _logl
43047 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43048 if test "x$ac_cv_func__logl" = x""yes; then :
43049 cat >>confdefs.h <<_ACEOF
43050 #define HAVE__LOGL 1
43063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43064 $as_echo_n "checking for log10l declaration... " >&6; }
43065 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43066 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43067 $as_echo_n "(cached) " >&6
43072 ac_cpp='$CXXCPP $CPPFLAGS'
43073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43078 /* end confdefs.h. */
43080 #ifdef HAVE_IEEEFP_H
43081 #include <ieeefp.h>
43092 if ac_fn_cxx_try_compile "$LINENO"; then :
43093 glibcxx_cv_func_log10l_use=yes
43095 glibcxx_cv_func_log10l_use=no
43097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43099 ac_cpp='$CPP $CPPFLAGS'
43100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
43109 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
43111 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
43112 for ac_func in log10l
43114 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
43115 if test "x$ac_cv_func_log10l" = x""yes; then :
43116 cat >>confdefs.h <<_ACEOF
43117 #define HAVE_LOG10L 1
43125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43126 $as_echo_n "checking for _log10l declaration... " >&6; }
43127 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43128 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
43129 $as_echo_n "(cached) " >&6
43134 ac_cpp='$CXXCPP $CPPFLAGS'
43135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43140 /* end confdefs.h. */
43142 #ifdef HAVE_IEEEFP_H
43143 #include <ieeefp.h>
43154 if ac_fn_cxx_try_compile "$LINENO"; then :
43155 glibcxx_cv_func__log10l_use=yes
43157 glibcxx_cv_func__log10l_use=no
43159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43161 ac_cpp='$CPP $CPPFLAGS'
43162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
43171 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
43173 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
43174 for ac_func in _log10l
43176 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
43177 if test "x$ac_cv_func__log10l" = x""yes; then :
43178 cat >>confdefs.h <<_ACEOF
43179 #define HAVE__LOG10L 1
43192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
43193 $as_echo_n "checking for modfl declaration... " >&6; }
43194 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
43195 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
43196 $as_echo_n "(cached) " >&6
43201 ac_cpp='$CXXCPP $CPPFLAGS'
43202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43207 /* end confdefs.h. */
43217 if ac_fn_cxx_try_compile "$LINENO"; then :
43218 glibcxx_cv_func_modfl_use=yes
43220 glibcxx_cv_func_modfl_use=no
43222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43224 ac_cpp='$CPP $CPPFLAGS'
43225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
43234 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
43236 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
43237 for ac_func in modfl
43239 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
43240 if test "x$ac_cv_func_modfl" = x""yes; then :
43241 cat >>confdefs.h <<_ACEOF
43242 #define HAVE_MODFL 1
43250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
43251 $as_echo_n "checking for _modfl declaration... " >&6; }
43252 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
43253 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
43254 $as_echo_n "(cached) " >&6
43259 ac_cpp='$CXXCPP $CPPFLAGS'
43260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43265 /* end confdefs.h. */
43275 if ac_fn_cxx_try_compile "$LINENO"; then :
43276 glibcxx_cv_func__modfl_use=yes
43278 glibcxx_cv_func__modfl_use=no
43280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43282 ac_cpp='$CPP $CPPFLAGS'
43283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
43292 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
43294 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
43295 for ac_func in _modfl
43297 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
43298 if test "x$ac_cv_func__modfl" = x""yes; then :
43299 cat >>confdefs.h <<_ACEOF
43300 #define HAVE__MODFL 1
43313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
43314 $as_echo_n "checking for powl declaration... " >&6; }
43315 if test x${glibcxx_cv_func_powl_use+set} != xset; then
43316 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
43317 $as_echo_n "(cached) " >&6
43322 ac_cpp='$CXXCPP $CPPFLAGS'
43323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43328 /* end confdefs.h. */
43338 if ac_fn_cxx_try_compile "$LINENO"; then :
43339 glibcxx_cv_func_powl_use=yes
43341 glibcxx_cv_func_powl_use=no
43343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43345 ac_cpp='$CPP $CPPFLAGS'
43346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
43355 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
43357 if test x$glibcxx_cv_func_powl_use = x"yes"; then
43358 for ac_func in powl
43360 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
43361 if test "x$ac_cv_func_powl" = x""yes; then :
43362 cat >>confdefs.h <<_ACEOF
43363 #define HAVE_POWL 1
43371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
43372 $as_echo_n "checking for _powl declaration... " >&6; }
43373 if test x${glibcxx_cv_func__powl_use+set} != xset; then
43374 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
43375 $as_echo_n "(cached) " >&6
43380 ac_cpp='$CXXCPP $CPPFLAGS'
43381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43386 /* end confdefs.h. */
43396 if ac_fn_cxx_try_compile "$LINENO"; then :
43397 glibcxx_cv_func__powl_use=yes
43399 glibcxx_cv_func__powl_use=no
43401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43403 ac_cpp='$CPP $CPPFLAGS'
43404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
43413 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
43415 if test x$glibcxx_cv_func__powl_use = x"yes"; then
43416 for ac_func in _powl
43418 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
43419 if test "x$ac_cv_func__powl" = x""yes; then :
43420 cat >>confdefs.h <<_ACEOF
43421 #define HAVE__POWL 1
43434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
43435 $as_echo_n "checking for sqrtl declaration... " >&6; }
43436 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
43437 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
43438 $as_echo_n "(cached) " >&6
43443 ac_cpp='$CXXCPP $CPPFLAGS'
43444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43449 /* end confdefs.h. */
43451 #ifdef HAVE_IEEEFP_H
43452 #include <ieeefp.h>
43463 if ac_fn_cxx_try_compile "$LINENO"; then :
43464 glibcxx_cv_func_sqrtl_use=yes
43466 glibcxx_cv_func_sqrtl_use=no
43468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43470 ac_cpp='$CPP $CPPFLAGS'
43471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
43480 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
43482 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
43483 for ac_func in sqrtl
43485 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
43486 if test "x$ac_cv_func_sqrtl" = x""yes; then :
43487 cat >>confdefs.h <<_ACEOF
43488 #define HAVE_SQRTL 1
43496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
43497 $as_echo_n "checking for _sqrtl declaration... " >&6; }
43498 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
43499 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
43500 $as_echo_n "(cached) " >&6
43505 ac_cpp='$CXXCPP $CPPFLAGS'
43506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43511 /* end confdefs.h. */
43513 #ifdef HAVE_IEEEFP_H
43514 #include <ieeefp.h>
43525 if ac_fn_cxx_try_compile "$LINENO"; then :
43526 glibcxx_cv_func__sqrtl_use=yes
43528 glibcxx_cv_func__sqrtl_use=no
43530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43532 ac_cpp='$CPP $CPPFLAGS'
43533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
43542 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
43544 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
43545 for ac_func in _sqrtl
43547 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
43548 if test "x$ac_cv_func__sqrtl" = x""yes; then :
43549 cat >>confdefs.h <<_ACEOF
43550 #define HAVE__SQRTL 1
43563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
43564 $as_echo_n "checking for sincosl declaration... " >&6; }
43565 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
43566 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
43567 $as_echo_n "(cached) " >&6
43572 ac_cpp='$CXXCPP $CPPFLAGS'
43573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43578 /* end confdefs.h. */
43588 if ac_fn_cxx_try_compile "$LINENO"; then :
43589 glibcxx_cv_func_sincosl_use=yes
43591 glibcxx_cv_func_sincosl_use=no
43593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43595 ac_cpp='$CPP $CPPFLAGS'
43596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
43605 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
43607 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
43608 for ac_func in sincosl
43610 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
43611 if test "x$ac_cv_func_sincosl" = x""yes; then :
43612 cat >>confdefs.h <<_ACEOF
43613 #define HAVE_SINCOSL 1
43621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
43622 $as_echo_n "checking for _sincosl declaration... " >&6; }
43623 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
43624 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
43625 $as_echo_n "(cached) " >&6
43630 ac_cpp='$CXXCPP $CPPFLAGS'
43631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43636 /* end confdefs.h. */
43646 if ac_fn_cxx_try_compile "$LINENO"; then :
43647 glibcxx_cv_func__sincosl_use=yes
43649 glibcxx_cv_func__sincosl_use=no
43651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43653 ac_cpp='$CPP $CPPFLAGS'
43654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
43663 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
43665 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
43666 for ac_func in _sincosl
43668 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
43669 if test "x$ac_cv_func__sincosl" = x""yes; then :
43670 cat >>confdefs.h <<_ACEOF
43671 #define HAVE__SINCOSL 1
43684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
43685 $as_echo_n "checking for finitel declaration... " >&6; }
43686 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
43687 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
43688 $as_echo_n "(cached) " >&6
43693 ac_cpp='$CXXCPP $CPPFLAGS'
43694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43699 /* end confdefs.h. */
43701 #ifdef HAVE_IEEEFP_H
43702 #include <ieeefp.h>
43713 if ac_fn_cxx_try_compile "$LINENO"; then :
43714 glibcxx_cv_func_finitel_use=yes
43716 glibcxx_cv_func_finitel_use=no
43718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43720 ac_cpp='$CPP $CPPFLAGS'
43721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
43730 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
43732 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
43733 for ac_func in finitel
43735 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
43736 if test "x$ac_cv_func_finitel" = x""yes; then :
43737 cat >>confdefs.h <<_ACEOF
43738 #define HAVE_FINITEL 1
43746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
43747 $as_echo_n "checking for _finitel declaration... " >&6; }
43748 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
43749 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
43750 $as_echo_n "(cached) " >&6
43755 ac_cpp='$CXXCPP $CPPFLAGS'
43756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43761 /* end confdefs.h. */
43763 #ifdef HAVE_IEEEFP_H
43764 #include <ieeefp.h>
43775 if ac_fn_cxx_try_compile "$LINENO"; then :
43776 glibcxx_cv_func__finitel_use=yes
43778 glibcxx_cv_func__finitel_use=no
43780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43782 ac_cpp='$CPP $CPPFLAGS'
43783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
43792 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
43794 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
43795 for ac_func in _finitel
43797 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
43798 if test "x$ac_cv_func__finitel" = x""yes; then :
43799 cat >>confdefs.h <<_ACEOF
43800 #define HAVE__FINITEL 1
43812 LIBS="$ac_save_LIBS"
43813 CXXFLAGS="$ac_save_CXXFLAGS"
43816 ac_test_CXXFLAGS="${CXXFLAGS+set}"
43817 ac_save_CXXFLAGS="$CXXFLAGS"
43818 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
43822 $as_echo_n "checking for strtold declaration... " >&6; }
43823 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
43824 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
43825 $as_echo_n "(cached) " >&6
43830 ac_cpp='$CXXCPP $CPPFLAGS'
43831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43836 /* end confdefs.h. */
43837 #include <stdlib.h>
43846 if ac_fn_cxx_try_compile "$LINENO"; then :
43847 glibcxx_cv_func_strtold_use=yes
43849 glibcxx_cv_func_strtold_use=no
43851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43853 ac_cpp='$CPP $CPPFLAGS'
43854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
43863 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
43864 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
43865 for ac_func in strtold
43867 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
43868 if test "x$ac_cv_func_strtold" = x""yes; then :
43869 cat >>confdefs.h <<_ACEOF
43870 #define HAVE_STRTOLD 1
43881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
43882 $as_echo_n "checking for strtof declaration... " >&6; }
43883 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
43884 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
43885 $as_echo_n "(cached) " >&6
43890 ac_cpp='$CXXCPP $CPPFLAGS'
43891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43896 /* end confdefs.h. */
43897 #include <stdlib.h>
43906 if ac_fn_cxx_try_compile "$LINENO"; then :
43907 glibcxx_cv_func_strtof_use=yes
43909 glibcxx_cv_func_strtof_use=no
43911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43913 ac_cpp='$CPP $CPPFLAGS'
43914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
43923 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
43924 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
43925 for ac_func in strtof
43927 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
43928 if test "x$ac_cv_func_strtof" = x""yes; then :
43929 cat >>confdefs.h <<_ACEOF
43930 #define HAVE_STRTOF 1
43941 CXXFLAGS="$ac_save_CXXFLAGS"
43946 # GLIBCXX_CHECK_MATH_SUPPORT
43947 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
43949 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
43951 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
43953 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
43955 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
43960 SECTION_FLAGS='-ffunction-sections -fdata-sections'
43963 # If we're not using GNU ld, then there's no point in even trying these
43964 # tests. Check for that first. We should have already tested for gld
43965 # by now (in libtool), but require it now just to be safe...
43966 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
43967 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
43971 # The name set by libtool depends on the version of libtool. Shame on us
43972 # for depending on an impl detail, but c'est la vie. Older versions used
43973 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
43974 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
43975 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
43976 # set (hence we're using an older libtool), then set it.
43977 if test x${with_gnu_ld+set} != xset; then
43978 if test x${ac_cv_prog_gnu_ld+set} != xset; then
43979 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
43982 with_gnu_ld=$ac_cv_prog_gnu_ld
43986 # Start by getting the version number. I think the libtool test already
43987 # does some of this, but throws away the result.
43988 glibcxx_ld_is_gold=no
43989 if test x"$with_gnu_ld" = x"yes"; then
43990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
43991 $as_echo_n "checking for ld version... " >&6; }
43993 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
43994 glibcxx_ld_is_gold=yes
43996 ldver=`$LD --version 2>/dev/null |
43997 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'`
43999 glibcxx_gnu_ld_version=`echo $ldver | \
44000 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44002 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44005 # Set --gc-sections.
44006 glibcxx_have_gc_sections=no
44007 if test "$glibcxx_ld_is_gold" = "yes"; then
44008 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44009 glibcxx_have_gc_sections=yes
44012 glibcxx_gcsections_min_ld=21602
44013 if test x"$with_gnu_ld" = x"yes" &&
44014 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44015 glibcxx_have_gc_sections=yes
44018 if test "$glibcxx_have_gc_sections" = "yes"; then
44019 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44020 # NB: This flag only works reliably after 2.16.1. Configure tests
44021 # for this are difficult, so hard wire a value that should work.
44023 ac_test_CFLAGS="${CFLAGS+set}"
44024 ac_save_CFLAGS="$CFLAGS"
44025 CFLAGS='-Wl,--gc-sections'
44027 # Check for -Wl,--gc-sections
44028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44029 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44030 if test x$gcc_no_link = xyes; then
44031 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44034 /* end confdefs.h. */
44035 int one(void) { return 1; }
44036 int two(void) { return 2; }
44046 if ac_fn_c_try_link "$LINENO"; then :
44051 rm -f core conftest.err conftest.$ac_objext \
44052 conftest$ac_exeext conftest.$ac_ext
44053 if test "$ac_gcsections" = "yes"; then
44056 if $CC -c conftest.c; then
44057 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44058 grep "Warning: gc-sections option ignored" > /dev/null; then
44062 rm -f conftest.c conftest.o conftest
44064 if test "$ac_gcsections" = "yes"; then
44065 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44068 $as_echo "$ac_gcsections" >&6; }
44070 if test "$ac_test_CFLAGS" = set; then
44071 CFLAGS="$ac_save_CFLAGS"
44073 # this is the suspicious part
44079 # Note this is only for shared objects.
44081 if test x"$with_gnu_ld" = x"yes"; then
44082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44083 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44084 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44085 if test -n "$cxx_z_relo"; then
44086 OPT_LDFLAGS="-Wl,-z,relro"
44089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44090 $as_echo "$ac_ld_relro" >&6; }
44093 # Set linker optimization flags.
44094 if test x"$with_gnu_ld" = x"yes"; then
44095 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44101 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44103 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44105 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44107 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44109 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44111 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
44113 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44115 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44117 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44120 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44122 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44124 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44126 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44128 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44130 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44132 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44134 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44136 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44138 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
44140 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44142 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44144 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
44146 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44148 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44150 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
44152 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44154 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44156 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44158 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44160 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44162 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44164 if test x"long_double_math_on_this_cpu" = x"yes"; then
44165 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
44167 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
44169 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
44174 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44177 # If we're not using GNU ld, then there's no point in even trying these
44178 # tests. Check for that first. We should have already tested for gld
44179 # by now (in libtool), but require it now just to be safe...
44180 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44181 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44185 # The name set by libtool depends on the version of libtool. Shame on us
44186 # for depending on an impl detail, but c'est la vie. Older versions used
44187 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44188 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44189 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44190 # set (hence we're using an older libtool), then set it.
44191 if test x${with_gnu_ld+set} != xset; then
44192 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44193 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44196 with_gnu_ld=$ac_cv_prog_gnu_ld
44200 # Start by getting the version number. I think the libtool test already
44201 # does some of this, but throws away the result.
44202 glibcxx_ld_is_gold=no
44203 if test x"$with_gnu_ld" = x"yes"; then
44204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44205 $as_echo_n "checking for ld version... " >&6; }
44207 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44208 glibcxx_ld_is_gold=yes
44210 ldver=`$LD --version 2>/dev/null |
44211 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'`
44213 glibcxx_gnu_ld_version=`echo $ldver | \
44214 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44216 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44219 # Set --gc-sections.
44220 glibcxx_have_gc_sections=no
44221 if test "$glibcxx_ld_is_gold" = "yes"; then
44222 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44223 glibcxx_have_gc_sections=yes
44226 glibcxx_gcsections_min_ld=21602
44227 if test x"$with_gnu_ld" = x"yes" &&
44228 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44229 glibcxx_have_gc_sections=yes
44232 if test "$glibcxx_have_gc_sections" = "yes"; then
44233 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44234 # NB: This flag only works reliably after 2.16.1. Configure tests
44235 # for this are difficult, so hard wire a value that should work.
44237 ac_test_CFLAGS="${CFLAGS+set}"
44238 ac_save_CFLAGS="$CFLAGS"
44239 CFLAGS='-Wl,--gc-sections'
44241 # Check for -Wl,--gc-sections
44242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44243 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44244 if test x$gcc_no_link = xyes; then
44245 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44248 /* end confdefs.h. */
44249 int one(void) { return 1; }
44250 int two(void) { return 2; }
44260 if ac_fn_c_try_link "$LINENO"; then :
44265 rm -f core conftest.err conftest.$ac_objext \
44266 conftest$ac_exeext conftest.$ac_ext
44267 if test "$ac_gcsections" = "yes"; then
44270 if $CC -c conftest.c; then
44271 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44272 grep "Warning: gc-sections option ignored" > /dev/null; then
44276 rm -f conftest.c conftest.o conftest
44278 if test "$ac_gcsections" = "yes"; then
44279 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44282 $as_echo "$ac_gcsections" >&6; }
44284 if test "$ac_test_CFLAGS" = set; then
44285 CFLAGS="$ac_save_CFLAGS"
44287 # this is the suspicious part
44293 # Note this is only for shared objects.
44295 if test x"$with_gnu_ld" = x"yes"; then
44296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44297 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44298 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44299 if test -n "$cxx_z_relo"; then
44300 OPT_LDFLAGS="-Wl,-z,relro"
44303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44304 $as_echo "$ac_ld_relro" >&6; }
44307 # Set linker optimization flags.
44308 if test x"$with_gnu_ld" = x"yes"; then
44309 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44316 # GLIBCXX_CHECK_MATH_SUPPORT
44317 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44319 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44321 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44323 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44325 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44327 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44329 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44331 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44333 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44335 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44337 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44339 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44341 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44343 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44345 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44347 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44349 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44351 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44353 $as_echo "#define HAVE_MODF 1" >>confdefs.h
44355 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44357 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44360 # GLIBCXX_CHECK_STDLIB_SUPPORT
44361 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
44366 # Check whether --enable-tls was given.
44367 if test "${enable_tls+set}" = set; then :
44368 enableval=$enable_tls;
44369 case "$enableval" in
44371 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
44379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
44380 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
44381 if test "${gcc_cv_have_tls+set}" = set; then :
44382 $as_echo_n "(cached) " >&6
44385 if test "$cross_compiling" = yes; then :
44386 if test x$gcc_no_link = xyes; then
44387 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44390 /* end confdefs.h. */
44391 __thread int a; int b; int main() { return a = b; }
44393 if ac_fn_c_try_link "$LINENO"; then :
44394 chktls_save_LDFLAGS="$LDFLAGS"
44397 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
44400 chktls_save_CFLAGS="$CFLAGS"
44401 CFLAGS="-fPIC $CFLAGS"
44402 if test x$gcc_no_link = xyes; then
44403 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44406 /* end confdefs.h. */
44407 int f() { return 0; }
44409 if ac_fn_c_try_link "$LINENO"; then :
44410 if test x$gcc_no_link = xyes; then
44411 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44414 /* end confdefs.h. */
44415 __thread int a; int b; int f() { return a = b; }
44417 if ac_fn_c_try_link "$LINENO"; then :
44418 gcc_cv_have_tls=yes
44422 rm -f core conftest.err conftest.$ac_objext \
44423 conftest$ac_exeext conftest.$ac_ext
44425 gcc_cv_have_tls=yes
44427 rm -f core conftest.err conftest.$ac_objext \
44428 conftest$ac_exeext conftest.$ac_ext
44429 CFLAGS="$chktls_save_CFLAGS"
44430 LDFLAGS="$chktls_save_LDFLAGS"
44434 rm -f core conftest.err conftest.$ac_objext \
44435 conftest$ac_exeext conftest.$ac_ext
44439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44440 /* end confdefs.h. */
44441 __thread int a; int b; int main() { return a = b; }
44443 if ac_fn_c_try_run "$LINENO"; then :
44444 chktls_save_LDFLAGS="$LDFLAGS"
44445 LDFLAGS="-static $LDFLAGS"
44446 if test x$gcc_no_link = xyes; then
44447 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44450 /* end confdefs.h. */
44451 int main() { return 0; }
44453 if ac_fn_c_try_link "$LINENO"; then :
44454 if test "$cross_compiling" = yes; then :
44455 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44456 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44457 as_fn_error "cannot run test program while cross compiling
44458 See \`config.log' for more details." "$LINENO" 5; }
44460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44461 /* end confdefs.h. */
44462 __thread int a; int b; int main() { return a = b; }
44464 if ac_fn_c_try_run "$LINENO"; then :
44465 gcc_cv_have_tls=yes
44469 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44470 conftest.$ac_objext conftest.beam conftest.$ac_ext
44474 gcc_cv_have_tls=yes
44476 rm -f core conftest.err conftest.$ac_objext \
44477 conftest$ac_exeext conftest.$ac_ext
44478 LDFLAGS="$chktls_save_LDFLAGS"
44479 if test $gcc_cv_have_tls = yes; then
44480 chktls_save_CFLAGS="$CFLAGS"
44481 thread_CFLAGS=failed
44482 for flag in '' '-pthread' '-lpthread'; do
44483 CFLAGS="$flag $chktls_save_CFLAGS"
44484 if test x$gcc_no_link = xyes; then
44485 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44488 /* end confdefs.h. */
44489 #include <pthread.h>
44490 void *g(void *d) { return NULL; }
44494 pthread_t t; pthread_create(&t,NULL,g,NULL);
44499 if ac_fn_c_try_link "$LINENO"; then :
44500 thread_CFLAGS="$flag"
44502 rm -f core conftest.err conftest.$ac_objext \
44503 conftest$ac_exeext conftest.$ac_ext
44504 if test "X$thread_CFLAGS" != Xfailed; then
44508 CFLAGS="$chktls_save_CFLAGS"
44509 if test "X$thread_CFLAGS" != Xfailed; then
44510 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
44511 if test "$cross_compiling" = yes; then :
44512 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44513 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44514 as_fn_error "cannot run test program while cross compiling
44515 See \`config.log' for more details." "$LINENO" 5; }
44517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44518 /* end confdefs.h. */
44519 #include <pthread.h>
44521 static int *a_in_other_thread;
44523 thread_func (void *arg)
44525 a_in_other_thread = &a;
44532 void *thread_retval;
44533 int *a_in_main_thread;
44534 if (pthread_create (&thread, (pthread_attr_t *)0,
44535 thread_func, (void *)0))
44537 a_in_main_thread = &a;
44538 if (pthread_join (thread, &thread_retval))
44540 return (a_in_other_thread == a_in_main_thread);
44545 if ac_fn_c_try_run "$LINENO"; then :
44546 gcc_cv_have_tls=yes
44550 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44551 conftest.$ac_objext conftest.beam conftest.$ac_ext
44554 CFLAGS="$chktls_save_CFLAGS"
44560 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44561 conftest.$ac_objext conftest.beam conftest.$ac_ext
44565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
44566 $as_echo "$gcc_cv_have_tls" >&6; }
44567 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
44569 $as_echo "#define HAVE_TLS 1" >>confdefs.h
44574 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44576 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
44578 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44580 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44582 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44587 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
44589 # All these tests are for C++; save the language and the compiler flags.
44590 # The CXXFLAGS thing is suspicious, but based on similar bits previously
44591 # found in GLIBCXX_CONFIGURE.
44594 ac_cpp='$CXXCPP $CPPFLAGS'
44595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44599 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44600 ac_save_CXXFLAGS="$CXXFLAGS"
44602 # Check for maintainer-mode bits.
44603 if test x"$USE_MAINTAINER_MODE" = xno; then
44609 # Check for -ffunction-sections -fdata-sections
44610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
44611 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
44612 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
44613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44614 /* end confdefs.h. */
44615 int foo; void bar() { };
44624 if ac_fn_cxx_try_compile "$LINENO"; then :
44629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44630 if test "$ac_test_CXXFLAGS" = set; then
44631 CXXFLAGS="$ac_save_CXXFLAGS"
44633 # this is the suspicious part
44636 if test x"$ac_fdsections" = x"yes"; then
44637 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
44640 $as_echo "$ac_fdsections" >&6; }
44643 ac_cpp='$CPP $CPPFLAGS'
44644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44652 # If we're not using GNU ld, then there's no point in even trying these
44653 # tests. Check for that first. We should have already tested for gld
44654 # by now (in libtool), but require it now just to be safe...
44655 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44656 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44660 # The name set by libtool depends on the version of libtool. Shame on us
44661 # for depending on an impl detail, but c'est la vie. Older versions used
44662 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44663 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44664 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44665 # set (hence we're using an older libtool), then set it.
44666 if test x${with_gnu_ld+set} != xset; then
44667 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44668 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44671 with_gnu_ld=$ac_cv_prog_gnu_ld
44675 # Start by getting the version number. I think the libtool test already
44676 # does some of this, but throws away the result.
44677 glibcxx_ld_is_gold=no
44678 if test x"$with_gnu_ld" = x"yes"; then
44679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44680 $as_echo_n "checking for ld version... " >&6; }
44682 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44683 glibcxx_ld_is_gold=yes
44685 ldver=`$LD --version 2>/dev/null |
44686 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'`
44688 glibcxx_gnu_ld_version=`echo $ldver | \
44689 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44691 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44694 # Set --gc-sections.
44695 glibcxx_have_gc_sections=no
44696 if test "$glibcxx_ld_is_gold" = "yes"; then
44697 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44698 glibcxx_have_gc_sections=yes
44701 glibcxx_gcsections_min_ld=21602
44702 if test x"$with_gnu_ld" = x"yes" &&
44703 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44704 glibcxx_have_gc_sections=yes
44707 if test "$glibcxx_have_gc_sections" = "yes"; then
44708 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44709 # NB: This flag only works reliably after 2.16.1. Configure tests
44710 # for this are difficult, so hard wire a value that should work.
44712 ac_test_CFLAGS="${CFLAGS+set}"
44713 ac_save_CFLAGS="$CFLAGS"
44714 CFLAGS='-Wl,--gc-sections'
44716 # Check for -Wl,--gc-sections
44717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44718 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44719 if test x$gcc_no_link = xyes; then
44720 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44723 /* end confdefs.h. */
44724 int one(void) { return 1; }
44725 int two(void) { return 2; }
44735 if ac_fn_c_try_link "$LINENO"; then :
44740 rm -f core conftest.err conftest.$ac_objext \
44741 conftest$ac_exeext conftest.$ac_ext
44742 if test "$ac_gcsections" = "yes"; then
44745 if $CC -c conftest.c; then
44746 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44747 grep "Warning: gc-sections option ignored" > /dev/null; then
44751 rm -f conftest.c conftest.o conftest
44753 if test "$ac_gcsections" = "yes"; then
44754 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44757 $as_echo "$ac_gcsections" >&6; }
44759 if test "$ac_test_CFLAGS" = set; then
44760 CFLAGS="$ac_save_CFLAGS"
44762 # this is the suspicious part
44768 # Note this is only for shared objects.
44770 if test x"$with_gnu_ld" = x"yes"; then
44771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44772 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44773 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44774 if test -n "$cxx_z_relo"; then
44775 OPT_LDFLAGS="-Wl,-z,relro"
44778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44779 $as_echo "$ac_ld_relro" >&6; }
44782 # Set linker optimization flags.
44783 if test x"$with_gnu_ld" = x"yes"; then
44784 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44791 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44792 ac_save_CXXFLAGS="$CXXFLAGS"
44793 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
44796 $as_echo_n "checking for sin in -lm... " >&6; }
44797 if test "${ac_cv_lib_m_sin+set}" = set; then :
44798 $as_echo_n "(cached) " >&6
44800 ac_check_lib_save_LIBS=$LIBS
44802 if test x$gcc_no_link = xyes; then
44803 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44806 /* end confdefs.h. */
44808 /* Override any GCC internal prototype to avoid an error.
44809 Use char because int might match the return type of a GCC
44810 builtin and then its argument prototype would still apply. */
44823 if ac_fn_c_try_link "$LINENO"; then :
44824 ac_cv_lib_m_sin=yes
44828 rm -f core conftest.err conftest.$ac_objext \
44829 conftest$ac_exeext conftest.$ac_ext
44830 LIBS=$ac_check_lib_save_LIBS
44832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
44833 $as_echo "$ac_cv_lib_m_sin" >&6; }
44834 if test "x$ac_cv_lib_m_sin" = x""yes; then :
44838 ac_save_LIBS="$LIBS"
44843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
44844 $as_echo_n "checking for isinf declaration... " >&6; }
44845 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
44846 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
44847 $as_echo_n "(cached) " >&6
44852 ac_cpp='$CXXCPP $CPPFLAGS'
44853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44858 /* end confdefs.h. */
44860 #ifdef HAVE_IEEEFP_H
44861 #include <ieeefp.h>
44872 if ac_fn_cxx_try_compile "$LINENO"; then :
44873 glibcxx_cv_func_isinf_use=yes
44875 glibcxx_cv_func_isinf_use=no
44877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44879 ac_cpp='$CPP $CPPFLAGS'
44880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
44889 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
44891 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
44892 for ac_func in isinf
44894 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
44895 if test "x$ac_cv_func_isinf" = x""yes; then :
44896 cat >>confdefs.h <<_ACEOF
44897 #define HAVE_ISINF 1
44905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
44906 $as_echo_n "checking for _isinf declaration... " >&6; }
44907 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
44908 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
44909 $as_echo_n "(cached) " >&6
44914 ac_cpp='$CXXCPP $CPPFLAGS'
44915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44920 /* end confdefs.h. */
44922 #ifdef HAVE_IEEEFP_H
44923 #include <ieeefp.h>
44934 if ac_fn_cxx_try_compile "$LINENO"; then :
44935 glibcxx_cv_func__isinf_use=yes
44937 glibcxx_cv_func__isinf_use=no
44939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44941 ac_cpp='$CPP $CPPFLAGS'
44942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
44951 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
44953 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
44954 for ac_func in _isinf
44956 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
44957 if test "x$ac_cv_func__isinf" = x""yes; then :
44958 cat >>confdefs.h <<_ACEOF
44959 #define HAVE__ISINF 1
44972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
44973 $as_echo_n "checking for isnan declaration... " >&6; }
44974 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
44975 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
44976 $as_echo_n "(cached) " >&6
44981 ac_cpp='$CXXCPP $CPPFLAGS'
44982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44987 /* end confdefs.h. */
44989 #ifdef HAVE_IEEEFP_H
44990 #include <ieeefp.h>
45001 if ac_fn_cxx_try_compile "$LINENO"; then :
45002 glibcxx_cv_func_isnan_use=yes
45004 glibcxx_cv_func_isnan_use=no
45006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45008 ac_cpp='$CPP $CPPFLAGS'
45009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45018 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45020 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45021 for ac_func in isnan
45023 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45024 if test "x$ac_cv_func_isnan" = x""yes; then :
45025 cat >>confdefs.h <<_ACEOF
45026 #define HAVE_ISNAN 1
45034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45035 $as_echo_n "checking for _isnan declaration... " >&6; }
45036 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45037 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45038 $as_echo_n "(cached) " >&6
45043 ac_cpp='$CXXCPP $CPPFLAGS'
45044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45049 /* end confdefs.h. */
45051 #ifdef HAVE_IEEEFP_H
45052 #include <ieeefp.h>
45063 if ac_fn_cxx_try_compile "$LINENO"; then :
45064 glibcxx_cv_func__isnan_use=yes
45066 glibcxx_cv_func__isnan_use=no
45068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45070 ac_cpp='$CPP $CPPFLAGS'
45071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45080 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45082 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45083 for ac_func in _isnan
45085 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45086 if test "x$ac_cv_func__isnan" = x""yes; then :
45087 cat >>confdefs.h <<_ACEOF
45088 #define HAVE__ISNAN 1
45101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45102 $as_echo_n "checking for finite declaration... " >&6; }
45103 if test x${glibcxx_cv_func_finite_use+set} != xset; then
45104 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45105 $as_echo_n "(cached) " >&6
45110 ac_cpp='$CXXCPP $CPPFLAGS'
45111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45116 /* end confdefs.h. */
45118 #ifdef HAVE_IEEEFP_H
45119 #include <ieeefp.h>
45130 if ac_fn_cxx_try_compile "$LINENO"; then :
45131 glibcxx_cv_func_finite_use=yes
45133 glibcxx_cv_func_finite_use=no
45135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45137 ac_cpp='$CPP $CPPFLAGS'
45138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
45147 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
45149 if test x$glibcxx_cv_func_finite_use = x"yes"; then
45150 for ac_func in finite
45152 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
45153 if test "x$ac_cv_func_finite" = x""yes; then :
45154 cat >>confdefs.h <<_ACEOF
45155 #define HAVE_FINITE 1
45163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
45164 $as_echo_n "checking for _finite declaration... " >&6; }
45165 if test x${glibcxx_cv_func__finite_use+set} != xset; then
45166 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
45167 $as_echo_n "(cached) " >&6
45172 ac_cpp='$CXXCPP $CPPFLAGS'
45173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45178 /* end confdefs.h. */
45180 #ifdef HAVE_IEEEFP_H
45181 #include <ieeefp.h>
45192 if ac_fn_cxx_try_compile "$LINENO"; then :
45193 glibcxx_cv_func__finite_use=yes
45195 glibcxx_cv_func__finite_use=no
45197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45199 ac_cpp='$CPP $CPPFLAGS'
45200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
45209 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
45211 if test x$glibcxx_cv_func__finite_use = x"yes"; then
45212 for ac_func in _finite
45214 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
45215 if test "x$ac_cv_func__finite" = x""yes; then :
45216 cat >>confdefs.h <<_ACEOF
45217 #define HAVE__FINITE 1
45230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
45231 $as_echo_n "checking for sincos declaration... " >&6; }
45232 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45233 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
45234 $as_echo_n "(cached) " >&6
45239 ac_cpp='$CXXCPP $CPPFLAGS'
45240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45245 /* end confdefs.h. */
45255 if ac_fn_cxx_try_compile "$LINENO"; then :
45256 glibcxx_cv_func_sincos_use=yes
45258 glibcxx_cv_func_sincos_use=no
45260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45262 ac_cpp='$CPP $CPPFLAGS'
45263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
45272 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
45274 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45275 for ac_func in sincos
45277 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
45278 if test "x$ac_cv_func_sincos" = x""yes; then :
45279 cat >>confdefs.h <<_ACEOF
45280 #define HAVE_SINCOS 1
45288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
45289 $as_echo_n "checking for _sincos declaration... " >&6; }
45290 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45291 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
45292 $as_echo_n "(cached) " >&6
45297 ac_cpp='$CXXCPP $CPPFLAGS'
45298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45303 /* end confdefs.h. */
45313 if ac_fn_cxx_try_compile "$LINENO"; then :
45314 glibcxx_cv_func__sincos_use=yes
45316 glibcxx_cv_func__sincos_use=no
45318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45320 ac_cpp='$CPP $CPPFLAGS'
45321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
45330 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
45332 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45333 for ac_func in _sincos
45335 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
45336 if test "x$ac_cv_func__sincos" = x""yes; then :
45337 cat >>confdefs.h <<_ACEOF
45338 #define HAVE__SINCOS 1
45351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
45352 $as_echo_n "checking for fpclass declaration... " >&6; }
45353 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45354 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
45355 $as_echo_n "(cached) " >&6
45360 ac_cpp='$CXXCPP $CPPFLAGS'
45361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45366 /* end confdefs.h. */
45368 #ifdef HAVE_IEEEFP_H
45369 #include <ieeefp.h>
45380 if ac_fn_cxx_try_compile "$LINENO"; then :
45381 glibcxx_cv_func_fpclass_use=yes
45383 glibcxx_cv_func_fpclass_use=no
45385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45387 ac_cpp='$CPP $CPPFLAGS'
45388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
45397 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
45399 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45400 for ac_func in fpclass
45402 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
45403 if test "x$ac_cv_func_fpclass" = x""yes; then :
45404 cat >>confdefs.h <<_ACEOF
45405 #define HAVE_FPCLASS 1
45413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
45414 $as_echo_n "checking for _fpclass declaration... " >&6; }
45415 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45416 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
45417 $as_echo_n "(cached) " >&6
45422 ac_cpp='$CXXCPP $CPPFLAGS'
45423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45428 /* end confdefs.h. */
45430 #ifdef HAVE_IEEEFP_H
45431 #include <ieeefp.h>
45442 if ac_fn_cxx_try_compile "$LINENO"; then :
45443 glibcxx_cv_func__fpclass_use=yes
45445 glibcxx_cv_func__fpclass_use=no
45447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45449 ac_cpp='$CPP $CPPFLAGS'
45450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
45459 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
45461 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45462 for ac_func in _fpclass
45464 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
45465 if test "x$ac_cv_func__fpclass" = x""yes; then :
45466 cat >>confdefs.h <<_ACEOF
45467 #define HAVE__FPCLASS 1
45480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
45481 $as_echo_n "checking for qfpclass declaration... " >&6; }
45482 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45483 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
45484 $as_echo_n "(cached) " >&6
45489 ac_cpp='$CXXCPP $CPPFLAGS'
45490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45495 /* end confdefs.h. */
45497 #ifdef HAVE_IEEEFP_H
45498 #include <ieeefp.h>
45509 if ac_fn_cxx_try_compile "$LINENO"; then :
45510 glibcxx_cv_func_qfpclass_use=yes
45512 glibcxx_cv_func_qfpclass_use=no
45514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45516 ac_cpp='$CPP $CPPFLAGS'
45517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
45526 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
45528 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45529 for ac_func in qfpclass
45531 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
45532 if test "x$ac_cv_func_qfpclass" = x""yes; then :
45533 cat >>confdefs.h <<_ACEOF
45534 #define HAVE_QFPCLASS 1
45542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
45543 $as_echo_n "checking for _qfpclass declaration... " >&6; }
45544 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45545 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
45546 $as_echo_n "(cached) " >&6
45551 ac_cpp='$CXXCPP $CPPFLAGS'
45552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45557 /* end confdefs.h. */
45559 #ifdef HAVE_IEEEFP_H
45560 #include <ieeefp.h>
45571 if ac_fn_cxx_try_compile "$LINENO"; then :
45572 glibcxx_cv_func__qfpclass_use=yes
45574 glibcxx_cv_func__qfpclass_use=no
45576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45578 ac_cpp='$CPP $CPPFLAGS'
45579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
45588 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
45590 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
45591 for ac_func in _qfpclass
45593 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
45594 if test "x$ac_cv_func__qfpclass" = x""yes; then :
45595 cat >>confdefs.h <<_ACEOF
45596 #define HAVE__QFPCLASS 1
45609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
45610 $as_echo_n "checking for hypot declaration... " >&6; }
45611 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
45612 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
45613 $as_echo_n "(cached) " >&6
45618 ac_cpp='$CXXCPP $CPPFLAGS'
45619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45624 /* end confdefs.h. */
45634 if ac_fn_cxx_try_compile "$LINENO"; then :
45635 glibcxx_cv_func_hypot_use=yes
45637 glibcxx_cv_func_hypot_use=no
45639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45641 ac_cpp='$CPP $CPPFLAGS'
45642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
45651 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
45653 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
45654 for ac_func in hypot
45656 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
45657 if test "x$ac_cv_func_hypot" = x""yes; then :
45658 cat >>confdefs.h <<_ACEOF
45659 #define HAVE_HYPOT 1
45667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
45668 $as_echo_n "checking for _hypot declaration... " >&6; }
45669 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
45670 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
45671 $as_echo_n "(cached) " >&6
45676 ac_cpp='$CXXCPP $CPPFLAGS'
45677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45682 /* end confdefs.h. */
45692 if ac_fn_cxx_try_compile "$LINENO"; then :
45693 glibcxx_cv_func__hypot_use=yes
45695 glibcxx_cv_func__hypot_use=no
45697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45699 ac_cpp='$CPP $CPPFLAGS'
45700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
45709 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
45711 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
45712 for ac_func in _hypot
45714 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
45715 if test "x$ac_cv_func__hypot" = x""yes; then :
45716 cat >>confdefs.h <<_ACEOF
45717 #define HAVE__HYPOT 1
45730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
45731 $as_echo_n "checking for float trig functions... " >&6; }
45732 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
45733 $as_echo_n "(cached) " >&6
45738 ac_cpp='$CXXCPP $CPPFLAGS'
45739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45744 /* end confdefs.h. */
45749 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
45754 if ac_fn_cxx_try_compile "$LINENO"; then :
45755 glibcxx_cv_func_float_trig_use=yes
45757 glibcxx_cv_func_float_trig_use=no
45759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45761 ac_cpp='$CPP $CPPFLAGS'
45762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
45769 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
45770 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
45771 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
45773 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45774 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45775 eval as_val=\$$as_ac_var
45776 if test "x$as_val" = x""yes; then :
45777 cat >>confdefs.h <<_ACEOF
45778 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
45786 $as_echo_n "checking for _float trig functions... " >&6; }
45787 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
45788 $as_echo_n "(cached) " >&6
45793 ac_cpp='$CXXCPP $CPPFLAGS'
45794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45799 /* end confdefs.h. */
45804 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
45809 if ac_fn_cxx_try_compile "$LINENO"; then :
45810 glibcxx_cv_func__float_trig_use=yes
45812 glibcxx_cv_func__float_trig_use=no
45814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45816 ac_cpp='$CPP $CPPFLAGS'
45817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
45824 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
45825 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
45826 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
45828 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45829 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45830 eval as_val=\$$as_ac_var
45831 if test "x$as_val" = x""yes; then :
45832 cat >>confdefs.h <<_ACEOF
45833 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
45847 $as_echo_n "checking for float round functions... " >&6; }
45848 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
45849 $as_echo_n "(cached) " >&6
45854 ac_cpp='$CXXCPP $CPPFLAGS'
45855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45860 /* end confdefs.h. */
45865 ceilf (0); floorf (0);
45870 if ac_fn_cxx_try_compile "$LINENO"; then :
45871 glibcxx_cv_func_float_round_use=yes
45873 glibcxx_cv_func_float_round_use=no
45875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45877 ac_cpp='$CPP $CPPFLAGS'
45878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
45885 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
45886 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
45887 for ac_func in ceilf floorf
45889 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45890 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45891 eval as_val=\$$as_ac_var
45892 if test "x$as_val" = x""yes; then :
45893 cat >>confdefs.h <<_ACEOF
45894 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
45902 $as_echo_n "checking for _float round functions... " >&6; }
45903 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
45904 $as_echo_n "(cached) " >&6
45909 ac_cpp='$CXXCPP $CPPFLAGS'
45910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45915 /* end confdefs.h. */
45920 _ceilf (0); _floorf (0);
45925 if ac_fn_cxx_try_compile "$LINENO"; then :
45926 glibcxx_cv_func__float_round_use=yes
45928 glibcxx_cv_func__float_round_use=no
45930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45932 ac_cpp='$CPP $CPPFLAGS'
45933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
45940 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
45941 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
45942 for ac_func in _ceilf _floorf
45944 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45945 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45946 eval as_val=\$$as_ac_var
45947 if test "x$as_val" = x""yes; then :
45948 cat >>confdefs.h <<_ACEOF
45949 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
45964 $as_echo_n "checking for expf declaration... " >&6; }
45965 if test x${glibcxx_cv_func_expf_use+set} != xset; then
45966 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
45967 $as_echo_n "(cached) " >&6
45972 ac_cpp='$CXXCPP $CPPFLAGS'
45973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45978 /* end confdefs.h. */
45980 #ifdef HAVE_IEEEFP_H
45981 #include <ieeefp.h>
45992 if ac_fn_cxx_try_compile "$LINENO"; then :
45993 glibcxx_cv_func_expf_use=yes
45995 glibcxx_cv_func_expf_use=no
45997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45999 ac_cpp='$CPP $CPPFLAGS'
46000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46009 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46011 if test x$glibcxx_cv_func_expf_use = x"yes"; then
46012 for ac_func in expf
46014 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46015 if test "x$ac_cv_func_expf" = x""yes; then :
46016 cat >>confdefs.h <<_ACEOF
46017 #define HAVE_EXPF 1
46025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46026 $as_echo_n "checking for _expf declaration... " >&6; }
46027 if test x${glibcxx_cv_func__expf_use+set} != xset; then
46028 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46029 $as_echo_n "(cached) " >&6
46034 ac_cpp='$CXXCPP $CPPFLAGS'
46035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46040 /* end confdefs.h. */
46042 #ifdef HAVE_IEEEFP_H
46043 #include <ieeefp.h>
46054 if ac_fn_cxx_try_compile "$LINENO"; then :
46055 glibcxx_cv_func__expf_use=yes
46057 glibcxx_cv_func__expf_use=no
46059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46061 ac_cpp='$CPP $CPPFLAGS'
46062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46071 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46073 if test x$glibcxx_cv_func__expf_use = x"yes"; then
46074 for ac_func in _expf
46076 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46077 if test "x$ac_cv_func__expf" = x""yes; then :
46078 cat >>confdefs.h <<_ACEOF
46079 #define HAVE__EXPF 1
46092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46093 $as_echo_n "checking for isnanf declaration... " >&6; }
46094 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46095 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46096 $as_echo_n "(cached) " >&6
46101 ac_cpp='$CXXCPP $CPPFLAGS'
46102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46107 /* end confdefs.h. */
46109 #ifdef HAVE_IEEEFP_H
46110 #include <ieeefp.h>
46121 if ac_fn_cxx_try_compile "$LINENO"; then :
46122 glibcxx_cv_func_isnanf_use=yes
46124 glibcxx_cv_func_isnanf_use=no
46126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46128 ac_cpp='$CPP $CPPFLAGS'
46129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46138 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46140 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46141 for ac_func in isnanf
46143 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
46144 if test "x$ac_cv_func_isnanf" = x""yes; then :
46145 cat >>confdefs.h <<_ACEOF
46146 #define HAVE_ISNANF 1
46154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
46155 $as_echo_n "checking for _isnanf declaration... " >&6; }
46156 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46157 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
46158 $as_echo_n "(cached) " >&6
46163 ac_cpp='$CXXCPP $CPPFLAGS'
46164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46169 /* end confdefs.h. */
46171 #ifdef HAVE_IEEEFP_H
46172 #include <ieeefp.h>
46183 if ac_fn_cxx_try_compile "$LINENO"; then :
46184 glibcxx_cv_func__isnanf_use=yes
46186 glibcxx_cv_func__isnanf_use=no
46188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46190 ac_cpp='$CPP $CPPFLAGS'
46191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
46200 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
46202 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46203 for ac_func in _isnanf
46205 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
46206 if test "x$ac_cv_func__isnanf" = x""yes; then :
46207 cat >>confdefs.h <<_ACEOF
46208 #define HAVE__ISNANF 1
46221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
46222 $as_echo_n "checking for isinff declaration... " >&6; }
46223 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46224 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
46225 $as_echo_n "(cached) " >&6
46230 ac_cpp='$CXXCPP $CPPFLAGS'
46231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46236 /* end confdefs.h. */
46238 #ifdef HAVE_IEEEFP_H
46239 #include <ieeefp.h>
46250 if ac_fn_cxx_try_compile "$LINENO"; then :
46251 glibcxx_cv_func_isinff_use=yes
46253 glibcxx_cv_func_isinff_use=no
46255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46257 ac_cpp='$CPP $CPPFLAGS'
46258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
46267 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
46269 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
46270 for ac_func in isinff
46272 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
46273 if test "x$ac_cv_func_isinff" = x""yes; then :
46274 cat >>confdefs.h <<_ACEOF
46275 #define HAVE_ISINFF 1
46283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
46284 $as_echo_n "checking for _isinff declaration... " >&6; }
46285 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
46286 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
46287 $as_echo_n "(cached) " >&6
46292 ac_cpp='$CXXCPP $CPPFLAGS'
46293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46298 /* end confdefs.h. */
46300 #ifdef HAVE_IEEEFP_H
46301 #include <ieeefp.h>
46312 if ac_fn_cxx_try_compile "$LINENO"; then :
46313 glibcxx_cv_func__isinff_use=yes
46315 glibcxx_cv_func__isinff_use=no
46317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46319 ac_cpp='$CPP $CPPFLAGS'
46320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
46329 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
46331 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
46332 for ac_func in _isinff
46334 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
46335 if test "x$ac_cv_func__isinff" = x""yes; then :
46336 cat >>confdefs.h <<_ACEOF
46337 #define HAVE__ISINFF 1
46350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
46351 $as_echo_n "checking for atan2f declaration... " >&6; }
46352 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
46353 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
46354 $as_echo_n "(cached) " >&6
46359 ac_cpp='$CXXCPP $CPPFLAGS'
46360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46365 /* end confdefs.h. */
46375 if ac_fn_cxx_try_compile "$LINENO"; then :
46376 glibcxx_cv_func_atan2f_use=yes
46378 glibcxx_cv_func_atan2f_use=no
46380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46382 ac_cpp='$CPP $CPPFLAGS'
46383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
46392 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
46394 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
46395 for ac_func in atan2f
46397 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
46398 if test "x$ac_cv_func_atan2f" = x""yes; then :
46399 cat >>confdefs.h <<_ACEOF
46400 #define HAVE_ATAN2F 1
46408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
46409 $as_echo_n "checking for _atan2f declaration... " >&6; }
46410 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
46411 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
46412 $as_echo_n "(cached) " >&6
46417 ac_cpp='$CXXCPP $CPPFLAGS'
46418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46423 /* end confdefs.h. */
46433 if ac_fn_cxx_try_compile "$LINENO"; then :
46434 glibcxx_cv_func__atan2f_use=yes
46436 glibcxx_cv_func__atan2f_use=no
46438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46440 ac_cpp='$CPP $CPPFLAGS'
46441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
46450 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
46452 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
46453 for ac_func in _atan2f
46455 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
46456 if test "x$ac_cv_func__atan2f" = x""yes; then :
46457 cat >>confdefs.h <<_ACEOF
46458 #define HAVE__ATAN2F 1
46471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
46472 $as_echo_n "checking for fabsf declaration... " >&6; }
46473 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
46474 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
46475 $as_echo_n "(cached) " >&6
46480 ac_cpp='$CXXCPP $CPPFLAGS'
46481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46486 /* end confdefs.h. */
46488 #ifdef HAVE_IEEEFP_H
46489 #include <ieeefp.h>
46500 if ac_fn_cxx_try_compile "$LINENO"; then :
46501 glibcxx_cv_func_fabsf_use=yes
46503 glibcxx_cv_func_fabsf_use=no
46505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46507 ac_cpp='$CPP $CPPFLAGS'
46508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
46517 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
46519 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
46520 for ac_func in fabsf
46522 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
46523 if test "x$ac_cv_func_fabsf" = x""yes; then :
46524 cat >>confdefs.h <<_ACEOF
46525 #define HAVE_FABSF 1
46533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
46534 $as_echo_n "checking for _fabsf declaration... " >&6; }
46535 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
46536 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
46537 $as_echo_n "(cached) " >&6
46542 ac_cpp='$CXXCPP $CPPFLAGS'
46543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46548 /* end confdefs.h. */
46550 #ifdef HAVE_IEEEFP_H
46551 #include <ieeefp.h>
46562 if ac_fn_cxx_try_compile "$LINENO"; then :
46563 glibcxx_cv_func__fabsf_use=yes
46565 glibcxx_cv_func__fabsf_use=no
46567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46569 ac_cpp='$CPP $CPPFLAGS'
46570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
46579 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
46581 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
46582 for ac_func in _fabsf
46584 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
46585 if test "x$ac_cv_func__fabsf" = x""yes; then :
46586 cat >>confdefs.h <<_ACEOF
46587 #define HAVE__FABSF 1
46600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
46601 $as_echo_n "checking for fmodf declaration... " >&6; }
46602 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
46603 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
46604 $as_echo_n "(cached) " >&6
46609 ac_cpp='$CXXCPP $CPPFLAGS'
46610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46615 /* end confdefs.h. */
46625 if ac_fn_cxx_try_compile "$LINENO"; then :
46626 glibcxx_cv_func_fmodf_use=yes
46628 glibcxx_cv_func_fmodf_use=no
46630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46632 ac_cpp='$CPP $CPPFLAGS'
46633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
46642 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
46644 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
46645 for ac_func in fmodf
46647 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
46648 if test "x$ac_cv_func_fmodf" = x""yes; then :
46649 cat >>confdefs.h <<_ACEOF
46650 #define HAVE_FMODF 1
46658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
46659 $as_echo_n "checking for _fmodf declaration... " >&6; }
46660 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
46661 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
46662 $as_echo_n "(cached) " >&6
46667 ac_cpp='$CXXCPP $CPPFLAGS'
46668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46673 /* end confdefs.h. */
46683 if ac_fn_cxx_try_compile "$LINENO"; then :
46684 glibcxx_cv_func__fmodf_use=yes
46686 glibcxx_cv_func__fmodf_use=no
46688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46690 ac_cpp='$CPP $CPPFLAGS'
46691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
46700 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
46702 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
46703 for ac_func in _fmodf
46705 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
46706 if test "x$ac_cv_func__fmodf" = x""yes; then :
46707 cat >>confdefs.h <<_ACEOF
46708 #define HAVE__FMODF 1
46721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
46722 $as_echo_n "checking for frexpf declaration... " >&6; }
46723 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
46724 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
46725 $as_echo_n "(cached) " >&6
46730 ac_cpp='$CXXCPP $CPPFLAGS'
46731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46736 /* end confdefs.h. */
46746 if ac_fn_cxx_try_compile "$LINENO"; then :
46747 glibcxx_cv_func_frexpf_use=yes
46749 glibcxx_cv_func_frexpf_use=no
46751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46753 ac_cpp='$CPP $CPPFLAGS'
46754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
46763 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
46765 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
46766 for ac_func in frexpf
46768 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
46769 if test "x$ac_cv_func_frexpf" = x""yes; then :
46770 cat >>confdefs.h <<_ACEOF
46771 #define HAVE_FREXPF 1
46779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
46780 $as_echo_n "checking for _frexpf declaration... " >&6; }
46781 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
46782 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
46783 $as_echo_n "(cached) " >&6
46788 ac_cpp='$CXXCPP $CPPFLAGS'
46789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46794 /* end confdefs.h. */
46804 if ac_fn_cxx_try_compile "$LINENO"; then :
46805 glibcxx_cv_func__frexpf_use=yes
46807 glibcxx_cv_func__frexpf_use=no
46809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46811 ac_cpp='$CPP $CPPFLAGS'
46812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
46821 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
46823 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
46824 for ac_func in _frexpf
46826 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
46827 if test "x$ac_cv_func__frexpf" = x""yes; then :
46828 cat >>confdefs.h <<_ACEOF
46829 #define HAVE__FREXPF 1
46842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
46843 $as_echo_n "checking for hypotf declaration... " >&6; }
46844 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
46845 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
46846 $as_echo_n "(cached) " >&6
46851 ac_cpp='$CXXCPP $CPPFLAGS'
46852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46857 /* end confdefs.h. */
46867 if ac_fn_cxx_try_compile "$LINENO"; then :
46868 glibcxx_cv_func_hypotf_use=yes
46870 glibcxx_cv_func_hypotf_use=no
46872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46874 ac_cpp='$CPP $CPPFLAGS'
46875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
46884 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
46886 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
46887 for ac_func in hypotf
46889 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
46890 if test "x$ac_cv_func_hypotf" = x""yes; then :
46891 cat >>confdefs.h <<_ACEOF
46892 #define HAVE_HYPOTF 1
46900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
46901 $as_echo_n "checking for _hypotf declaration... " >&6; }
46902 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
46903 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
46904 $as_echo_n "(cached) " >&6
46909 ac_cpp='$CXXCPP $CPPFLAGS'
46910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46915 /* end confdefs.h. */
46925 if ac_fn_cxx_try_compile "$LINENO"; then :
46926 glibcxx_cv_func__hypotf_use=yes
46928 glibcxx_cv_func__hypotf_use=no
46930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46932 ac_cpp='$CPP $CPPFLAGS'
46933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
46942 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
46944 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
46945 for ac_func in _hypotf
46947 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
46948 if test "x$ac_cv_func__hypotf" = x""yes; then :
46949 cat >>confdefs.h <<_ACEOF
46950 #define HAVE__HYPOTF 1
46963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
46964 $as_echo_n "checking for ldexpf declaration... " >&6; }
46965 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
46966 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
46967 $as_echo_n "(cached) " >&6
46972 ac_cpp='$CXXCPP $CPPFLAGS'
46973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46978 /* end confdefs.h. */
46988 if ac_fn_cxx_try_compile "$LINENO"; then :
46989 glibcxx_cv_func_ldexpf_use=yes
46991 glibcxx_cv_func_ldexpf_use=no
46993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46995 ac_cpp='$CPP $CPPFLAGS'
46996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47005 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47007 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47008 for ac_func in ldexpf
47010 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47011 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47012 cat >>confdefs.h <<_ACEOF
47013 #define HAVE_LDEXPF 1
47021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47022 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47023 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47024 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47025 $as_echo_n "(cached) " >&6
47030 ac_cpp='$CXXCPP $CPPFLAGS'
47031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47036 /* end confdefs.h. */
47046 if ac_fn_cxx_try_compile "$LINENO"; then :
47047 glibcxx_cv_func__ldexpf_use=yes
47049 glibcxx_cv_func__ldexpf_use=no
47051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47053 ac_cpp='$CPP $CPPFLAGS'
47054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47063 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47065 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47066 for ac_func in _ldexpf
47068 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47069 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47070 cat >>confdefs.h <<_ACEOF
47071 #define HAVE__LDEXPF 1
47084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47085 $as_echo_n "checking for logf declaration... " >&6; }
47086 if test x${glibcxx_cv_func_logf_use+set} != xset; then
47087 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47088 $as_echo_n "(cached) " >&6
47093 ac_cpp='$CXXCPP $CPPFLAGS'
47094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47099 /* end confdefs.h. */
47101 #ifdef HAVE_IEEEFP_H
47102 #include <ieeefp.h>
47113 if ac_fn_cxx_try_compile "$LINENO"; then :
47114 glibcxx_cv_func_logf_use=yes
47116 glibcxx_cv_func_logf_use=no
47118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47120 ac_cpp='$CPP $CPPFLAGS'
47121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47130 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47132 if test x$glibcxx_cv_func_logf_use = x"yes"; then
47133 for ac_func in logf
47135 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
47136 if test "x$ac_cv_func_logf" = x""yes; then :
47137 cat >>confdefs.h <<_ACEOF
47138 #define HAVE_LOGF 1
47146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
47147 $as_echo_n "checking for _logf declaration... " >&6; }
47148 if test x${glibcxx_cv_func__logf_use+set} != xset; then
47149 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
47150 $as_echo_n "(cached) " >&6
47155 ac_cpp='$CXXCPP $CPPFLAGS'
47156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47161 /* end confdefs.h. */
47163 #ifdef HAVE_IEEEFP_H
47164 #include <ieeefp.h>
47175 if ac_fn_cxx_try_compile "$LINENO"; then :
47176 glibcxx_cv_func__logf_use=yes
47178 glibcxx_cv_func__logf_use=no
47180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47182 ac_cpp='$CPP $CPPFLAGS'
47183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
47192 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
47194 if test x$glibcxx_cv_func__logf_use = x"yes"; then
47195 for ac_func in _logf
47197 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
47198 if test "x$ac_cv_func__logf" = x""yes; then :
47199 cat >>confdefs.h <<_ACEOF
47200 #define HAVE__LOGF 1
47213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
47214 $as_echo_n "checking for log10f declaration... " >&6; }
47215 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
47216 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
47217 $as_echo_n "(cached) " >&6
47222 ac_cpp='$CXXCPP $CPPFLAGS'
47223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47228 /* end confdefs.h. */
47230 #ifdef HAVE_IEEEFP_H
47231 #include <ieeefp.h>
47242 if ac_fn_cxx_try_compile "$LINENO"; then :
47243 glibcxx_cv_func_log10f_use=yes
47245 glibcxx_cv_func_log10f_use=no
47247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47249 ac_cpp='$CPP $CPPFLAGS'
47250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
47259 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
47261 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
47262 for ac_func in log10f
47264 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
47265 if test "x$ac_cv_func_log10f" = x""yes; then :
47266 cat >>confdefs.h <<_ACEOF
47267 #define HAVE_LOG10F 1
47275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
47276 $as_echo_n "checking for _log10f declaration... " >&6; }
47277 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
47278 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
47279 $as_echo_n "(cached) " >&6
47284 ac_cpp='$CXXCPP $CPPFLAGS'
47285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47290 /* end confdefs.h. */
47292 #ifdef HAVE_IEEEFP_H
47293 #include <ieeefp.h>
47304 if ac_fn_cxx_try_compile "$LINENO"; then :
47305 glibcxx_cv_func__log10f_use=yes
47307 glibcxx_cv_func__log10f_use=no
47309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47311 ac_cpp='$CPP $CPPFLAGS'
47312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
47321 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
47323 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
47324 for ac_func in _log10f
47326 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
47327 if test "x$ac_cv_func__log10f" = x""yes; then :
47328 cat >>confdefs.h <<_ACEOF
47329 #define HAVE__LOG10F 1
47342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
47343 $as_echo_n "checking for modff declaration... " >&6; }
47344 if test x${glibcxx_cv_func_modff_use+set} != xset; then
47345 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
47346 $as_echo_n "(cached) " >&6
47351 ac_cpp='$CXXCPP $CPPFLAGS'
47352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47357 /* end confdefs.h. */
47367 if ac_fn_cxx_try_compile "$LINENO"; then :
47368 glibcxx_cv_func_modff_use=yes
47370 glibcxx_cv_func_modff_use=no
47372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47374 ac_cpp='$CPP $CPPFLAGS'
47375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
47384 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
47386 if test x$glibcxx_cv_func_modff_use = x"yes"; then
47387 for ac_func in modff
47389 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
47390 if test "x$ac_cv_func_modff" = x""yes; then :
47391 cat >>confdefs.h <<_ACEOF
47392 #define HAVE_MODFF 1
47400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
47401 $as_echo_n "checking for _modff declaration... " >&6; }
47402 if test x${glibcxx_cv_func__modff_use+set} != xset; then
47403 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
47404 $as_echo_n "(cached) " >&6
47409 ac_cpp='$CXXCPP $CPPFLAGS'
47410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47415 /* end confdefs.h. */
47425 if ac_fn_cxx_try_compile "$LINENO"; then :
47426 glibcxx_cv_func__modff_use=yes
47428 glibcxx_cv_func__modff_use=no
47430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47432 ac_cpp='$CPP $CPPFLAGS'
47433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
47442 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
47444 if test x$glibcxx_cv_func__modff_use = x"yes"; then
47445 for ac_func in _modff
47447 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
47448 if test "x$ac_cv_func__modff" = x""yes; then :
47449 cat >>confdefs.h <<_ACEOF
47450 #define HAVE__MODFF 1
47463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
47464 $as_echo_n "checking for modf declaration... " >&6; }
47465 if test x${glibcxx_cv_func_modf_use+set} != xset; then
47466 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
47467 $as_echo_n "(cached) " >&6
47472 ac_cpp='$CXXCPP $CPPFLAGS'
47473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47478 /* end confdefs.h. */
47488 if ac_fn_cxx_try_compile "$LINENO"; then :
47489 glibcxx_cv_func_modf_use=yes
47491 glibcxx_cv_func_modf_use=no
47493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47495 ac_cpp='$CPP $CPPFLAGS'
47496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
47505 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
47507 if test x$glibcxx_cv_func_modf_use = x"yes"; then
47508 for ac_func in modf
47510 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
47511 if test "x$ac_cv_func_modf" = x""yes; then :
47512 cat >>confdefs.h <<_ACEOF
47513 #define HAVE_MODF 1
47521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
47522 $as_echo_n "checking for _modf declaration... " >&6; }
47523 if test x${glibcxx_cv_func__modf_use+set} != xset; then
47524 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
47525 $as_echo_n "(cached) " >&6
47530 ac_cpp='$CXXCPP $CPPFLAGS'
47531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47536 /* end confdefs.h. */
47546 if ac_fn_cxx_try_compile "$LINENO"; then :
47547 glibcxx_cv_func__modf_use=yes
47549 glibcxx_cv_func__modf_use=no
47551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47553 ac_cpp='$CPP $CPPFLAGS'
47554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
47563 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
47565 if test x$glibcxx_cv_func__modf_use = x"yes"; then
47566 for ac_func in _modf
47568 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
47569 if test "x$ac_cv_func__modf" = x""yes; then :
47570 cat >>confdefs.h <<_ACEOF
47571 #define HAVE__MODF 1
47584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
47585 $as_echo_n "checking for powf declaration... " >&6; }
47586 if test x${glibcxx_cv_func_powf_use+set} != xset; then
47587 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
47588 $as_echo_n "(cached) " >&6
47593 ac_cpp='$CXXCPP $CPPFLAGS'
47594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47599 /* end confdefs.h. */
47609 if ac_fn_cxx_try_compile "$LINENO"; then :
47610 glibcxx_cv_func_powf_use=yes
47612 glibcxx_cv_func_powf_use=no
47614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47616 ac_cpp='$CPP $CPPFLAGS'
47617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
47626 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
47628 if test x$glibcxx_cv_func_powf_use = x"yes"; then
47629 for ac_func in powf
47631 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
47632 if test "x$ac_cv_func_powf" = x""yes; then :
47633 cat >>confdefs.h <<_ACEOF
47634 #define HAVE_POWF 1
47642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
47643 $as_echo_n "checking for _powf declaration... " >&6; }
47644 if test x${glibcxx_cv_func__powf_use+set} != xset; then
47645 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
47646 $as_echo_n "(cached) " >&6
47651 ac_cpp='$CXXCPP $CPPFLAGS'
47652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47657 /* end confdefs.h. */
47667 if ac_fn_cxx_try_compile "$LINENO"; then :
47668 glibcxx_cv_func__powf_use=yes
47670 glibcxx_cv_func__powf_use=no
47672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47674 ac_cpp='$CPP $CPPFLAGS'
47675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
47684 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
47686 if test x$glibcxx_cv_func__powf_use = x"yes"; then
47687 for ac_func in _powf
47689 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
47690 if test "x$ac_cv_func__powf" = x""yes; then :
47691 cat >>confdefs.h <<_ACEOF
47692 #define HAVE__POWF 1
47705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
47706 $as_echo_n "checking for sqrtf declaration... " >&6; }
47707 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
47708 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
47709 $as_echo_n "(cached) " >&6
47714 ac_cpp='$CXXCPP $CPPFLAGS'
47715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47720 /* end confdefs.h. */
47722 #ifdef HAVE_IEEEFP_H
47723 #include <ieeefp.h>
47734 if ac_fn_cxx_try_compile "$LINENO"; then :
47735 glibcxx_cv_func_sqrtf_use=yes
47737 glibcxx_cv_func_sqrtf_use=no
47739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47741 ac_cpp='$CPP $CPPFLAGS'
47742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
47751 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
47753 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
47754 for ac_func in sqrtf
47756 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
47757 if test "x$ac_cv_func_sqrtf" = x""yes; then :
47758 cat >>confdefs.h <<_ACEOF
47759 #define HAVE_SQRTF 1
47767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
47768 $as_echo_n "checking for _sqrtf declaration... " >&6; }
47769 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
47770 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
47771 $as_echo_n "(cached) " >&6
47776 ac_cpp='$CXXCPP $CPPFLAGS'
47777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47782 /* end confdefs.h. */
47784 #ifdef HAVE_IEEEFP_H
47785 #include <ieeefp.h>
47796 if ac_fn_cxx_try_compile "$LINENO"; then :
47797 glibcxx_cv_func__sqrtf_use=yes
47799 glibcxx_cv_func__sqrtf_use=no
47801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47803 ac_cpp='$CPP $CPPFLAGS'
47804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
47813 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
47815 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
47816 for ac_func in _sqrtf
47818 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
47819 if test "x$ac_cv_func__sqrtf" = x""yes; then :
47820 cat >>confdefs.h <<_ACEOF
47821 #define HAVE__SQRTF 1
47834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
47835 $as_echo_n "checking for sincosf declaration... " >&6; }
47836 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
47837 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
47838 $as_echo_n "(cached) " >&6
47843 ac_cpp='$CXXCPP $CPPFLAGS'
47844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47849 /* end confdefs.h. */
47859 if ac_fn_cxx_try_compile "$LINENO"; then :
47860 glibcxx_cv_func_sincosf_use=yes
47862 glibcxx_cv_func_sincosf_use=no
47864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47866 ac_cpp='$CPP $CPPFLAGS'
47867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
47876 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
47878 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
47879 for ac_func in sincosf
47881 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
47882 if test "x$ac_cv_func_sincosf" = x""yes; then :
47883 cat >>confdefs.h <<_ACEOF
47884 #define HAVE_SINCOSF 1
47892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
47893 $as_echo_n "checking for _sincosf declaration... " >&6; }
47894 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
47895 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
47896 $as_echo_n "(cached) " >&6
47901 ac_cpp='$CXXCPP $CPPFLAGS'
47902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47907 /* end confdefs.h. */
47917 if ac_fn_cxx_try_compile "$LINENO"; then :
47918 glibcxx_cv_func__sincosf_use=yes
47920 glibcxx_cv_func__sincosf_use=no
47922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47924 ac_cpp='$CPP $CPPFLAGS'
47925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
47934 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
47936 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
47937 for ac_func in _sincosf
47939 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
47940 if test "x$ac_cv_func__sincosf" = x""yes; then :
47941 cat >>confdefs.h <<_ACEOF
47942 #define HAVE__SINCOSF 1
47955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
47956 $as_echo_n "checking for finitef declaration... " >&6; }
47957 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
47958 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
47959 $as_echo_n "(cached) " >&6
47964 ac_cpp='$CXXCPP $CPPFLAGS'
47965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47970 /* end confdefs.h. */
47972 #ifdef HAVE_IEEEFP_H
47973 #include <ieeefp.h>
47984 if ac_fn_cxx_try_compile "$LINENO"; then :
47985 glibcxx_cv_func_finitef_use=yes
47987 glibcxx_cv_func_finitef_use=no
47989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47991 ac_cpp='$CPP $CPPFLAGS'
47992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
48001 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48003 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48004 for ac_func in finitef
48006 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48007 if test "x$ac_cv_func_finitef" = x""yes; then :
48008 cat >>confdefs.h <<_ACEOF
48009 #define HAVE_FINITEF 1
48017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48018 $as_echo_n "checking for _finitef declaration... " >&6; }
48019 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48020 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48021 $as_echo_n "(cached) " >&6
48026 ac_cpp='$CXXCPP $CPPFLAGS'
48027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48032 /* end confdefs.h. */
48034 #ifdef HAVE_IEEEFP_H
48035 #include <ieeefp.h>
48046 if ac_fn_cxx_try_compile "$LINENO"; then :
48047 glibcxx_cv_func__finitef_use=yes
48049 glibcxx_cv_func__finitef_use=no
48051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48053 ac_cpp='$CPP $CPPFLAGS'
48054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48063 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48065 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48066 for ac_func in _finitef
48068 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48069 if test "x$ac_cv_func__finitef" = x""yes; then :
48070 cat >>confdefs.h <<_ACEOF
48071 #define HAVE__FINITEF 1
48084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48085 $as_echo_n "checking for long double trig functions... " >&6; }
48086 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48087 $as_echo_n "(cached) " >&6
48092 ac_cpp='$CXXCPP $CPPFLAGS'
48093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48098 /* end confdefs.h. */
48103 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48108 if ac_fn_cxx_try_compile "$LINENO"; then :
48109 glibcxx_cv_func_long_double_trig_use=yes
48111 glibcxx_cv_func_long_double_trig_use=no
48113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48115 ac_cpp='$CPP $CPPFLAGS'
48116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
48123 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48124 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48125 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48127 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48128 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48129 eval as_val=\$$as_ac_var
48130 if test "x$as_val" = x""yes; then :
48131 cat >>confdefs.h <<_ACEOF
48132 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
48140 $as_echo_n "checking for _long double trig functions... " >&6; }
48141 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
48142 $as_echo_n "(cached) " >&6
48147 ac_cpp='$CXXCPP $CPPFLAGS'
48148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48153 /* end confdefs.h. */
48158 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
48163 if ac_fn_cxx_try_compile "$LINENO"; then :
48164 glibcxx_cv_func__long_double_trig_use=yes
48166 glibcxx_cv_func__long_double_trig_use=no
48168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48170 ac_cpp='$CPP $CPPFLAGS'
48171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
48178 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
48179 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
48180 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
48182 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48183 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48184 eval as_val=\$$as_ac_var
48185 if test "x$as_val" = x""yes; then :
48186 cat >>confdefs.h <<_ACEOF
48187 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
48201 $as_echo_n "checking for long double round functions... " >&6; }
48202 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
48203 $as_echo_n "(cached) " >&6
48208 ac_cpp='$CXXCPP $CPPFLAGS'
48209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48214 /* end confdefs.h. */
48219 ceill (0); floorl (0);
48224 if ac_fn_cxx_try_compile "$LINENO"; then :
48225 glibcxx_cv_func_long_double_round_use=yes
48227 glibcxx_cv_func_long_double_round_use=no
48229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48231 ac_cpp='$CPP $CPPFLAGS'
48232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
48239 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
48240 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
48241 for ac_func in ceill floorl
48243 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48244 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48245 eval as_val=\$$as_ac_var
48246 if test "x$as_val" = x""yes; then :
48247 cat >>confdefs.h <<_ACEOF
48248 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
48256 $as_echo_n "checking for _long double round functions... " >&6; }
48257 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
48258 $as_echo_n "(cached) " >&6
48263 ac_cpp='$CXXCPP $CPPFLAGS'
48264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48269 /* end confdefs.h. */
48274 _ceill (0); _floorl (0);
48279 if ac_fn_cxx_try_compile "$LINENO"; then :
48280 glibcxx_cv_func__long_double_round_use=yes
48282 glibcxx_cv_func__long_double_round_use=no
48284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48286 ac_cpp='$CPP $CPPFLAGS'
48287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
48294 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
48295 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48296 for ac_func in _ceill _floorl
48298 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48299 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48300 eval as_val=\$$as_ac_var
48301 if test "x$as_val" = x""yes; then :
48302 cat >>confdefs.h <<_ACEOF
48303 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
48318 $as_echo_n "checking for isnanl declaration... " >&6; }
48319 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
48320 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
48321 $as_echo_n "(cached) " >&6
48326 ac_cpp='$CXXCPP $CPPFLAGS'
48327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48332 /* end confdefs.h. */
48334 #ifdef HAVE_IEEEFP_H
48335 #include <ieeefp.h>
48346 if ac_fn_cxx_try_compile "$LINENO"; then :
48347 glibcxx_cv_func_isnanl_use=yes
48349 glibcxx_cv_func_isnanl_use=no
48351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48353 ac_cpp='$CPP $CPPFLAGS'
48354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
48363 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
48365 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
48366 for ac_func in isnanl
48368 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
48369 if test "x$ac_cv_func_isnanl" = x""yes; then :
48370 cat >>confdefs.h <<_ACEOF
48371 #define HAVE_ISNANL 1
48379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
48380 $as_echo_n "checking for _isnanl declaration... " >&6; }
48381 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
48382 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
48383 $as_echo_n "(cached) " >&6
48388 ac_cpp='$CXXCPP $CPPFLAGS'
48389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48394 /* end confdefs.h. */
48396 #ifdef HAVE_IEEEFP_H
48397 #include <ieeefp.h>
48408 if ac_fn_cxx_try_compile "$LINENO"; then :
48409 glibcxx_cv_func__isnanl_use=yes
48411 glibcxx_cv_func__isnanl_use=no
48413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48415 ac_cpp='$CPP $CPPFLAGS'
48416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
48425 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
48427 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
48428 for ac_func in _isnanl
48430 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
48431 if test "x$ac_cv_func__isnanl" = x""yes; then :
48432 cat >>confdefs.h <<_ACEOF
48433 #define HAVE__ISNANL 1
48446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
48447 $as_echo_n "checking for isinfl declaration... " >&6; }
48448 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
48449 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
48450 $as_echo_n "(cached) " >&6
48455 ac_cpp='$CXXCPP $CPPFLAGS'
48456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48461 /* end confdefs.h. */
48463 #ifdef HAVE_IEEEFP_H
48464 #include <ieeefp.h>
48475 if ac_fn_cxx_try_compile "$LINENO"; then :
48476 glibcxx_cv_func_isinfl_use=yes
48478 glibcxx_cv_func_isinfl_use=no
48480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48482 ac_cpp='$CPP $CPPFLAGS'
48483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
48492 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
48494 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
48495 for ac_func in isinfl
48497 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
48498 if test "x$ac_cv_func_isinfl" = x""yes; then :
48499 cat >>confdefs.h <<_ACEOF
48500 #define HAVE_ISINFL 1
48508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
48509 $as_echo_n "checking for _isinfl declaration... " >&6; }
48510 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
48511 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
48512 $as_echo_n "(cached) " >&6
48517 ac_cpp='$CXXCPP $CPPFLAGS'
48518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48523 /* end confdefs.h. */
48525 #ifdef HAVE_IEEEFP_H
48526 #include <ieeefp.h>
48537 if ac_fn_cxx_try_compile "$LINENO"; then :
48538 glibcxx_cv_func__isinfl_use=yes
48540 glibcxx_cv_func__isinfl_use=no
48542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48544 ac_cpp='$CPP $CPPFLAGS'
48545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
48554 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
48556 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
48557 for ac_func in _isinfl
48559 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
48560 if test "x$ac_cv_func__isinfl" = x""yes; then :
48561 cat >>confdefs.h <<_ACEOF
48562 #define HAVE__ISINFL 1
48575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
48576 $as_echo_n "checking for atan2l declaration... " >&6; }
48577 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
48578 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
48579 $as_echo_n "(cached) " >&6
48584 ac_cpp='$CXXCPP $CPPFLAGS'
48585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48590 /* end confdefs.h. */
48600 if ac_fn_cxx_try_compile "$LINENO"; then :
48601 glibcxx_cv_func_atan2l_use=yes
48603 glibcxx_cv_func_atan2l_use=no
48605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48607 ac_cpp='$CPP $CPPFLAGS'
48608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
48617 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
48619 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
48620 for ac_func in atan2l
48622 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
48623 if test "x$ac_cv_func_atan2l" = x""yes; then :
48624 cat >>confdefs.h <<_ACEOF
48625 #define HAVE_ATAN2L 1
48633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
48634 $as_echo_n "checking for _atan2l declaration... " >&6; }
48635 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
48636 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
48637 $as_echo_n "(cached) " >&6
48642 ac_cpp='$CXXCPP $CPPFLAGS'
48643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48648 /* end confdefs.h. */
48658 if ac_fn_cxx_try_compile "$LINENO"; then :
48659 glibcxx_cv_func__atan2l_use=yes
48661 glibcxx_cv_func__atan2l_use=no
48663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48665 ac_cpp='$CPP $CPPFLAGS'
48666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
48675 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
48677 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
48678 for ac_func in _atan2l
48680 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
48681 if test "x$ac_cv_func__atan2l" = x""yes; then :
48682 cat >>confdefs.h <<_ACEOF
48683 #define HAVE__ATAN2L 1
48696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
48697 $as_echo_n "checking for expl declaration... " >&6; }
48698 if test x${glibcxx_cv_func_expl_use+set} != xset; then
48699 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
48700 $as_echo_n "(cached) " >&6
48705 ac_cpp='$CXXCPP $CPPFLAGS'
48706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48711 /* end confdefs.h. */
48713 #ifdef HAVE_IEEEFP_H
48714 #include <ieeefp.h>
48725 if ac_fn_cxx_try_compile "$LINENO"; then :
48726 glibcxx_cv_func_expl_use=yes
48728 glibcxx_cv_func_expl_use=no
48730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48732 ac_cpp='$CPP $CPPFLAGS'
48733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
48742 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
48744 if test x$glibcxx_cv_func_expl_use = x"yes"; then
48745 for ac_func in expl
48747 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
48748 if test "x$ac_cv_func_expl" = x""yes; then :
48749 cat >>confdefs.h <<_ACEOF
48750 #define HAVE_EXPL 1
48758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
48759 $as_echo_n "checking for _expl declaration... " >&6; }
48760 if test x${glibcxx_cv_func__expl_use+set} != xset; then
48761 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
48762 $as_echo_n "(cached) " >&6
48767 ac_cpp='$CXXCPP $CPPFLAGS'
48768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48773 /* end confdefs.h. */
48775 #ifdef HAVE_IEEEFP_H
48776 #include <ieeefp.h>
48787 if ac_fn_cxx_try_compile "$LINENO"; then :
48788 glibcxx_cv_func__expl_use=yes
48790 glibcxx_cv_func__expl_use=no
48792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48794 ac_cpp='$CPP $CPPFLAGS'
48795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
48804 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
48806 if test x$glibcxx_cv_func__expl_use = x"yes"; then
48807 for ac_func in _expl
48809 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
48810 if test "x$ac_cv_func__expl" = x""yes; then :
48811 cat >>confdefs.h <<_ACEOF
48812 #define HAVE__EXPL 1
48825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
48826 $as_echo_n "checking for fabsl declaration... " >&6; }
48827 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
48828 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
48829 $as_echo_n "(cached) " >&6
48834 ac_cpp='$CXXCPP $CPPFLAGS'
48835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48840 /* end confdefs.h. */
48842 #ifdef HAVE_IEEEFP_H
48843 #include <ieeefp.h>
48854 if ac_fn_cxx_try_compile "$LINENO"; then :
48855 glibcxx_cv_func_fabsl_use=yes
48857 glibcxx_cv_func_fabsl_use=no
48859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48861 ac_cpp='$CPP $CPPFLAGS'
48862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
48871 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
48873 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
48874 for ac_func in fabsl
48876 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
48877 if test "x$ac_cv_func_fabsl" = x""yes; then :
48878 cat >>confdefs.h <<_ACEOF
48879 #define HAVE_FABSL 1
48887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
48888 $as_echo_n "checking for _fabsl declaration... " >&6; }
48889 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
48890 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
48891 $as_echo_n "(cached) " >&6
48896 ac_cpp='$CXXCPP $CPPFLAGS'
48897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48902 /* end confdefs.h. */
48904 #ifdef HAVE_IEEEFP_H
48905 #include <ieeefp.h>
48916 if ac_fn_cxx_try_compile "$LINENO"; then :
48917 glibcxx_cv_func__fabsl_use=yes
48919 glibcxx_cv_func__fabsl_use=no
48921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48923 ac_cpp='$CPP $CPPFLAGS'
48924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
48933 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
48935 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
48936 for ac_func in _fabsl
48938 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
48939 if test "x$ac_cv_func__fabsl" = x""yes; then :
48940 cat >>confdefs.h <<_ACEOF
48941 #define HAVE__FABSL 1
48954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
48955 $as_echo_n "checking for fmodl declaration... " >&6; }
48956 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
48957 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
48958 $as_echo_n "(cached) " >&6
48963 ac_cpp='$CXXCPP $CPPFLAGS'
48964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48969 /* end confdefs.h. */
48979 if ac_fn_cxx_try_compile "$LINENO"; then :
48980 glibcxx_cv_func_fmodl_use=yes
48982 glibcxx_cv_func_fmodl_use=no
48984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48986 ac_cpp='$CPP $CPPFLAGS'
48987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
48996 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
48998 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
48999 for ac_func in fmodl
49001 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49002 if test "x$ac_cv_func_fmodl" = x""yes; then :
49003 cat >>confdefs.h <<_ACEOF
49004 #define HAVE_FMODL 1
49012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49013 $as_echo_n "checking for _fmodl declaration... " >&6; }
49014 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49015 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49016 $as_echo_n "(cached) " >&6
49021 ac_cpp='$CXXCPP $CPPFLAGS'
49022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49027 /* end confdefs.h. */
49037 if ac_fn_cxx_try_compile "$LINENO"; then :
49038 glibcxx_cv_func__fmodl_use=yes
49040 glibcxx_cv_func__fmodl_use=no
49042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49044 ac_cpp='$CPP $CPPFLAGS'
49045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49054 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49056 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49057 for ac_func in _fmodl
49059 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49060 if test "x$ac_cv_func__fmodl" = x""yes; then :
49061 cat >>confdefs.h <<_ACEOF
49062 #define HAVE__FMODL 1
49075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49076 $as_echo_n "checking for frexpl declaration... " >&6; }
49077 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49078 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49079 $as_echo_n "(cached) " >&6
49084 ac_cpp='$CXXCPP $CPPFLAGS'
49085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49090 /* end confdefs.h. */
49100 if ac_fn_cxx_try_compile "$LINENO"; then :
49101 glibcxx_cv_func_frexpl_use=yes
49103 glibcxx_cv_func_frexpl_use=no
49105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49107 ac_cpp='$CPP $CPPFLAGS'
49108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
49117 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49119 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
49120 for ac_func in frexpl
49122 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
49123 if test "x$ac_cv_func_frexpl" = x""yes; then :
49124 cat >>confdefs.h <<_ACEOF
49125 #define HAVE_FREXPL 1
49133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
49134 $as_echo_n "checking for _frexpl declaration... " >&6; }
49135 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
49136 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
49137 $as_echo_n "(cached) " >&6
49142 ac_cpp='$CXXCPP $CPPFLAGS'
49143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49148 /* end confdefs.h. */
49158 if ac_fn_cxx_try_compile "$LINENO"; then :
49159 glibcxx_cv_func__frexpl_use=yes
49161 glibcxx_cv_func__frexpl_use=no
49163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49165 ac_cpp='$CPP $CPPFLAGS'
49166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
49175 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
49177 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
49178 for ac_func in _frexpl
49180 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
49181 if test "x$ac_cv_func__frexpl" = x""yes; then :
49182 cat >>confdefs.h <<_ACEOF
49183 #define HAVE__FREXPL 1
49196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
49197 $as_echo_n "checking for hypotl declaration... " >&6; }
49198 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
49199 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
49200 $as_echo_n "(cached) " >&6
49205 ac_cpp='$CXXCPP $CPPFLAGS'
49206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49211 /* end confdefs.h. */
49221 if ac_fn_cxx_try_compile "$LINENO"; then :
49222 glibcxx_cv_func_hypotl_use=yes
49224 glibcxx_cv_func_hypotl_use=no
49226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49228 ac_cpp='$CPP $CPPFLAGS'
49229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
49238 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
49240 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
49241 for ac_func in hypotl
49243 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
49244 if test "x$ac_cv_func_hypotl" = x""yes; then :
49245 cat >>confdefs.h <<_ACEOF
49246 #define HAVE_HYPOTL 1
49254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
49255 $as_echo_n "checking for _hypotl declaration... " >&6; }
49256 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
49257 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
49258 $as_echo_n "(cached) " >&6
49263 ac_cpp='$CXXCPP $CPPFLAGS'
49264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49269 /* end confdefs.h. */
49279 if ac_fn_cxx_try_compile "$LINENO"; then :
49280 glibcxx_cv_func__hypotl_use=yes
49282 glibcxx_cv_func__hypotl_use=no
49284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49286 ac_cpp='$CPP $CPPFLAGS'
49287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
49296 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
49298 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
49299 for ac_func in _hypotl
49301 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
49302 if test "x$ac_cv_func__hypotl" = x""yes; then :
49303 cat >>confdefs.h <<_ACEOF
49304 #define HAVE__HYPOTL 1
49317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
49318 $as_echo_n "checking for ldexpl declaration... " >&6; }
49319 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
49320 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
49321 $as_echo_n "(cached) " >&6
49326 ac_cpp='$CXXCPP $CPPFLAGS'
49327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49332 /* end confdefs.h. */
49342 if ac_fn_cxx_try_compile "$LINENO"; then :
49343 glibcxx_cv_func_ldexpl_use=yes
49345 glibcxx_cv_func_ldexpl_use=no
49347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49349 ac_cpp='$CPP $CPPFLAGS'
49350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
49359 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
49361 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
49362 for ac_func in ldexpl
49364 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
49365 if test "x$ac_cv_func_ldexpl" = x""yes; then :
49366 cat >>confdefs.h <<_ACEOF
49367 #define HAVE_LDEXPL 1
49375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
49376 $as_echo_n "checking for _ldexpl declaration... " >&6; }
49377 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
49378 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
49379 $as_echo_n "(cached) " >&6
49384 ac_cpp='$CXXCPP $CPPFLAGS'
49385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49390 /* end confdefs.h. */
49400 if ac_fn_cxx_try_compile "$LINENO"; then :
49401 glibcxx_cv_func__ldexpl_use=yes
49403 glibcxx_cv_func__ldexpl_use=no
49405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49407 ac_cpp='$CPP $CPPFLAGS'
49408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
49417 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
49419 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
49420 for ac_func in _ldexpl
49422 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
49423 if test "x$ac_cv_func__ldexpl" = x""yes; then :
49424 cat >>confdefs.h <<_ACEOF
49425 #define HAVE__LDEXPL 1
49438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
49439 $as_echo_n "checking for logl declaration... " >&6; }
49440 if test x${glibcxx_cv_func_logl_use+set} != xset; then
49441 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
49442 $as_echo_n "(cached) " >&6
49447 ac_cpp='$CXXCPP $CPPFLAGS'
49448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49453 /* end confdefs.h. */
49455 #ifdef HAVE_IEEEFP_H
49456 #include <ieeefp.h>
49467 if ac_fn_cxx_try_compile "$LINENO"; then :
49468 glibcxx_cv_func_logl_use=yes
49470 glibcxx_cv_func_logl_use=no
49472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49474 ac_cpp='$CPP $CPPFLAGS'
49475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
49484 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
49486 if test x$glibcxx_cv_func_logl_use = x"yes"; then
49487 for ac_func in logl
49489 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
49490 if test "x$ac_cv_func_logl" = x""yes; then :
49491 cat >>confdefs.h <<_ACEOF
49492 #define HAVE_LOGL 1
49500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
49501 $as_echo_n "checking for _logl declaration... " >&6; }
49502 if test x${glibcxx_cv_func__logl_use+set} != xset; then
49503 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
49504 $as_echo_n "(cached) " >&6
49509 ac_cpp='$CXXCPP $CPPFLAGS'
49510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49515 /* end confdefs.h. */
49517 #ifdef HAVE_IEEEFP_H
49518 #include <ieeefp.h>
49529 if ac_fn_cxx_try_compile "$LINENO"; then :
49530 glibcxx_cv_func__logl_use=yes
49532 glibcxx_cv_func__logl_use=no
49534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49536 ac_cpp='$CPP $CPPFLAGS'
49537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
49546 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
49548 if test x$glibcxx_cv_func__logl_use = x"yes"; then
49549 for ac_func in _logl
49551 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
49552 if test "x$ac_cv_func__logl" = x""yes; then :
49553 cat >>confdefs.h <<_ACEOF
49554 #define HAVE__LOGL 1
49567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
49568 $as_echo_n "checking for log10l declaration... " >&6; }
49569 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
49570 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
49571 $as_echo_n "(cached) " >&6
49576 ac_cpp='$CXXCPP $CPPFLAGS'
49577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49582 /* end confdefs.h. */
49584 #ifdef HAVE_IEEEFP_H
49585 #include <ieeefp.h>
49596 if ac_fn_cxx_try_compile "$LINENO"; then :
49597 glibcxx_cv_func_log10l_use=yes
49599 glibcxx_cv_func_log10l_use=no
49601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49603 ac_cpp='$CPP $CPPFLAGS'
49604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
49613 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
49615 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
49616 for ac_func in log10l
49618 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
49619 if test "x$ac_cv_func_log10l" = x""yes; then :
49620 cat >>confdefs.h <<_ACEOF
49621 #define HAVE_LOG10L 1
49629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
49630 $as_echo_n "checking for _log10l declaration... " >&6; }
49631 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
49632 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
49633 $as_echo_n "(cached) " >&6
49638 ac_cpp='$CXXCPP $CPPFLAGS'
49639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49644 /* end confdefs.h. */
49646 #ifdef HAVE_IEEEFP_H
49647 #include <ieeefp.h>
49658 if ac_fn_cxx_try_compile "$LINENO"; then :
49659 glibcxx_cv_func__log10l_use=yes
49661 glibcxx_cv_func__log10l_use=no
49663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49665 ac_cpp='$CPP $CPPFLAGS'
49666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
49675 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
49677 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
49678 for ac_func in _log10l
49680 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
49681 if test "x$ac_cv_func__log10l" = x""yes; then :
49682 cat >>confdefs.h <<_ACEOF
49683 #define HAVE__LOG10L 1
49696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
49697 $as_echo_n "checking for modfl declaration... " >&6; }
49698 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
49699 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
49700 $as_echo_n "(cached) " >&6
49705 ac_cpp='$CXXCPP $CPPFLAGS'
49706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49711 /* end confdefs.h. */
49721 if ac_fn_cxx_try_compile "$LINENO"; then :
49722 glibcxx_cv_func_modfl_use=yes
49724 glibcxx_cv_func_modfl_use=no
49726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49728 ac_cpp='$CPP $CPPFLAGS'
49729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
49738 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
49740 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
49741 for ac_func in modfl
49743 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
49744 if test "x$ac_cv_func_modfl" = x""yes; then :
49745 cat >>confdefs.h <<_ACEOF
49746 #define HAVE_MODFL 1
49754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
49755 $as_echo_n "checking for _modfl declaration... " >&6; }
49756 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
49757 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
49758 $as_echo_n "(cached) " >&6
49763 ac_cpp='$CXXCPP $CPPFLAGS'
49764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49769 /* end confdefs.h. */
49779 if ac_fn_cxx_try_compile "$LINENO"; then :
49780 glibcxx_cv_func__modfl_use=yes
49782 glibcxx_cv_func__modfl_use=no
49784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49786 ac_cpp='$CPP $CPPFLAGS'
49787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
49796 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
49798 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
49799 for ac_func in _modfl
49801 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
49802 if test "x$ac_cv_func__modfl" = x""yes; then :
49803 cat >>confdefs.h <<_ACEOF
49804 #define HAVE__MODFL 1
49817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
49818 $as_echo_n "checking for powl declaration... " >&6; }
49819 if test x${glibcxx_cv_func_powl_use+set} != xset; then
49820 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
49821 $as_echo_n "(cached) " >&6
49826 ac_cpp='$CXXCPP $CPPFLAGS'
49827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49832 /* end confdefs.h. */
49842 if ac_fn_cxx_try_compile "$LINENO"; then :
49843 glibcxx_cv_func_powl_use=yes
49845 glibcxx_cv_func_powl_use=no
49847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49849 ac_cpp='$CPP $CPPFLAGS'
49850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
49859 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
49861 if test x$glibcxx_cv_func_powl_use = x"yes"; then
49862 for ac_func in powl
49864 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
49865 if test "x$ac_cv_func_powl" = x""yes; then :
49866 cat >>confdefs.h <<_ACEOF
49867 #define HAVE_POWL 1
49875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
49876 $as_echo_n "checking for _powl declaration... " >&6; }
49877 if test x${glibcxx_cv_func__powl_use+set} != xset; then
49878 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
49879 $as_echo_n "(cached) " >&6
49884 ac_cpp='$CXXCPP $CPPFLAGS'
49885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49890 /* end confdefs.h. */
49900 if ac_fn_cxx_try_compile "$LINENO"; then :
49901 glibcxx_cv_func__powl_use=yes
49903 glibcxx_cv_func__powl_use=no
49905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49907 ac_cpp='$CPP $CPPFLAGS'
49908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
49917 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
49919 if test x$glibcxx_cv_func__powl_use = x"yes"; then
49920 for ac_func in _powl
49922 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
49923 if test "x$ac_cv_func__powl" = x""yes; then :
49924 cat >>confdefs.h <<_ACEOF
49925 #define HAVE__POWL 1
49938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
49939 $as_echo_n "checking for sqrtl declaration... " >&6; }
49940 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
49941 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
49942 $as_echo_n "(cached) " >&6
49947 ac_cpp='$CXXCPP $CPPFLAGS'
49948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49953 /* end confdefs.h. */
49955 #ifdef HAVE_IEEEFP_H
49956 #include <ieeefp.h>
49967 if ac_fn_cxx_try_compile "$LINENO"; then :
49968 glibcxx_cv_func_sqrtl_use=yes
49970 glibcxx_cv_func_sqrtl_use=no
49972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49974 ac_cpp='$CPP $CPPFLAGS'
49975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
49984 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
49986 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
49987 for ac_func in sqrtl
49989 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
49990 if test "x$ac_cv_func_sqrtl" = x""yes; then :
49991 cat >>confdefs.h <<_ACEOF
49992 #define HAVE_SQRTL 1
50000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50001 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50002 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50003 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
50004 $as_echo_n "(cached) " >&6
50009 ac_cpp='$CXXCPP $CPPFLAGS'
50010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50015 /* end confdefs.h. */
50017 #ifdef HAVE_IEEEFP_H
50018 #include <ieeefp.h>
50029 if ac_fn_cxx_try_compile "$LINENO"; then :
50030 glibcxx_cv_func__sqrtl_use=yes
50032 glibcxx_cv_func__sqrtl_use=no
50034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50036 ac_cpp='$CPP $CPPFLAGS'
50037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50046 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50048 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50049 for ac_func in _sqrtl
50051 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50052 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50053 cat >>confdefs.h <<_ACEOF
50054 #define HAVE__SQRTL 1
50067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50068 $as_echo_n "checking for sincosl declaration... " >&6; }
50069 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50070 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50071 $as_echo_n "(cached) " >&6
50076 ac_cpp='$CXXCPP $CPPFLAGS'
50077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50082 /* end confdefs.h. */
50092 if ac_fn_cxx_try_compile "$LINENO"; then :
50093 glibcxx_cv_func_sincosl_use=yes
50095 glibcxx_cv_func_sincosl_use=no
50097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50099 ac_cpp='$CPP $CPPFLAGS'
50100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
50109 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
50111 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
50112 for ac_func in sincosl
50114 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
50115 if test "x$ac_cv_func_sincosl" = x""yes; then :
50116 cat >>confdefs.h <<_ACEOF
50117 #define HAVE_SINCOSL 1
50125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50126 $as_echo_n "checking for _sincosl declaration... " >&6; }
50127 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50128 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50129 $as_echo_n "(cached) " >&6
50134 ac_cpp='$CXXCPP $CPPFLAGS'
50135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50140 /* end confdefs.h. */
50150 if ac_fn_cxx_try_compile "$LINENO"; then :
50151 glibcxx_cv_func__sincosl_use=yes
50153 glibcxx_cv_func__sincosl_use=no
50155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50157 ac_cpp='$CPP $CPPFLAGS'
50158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
50167 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
50169 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
50170 for ac_func in _sincosl
50172 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
50173 if test "x$ac_cv_func__sincosl" = x""yes; then :
50174 cat >>confdefs.h <<_ACEOF
50175 #define HAVE__SINCOSL 1
50188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
50189 $as_echo_n "checking for finitel declaration... " >&6; }
50190 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
50191 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
50192 $as_echo_n "(cached) " >&6
50197 ac_cpp='$CXXCPP $CPPFLAGS'
50198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50203 /* end confdefs.h. */
50205 #ifdef HAVE_IEEEFP_H
50206 #include <ieeefp.h>
50217 if ac_fn_cxx_try_compile "$LINENO"; then :
50218 glibcxx_cv_func_finitel_use=yes
50220 glibcxx_cv_func_finitel_use=no
50222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50224 ac_cpp='$CPP $CPPFLAGS'
50225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
50234 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
50236 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
50237 for ac_func in finitel
50239 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
50240 if test "x$ac_cv_func_finitel" = x""yes; then :
50241 cat >>confdefs.h <<_ACEOF
50242 #define HAVE_FINITEL 1
50250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
50251 $as_echo_n "checking for _finitel declaration... " >&6; }
50252 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
50253 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
50254 $as_echo_n "(cached) " >&6
50259 ac_cpp='$CXXCPP $CPPFLAGS'
50260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50265 /* end confdefs.h. */
50267 #ifdef HAVE_IEEEFP_H
50268 #include <ieeefp.h>
50279 if ac_fn_cxx_try_compile "$LINENO"; then :
50280 glibcxx_cv_func__finitel_use=yes
50282 glibcxx_cv_func__finitel_use=no
50284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50286 ac_cpp='$CPP $CPPFLAGS'
50287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
50296 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
50298 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
50299 for ac_func in _finitel
50301 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
50302 if test "x$ac_cv_func__finitel" = x""yes; then :
50303 cat >>confdefs.h <<_ACEOF
50304 #define HAVE__FINITEL 1
50316 LIBS="$ac_save_LIBS"
50317 CXXFLAGS="$ac_save_CXXFLAGS"
50320 ac_test_CXXFLAGS="${CXXFLAGS+set}"
50321 ac_save_CXXFLAGS="$CXXFLAGS"
50322 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
50326 $as_echo_n "checking for strtold declaration... " >&6; }
50327 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
50328 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
50329 $as_echo_n "(cached) " >&6
50334 ac_cpp='$CXXCPP $CPPFLAGS'
50335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50340 /* end confdefs.h. */
50341 #include <stdlib.h>
50350 if ac_fn_cxx_try_compile "$LINENO"; then :
50351 glibcxx_cv_func_strtold_use=yes
50353 glibcxx_cv_func_strtold_use=no
50355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50357 ac_cpp='$CPP $CPPFLAGS'
50358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
50367 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
50368 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
50369 for ac_func in strtold
50371 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
50372 if test "x$ac_cv_func_strtold" = x""yes; then :
50373 cat >>confdefs.h <<_ACEOF
50374 #define HAVE_STRTOLD 1
50385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
50386 $as_echo_n "checking for strtof declaration... " >&6; }
50387 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
50388 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
50389 $as_echo_n "(cached) " >&6
50394 ac_cpp='$CXXCPP $CPPFLAGS'
50395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50400 /* end confdefs.h. */
50401 #include <stdlib.h>
50410 if ac_fn_cxx_try_compile "$LINENO"; then :
50411 glibcxx_cv_func_strtof_use=yes
50413 glibcxx_cv_func_strtof_use=no
50415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50417 ac_cpp='$CPP $CPPFLAGS'
50418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
50427 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
50428 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
50429 for ac_func in strtof
50431 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
50432 if test "x$ac_cv_func_strtof" = x""yes; then :
50433 cat >>confdefs.h <<_ACEOF
50434 #define HAVE_STRTOF 1
50445 CXXFLAGS="$ac_save_CXXFLAGS"
50447 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
50451 # Check whether --enable-tls was given.
50452 if test "${enable_tls+set}" = set; then :
50453 enableval=$enable_tls;
50454 case "$enableval" in
50456 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
50464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
50465 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
50466 if test "${gcc_cv_have_tls+set}" = set; then :
50467 $as_echo_n "(cached) " >&6
50470 if test "$cross_compiling" = yes; then :
50471 if test x$gcc_no_link = xyes; then
50472 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50475 /* end confdefs.h. */
50476 __thread int a; int b; int main() { return a = b; }
50478 if ac_fn_c_try_link "$LINENO"; then :
50479 chktls_save_LDFLAGS="$LDFLAGS"
50482 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
50485 chktls_save_CFLAGS="$CFLAGS"
50486 CFLAGS="-fPIC $CFLAGS"
50487 if test x$gcc_no_link = xyes; then
50488 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50491 /* end confdefs.h. */
50492 int f() { return 0; }
50494 if ac_fn_c_try_link "$LINENO"; then :
50495 if test x$gcc_no_link = xyes; then
50496 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50499 /* end confdefs.h. */
50500 __thread int a; int b; int f() { return a = b; }
50502 if ac_fn_c_try_link "$LINENO"; then :
50503 gcc_cv_have_tls=yes
50507 rm -f core conftest.err conftest.$ac_objext \
50508 conftest$ac_exeext conftest.$ac_ext
50510 gcc_cv_have_tls=yes
50512 rm -f core conftest.err conftest.$ac_objext \
50513 conftest$ac_exeext conftest.$ac_ext
50514 CFLAGS="$chktls_save_CFLAGS"
50515 LDFLAGS="$chktls_save_LDFLAGS"
50519 rm -f core conftest.err conftest.$ac_objext \
50520 conftest$ac_exeext conftest.$ac_ext
50524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50525 /* end confdefs.h. */
50526 __thread int a; int b; int main() { return a = b; }
50528 if ac_fn_c_try_run "$LINENO"; then :
50529 chktls_save_LDFLAGS="$LDFLAGS"
50530 LDFLAGS="-static $LDFLAGS"
50531 if test x$gcc_no_link = xyes; then
50532 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50535 /* end confdefs.h. */
50536 int main() { return 0; }
50538 if ac_fn_c_try_link "$LINENO"; then :
50539 if test "$cross_compiling" = yes; then :
50540 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50541 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50542 as_fn_error "cannot run test program while cross compiling
50543 See \`config.log' for more details." "$LINENO" 5; }
50545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50546 /* end confdefs.h. */
50547 __thread int a; int b; int main() { return a = b; }
50549 if ac_fn_c_try_run "$LINENO"; then :
50550 gcc_cv_have_tls=yes
50554 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50555 conftest.$ac_objext conftest.beam conftest.$ac_ext
50559 gcc_cv_have_tls=yes
50561 rm -f core conftest.err conftest.$ac_objext \
50562 conftest$ac_exeext conftest.$ac_ext
50563 LDFLAGS="$chktls_save_LDFLAGS"
50564 if test $gcc_cv_have_tls = yes; then
50565 chktls_save_CFLAGS="$CFLAGS"
50566 thread_CFLAGS=failed
50567 for flag in '' '-pthread' '-lpthread'; do
50568 CFLAGS="$flag $chktls_save_CFLAGS"
50569 if test x$gcc_no_link = xyes; then
50570 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50573 /* end confdefs.h. */
50574 #include <pthread.h>
50575 void *g(void *d) { return NULL; }
50579 pthread_t t; pthread_create(&t,NULL,g,NULL);
50584 if ac_fn_c_try_link "$LINENO"; then :
50585 thread_CFLAGS="$flag"
50587 rm -f core conftest.err conftest.$ac_objext \
50588 conftest$ac_exeext conftest.$ac_ext
50589 if test "X$thread_CFLAGS" != Xfailed; then
50593 CFLAGS="$chktls_save_CFLAGS"
50594 if test "X$thread_CFLAGS" != Xfailed; then
50595 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
50596 if test "$cross_compiling" = yes; then :
50597 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50598 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50599 as_fn_error "cannot run test program while cross compiling
50600 See \`config.log' for more details." "$LINENO" 5; }
50602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50603 /* end confdefs.h. */
50604 #include <pthread.h>
50606 static int *a_in_other_thread;
50608 thread_func (void *arg)
50610 a_in_other_thread = &a;
50617 void *thread_retval;
50618 int *a_in_main_thread;
50619 if (pthread_create (&thread, (pthread_attr_t *)0,
50620 thread_func, (void *)0))
50622 a_in_main_thread = &a;
50623 if (pthread_join (thread, &thread_retval))
50625 return (a_in_other_thread == a_in_main_thread);
50630 if ac_fn_c_try_run "$LINENO"; then :
50631 gcc_cv_have_tls=yes
50635 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50636 conftest.$ac_objext conftest.beam conftest.$ac_ext
50639 CFLAGS="$chktls_save_CFLAGS"
50645 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50646 conftest.$ac_objext conftest.beam conftest.$ac_ext
50650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
50651 $as_echo "$gcc_cv_have_tls" >&6; }
50652 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
50654 $as_echo "#define HAVE_TLS 1" >>confdefs.h
50662 am_save_CPPFLAGS="$CPPFLAGS"
50664 for element in $INCICONV; do
50666 for x in $CPPFLAGS; do
50668 acl_save_prefix="$prefix"
50669 prefix="$acl_final_prefix"
50670 acl_save_exec_prefix="$exec_prefix"
50671 exec_prefix="$acl_final_exec_prefix"
50673 exec_prefix="$acl_save_exec_prefix"
50674 prefix="$acl_save_prefix"
50676 if test "X$x" = "X$element"; then
50681 if test -z "$haveit"; then
50682 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
50687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
50688 $as_echo_n "checking for iconv... " >&6; }
50689 if test "${am_cv_func_iconv+set}" = set; then :
50690 $as_echo_n "(cached) " >&6
50693 am_cv_func_iconv="no, consider installing GNU libiconv"
50695 if test x$gcc_no_link = xyes; then
50696 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50699 /* end confdefs.h. */
50700 #include <stdlib.h>
50705 iconv_t cd = iconv_open("","");
50706 iconv(cd,NULL,NULL,NULL,NULL);
50712 if ac_fn_c_try_link "$LINENO"; then :
50713 am_cv_func_iconv=yes
50715 rm -f core conftest.err conftest.$ac_objext \
50716 conftest$ac_exeext conftest.$ac_ext
50717 if test "$am_cv_func_iconv" != yes; then
50718 am_save_LIBS="$LIBS"
50719 LIBS="$LIBS $LIBICONV"
50720 if test x$gcc_no_link = xyes; then
50721 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50724 /* end confdefs.h. */
50725 #include <stdlib.h>
50730 iconv_t cd = iconv_open("","");
50731 iconv(cd,NULL,NULL,NULL,NULL);
50737 if ac_fn_c_try_link "$LINENO"; then :
50738 am_cv_lib_iconv=yes
50739 am_cv_func_iconv=yes
50741 rm -f core conftest.err conftest.$ac_objext \
50742 conftest$ac_exeext conftest.$ac_ext
50743 LIBS="$am_save_LIBS"
50747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
50748 $as_echo "$am_cv_func_iconv" >&6; }
50749 if test "$am_cv_func_iconv" = yes; then
50751 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
50754 if test "$am_cv_lib_iconv" = yes; then
50755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
50756 $as_echo_n "checking how to link with libiconv... " >&6; }
50757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
50758 $as_echo "$LIBICONV" >&6; }
50760 CPPFLAGS="$am_save_CPPFLAGS"
50767 if test "$am_cv_func_iconv" = yes; then
50768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
50769 $as_echo_n "checking for iconv declaration... " >&6; }
50770 if test "${am_cv_proto_iconv+set}" = set; then :
50771 $as_echo_n "(cached) " >&6
50774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50775 /* end confdefs.h. */
50777 #include <stdlib.h>
50783 #if defined(__STDC__) || defined(__cplusplus)
50784 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
50797 if ac_fn_c_try_compile "$LINENO"; then :
50798 am_cv_proto_iconv_arg1=""
50800 am_cv_proto_iconv_arg1="const"
50802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50803 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);"
50806 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
50807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
50808 }$am_cv_proto_iconv" >&5
50810 }$am_cv_proto_iconv" >&6; }
50812 cat >>confdefs.h <<_ACEOF
50813 #define ICONV_CONST $am_cv_proto_iconv_arg1
50821 # If we're not using GNU ld, then there's no point in even trying these
50822 # tests. Check for that first. We should have already tested for gld
50823 # by now (in libtool), but require it now just to be safe...
50824 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
50825 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
50829 # The name set by libtool depends on the version of libtool. Shame on us
50830 # for depending on an impl detail, but c'est la vie. Older versions used
50831 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
50832 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
50833 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
50834 # set (hence we're using an older libtool), then set it.
50835 if test x${with_gnu_ld+set} != xset; then
50836 if test x${ac_cv_prog_gnu_ld+set} != xset; then
50837 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
50840 with_gnu_ld=$ac_cv_prog_gnu_ld
50844 # Start by getting the version number. I think the libtool test already
50845 # does some of this, but throws away the result.
50846 glibcxx_ld_is_gold=no
50847 if test x"$with_gnu_ld" = x"yes"; then
50848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
50849 $as_echo_n "checking for ld version... " >&6; }
50851 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
50852 glibcxx_ld_is_gold=yes
50854 ldver=`$LD --version 2>/dev/null |
50855 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'`
50857 glibcxx_gnu_ld_version=`echo $ldver | \
50858 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
50859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
50860 $as_echo "$glibcxx_gnu_ld_version" >&6; }
50863 # Set --gc-sections.
50864 glibcxx_have_gc_sections=no
50865 if test "$glibcxx_ld_is_gold" = "yes"; then
50866 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
50867 glibcxx_have_gc_sections=yes
50870 glibcxx_gcsections_min_ld=21602
50871 if test x"$with_gnu_ld" = x"yes" &&
50872 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
50873 glibcxx_have_gc_sections=yes
50876 if test "$glibcxx_have_gc_sections" = "yes"; then
50877 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
50878 # NB: This flag only works reliably after 2.16.1. Configure tests
50879 # for this are difficult, so hard wire a value that should work.
50881 ac_test_CFLAGS="${CFLAGS+set}"
50882 ac_save_CFLAGS="$CFLAGS"
50883 CFLAGS='-Wl,--gc-sections'
50885 # Check for -Wl,--gc-sections
50886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
50887 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
50888 if test x$gcc_no_link = xyes; then
50889 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50892 /* end confdefs.h. */
50893 int one(void) { return 1; }
50894 int two(void) { return 2; }
50904 if ac_fn_c_try_link "$LINENO"; then :
50909 rm -f core conftest.err conftest.$ac_objext \
50910 conftest$ac_exeext conftest.$ac_ext
50911 if test "$ac_gcsections" = "yes"; then
50914 if $CC -c conftest.c; then
50915 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
50916 grep "Warning: gc-sections option ignored" > /dev/null; then
50920 rm -f conftest.c conftest.o conftest
50922 if test "$ac_gcsections" = "yes"; then
50923 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
50925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
50926 $as_echo "$ac_gcsections" >&6; }
50928 if test "$ac_test_CFLAGS" = set; then
50929 CFLAGS="$ac_save_CFLAGS"
50931 # this is the suspicious part
50937 # Note this is only for shared objects.
50939 if test x"$with_gnu_ld" = x"yes"; then
50940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
50941 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
50942 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
50943 if test -n "$cxx_z_relo"; then
50944 OPT_LDFLAGS="-Wl,-z,relro"
50947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
50948 $as_echo "$ac_ld_relro" >&6; }
50951 # Set linker optimization flags.
50952 if test x"$with_gnu_ld" = x"yes"; then
50953 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
50960 ac_test_CXXFLAGS="${CXXFLAGS+set}"
50961 ac_save_CXXFLAGS="$CXXFLAGS"
50962 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
50965 $as_echo_n "checking for sin in -lm... " >&6; }
50966 if test "${ac_cv_lib_m_sin+set}" = set; then :
50967 $as_echo_n "(cached) " >&6
50969 ac_check_lib_save_LIBS=$LIBS
50971 if test x$gcc_no_link = xyes; then
50972 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50975 /* end confdefs.h. */
50977 /* Override any GCC internal prototype to avoid an error.
50978 Use char because int might match the return type of a GCC
50979 builtin and then its argument prototype would still apply. */
50992 if ac_fn_c_try_link "$LINENO"; then :
50993 ac_cv_lib_m_sin=yes
50997 rm -f core conftest.err conftest.$ac_objext \
50998 conftest$ac_exeext conftest.$ac_ext
50999 LIBS=$ac_check_lib_save_LIBS
51001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51002 $as_echo "$ac_cv_lib_m_sin" >&6; }
51003 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51007 ac_save_LIBS="$LIBS"
51012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51013 $as_echo_n "checking for isinf declaration... " >&6; }
51014 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51015 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51016 $as_echo_n "(cached) " >&6
51021 ac_cpp='$CXXCPP $CPPFLAGS'
51022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51027 /* end confdefs.h. */
51029 #ifdef HAVE_IEEEFP_H
51030 #include <ieeefp.h>
51041 if ac_fn_cxx_try_compile "$LINENO"; then :
51042 glibcxx_cv_func_isinf_use=yes
51044 glibcxx_cv_func_isinf_use=no
51046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51048 ac_cpp='$CPP $CPPFLAGS'
51049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51058 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51060 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51061 for ac_func in isinf
51063 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51064 if test "x$ac_cv_func_isinf" = x""yes; then :
51065 cat >>confdefs.h <<_ACEOF
51066 #define HAVE_ISINF 1
51074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51075 $as_echo_n "checking for _isinf declaration... " >&6; }
51076 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51077 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51078 $as_echo_n "(cached) " >&6
51083 ac_cpp='$CXXCPP $CPPFLAGS'
51084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51089 /* end confdefs.h. */
51091 #ifdef HAVE_IEEEFP_H
51092 #include <ieeefp.h>
51103 if ac_fn_cxx_try_compile "$LINENO"; then :
51104 glibcxx_cv_func__isinf_use=yes
51106 glibcxx_cv_func__isinf_use=no
51108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51110 ac_cpp='$CPP $CPPFLAGS'
51111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
51120 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
51122 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
51123 for ac_func in _isinf
51125 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51126 if test "x$ac_cv_func__isinf" = x""yes; then :
51127 cat >>confdefs.h <<_ACEOF
51128 #define HAVE__ISINF 1
51141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
51142 $as_echo_n "checking for isnan declaration... " >&6; }
51143 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
51144 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
51145 $as_echo_n "(cached) " >&6
51150 ac_cpp='$CXXCPP $CPPFLAGS'
51151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51156 /* end confdefs.h. */
51158 #ifdef HAVE_IEEEFP_H
51159 #include <ieeefp.h>
51170 if ac_fn_cxx_try_compile "$LINENO"; then :
51171 glibcxx_cv_func_isnan_use=yes
51173 glibcxx_cv_func_isnan_use=no
51175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51177 ac_cpp='$CPP $CPPFLAGS'
51178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
51187 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
51189 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
51190 for ac_func in isnan
51192 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
51193 if test "x$ac_cv_func_isnan" = x""yes; then :
51194 cat >>confdefs.h <<_ACEOF
51195 #define HAVE_ISNAN 1
51203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
51204 $as_echo_n "checking for _isnan declaration... " >&6; }
51205 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
51206 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
51207 $as_echo_n "(cached) " >&6
51212 ac_cpp='$CXXCPP $CPPFLAGS'
51213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51218 /* end confdefs.h. */
51220 #ifdef HAVE_IEEEFP_H
51221 #include <ieeefp.h>
51232 if ac_fn_cxx_try_compile "$LINENO"; then :
51233 glibcxx_cv_func__isnan_use=yes
51235 glibcxx_cv_func__isnan_use=no
51237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51239 ac_cpp='$CPP $CPPFLAGS'
51240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
51249 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
51251 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
51252 for ac_func in _isnan
51254 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
51255 if test "x$ac_cv_func__isnan" = x""yes; then :
51256 cat >>confdefs.h <<_ACEOF
51257 #define HAVE__ISNAN 1
51270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
51271 $as_echo_n "checking for finite declaration... " >&6; }
51272 if test x${glibcxx_cv_func_finite_use+set} != xset; then
51273 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
51274 $as_echo_n "(cached) " >&6
51279 ac_cpp='$CXXCPP $CPPFLAGS'
51280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51285 /* end confdefs.h. */
51287 #ifdef HAVE_IEEEFP_H
51288 #include <ieeefp.h>
51299 if ac_fn_cxx_try_compile "$LINENO"; then :
51300 glibcxx_cv_func_finite_use=yes
51302 glibcxx_cv_func_finite_use=no
51304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51306 ac_cpp='$CPP $CPPFLAGS'
51307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
51316 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
51318 if test x$glibcxx_cv_func_finite_use = x"yes"; then
51319 for ac_func in finite
51321 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
51322 if test "x$ac_cv_func_finite" = x""yes; then :
51323 cat >>confdefs.h <<_ACEOF
51324 #define HAVE_FINITE 1
51332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
51333 $as_echo_n "checking for _finite declaration... " >&6; }
51334 if test x${glibcxx_cv_func__finite_use+set} != xset; then
51335 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
51336 $as_echo_n "(cached) " >&6
51341 ac_cpp='$CXXCPP $CPPFLAGS'
51342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51347 /* end confdefs.h. */
51349 #ifdef HAVE_IEEEFP_H
51350 #include <ieeefp.h>
51361 if ac_fn_cxx_try_compile "$LINENO"; then :
51362 glibcxx_cv_func__finite_use=yes
51364 glibcxx_cv_func__finite_use=no
51366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51368 ac_cpp='$CPP $CPPFLAGS'
51369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
51378 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
51380 if test x$glibcxx_cv_func__finite_use = x"yes"; then
51381 for ac_func in _finite
51383 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
51384 if test "x$ac_cv_func__finite" = x""yes; then :
51385 cat >>confdefs.h <<_ACEOF
51386 #define HAVE__FINITE 1
51399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
51400 $as_echo_n "checking for sincos declaration... " >&6; }
51401 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
51402 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
51403 $as_echo_n "(cached) " >&6
51408 ac_cpp='$CXXCPP $CPPFLAGS'
51409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51414 /* end confdefs.h. */
51424 if ac_fn_cxx_try_compile "$LINENO"; then :
51425 glibcxx_cv_func_sincos_use=yes
51427 glibcxx_cv_func_sincos_use=no
51429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51431 ac_cpp='$CPP $CPPFLAGS'
51432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
51441 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
51443 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
51444 for ac_func in sincos
51446 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
51447 if test "x$ac_cv_func_sincos" = x""yes; then :
51448 cat >>confdefs.h <<_ACEOF
51449 #define HAVE_SINCOS 1
51457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
51458 $as_echo_n "checking for _sincos declaration... " >&6; }
51459 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
51460 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
51461 $as_echo_n "(cached) " >&6
51466 ac_cpp='$CXXCPP $CPPFLAGS'
51467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51472 /* end confdefs.h. */
51482 if ac_fn_cxx_try_compile "$LINENO"; then :
51483 glibcxx_cv_func__sincos_use=yes
51485 glibcxx_cv_func__sincos_use=no
51487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51489 ac_cpp='$CPP $CPPFLAGS'
51490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
51499 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
51501 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
51502 for ac_func in _sincos
51504 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
51505 if test "x$ac_cv_func__sincos" = x""yes; then :
51506 cat >>confdefs.h <<_ACEOF
51507 #define HAVE__SINCOS 1
51520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
51521 $as_echo_n "checking for fpclass declaration... " >&6; }
51522 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
51523 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
51524 $as_echo_n "(cached) " >&6
51529 ac_cpp='$CXXCPP $CPPFLAGS'
51530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51535 /* end confdefs.h. */
51537 #ifdef HAVE_IEEEFP_H
51538 #include <ieeefp.h>
51549 if ac_fn_cxx_try_compile "$LINENO"; then :
51550 glibcxx_cv_func_fpclass_use=yes
51552 glibcxx_cv_func_fpclass_use=no
51554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51556 ac_cpp='$CPP $CPPFLAGS'
51557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
51566 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
51568 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
51569 for ac_func in fpclass
51571 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
51572 if test "x$ac_cv_func_fpclass" = x""yes; then :
51573 cat >>confdefs.h <<_ACEOF
51574 #define HAVE_FPCLASS 1
51582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
51583 $as_echo_n "checking for _fpclass declaration... " >&6; }
51584 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
51585 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
51586 $as_echo_n "(cached) " >&6
51591 ac_cpp='$CXXCPP $CPPFLAGS'
51592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51597 /* end confdefs.h. */
51599 #ifdef HAVE_IEEEFP_H
51600 #include <ieeefp.h>
51611 if ac_fn_cxx_try_compile "$LINENO"; then :
51612 glibcxx_cv_func__fpclass_use=yes
51614 glibcxx_cv_func__fpclass_use=no
51616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51618 ac_cpp='$CPP $CPPFLAGS'
51619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
51628 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
51630 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
51631 for ac_func in _fpclass
51633 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
51634 if test "x$ac_cv_func__fpclass" = x""yes; then :
51635 cat >>confdefs.h <<_ACEOF
51636 #define HAVE__FPCLASS 1
51649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
51650 $as_echo_n "checking for qfpclass declaration... " >&6; }
51651 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
51652 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
51653 $as_echo_n "(cached) " >&6
51658 ac_cpp='$CXXCPP $CPPFLAGS'
51659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51664 /* end confdefs.h. */
51666 #ifdef HAVE_IEEEFP_H
51667 #include <ieeefp.h>
51678 if ac_fn_cxx_try_compile "$LINENO"; then :
51679 glibcxx_cv_func_qfpclass_use=yes
51681 glibcxx_cv_func_qfpclass_use=no
51683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51685 ac_cpp='$CPP $CPPFLAGS'
51686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
51695 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
51697 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
51698 for ac_func in qfpclass
51700 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
51701 if test "x$ac_cv_func_qfpclass" = x""yes; then :
51702 cat >>confdefs.h <<_ACEOF
51703 #define HAVE_QFPCLASS 1
51711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
51712 $as_echo_n "checking for _qfpclass declaration... " >&6; }
51713 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
51714 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
51715 $as_echo_n "(cached) " >&6
51720 ac_cpp='$CXXCPP $CPPFLAGS'
51721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51726 /* end confdefs.h. */
51728 #ifdef HAVE_IEEEFP_H
51729 #include <ieeefp.h>
51740 if ac_fn_cxx_try_compile "$LINENO"; then :
51741 glibcxx_cv_func__qfpclass_use=yes
51743 glibcxx_cv_func__qfpclass_use=no
51745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51747 ac_cpp='$CPP $CPPFLAGS'
51748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
51757 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
51759 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
51760 for ac_func in _qfpclass
51762 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
51763 if test "x$ac_cv_func__qfpclass" = x""yes; then :
51764 cat >>confdefs.h <<_ACEOF
51765 #define HAVE__QFPCLASS 1
51778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
51779 $as_echo_n "checking for hypot declaration... " >&6; }
51780 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
51781 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
51782 $as_echo_n "(cached) " >&6
51787 ac_cpp='$CXXCPP $CPPFLAGS'
51788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51793 /* end confdefs.h. */
51803 if ac_fn_cxx_try_compile "$LINENO"; then :
51804 glibcxx_cv_func_hypot_use=yes
51806 glibcxx_cv_func_hypot_use=no
51808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51810 ac_cpp='$CPP $CPPFLAGS'
51811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
51820 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
51822 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
51823 for ac_func in hypot
51825 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
51826 if test "x$ac_cv_func_hypot" = x""yes; then :
51827 cat >>confdefs.h <<_ACEOF
51828 #define HAVE_HYPOT 1
51836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
51837 $as_echo_n "checking for _hypot declaration... " >&6; }
51838 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
51839 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
51840 $as_echo_n "(cached) " >&6
51845 ac_cpp='$CXXCPP $CPPFLAGS'
51846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51851 /* end confdefs.h. */
51861 if ac_fn_cxx_try_compile "$LINENO"; then :
51862 glibcxx_cv_func__hypot_use=yes
51864 glibcxx_cv_func__hypot_use=no
51866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51868 ac_cpp='$CPP $CPPFLAGS'
51869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
51878 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
51880 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
51881 for ac_func in _hypot
51883 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
51884 if test "x$ac_cv_func__hypot" = x""yes; then :
51885 cat >>confdefs.h <<_ACEOF
51886 #define HAVE__HYPOT 1
51899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
51900 $as_echo_n "checking for float trig functions... " >&6; }
51901 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
51902 $as_echo_n "(cached) " >&6
51907 ac_cpp='$CXXCPP $CPPFLAGS'
51908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51913 /* end confdefs.h. */
51918 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
51923 if ac_fn_cxx_try_compile "$LINENO"; then :
51924 glibcxx_cv_func_float_trig_use=yes
51926 glibcxx_cv_func_float_trig_use=no
51928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51930 ac_cpp='$CPP $CPPFLAGS'
51931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
51938 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
51939 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
51940 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
51942 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51943 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51944 eval as_val=\$$as_ac_var
51945 if test "x$as_val" = x""yes; then :
51946 cat >>confdefs.h <<_ACEOF
51947 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
51955 $as_echo_n "checking for _float trig functions... " >&6; }
51956 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
51957 $as_echo_n "(cached) " >&6
51962 ac_cpp='$CXXCPP $CPPFLAGS'
51963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51968 /* end confdefs.h. */
51973 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
51978 if ac_fn_cxx_try_compile "$LINENO"; then :
51979 glibcxx_cv_func__float_trig_use=yes
51981 glibcxx_cv_func__float_trig_use=no
51983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51985 ac_cpp='$CPP $CPPFLAGS'
51986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
51993 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
51994 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
51995 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
51997 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51998 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51999 eval as_val=\$$as_ac_var
52000 if test "x$as_val" = x""yes; then :
52001 cat >>confdefs.h <<_ACEOF
52002 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52016 $as_echo_n "checking for float round functions... " >&6; }
52017 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52018 $as_echo_n "(cached) " >&6
52023 ac_cpp='$CXXCPP $CPPFLAGS'
52024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52029 /* end confdefs.h. */
52034 ceilf (0); floorf (0);
52039 if ac_fn_cxx_try_compile "$LINENO"; then :
52040 glibcxx_cv_func_float_round_use=yes
52042 glibcxx_cv_func_float_round_use=no
52044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52046 ac_cpp='$CPP $CPPFLAGS'
52047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52054 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52055 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52056 for ac_func in ceilf floorf
52058 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52059 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52060 eval as_val=\$$as_ac_var
52061 if test "x$as_val" = x""yes; then :
52062 cat >>confdefs.h <<_ACEOF
52063 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52071 $as_echo_n "checking for _float round functions... " >&6; }
52072 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52073 $as_echo_n "(cached) " >&6
52078 ac_cpp='$CXXCPP $CPPFLAGS'
52079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52084 /* end confdefs.h. */
52089 _ceilf (0); _floorf (0);
52094 if ac_fn_cxx_try_compile "$LINENO"; then :
52095 glibcxx_cv_func__float_round_use=yes
52097 glibcxx_cv_func__float_round_use=no
52099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52101 ac_cpp='$CPP $CPPFLAGS'
52102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
52109 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
52110 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
52111 for ac_func in _ceilf _floorf
52113 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52114 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52115 eval as_val=\$$as_ac_var
52116 if test "x$as_val" = x""yes; then :
52117 cat >>confdefs.h <<_ACEOF
52118 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
52133 $as_echo_n "checking for expf declaration... " >&6; }
52134 if test x${glibcxx_cv_func_expf_use+set} != xset; then
52135 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
52136 $as_echo_n "(cached) " >&6
52141 ac_cpp='$CXXCPP $CPPFLAGS'
52142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52147 /* end confdefs.h. */
52149 #ifdef HAVE_IEEEFP_H
52150 #include <ieeefp.h>
52161 if ac_fn_cxx_try_compile "$LINENO"; then :
52162 glibcxx_cv_func_expf_use=yes
52164 glibcxx_cv_func_expf_use=no
52166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52168 ac_cpp='$CPP $CPPFLAGS'
52169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
52178 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
52180 if test x$glibcxx_cv_func_expf_use = x"yes"; then
52181 for ac_func in expf
52183 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
52184 if test "x$ac_cv_func_expf" = x""yes; then :
52185 cat >>confdefs.h <<_ACEOF
52186 #define HAVE_EXPF 1
52194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
52195 $as_echo_n "checking for _expf declaration... " >&6; }
52196 if test x${glibcxx_cv_func__expf_use+set} != xset; then
52197 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
52198 $as_echo_n "(cached) " >&6
52203 ac_cpp='$CXXCPP $CPPFLAGS'
52204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52209 /* end confdefs.h. */
52211 #ifdef HAVE_IEEEFP_H
52212 #include <ieeefp.h>
52223 if ac_fn_cxx_try_compile "$LINENO"; then :
52224 glibcxx_cv_func__expf_use=yes
52226 glibcxx_cv_func__expf_use=no
52228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52230 ac_cpp='$CPP $CPPFLAGS'
52231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
52240 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
52242 if test x$glibcxx_cv_func__expf_use = x"yes"; then
52243 for ac_func in _expf
52245 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
52246 if test "x$ac_cv_func__expf" = x""yes; then :
52247 cat >>confdefs.h <<_ACEOF
52248 #define HAVE__EXPF 1
52261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
52262 $as_echo_n "checking for isnanf declaration... " >&6; }
52263 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
52264 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
52265 $as_echo_n "(cached) " >&6
52270 ac_cpp='$CXXCPP $CPPFLAGS'
52271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52276 /* end confdefs.h. */
52278 #ifdef HAVE_IEEEFP_H
52279 #include <ieeefp.h>
52290 if ac_fn_cxx_try_compile "$LINENO"; then :
52291 glibcxx_cv_func_isnanf_use=yes
52293 glibcxx_cv_func_isnanf_use=no
52295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52297 ac_cpp='$CPP $CPPFLAGS'
52298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
52307 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
52309 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
52310 for ac_func in isnanf
52312 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
52313 if test "x$ac_cv_func_isnanf" = x""yes; then :
52314 cat >>confdefs.h <<_ACEOF
52315 #define HAVE_ISNANF 1
52323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
52324 $as_echo_n "checking for _isnanf declaration... " >&6; }
52325 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
52326 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
52327 $as_echo_n "(cached) " >&6
52332 ac_cpp='$CXXCPP $CPPFLAGS'
52333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52338 /* end confdefs.h. */
52340 #ifdef HAVE_IEEEFP_H
52341 #include <ieeefp.h>
52352 if ac_fn_cxx_try_compile "$LINENO"; then :
52353 glibcxx_cv_func__isnanf_use=yes
52355 glibcxx_cv_func__isnanf_use=no
52357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52359 ac_cpp='$CPP $CPPFLAGS'
52360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
52369 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
52371 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
52372 for ac_func in _isnanf
52374 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
52375 if test "x$ac_cv_func__isnanf" = x""yes; then :
52376 cat >>confdefs.h <<_ACEOF
52377 #define HAVE__ISNANF 1
52390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
52391 $as_echo_n "checking for isinff declaration... " >&6; }
52392 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
52393 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
52394 $as_echo_n "(cached) " >&6
52399 ac_cpp='$CXXCPP $CPPFLAGS'
52400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52405 /* end confdefs.h. */
52407 #ifdef HAVE_IEEEFP_H
52408 #include <ieeefp.h>
52419 if ac_fn_cxx_try_compile "$LINENO"; then :
52420 glibcxx_cv_func_isinff_use=yes
52422 glibcxx_cv_func_isinff_use=no
52424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52426 ac_cpp='$CPP $CPPFLAGS'
52427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
52436 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
52438 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
52439 for ac_func in isinff
52441 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
52442 if test "x$ac_cv_func_isinff" = x""yes; then :
52443 cat >>confdefs.h <<_ACEOF
52444 #define HAVE_ISINFF 1
52452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
52453 $as_echo_n "checking for _isinff declaration... " >&6; }
52454 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
52455 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
52456 $as_echo_n "(cached) " >&6
52461 ac_cpp='$CXXCPP $CPPFLAGS'
52462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52467 /* end confdefs.h. */
52469 #ifdef HAVE_IEEEFP_H
52470 #include <ieeefp.h>
52481 if ac_fn_cxx_try_compile "$LINENO"; then :
52482 glibcxx_cv_func__isinff_use=yes
52484 glibcxx_cv_func__isinff_use=no
52486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52488 ac_cpp='$CPP $CPPFLAGS'
52489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
52498 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
52500 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
52501 for ac_func in _isinff
52503 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
52504 if test "x$ac_cv_func__isinff" = x""yes; then :
52505 cat >>confdefs.h <<_ACEOF
52506 #define HAVE__ISINFF 1
52519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
52520 $as_echo_n "checking for atan2f declaration... " >&6; }
52521 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
52522 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
52523 $as_echo_n "(cached) " >&6
52528 ac_cpp='$CXXCPP $CPPFLAGS'
52529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52534 /* end confdefs.h. */
52544 if ac_fn_cxx_try_compile "$LINENO"; then :
52545 glibcxx_cv_func_atan2f_use=yes
52547 glibcxx_cv_func_atan2f_use=no
52549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52551 ac_cpp='$CPP $CPPFLAGS'
52552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
52561 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
52563 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
52564 for ac_func in atan2f
52566 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
52567 if test "x$ac_cv_func_atan2f" = x""yes; then :
52568 cat >>confdefs.h <<_ACEOF
52569 #define HAVE_ATAN2F 1
52577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
52578 $as_echo_n "checking for _atan2f declaration... " >&6; }
52579 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
52580 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
52581 $as_echo_n "(cached) " >&6
52586 ac_cpp='$CXXCPP $CPPFLAGS'
52587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52592 /* end confdefs.h. */
52602 if ac_fn_cxx_try_compile "$LINENO"; then :
52603 glibcxx_cv_func__atan2f_use=yes
52605 glibcxx_cv_func__atan2f_use=no
52607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52609 ac_cpp='$CPP $CPPFLAGS'
52610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
52619 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
52621 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
52622 for ac_func in _atan2f
52624 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
52625 if test "x$ac_cv_func__atan2f" = x""yes; then :
52626 cat >>confdefs.h <<_ACEOF
52627 #define HAVE__ATAN2F 1
52640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
52641 $as_echo_n "checking for fabsf declaration... " >&6; }
52642 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
52643 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
52644 $as_echo_n "(cached) " >&6
52649 ac_cpp='$CXXCPP $CPPFLAGS'
52650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52655 /* end confdefs.h. */
52657 #ifdef HAVE_IEEEFP_H
52658 #include <ieeefp.h>
52669 if ac_fn_cxx_try_compile "$LINENO"; then :
52670 glibcxx_cv_func_fabsf_use=yes
52672 glibcxx_cv_func_fabsf_use=no
52674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52676 ac_cpp='$CPP $CPPFLAGS'
52677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
52686 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
52688 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
52689 for ac_func in fabsf
52691 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
52692 if test "x$ac_cv_func_fabsf" = x""yes; then :
52693 cat >>confdefs.h <<_ACEOF
52694 #define HAVE_FABSF 1
52702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
52703 $as_echo_n "checking for _fabsf declaration... " >&6; }
52704 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
52705 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
52706 $as_echo_n "(cached) " >&6
52711 ac_cpp='$CXXCPP $CPPFLAGS'
52712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52717 /* end confdefs.h. */
52719 #ifdef HAVE_IEEEFP_H
52720 #include <ieeefp.h>
52731 if ac_fn_cxx_try_compile "$LINENO"; then :
52732 glibcxx_cv_func__fabsf_use=yes
52734 glibcxx_cv_func__fabsf_use=no
52736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52738 ac_cpp='$CPP $CPPFLAGS'
52739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
52748 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
52750 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
52751 for ac_func in _fabsf
52753 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
52754 if test "x$ac_cv_func__fabsf" = x""yes; then :
52755 cat >>confdefs.h <<_ACEOF
52756 #define HAVE__FABSF 1
52769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
52770 $as_echo_n "checking for fmodf declaration... " >&6; }
52771 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
52772 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
52773 $as_echo_n "(cached) " >&6
52778 ac_cpp='$CXXCPP $CPPFLAGS'
52779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52784 /* end confdefs.h. */
52794 if ac_fn_cxx_try_compile "$LINENO"; then :
52795 glibcxx_cv_func_fmodf_use=yes
52797 glibcxx_cv_func_fmodf_use=no
52799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52801 ac_cpp='$CPP $CPPFLAGS'
52802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
52811 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
52813 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
52814 for ac_func in fmodf
52816 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
52817 if test "x$ac_cv_func_fmodf" = x""yes; then :
52818 cat >>confdefs.h <<_ACEOF
52819 #define HAVE_FMODF 1
52827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
52828 $as_echo_n "checking for _fmodf declaration... " >&6; }
52829 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
52830 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
52831 $as_echo_n "(cached) " >&6
52836 ac_cpp='$CXXCPP $CPPFLAGS'
52837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52842 /* end confdefs.h. */
52852 if ac_fn_cxx_try_compile "$LINENO"; then :
52853 glibcxx_cv_func__fmodf_use=yes
52855 glibcxx_cv_func__fmodf_use=no
52857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52859 ac_cpp='$CPP $CPPFLAGS'
52860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
52869 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
52871 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
52872 for ac_func in _fmodf
52874 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
52875 if test "x$ac_cv_func__fmodf" = x""yes; then :
52876 cat >>confdefs.h <<_ACEOF
52877 #define HAVE__FMODF 1
52890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
52891 $as_echo_n "checking for frexpf declaration... " >&6; }
52892 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
52893 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
52894 $as_echo_n "(cached) " >&6
52899 ac_cpp='$CXXCPP $CPPFLAGS'
52900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52905 /* end confdefs.h. */
52915 if ac_fn_cxx_try_compile "$LINENO"; then :
52916 glibcxx_cv_func_frexpf_use=yes
52918 glibcxx_cv_func_frexpf_use=no
52920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52922 ac_cpp='$CPP $CPPFLAGS'
52923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
52932 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
52934 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
52935 for ac_func in frexpf
52937 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
52938 if test "x$ac_cv_func_frexpf" = x""yes; then :
52939 cat >>confdefs.h <<_ACEOF
52940 #define HAVE_FREXPF 1
52948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
52949 $as_echo_n "checking for _frexpf declaration... " >&6; }
52950 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
52951 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
52952 $as_echo_n "(cached) " >&6
52957 ac_cpp='$CXXCPP $CPPFLAGS'
52958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52963 /* end confdefs.h. */
52973 if ac_fn_cxx_try_compile "$LINENO"; then :
52974 glibcxx_cv_func__frexpf_use=yes
52976 glibcxx_cv_func__frexpf_use=no
52978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52980 ac_cpp='$CPP $CPPFLAGS'
52981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
52990 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
52992 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
52993 for ac_func in _frexpf
52995 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
52996 if test "x$ac_cv_func__frexpf" = x""yes; then :
52997 cat >>confdefs.h <<_ACEOF
52998 #define HAVE__FREXPF 1
53011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53012 $as_echo_n "checking for hypotf declaration... " >&6; }
53013 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53014 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53015 $as_echo_n "(cached) " >&6
53020 ac_cpp='$CXXCPP $CPPFLAGS'
53021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53026 /* end confdefs.h. */
53036 if ac_fn_cxx_try_compile "$LINENO"; then :
53037 glibcxx_cv_func_hypotf_use=yes
53039 glibcxx_cv_func_hypotf_use=no
53041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53043 ac_cpp='$CPP $CPPFLAGS'
53044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53053 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53055 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53056 for ac_func in hypotf
53058 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53059 if test "x$ac_cv_func_hypotf" = x""yes; then :
53060 cat >>confdefs.h <<_ACEOF
53061 #define HAVE_HYPOTF 1
53069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53070 $as_echo_n "checking for _hypotf declaration... " >&6; }
53071 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53072 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53073 $as_echo_n "(cached) " >&6
53078 ac_cpp='$CXXCPP $CPPFLAGS'
53079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53084 /* end confdefs.h. */
53094 if ac_fn_cxx_try_compile "$LINENO"; then :
53095 glibcxx_cv_func__hypotf_use=yes
53097 glibcxx_cv_func__hypotf_use=no
53099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53101 ac_cpp='$CPP $CPPFLAGS'
53102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
53111 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
53113 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
53114 for ac_func in _hypotf
53116 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
53117 if test "x$ac_cv_func__hypotf" = x""yes; then :
53118 cat >>confdefs.h <<_ACEOF
53119 #define HAVE__HYPOTF 1
53132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
53133 $as_echo_n "checking for ldexpf declaration... " >&6; }
53134 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
53135 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
53136 $as_echo_n "(cached) " >&6
53141 ac_cpp='$CXXCPP $CPPFLAGS'
53142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53147 /* end confdefs.h. */
53157 if ac_fn_cxx_try_compile "$LINENO"; then :
53158 glibcxx_cv_func_ldexpf_use=yes
53160 glibcxx_cv_func_ldexpf_use=no
53162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53164 ac_cpp='$CPP $CPPFLAGS'
53165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
53174 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
53176 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
53177 for ac_func in ldexpf
53179 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
53180 if test "x$ac_cv_func_ldexpf" = x""yes; then :
53181 cat >>confdefs.h <<_ACEOF
53182 #define HAVE_LDEXPF 1
53190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
53191 $as_echo_n "checking for _ldexpf declaration... " >&6; }
53192 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
53193 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
53194 $as_echo_n "(cached) " >&6
53199 ac_cpp='$CXXCPP $CPPFLAGS'
53200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53205 /* end confdefs.h. */
53215 if ac_fn_cxx_try_compile "$LINENO"; then :
53216 glibcxx_cv_func__ldexpf_use=yes
53218 glibcxx_cv_func__ldexpf_use=no
53220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53222 ac_cpp='$CPP $CPPFLAGS'
53223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
53232 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
53234 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
53235 for ac_func in _ldexpf
53237 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
53238 if test "x$ac_cv_func__ldexpf" = x""yes; then :
53239 cat >>confdefs.h <<_ACEOF
53240 #define HAVE__LDEXPF 1
53253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
53254 $as_echo_n "checking for logf declaration... " >&6; }
53255 if test x${glibcxx_cv_func_logf_use+set} != xset; then
53256 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
53257 $as_echo_n "(cached) " >&6
53262 ac_cpp='$CXXCPP $CPPFLAGS'
53263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53268 /* end confdefs.h. */
53270 #ifdef HAVE_IEEEFP_H
53271 #include <ieeefp.h>
53282 if ac_fn_cxx_try_compile "$LINENO"; then :
53283 glibcxx_cv_func_logf_use=yes
53285 glibcxx_cv_func_logf_use=no
53287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53289 ac_cpp='$CPP $CPPFLAGS'
53290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
53299 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
53301 if test x$glibcxx_cv_func_logf_use = x"yes"; then
53302 for ac_func in logf
53304 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
53305 if test "x$ac_cv_func_logf" = x""yes; then :
53306 cat >>confdefs.h <<_ACEOF
53307 #define HAVE_LOGF 1
53315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
53316 $as_echo_n "checking for _logf declaration... " >&6; }
53317 if test x${glibcxx_cv_func__logf_use+set} != xset; then
53318 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
53319 $as_echo_n "(cached) " >&6
53324 ac_cpp='$CXXCPP $CPPFLAGS'
53325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53330 /* end confdefs.h. */
53332 #ifdef HAVE_IEEEFP_H
53333 #include <ieeefp.h>
53344 if ac_fn_cxx_try_compile "$LINENO"; then :
53345 glibcxx_cv_func__logf_use=yes
53347 glibcxx_cv_func__logf_use=no
53349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53351 ac_cpp='$CPP $CPPFLAGS'
53352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
53361 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
53363 if test x$glibcxx_cv_func__logf_use = x"yes"; then
53364 for ac_func in _logf
53366 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
53367 if test "x$ac_cv_func__logf" = x""yes; then :
53368 cat >>confdefs.h <<_ACEOF
53369 #define HAVE__LOGF 1
53382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
53383 $as_echo_n "checking for log10f declaration... " >&6; }
53384 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
53385 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
53386 $as_echo_n "(cached) " >&6
53391 ac_cpp='$CXXCPP $CPPFLAGS'
53392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53397 /* end confdefs.h. */
53399 #ifdef HAVE_IEEEFP_H
53400 #include <ieeefp.h>
53411 if ac_fn_cxx_try_compile "$LINENO"; then :
53412 glibcxx_cv_func_log10f_use=yes
53414 glibcxx_cv_func_log10f_use=no
53416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53418 ac_cpp='$CPP $CPPFLAGS'
53419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
53428 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
53430 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
53431 for ac_func in log10f
53433 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
53434 if test "x$ac_cv_func_log10f" = x""yes; then :
53435 cat >>confdefs.h <<_ACEOF
53436 #define HAVE_LOG10F 1
53444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
53445 $as_echo_n "checking for _log10f declaration... " >&6; }
53446 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
53447 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
53448 $as_echo_n "(cached) " >&6
53453 ac_cpp='$CXXCPP $CPPFLAGS'
53454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53459 /* end confdefs.h. */
53461 #ifdef HAVE_IEEEFP_H
53462 #include <ieeefp.h>
53473 if ac_fn_cxx_try_compile "$LINENO"; then :
53474 glibcxx_cv_func__log10f_use=yes
53476 glibcxx_cv_func__log10f_use=no
53478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53480 ac_cpp='$CPP $CPPFLAGS'
53481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
53490 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
53492 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
53493 for ac_func in _log10f
53495 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
53496 if test "x$ac_cv_func__log10f" = x""yes; then :
53497 cat >>confdefs.h <<_ACEOF
53498 #define HAVE__LOG10F 1
53511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
53512 $as_echo_n "checking for modff declaration... " >&6; }
53513 if test x${glibcxx_cv_func_modff_use+set} != xset; then
53514 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
53515 $as_echo_n "(cached) " >&6
53520 ac_cpp='$CXXCPP $CPPFLAGS'
53521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53526 /* end confdefs.h. */
53536 if ac_fn_cxx_try_compile "$LINENO"; then :
53537 glibcxx_cv_func_modff_use=yes
53539 glibcxx_cv_func_modff_use=no
53541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53543 ac_cpp='$CPP $CPPFLAGS'
53544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
53553 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
53555 if test x$glibcxx_cv_func_modff_use = x"yes"; then
53556 for ac_func in modff
53558 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
53559 if test "x$ac_cv_func_modff" = x""yes; then :
53560 cat >>confdefs.h <<_ACEOF
53561 #define HAVE_MODFF 1
53569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
53570 $as_echo_n "checking for _modff declaration... " >&6; }
53571 if test x${glibcxx_cv_func__modff_use+set} != xset; then
53572 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
53573 $as_echo_n "(cached) " >&6
53578 ac_cpp='$CXXCPP $CPPFLAGS'
53579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53584 /* end confdefs.h. */
53594 if ac_fn_cxx_try_compile "$LINENO"; then :
53595 glibcxx_cv_func__modff_use=yes
53597 glibcxx_cv_func__modff_use=no
53599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53601 ac_cpp='$CPP $CPPFLAGS'
53602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
53611 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
53613 if test x$glibcxx_cv_func__modff_use = x"yes"; then
53614 for ac_func in _modff
53616 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
53617 if test "x$ac_cv_func__modff" = x""yes; then :
53618 cat >>confdefs.h <<_ACEOF
53619 #define HAVE__MODFF 1
53632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
53633 $as_echo_n "checking for modf declaration... " >&6; }
53634 if test x${glibcxx_cv_func_modf_use+set} != xset; then
53635 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
53636 $as_echo_n "(cached) " >&6
53641 ac_cpp='$CXXCPP $CPPFLAGS'
53642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53647 /* end confdefs.h. */
53657 if ac_fn_cxx_try_compile "$LINENO"; then :
53658 glibcxx_cv_func_modf_use=yes
53660 glibcxx_cv_func_modf_use=no
53662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53664 ac_cpp='$CPP $CPPFLAGS'
53665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
53674 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
53676 if test x$glibcxx_cv_func_modf_use = x"yes"; then
53677 for ac_func in modf
53679 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
53680 if test "x$ac_cv_func_modf" = x""yes; then :
53681 cat >>confdefs.h <<_ACEOF
53682 #define HAVE_MODF 1
53690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
53691 $as_echo_n "checking for _modf declaration... " >&6; }
53692 if test x${glibcxx_cv_func__modf_use+set} != xset; then
53693 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
53694 $as_echo_n "(cached) " >&6
53699 ac_cpp='$CXXCPP $CPPFLAGS'
53700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53705 /* end confdefs.h. */
53715 if ac_fn_cxx_try_compile "$LINENO"; then :
53716 glibcxx_cv_func__modf_use=yes
53718 glibcxx_cv_func__modf_use=no
53720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53722 ac_cpp='$CPP $CPPFLAGS'
53723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
53732 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
53734 if test x$glibcxx_cv_func__modf_use = x"yes"; then
53735 for ac_func in _modf
53737 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
53738 if test "x$ac_cv_func__modf" = x""yes; then :
53739 cat >>confdefs.h <<_ACEOF
53740 #define HAVE__MODF 1
53753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
53754 $as_echo_n "checking for powf declaration... " >&6; }
53755 if test x${glibcxx_cv_func_powf_use+set} != xset; then
53756 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
53757 $as_echo_n "(cached) " >&6
53762 ac_cpp='$CXXCPP $CPPFLAGS'
53763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53768 /* end confdefs.h. */
53778 if ac_fn_cxx_try_compile "$LINENO"; then :
53779 glibcxx_cv_func_powf_use=yes
53781 glibcxx_cv_func_powf_use=no
53783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53785 ac_cpp='$CPP $CPPFLAGS'
53786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
53795 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
53797 if test x$glibcxx_cv_func_powf_use = x"yes"; then
53798 for ac_func in powf
53800 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
53801 if test "x$ac_cv_func_powf" = x""yes; then :
53802 cat >>confdefs.h <<_ACEOF
53803 #define HAVE_POWF 1
53811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
53812 $as_echo_n "checking for _powf declaration... " >&6; }
53813 if test x${glibcxx_cv_func__powf_use+set} != xset; then
53814 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
53815 $as_echo_n "(cached) " >&6
53820 ac_cpp='$CXXCPP $CPPFLAGS'
53821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53826 /* end confdefs.h. */
53836 if ac_fn_cxx_try_compile "$LINENO"; then :
53837 glibcxx_cv_func__powf_use=yes
53839 glibcxx_cv_func__powf_use=no
53841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53843 ac_cpp='$CPP $CPPFLAGS'
53844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
53853 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
53855 if test x$glibcxx_cv_func__powf_use = x"yes"; then
53856 for ac_func in _powf
53858 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
53859 if test "x$ac_cv_func__powf" = x""yes; then :
53860 cat >>confdefs.h <<_ACEOF
53861 #define HAVE__POWF 1
53874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
53875 $as_echo_n "checking for sqrtf declaration... " >&6; }
53876 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
53877 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
53878 $as_echo_n "(cached) " >&6
53883 ac_cpp='$CXXCPP $CPPFLAGS'
53884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53889 /* end confdefs.h. */
53891 #ifdef HAVE_IEEEFP_H
53892 #include <ieeefp.h>
53903 if ac_fn_cxx_try_compile "$LINENO"; then :
53904 glibcxx_cv_func_sqrtf_use=yes
53906 glibcxx_cv_func_sqrtf_use=no
53908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53910 ac_cpp='$CPP $CPPFLAGS'
53911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
53920 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
53922 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
53923 for ac_func in sqrtf
53925 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
53926 if test "x$ac_cv_func_sqrtf" = x""yes; then :
53927 cat >>confdefs.h <<_ACEOF
53928 #define HAVE_SQRTF 1
53936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
53937 $as_echo_n "checking for _sqrtf declaration... " >&6; }
53938 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
53939 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
53940 $as_echo_n "(cached) " >&6
53945 ac_cpp='$CXXCPP $CPPFLAGS'
53946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53951 /* end confdefs.h. */
53953 #ifdef HAVE_IEEEFP_H
53954 #include <ieeefp.h>
53965 if ac_fn_cxx_try_compile "$LINENO"; then :
53966 glibcxx_cv_func__sqrtf_use=yes
53968 glibcxx_cv_func__sqrtf_use=no
53970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53972 ac_cpp='$CPP $CPPFLAGS'
53973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
53982 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
53984 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
53985 for ac_func in _sqrtf
53987 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
53988 if test "x$ac_cv_func__sqrtf" = x""yes; then :
53989 cat >>confdefs.h <<_ACEOF
53990 #define HAVE__SQRTF 1
54003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54004 $as_echo_n "checking for sincosf declaration... " >&6; }
54005 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54006 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54007 $as_echo_n "(cached) " >&6
54012 ac_cpp='$CXXCPP $CPPFLAGS'
54013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54018 /* end confdefs.h. */
54028 if ac_fn_cxx_try_compile "$LINENO"; then :
54029 glibcxx_cv_func_sincosf_use=yes
54031 glibcxx_cv_func_sincosf_use=no
54033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54035 ac_cpp='$CPP $CPPFLAGS'
54036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54045 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54047 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54048 for ac_func in sincosf
54050 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54051 if test "x$ac_cv_func_sincosf" = x""yes; then :
54052 cat >>confdefs.h <<_ACEOF
54053 #define HAVE_SINCOSF 1
54061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54062 $as_echo_n "checking for _sincosf declaration... " >&6; }
54063 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54064 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54065 $as_echo_n "(cached) " >&6
54070 ac_cpp='$CXXCPP $CPPFLAGS'
54071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54076 /* end confdefs.h. */
54086 if ac_fn_cxx_try_compile "$LINENO"; then :
54087 glibcxx_cv_func__sincosf_use=yes
54089 glibcxx_cv_func__sincosf_use=no
54091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54093 ac_cpp='$CPP $CPPFLAGS'
54094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54103 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54105 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54106 for ac_func in _sincosf
54108 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
54109 if test "x$ac_cv_func__sincosf" = x""yes; then :
54110 cat >>confdefs.h <<_ACEOF
54111 #define HAVE__SINCOSF 1
54124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54125 $as_echo_n "checking for finitef declaration... " >&6; }
54126 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54127 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54128 $as_echo_n "(cached) " >&6
54133 ac_cpp='$CXXCPP $CPPFLAGS'
54134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54139 /* end confdefs.h. */
54141 #ifdef HAVE_IEEEFP_H
54142 #include <ieeefp.h>
54153 if ac_fn_cxx_try_compile "$LINENO"; then :
54154 glibcxx_cv_func_finitef_use=yes
54156 glibcxx_cv_func_finitef_use=no
54158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54160 ac_cpp='$CPP $CPPFLAGS'
54161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
54170 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
54172 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
54173 for ac_func in finitef
54175 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
54176 if test "x$ac_cv_func_finitef" = x""yes; then :
54177 cat >>confdefs.h <<_ACEOF
54178 #define HAVE_FINITEF 1
54186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
54187 $as_echo_n "checking for _finitef declaration... " >&6; }
54188 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
54189 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
54190 $as_echo_n "(cached) " >&6
54195 ac_cpp='$CXXCPP $CPPFLAGS'
54196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54201 /* end confdefs.h. */
54203 #ifdef HAVE_IEEEFP_H
54204 #include <ieeefp.h>
54215 if ac_fn_cxx_try_compile "$LINENO"; then :
54216 glibcxx_cv_func__finitef_use=yes
54218 glibcxx_cv_func__finitef_use=no
54220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54222 ac_cpp='$CPP $CPPFLAGS'
54223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
54232 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
54234 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
54235 for ac_func in _finitef
54237 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
54238 if test "x$ac_cv_func__finitef" = x""yes; then :
54239 cat >>confdefs.h <<_ACEOF
54240 #define HAVE__FINITEF 1
54253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
54254 $as_echo_n "checking for long double trig functions... " >&6; }
54255 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
54256 $as_echo_n "(cached) " >&6
54261 ac_cpp='$CXXCPP $CPPFLAGS'
54262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54267 /* end confdefs.h. */
54272 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
54277 if ac_fn_cxx_try_compile "$LINENO"; then :
54278 glibcxx_cv_func_long_double_trig_use=yes
54280 glibcxx_cv_func_long_double_trig_use=no
54282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54284 ac_cpp='$CPP $CPPFLAGS'
54285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
54292 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
54293 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
54294 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
54296 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54297 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54298 eval as_val=\$$as_ac_var
54299 if test "x$as_val" = x""yes; then :
54300 cat >>confdefs.h <<_ACEOF
54301 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
54309 $as_echo_n "checking for _long double trig functions... " >&6; }
54310 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
54311 $as_echo_n "(cached) " >&6
54316 ac_cpp='$CXXCPP $CPPFLAGS'
54317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54322 /* end confdefs.h. */
54327 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
54332 if ac_fn_cxx_try_compile "$LINENO"; then :
54333 glibcxx_cv_func__long_double_trig_use=yes
54335 glibcxx_cv_func__long_double_trig_use=no
54337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54339 ac_cpp='$CPP $CPPFLAGS'
54340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
54347 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
54348 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
54349 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
54351 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54352 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54353 eval as_val=\$$as_ac_var
54354 if test "x$as_val" = x""yes; then :
54355 cat >>confdefs.h <<_ACEOF
54356 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
54370 $as_echo_n "checking for long double round functions... " >&6; }
54371 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
54372 $as_echo_n "(cached) " >&6
54377 ac_cpp='$CXXCPP $CPPFLAGS'
54378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54383 /* end confdefs.h. */
54388 ceill (0); floorl (0);
54393 if ac_fn_cxx_try_compile "$LINENO"; then :
54394 glibcxx_cv_func_long_double_round_use=yes
54396 glibcxx_cv_func_long_double_round_use=no
54398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54400 ac_cpp='$CPP $CPPFLAGS'
54401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
54408 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
54409 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
54410 for ac_func in ceill floorl
54412 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54413 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54414 eval as_val=\$$as_ac_var
54415 if test "x$as_val" = x""yes; then :
54416 cat >>confdefs.h <<_ACEOF
54417 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
54425 $as_echo_n "checking for _long double round functions... " >&6; }
54426 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
54427 $as_echo_n "(cached) " >&6
54432 ac_cpp='$CXXCPP $CPPFLAGS'
54433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54438 /* end confdefs.h. */
54443 _ceill (0); _floorl (0);
54448 if ac_fn_cxx_try_compile "$LINENO"; then :
54449 glibcxx_cv_func__long_double_round_use=yes
54451 glibcxx_cv_func__long_double_round_use=no
54453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54455 ac_cpp='$CPP $CPPFLAGS'
54456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
54463 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
54464 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54465 for ac_func in _ceill _floorl
54467 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54468 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54469 eval as_val=\$$as_ac_var
54470 if test "x$as_val" = x""yes; then :
54471 cat >>confdefs.h <<_ACEOF
54472 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
54487 $as_echo_n "checking for isnanl declaration... " >&6; }
54488 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54489 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
54490 $as_echo_n "(cached) " >&6
54495 ac_cpp='$CXXCPP $CPPFLAGS'
54496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54501 /* end confdefs.h. */
54503 #ifdef HAVE_IEEEFP_H
54504 #include <ieeefp.h>
54515 if ac_fn_cxx_try_compile "$LINENO"; then :
54516 glibcxx_cv_func_isnanl_use=yes
54518 glibcxx_cv_func_isnanl_use=no
54520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54522 ac_cpp='$CPP $CPPFLAGS'
54523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
54532 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
54534 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54535 for ac_func in isnanl
54537 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
54538 if test "x$ac_cv_func_isnanl" = x""yes; then :
54539 cat >>confdefs.h <<_ACEOF
54540 #define HAVE_ISNANL 1
54548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
54549 $as_echo_n "checking for _isnanl declaration... " >&6; }
54550 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54551 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
54552 $as_echo_n "(cached) " >&6
54557 ac_cpp='$CXXCPP $CPPFLAGS'
54558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54563 /* end confdefs.h. */
54565 #ifdef HAVE_IEEEFP_H
54566 #include <ieeefp.h>
54577 if ac_fn_cxx_try_compile "$LINENO"; then :
54578 glibcxx_cv_func__isnanl_use=yes
54580 glibcxx_cv_func__isnanl_use=no
54582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54584 ac_cpp='$CPP $CPPFLAGS'
54585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
54594 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
54596 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54597 for ac_func in _isnanl
54599 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
54600 if test "x$ac_cv_func__isnanl" = x""yes; then :
54601 cat >>confdefs.h <<_ACEOF
54602 #define HAVE__ISNANL 1
54615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
54616 $as_echo_n "checking for isinfl declaration... " >&6; }
54617 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54618 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
54619 $as_echo_n "(cached) " >&6
54624 ac_cpp='$CXXCPP $CPPFLAGS'
54625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54630 /* end confdefs.h. */
54632 #ifdef HAVE_IEEEFP_H
54633 #include <ieeefp.h>
54644 if ac_fn_cxx_try_compile "$LINENO"; then :
54645 glibcxx_cv_func_isinfl_use=yes
54647 glibcxx_cv_func_isinfl_use=no
54649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54651 ac_cpp='$CPP $CPPFLAGS'
54652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
54661 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
54663 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54664 for ac_func in isinfl
54666 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
54667 if test "x$ac_cv_func_isinfl" = x""yes; then :
54668 cat >>confdefs.h <<_ACEOF
54669 #define HAVE_ISINFL 1
54677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
54678 $as_echo_n "checking for _isinfl declaration... " >&6; }
54679 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
54680 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
54681 $as_echo_n "(cached) " >&6
54686 ac_cpp='$CXXCPP $CPPFLAGS'
54687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54692 /* end confdefs.h. */
54694 #ifdef HAVE_IEEEFP_H
54695 #include <ieeefp.h>
54706 if ac_fn_cxx_try_compile "$LINENO"; then :
54707 glibcxx_cv_func__isinfl_use=yes
54709 glibcxx_cv_func__isinfl_use=no
54711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54713 ac_cpp='$CPP $CPPFLAGS'
54714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
54723 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
54725 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
54726 for ac_func in _isinfl
54728 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
54729 if test "x$ac_cv_func__isinfl" = x""yes; then :
54730 cat >>confdefs.h <<_ACEOF
54731 #define HAVE__ISINFL 1
54744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
54745 $as_echo_n "checking for atan2l declaration... " >&6; }
54746 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
54747 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
54748 $as_echo_n "(cached) " >&6
54753 ac_cpp='$CXXCPP $CPPFLAGS'
54754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54759 /* end confdefs.h. */
54769 if ac_fn_cxx_try_compile "$LINENO"; then :
54770 glibcxx_cv_func_atan2l_use=yes
54772 glibcxx_cv_func_atan2l_use=no
54774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54776 ac_cpp='$CPP $CPPFLAGS'
54777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
54786 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
54788 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
54789 for ac_func in atan2l
54791 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
54792 if test "x$ac_cv_func_atan2l" = x""yes; then :
54793 cat >>confdefs.h <<_ACEOF
54794 #define HAVE_ATAN2L 1
54802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
54803 $as_echo_n "checking for _atan2l declaration... " >&6; }
54804 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
54805 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
54806 $as_echo_n "(cached) " >&6
54811 ac_cpp='$CXXCPP $CPPFLAGS'
54812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54817 /* end confdefs.h. */
54827 if ac_fn_cxx_try_compile "$LINENO"; then :
54828 glibcxx_cv_func__atan2l_use=yes
54830 glibcxx_cv_func__atan2l_use=no
54832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54834 ac_cpp='$CPP $CPPFLAGS'
54835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
54844 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
54846 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
54847 for ac_func in _atan2l
54849 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
54850 if test "x$ac_cv_func__atan2l" = x""yes; then :
54851 cat >>confdefs.h <<_ACEOF
54852 #define HAVE__ATAN2L 1
54865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
54866 $as_echo_n "checking for expl declaration... " >&6; }
54867 if test x${glibcxx_cv_func_expl_use+set} != xset; then
54868 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
54869 $as_echo_n "(cached) " >&6
54874 ac_cpp='$CXXCPP $CPPFLAGS'
54875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54880 /* end confdefs.h. */
54882 #ifdef HAVE_IEEEFP_H
54883 #include <ieeefp.h>
54894 if ac_fn_cxx_try_compile "$LINENO"; then :
54895 glibcxx_cv_func_expl_use=yes
54897 glibcxx_cv_func_expl_use=no
54899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54901 ac_cpp='$CPP $CPPFLAGS'
54902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
54911 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
54913 if test x$glibcxx_cv_func_expl_use = x"yes"; then
54914 for ac_func in expl
54916 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
54917 if test "x$ac_cv_func_expl" = x""yes; then :
54918 cat >>confdefs.h <<_ACEOF
54919 #define HAVE_EXPL 1
54927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
54928 $as_echo_n "checking for _expl declaration... " >&6; }
54929 if test x${glibcxx_cv_func__expl_use+set} != xset; then
54930 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
54931 $as_echo_n "(cached) " >&6
54936 ac_cpp='$CXXCPP $CPPFLAGS'
54937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54942 /* end confdefs.h. */
54944 #ifdef HAVE_IEEEFP_H
54945 #include <ieeefp.h>
54956 if ac_fn_cxx_try_compile "$LINENO"; then :
54957 glibcxx_cv_func__expl_use=yes
54959 glibcxx_cv_func__expl_use=no
54961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54963 ac_cpp='$CPP $CPPFLAGS'
54964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
54973 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
54975 if test x$glibcxx_cv_func__expl_use = x"yes"; then
54976 for ac_func in _expl
54978 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
54979 if test "x$ac_cv_func__expl" = x""yes; then :
54980 cat >>confdefs.h <<_ACEOF
54981 #define HAVE__EXPL 1
54994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
54995 $as_echo_n "checking for fabsl declaration... " >&6; }
54996 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
54997 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
54998 $as_echo_n "(cached) " >&6
55003 ac_cpp='$CXXCPP $CPPFLAGS'
55004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55009 /* end confdefs.h. */
55011 #ifdef HAVE_IEEEFP_H
55012 #include <ieeefp.h>
55023 if ac_fn_cxx_try_compile "$LINENO"; then :
55024 glibcxx_cv_func_fabsl_use=yes
55026 glibcxx_cv_func_fabsl_use=no
55028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55030 ac_cpp='$CPP $CPPFLAGS'
55031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55040 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55042 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55043 for ac_func in fabsl
55045 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55046 if test "x$ac_cv_func_fabsl" = x""yes; then :
55047 cat >>confdefs.h <<_ACEOF
55048 #define HAVE_FABSL 1
55056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55057 $as_echo_n "checking for _fabsl declaration... " >&6; }
55058 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55059 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55060 $as_echo_n "(cached) " >&6
55065 ac_cpp='$CXXCPP $CPPFLAGS'
55066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55071 /* end confdefs.h. */
55073 #ifdef HAVE_IEEEFP_H
55074 #include <ieeefp.h>
55085 if ac_fn_cxx_try_compile "$LINENO"; then :
55086 glibcxx_cv_func__fabsl_use=yes
55088 glibcxx_cv_func__fabsl_use=no
55090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55092 ac_cpp='$CPP $CPPFLAGS'
55093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55102 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55104 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55105 for ac_func in _fabsl
55107 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55108 if test "x$ac_cv_func__fabsl" = x""yes; then :
55109 cat >>confdefs.h <<_ACEOF
55110 #define HAVE__FABSL 1
55123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55124 $as_echo_n "checking for fmodl declaration... " >&6; }
55125 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55126 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55127 $as_echo_n "(cached) " >&6
55132 ac_cpp='$CXXCPP $CPPFLAGS'
55133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55138 /* end confdefs.h. */
55148 if ac_fn_cxx_try_compile "$LINENO"; then :
55149 glibcxx_cv_func_fmodl_use=yes
55151 glibcxx_cv_func_fmodl_use=no
55153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55155 ac_cpp='$CPP $CPPFLAGS'
55156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
55165 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
55167 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
55168 for ac_func in fmodl
55170 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
55171 if test "x$ac_cv_func_fmodl" = x""yes; then :
55172 cat >>confdefs.h <<_ACEOF
55173 #define HAVE_FMODL 1
55181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
55182 $as_echo_n "checking for _fmodl declaration... " >&6; }
55183 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55184 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
55185 $as_echo_n "(cached) " >&6
55190 ac_cpp='$CXXCPP $CPPFLAGS'
55191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55196 /* end confdefs.h. */
55206 if ac_fn_cxx_try_compile "$LINENO"; then :
55207 glibcxx_cv_func__fmodl_use=yes
55209 glibcxx_cv_func__fmodl_use=no
55211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55213 ac_cpp='$CPP $CPPFLAGS'
55214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
55223 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
55225 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
55226 for ac_func in _fmodl
55228 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
55229 if test "x$ac_cv_func__fmodl" = x""yes; then :
55230 cat >>confdefs.h <<_ACEOF
55231 #define HAVE__FMODL 1
55244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
55245 $as_echo_n "checking for frexpl declaration... " >&6; }
55246 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55247 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
55248 $as_echo_n "(cached) " >&6
55253 ac_cpp='$CXXCPP $CPPFLAGS'
55254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55259 /* end confdefs.h. */
55269 if ac_fn_cxx_try_compile "$LINENO"; then :
55270 glibcxx_cv_func_frexpl_use=yes
55272 glibcxx_cv_func_frexpl_use=no
55274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55276 ac_cpp='$CPP $CPPFLAGS'
55277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
55286 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
55288 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
55289 for ac_func in frexpl
55291 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
55292 if test "x$ac_cv_func_frexpl" = x""yes; then :
55293 cat >>confdefs.h <<_ACEOF
55294 #define HAVE_FREXPL 1
55302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
55303 $as_echo_n "checking for _frexpl declaration... " >&6; }
55304 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
55305 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
55306 $as_echo_n "(cached) " >&6
55311 ac_cpp='$CXXCPP $CPPFLAGS'
55312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55317 /* end confdefs.h. */
55327 if ac_fn_cxx_try_compile "$LINENO"; then :
55328 glibcxx_cv_func__frexpl_use=yes
55330 glibcxx_cv_func__frexpl_use=no
55332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55334 ac_cpp='$CPP $CPPFLAGS'
55335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
55344 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
55346 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
55347 for ac_func in _frexpl
55349 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
55350 if test "x$ac_cv_func__frexpl" = x""yes; then :
55351 cat >>confdefs.h <<_ACEOF
55352 #define HAVE__FREXPL 1
55365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
55366 $as_echo_n "checking for hypotl declaration... " >&6; }
55367 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
55368 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
55369 $as_echo_n "(cached) " >&6
55374 ac_cpp='$CXXCPP $CPPFLAGS'
55375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55380 /* end confdefs.h. */
55390 if ac_fn_cxx_try_compile "$LINENO"; then :
55391 glibcxx_cv_func_hypotl_use=yes
55393 glibcxx_cv_func_hypotl_use=no
55395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55397 ac_cpp='$CPP $CPPFLAGS'
55398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
55407 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
55409 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
55410 for ac_func in hypotl
55412 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
55413 if test "x$ac_cv_func_hypotl" = x""yes; then :
55414 cat >>confdefs.h <<_ACEOF
55415 #define HAVE_HYPOTL 1
55423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
55424 $as_echo_n "checking for _hypotl declaration... " >&6; }
55425 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
55426 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
55427 $as_echo_n "(cached) " >&6
55432 ac_cpp='$CXXCPP $CPPFLAGS'
55433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55438 /* end confdefs.h. */
55448 if ac_fn_cxx_try_compile "$LINENO"; then :
55449 glibcxx_cv_func__hypotl_use=yes
55451 glibcxx_cv_func__hypotl_use=no
55453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55455 ac_cpp='$CPP $CPPFLAGS'
55456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
55465 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
55467 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
55468 for ac_func in _hypotl
55470 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
55471 if test "x$ac_cv_func__hypotl" = x""yes; then :
55472 cat >>confdefs.h <<_ACEOF
55473 #define HAVE__HYPOTL 1
55486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
55487 $as_echo_n "checking for ldexpl declaration... " >&6; }
55488 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
55489 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
55490 $as_echo_n "(cached) " >&6
55495 ac_cpp='$CXXCPP $CPPFLAGS'
55496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55501 /* end confdefs.h. */
55511 if ac_fn_cxx_try_compile "$LINENO"; then :
55512 glibcxx_cv_func_ldexpl_use=yes
55514 glibcxx_cv_func_ldexpl_use=no
55516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55518 ac_cpp='$CPP $CPPFLAGS'
55519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
55528 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
55530 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
55531 for ac_func in ldexpl
55533 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
55534 if test "x$ac_cv_func_ldexpl" = x""yes; then :
55535 cat >>confdefs.h <<_ACEOF
55536 #define HAVE_LDEXPL 1
55544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
55545 $as_echo_n "checking for _ldexpl declaration... " >&6; }
55546 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
55547 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
55548 $as_echo_n "(cached) " >&6
55553 ac_cpp='$CXXCPP $CPPFLAGS'
55554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55559 /* end confdefs.h. */
55569 if ac_fn_cxx_try_compile "$LINENO"; then :
55570 glibcxx_cv_func__ldexpl_use=yes
55572 glibcxx_cv_func__ldexpl_use=no
55574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55576 ac_cpp='$CPP $CPPFLAGS'
55577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
55586 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
55588 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
55589 for ac_func in _ldexpl
55591 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
55592 if test "x$ac_cv_func__ldexpl" = x""yes; then :
55593 cat >>confdefs.h <<_ACEOF
55594 #define HAVE__LDEXPL 1
55607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
55608 $as_echo_n "checking for logl declaration... " >&6; }
55609 if test x${glibcxx_cv_func_logl_use+set} != xset; then
55610 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
55611 $as_echo_n "(cached) " >&6
55616 ac_cpp='$CXXCPP $CPPFLAGS'
55617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55622 /* end confdefs.h. */
55624 #ifdef HAVE_IEEEFP_H
55625 #include <ieeefp.h>
55636 if ac_fn_cxx_try_compile "$LINENO"; then :
55637 glibcxx_cv_func_logl_use=yes
55639 glibcxx_cv_func_logl_use=no
55641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55643 ac_cpp='$CPP $CPPFLAGS'
55644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
55653 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
55655 if test x$glibcxx_cv_func_logl_use = x"yes"; then
55656 for ac_func in logl
55658 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
55659 if test "x$ac_cv_func_logl" = x""yes; then :
55660 cat >>confdefs.h <<_ACEOF
55661 #define HAVE_LOGL 1
55669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
55670 $as_echo_n "checking for _logl declaration... " >&6; }
55671 if test x${glibcxx_cv_func__logl_use+set} != xset; then
55672 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
55673 $as_echo_n "(cached) " >&6
55678 ac_cpp='$CXXCPP $CPPFLAGS'
55679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55684 /* end confdefs.h. */
55686 #ifdef HAVE_IEEEFP_H
55687 #include <ieeefp.h>
55698 if ac_fn_cxx_try_compile "$LINENO"; then :
55699 glibcxx_cv_func__logl_use=yes
55701 glibcxx_cv_func__logl_use=no
55703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55705 ac_cpp='$CPP $CPPFLAGS'
55706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
55715 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
55717 if test x$glibcxx_cv_func__logl_use = x"yes"; then
55718 for ac_func in _logl
55720 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
55721 if test "x$ac_cv_func__logl" = x""yes; then :
55722 cat >>confdefs.h <<_ACEOF
55723 #define HAVE__LOGL 1
55736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
55737 $as_echo_n "checking for log10l declaration... " >&6; }
55738 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
55739 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
55740 $as_echo_n "(cached) " >&6
55745 ac_cpp='$CXXCPP $CPPFLAGS'
55746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55751 /* end confdefs.h. */
55753 #ifdef HAVE_IEEEFP_H
55754 #include <ieeefp.h>
55765 if ac_fn_cxx_try_compile "$LINENO"; then :
55766 glibcxx_cv_func_log10l_use=yes
55768 glibcxx_cv_func_log10l_use=no
55770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55772 ac_cpp='$CPP $CPPFLAGS'
55773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
55782 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
55784 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
55785 for ac_func in log10l
55787 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
55788 if test "x$ac_cv_func_log10l" = x""yes; then :
55789 cat >>confdefs.h <<_ACEOF
55790 #define HAVE_LOG10L 1
55798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
55799 $as_echo_n "checking for _log10l declaration... " >&6; }
55800 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
55801 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
55802 $as_echo_n "(cached) " >&6
55807 ac_cpp='$CXXCPP $CPPFLAGS'
55808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55813 /* end confdefs.h. */
55815 #ifdef HAVE_IEEEFP_H
55816 #include <ieeefp.h>
55827 if ac_fn_cxx_try_compile "$LINENO"; then :
55828 glibcxx_cv_func__log10l_use=yes
55830 glibcxx_cv_func__log10l_use=no
55832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55834 ac_cpp='$CPP $CPPFLAGS'
55835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
55844 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
55846 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
55847 for ac_func in _log10l
55849 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
55850 if test "x$ac_cv_func__log10l" = x""yes; then :
55851 cat >>confdefs.h <<_ACEOF
55852 #define HAVE__LOG10L 1
55865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
55866 $as_echo_n "checking for modfl declaration... " >&6; }
55867 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
55868 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
55869 $as_echo_n "(cached) " >&6
55874 ac_cpp='$CXXCPP $CPPFLAGS'
55875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55880 /* end confdefs.h. */
55890 if ac_fn_cxx_try_compile "$LINENO"; then :
55891 glibcxx_cv_func_modfl_use=yes
55893 glibcxx_cv_func_modfl_use=no
55895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55897 ac_cpp='$CPP $CPPFLAGS'
55898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
55907 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
55909 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
55910 for ac_func in modfl
55912 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
55913 if test "x$ac_cv_func_modfl" = x""yes; then :
55914 cat >>confdefs.h <<_ACEOF
55915 #define HAVE_MODFL 1
55923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
55924 $as_echo_n "checking for _modfl declaration... " >&6; }
55925 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
55926 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
55927 $as_echo_n "(cached) " >&6
55932 ac_cpp='$CXXCPP $CPPFLAGS'
55933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55938 /* end confdefs.h. */
55948 if ac_fn_cxx_try_compile "$LINENO"; then :
55949 glibcxx_cv_func__modfl_use=yes
55951 glibcxx_cv_func__modfl_use=no
55953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55955 ac_cpp='$CPP $CPPFLAGS'
55956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
55965 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
55967 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
55968 for ac_func in _modfl
55970 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
55971 if test "x$ac_cv_func__modfl" = x""yes; then :
55972 cat >>confdefs.h <<_ACEOF
55973 #define HAVE__MODFL 1
55986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
55987 $as_echo_n "checking for powl declaration... " >&6; }
55988 if test x${glibcxx_cv_func_powl_use+set} != xset; then
55989 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
55990 $as_echo_n "(cached) " >&6
55995 ac_cpp='$CXXCPP $CPPFLAGS'
55996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56001 /* end confdefs.h. */
56011 if ac_fn_cxx_try_compile "$LINENO"; then :
56012 glibcxx_cv_func_powl_use=yes
56014 glibcxx_cv_func_powl_use=no
56016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56018 ac_cpp='$CPP $CPPFLAGS'
56019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56028 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56030 if test x$glibcxx_cv_func_powl_use = x"yes"; then
56031 for ac_func in powl
56033 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56034 if test "x$ac_cv_func_powl" = x""yes; then :
56035 cat >>confdefs.h <<_ACEOF
56036 #define HAVE_POWL 1
56044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56045 $as_echo_n "checking for _powl declaration... " >&6; }
56046 if test x${glibcxx_cv_func__powl_use+set} != xset; then
56047 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56048 $as_echo_n "(cached) " >&6
56053 ac_cpp='$CXXCPP $CPPFLAGS'
56054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56059 /* end confdefs.h. */
56069 if ac_fn_cxx_try_compile "$LINENO"; then :
56070 glibcxx_cv_func__powl_use=yes
56072 glibcxx_cv_func__powl_use=no
56074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56076 ac_cpp='$CPP $CPPFLAGS'
56077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56086 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56088 if test x$glibcxx_cv_func__powl_use = x"yes"; then
56089 for ac_func in _powl
56091 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56092 if test "x$ac_cv_func__powl" = x""yes; then :
56093 cat >>confdefs.h <<_ACEOF
56094 #define HAVE__POWL 1
56107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56108 $as_echo_n "checking for sqrtl declaration... " >&6; }
56109 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
56110 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
56111 $as_echo_n "(cached) " >&6
56116 ac_cpp='$CXXCPP $CPPFLAGS'
56117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56122 /* end confdefs.h. */
56124 #ifdef HAVE_IEEEFP_H
56125 #include <ieeefp.h>
56136 if ac_fn_cxx_try_compile "$LINENO"; then :
56137 glibcxx_cv_func_sqrtl_use=yes
56139 glibcxx_cv_func_sqrtl_use=no
56141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56143 ac_cpp='$CPP $CPPFLAGS'
56144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
56153 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
56155 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
56156 for ac_func in sqrtl
56158 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
56159 if test "x$ac_cv_func_sqrtl" = x""yes; then :
56160 cat >>confdefs.h <<_ACEOF
56161 #define HAVE_SQRTL 1
56169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
56170 $as_echo_n "checking for _sqrtl declaration... " >&6; }
56171 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
56172 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
56173 $as_echo_n "(cached) " >&6
56178 ac_cpp='$CXXCPP $CPPFLAGS'
56179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56184 /* end confdefs.h. */
56186 #ifdef HAVE_IEEEFP_H
56187 #include <ieeefp.h>
56198 if ac_fn_cxx_try_compile "$LINENO"; then :
56199 glibcxx_cv_func__sqrtl_use=yes
56201 glibcxx_cv_func__sqrtl_use=no
56203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56205 ac_cpp='$CPP $CPPFLAGS'
56206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
56215 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
56217 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
56218 for ac_func in _sqrtl
56220 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
56221 if test "x$ac_cv_func__sqrtl" = x""yes; then :
56222 cat >>confdefs.h <<_ACEOF
56223 #define HAVE__SQRTL 1
56236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
56237 $as_echo_n "checking for sincosl declaration... " >&6; }
56238 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
56239 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
56240 $as_echo_n "(cached) " >&6
56245 ac_cpp='$CXXCPP $CPPFLAGS'
56246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56251 /* end confdefs.h. */
56261 if ac_fn_cxx_try_compile "$LINENO"; then :
56262 glibcxx_cv_func_sincosl_use=yes
56264 glibcxx_cv_func_sincosl_use=no
56266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56268 ac_cpp='$CPP $CPPFLAGS'
56269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
56278 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
56280 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
56281 for ac_func in sincosl
56283 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
56284 if test "x$ac_cv_func_sincosl" = x""yes; then :
56285 cat >>confdefs.h <<_ACEOF
56286 #define HAVE_SINCOSL 1
56294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
56295 $as_echo_n "checking for _sincosl declaration... " >&6; }
56296 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
56297 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
56298 $as_echo_n "(cached) " >&6
56303 ac_cpp='$CXXCPP $CPPFLAGS'
56304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56309 /* end confdefs.h. */
56319 if ac_fn_cxx_try_compile "$LINENO"; then :
56320 glibcxx_cv_func__sincosl_use=yes
56322 glibcxx_cv_func__sincosl_use=no
56324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56326 ac_cpp='$CPP $CPPFLAGS'
56327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
56336 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
56338 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
56339 for ac_func in _sincosl
56341 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
56342 if test "x$ac_cv_func__sincosl" = x""yes; then :
56343 cat >>confdefs.h <<_ACEOF
56344 #define HAVE__SINCOSL 1
56357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
56358 $as_echo_n "checking for finitel declaration... " >&6; }
56359 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
56360 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
56361 $as_echo_n "(cached) " >&6
56366 ac_cpp='$CXXCPP $CPPFLAGS'
56367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56372 /* end confdefs.h. */
56374 #ifdef HAVE_IEEEFP_H
56375 #include <ieeefp.h>
56386 if ac_fn_cxx_try_compile "$LINENO"; then :
56387 glibcxx_cv_func_finitel_use=yes
56389 glibcxx_cv_func_finitel_use=no
56391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56393 ac_cpp='$CPP $CPPFLAGS'
56394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
56403 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
56405 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
56406 for ac_func in finitel
56408 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
56409 if test "x$ac_cv_func_finitel" = x""yes; then :
56410 cat >>confdefs.h <<_ACEOF
56411 #define HAVE_FINITEL 1
56419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
56420 $as_echo_n "checking for _finitel declaration... " >&6; }
56421 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
56422 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
56423 $as_echo_n "(cached) " >&6
56428 ac_cpp='$CXXCPP $CPPFLAGS'
56429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56434 /* end confdefs.h. */
56436 #ifdef HAVE_IEEEFP_H
56437 #include <ieeefp.h>
56448 if ac_fn_cxx_try_compile "$LINENO"; then :
56449 glibcxx_cv_func__finitel_use=yes
56451 glibcxx_cv_func__finitel_use=no
56453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56455 ac_cpp='$CPP $CPPFLAGS'
56456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
56465 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
56467 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
56468 for ac_func in _finitel
56470 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
56471 if test "x$ac_cv_func__finitel" = x""yes; then :
56472 cat >>confdefs.h <<_ACEOF
56473 #define HAVE__FINITEL 1
56485 LIBS="$ac_save_LIBS"
56486 CXXFLAGS="$ac_save_CXXFLAGS"
56489 ac_test_CXXFLAGS="${CXXFLAGS+set}"
56490 ac_save_CXXFLAGS="$CXXFLAGS"
56491 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
56494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
56495 $as_echo_n "checking for strtold declaration... " >&6; }
56496 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
56497 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
56498 $as_echo_n "(cached) " >&6
56503 ac_cpp='$CXXCPP $CPPFLAGS'
56504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56509 /* end confdefs.h. */
56510 #include <stdlib.h>
56519 if ac_fn_cxx_try_compile "$LINENO"; then :
56520 glibcxx_cv_func_strtold_use=yes
56522 glibcxx_cv_func_strtold_use=no
56524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56526 ac_cpp='$CPP $CPPFLAGS'
56527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
56536 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
56537 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
56538 for ac_func in strtold
56540 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
56541 if test "x$ac_cv_func_strtold" = x""yes; then :
56542 cat >>confdefs.h <<_ACEOF
56543 #define HAVE_STRTOLD 1
56554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
56555 $as_echo_n "checking for strtof declaration... " >&6; }
56556 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
56557 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
56558 $as_echo_n "(cached) " >&6
56563 ac_cpp='$CXXCPP $CPPFLAGS'
56564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56569 /* end confdefs.h. */
56570 #include <stdlib.h>
56579 if ac_fn_cxx_try_compile "$LINENO"; then :
56580 glibcxx_cv_func_strtof_use=yes
56582 glibcxx_cv_func_strtof_use=no
56584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56586 ac_cpp='$CPP $CPPFLAGS'
56587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
56596 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
56597 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
56598 for ac_func in strtof
56600 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
56601 if test "x$ac_cv_func_strtof" = x""yes; then :
56602 cat >>confdefs.h <<_ACEOF
56603 #define HAVE_STRTOF 1
56614 CXXFLAGS="$ac_save_CXXFLAGS"
56618 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56621 # If we're not using GNU ld, then there's no point in even trying these
56622 # tests. Check for that first. We should have already tested for gld
56623 # by now (in libtool), but require it now just to be safe...
56624 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56625 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56629 # The name set by libtool depends on the version of libtool. Shame on us
56630 # for depending on an impl detail, but c'est la vie. Older versions used
56631 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56632 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56633 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56634 # set (hence we're using an older libtool), then set it.
56635 if test x${with_gnu_ld+set} != xset; then
56636 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56637 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56640 with_gnu_ld=$ac_cv_prog_gnu_ld
56644 # Start by getting the version number. I think the libtool test already
56645 # does some of this, but throws away the result.
56646 glibcxx_ld_is_gold=no
56647 if test x"$with_gnu_ld" = x"yes"; then
56648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56649 $as_echo_n "checking for ld version... " >&6; }
56651 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56652 glibcxx_ld_is_gold=yes
56654 ldver=`$LD --version 2>/dev/null |
56655 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'`
56657 glibcxx_gnu_ld_version=`echo $ldver | \
56658 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56660 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56663 # Set --gc-sections.
56664 glibcxx_have_gc_sections=no
56665 if test "$glibcxx_ld_is_gold" = "yes"; then
56666 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56667 glibcxx_have_gc_sections=yes
56670 glibcxx_gcsections_min_ld=21602
56671 if test x"$with_gnu_ld" = x"yes" &&
56672 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56673 glibcxx_have_gc_sections=yes
56676 if test "$glibcxx_have_gc_sections" = "yes"; then
56677 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56678 # NB: This flag only works reliably after 2.16.1. Configure tests
56679 # for this are difficult, so hard wire a value that should work.
56681 ac_test_CFLAGS="${CFLAGS+set}"
56682 ac_save_CFLAGS="$CFLAGS"
56683 CFLAGS='-Wl,--gc-sections'
56685 # Check for -Wl,--gc-sections
56686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56687 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56688 if test x$gcc_no_link = xyes; then
56689 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56692 /* end confdefs.h. */
56693 int one(void) { return 1; }
56694 int two(void) { return 2; }
56704 if ac_fn_c_try_link "$LINENO"; then :
56709 rm -f core conftest.err conftest.$ac_objext \
56710 conftest$ac_exeext conftest.$ac_ext
56711 if test "$ac_gcsections" = "yes"; then
56714 if $CC -c conftest.c; then
56715 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56716 grep "Warning: gc-sections option ignored" > /dev/null; then
56720 rm -f conftest.c conftest.o conftest
56722 if test "$ac_gcsections" = "yes"; then
56723 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56726 $as_echo "$ac_gcsections" >&6; }
56728 if test "$ac_test_CFLAGS" = set; then
56729 CFLAGS="$ac_save_CFLAGS"
56731 # this is the suspicious part
56737 # Note this is only for shared objects.
56739 if test x"$with_gnu_ld" = x"yes"; then
56740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56741 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56742 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56743 if test -n "$cxx_z_relo"; then
56744 OPT_LDFLAGS="-Wl,-z,relro"
56747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56748 $as_echo "$ac_ld_relro" >&6; }
56751 # Set linker optimization flags.
56752 if test x"$with_gnu_ld" = x"yes"; then
56753 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56759 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
56761 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
56763 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
56765 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
56767 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56769 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
56771 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56773 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
56775 if test x"long_double_math_on_this_cpu" = x"yes"; then
56776 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
56778 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
56780 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
56785 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56788 # If we're not using GNU ld, then there's no point in even trying these
56789 # tests. Check for that first. We should have already tested for gld
56790 # by now (in libtool), but require it now just to be safe...
56791 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56792 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56796 # The name set by libtool depends on the version of libtool. Shame on us
56797 # for depending on an impl detail, but c'est la vie. Older versions used
56798 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56799 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56800 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56801 # set (hence we're using an older libtool), then set it.
56802 if test x${with_gnu_ld+set} != xset; then
56803 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56804 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56807 with_gnu_ld=$ac_cv_prog_gnu_ld
56811 # Start by getting the version number. I think the libtool test already
56812 # does some of this, but throws away the result.
56813 glibcxx_ld_is_gold=no
56814 if test x"$with_gnu_ld" = x"yes"; then
56815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56816 $as_echo_n "checking for ld version... " >&6; }
56818 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56819 glibcxx_ld_is_gold=yes
56821 ldver=`$LD --version 2>/dev/null |
56822 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'`
56824 glibcxx_gnu_ld_version=`echo $ldver | \
56825 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56827 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56830 # Set --gc-sections.
56831 glibcxx_have_gc_sections=no
56832 if test "$glibcxx_ld_is_gold" = "yes"; then
56833 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56834 glibcxx_have_gc_sections=yes
56837 glibcxx_gcsections_min_ld=21602
56838 if test x"$with_gnu_ld" = x"yes" &&
56839 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56840 glibcxx_have_gc_sections=yes
56843 if test "$glibcxx_have_gc_sections" = "yes"; then
56844 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56845 # NB: This flag only works reliably after 2.16.1. Configure tests
56846 # for this are difficult, so hard wire a value that should work.
56848 ac_test_CFLAGS="${CFLAGS+set}"
56849 ac_save_CFLAGS="$CFLAGS"
56850 CFLAGS='-Wl,--gc-sections'
56852 # Check for -Wl,--gc-sections
56853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56854 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56855 if test x$gcc_no_link = xyes; then
56856 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56859 /* end confdefs.h. */
56860 int one(void) { return 1; }
56861 int two(void) { return 2; }
56871 if ac_fn_c_try_link "$LINENO"; then :
56876 rm -f core conftest.err conftest.$ac_objext \
56877 conftest$ac_exeext conftest.$ac_ext
56878 if test "$ac_gcsections" = "yes"; then
56881 if $CC -c conftest.c; then
56882 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56883 grep "Warning: gc-sections option ignored" > /dev/null; then
56887 rm -f conftest.c conftest.o conftest
56889 if test "$ac_gcsections" = "yes"; then
56890 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56893 $as_echo "$ac_gcsections" >&6; }
56895 if test "$ac_test_CFLAGS" = set; then
56896 CFLAGS="$ac_save_CFLAGS"
56898 # this is the suspicious part
56904 # Note this is only for shared objects.
56906 if test x"$with_gnu_ld" = x"yes"; then
56907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56908 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56909 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56910 if test -n "$cxx_z_relo"; then
56911 OPT_LDFLAGS="-Wl,-z,relro"
56914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56915 $as_echo "$ac_ld_relro" >&6; }
56918 # Set linker optimization flags.
56919 if test x"$with_gnu_ld" = x"yes"; then
56920 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56926 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
56928 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56930 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56933 *-qnx6.1* | *-qnx6.2*)
56934 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56937 # If we're not using GNU ld, then there's no point in even trying these
56938 # tests. Check for that first. We should have already tested for gld
56939 # by now (in libtool), but require it now just to be safe...
56940 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56941 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56945 # The name set by libtool depends on the version of libtool. Shame on us
56946 # for depending on an impl detail, but c'est la vie. Older versions used
56947 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56948 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56949 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56950 # set (hence we're using an older libtool), then set it.
56951 if test x${with_gnu_ld+set} != xset; then
56952 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56953 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56956 with_gnu_ld=$ac_cv_prog_gnu_ld
56960 # Start by getting the version number. I think the libtool test already
56961 # does some of this, but throws away the result.
56962 glibcxx_ld_is_gold=no
56963 if test x"$with_gnu_ld" = x"yes"; then
56964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56965 $as_echo_n "checking for ld version... " >&6; }
56967 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56968 glibcxx_ld_is_gold=yes
56970 ldver=`$LD --version 2>/dev/null |
56971 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'`
56973 glibcxx_gnu_ld_version=`echo $ldver | \
56974 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56976 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56979 # Set --gc-sections.
56980 glibcxx_have_gc_sections=no
56981 if test "$glibcxx_ld_is_gold" = "yes"; then
56982 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56983 glibcxx_have_gc_sections=yes
56986 glibcxx_gcsections_min_ld=21602
56987 if test x"$with_gnu_ld" = x"yes" &&
56988 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56989 glibcxx_have_gc_sections=yes
56992 if test "$glibcxx_have_gc_sections" = "yes"; then
56993 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56994 # NB: This flag only works reliably after 2.16.1. Configure tests
56995 # for this are difficult, so hard wire a value that should work.
56997 ac_test_CFLAGS="${CFLAGS+set}"
56998 ac_save_CFLAGS="$CFLAGS"
56999 CFLAGS='-Wl,--gc-sections'
57001 # Check for -Wl,--gc-sections
57002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57003 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57004 if test x$gcc_no_link = xyes; then
57005 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57008 /* end confdefs.h. */
57009 int one(void) { return 1; }
57010 int two(void) { return 2; }
57020 if ac_fn_c_try_link "$LINENO"; then :
57025 rm -f core conftest.err conftest.$ac_objext \
57026 conftest$ac_exeext conftest.$ac_ext
57027 if test "$ac_gcsections" = "yes"; then
57030 if $CC -c conftest.c; then
57031 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57032 grep "Warning: gc-sections option ignored" > /dev/null; then
57036 rm -f conftest.c conftest.o conftest
57038 if test "$ac_gcsections" = "yes"; then
57039 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57042 $as_echo "$ac_gcsections" >&6; }
57044 if test "$ac_test_CFLAGS" = set; then
57045 CFLAGS="$ac_save_CFLAGS"
57047 # this is the suspicious part
57053 # Note this is only for shared objects.
57055 if test x"$with_gnu_ld" = x"yes"; then
57056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57057 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57058 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57059 if test -n "$cxx_z_relo"; then
57060 OPT_LDFLAGS="-Wl,-z,relro"
57063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57064 $as_echo "$ac_ld_relro" >&6; }
57067 # Set linker optimization flags.
57068 if test x"$with_gnu_ld" = x"yes"; then
57069 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57075 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57077 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57079 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57081 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57083 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57085 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57087 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57089 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57091 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57093 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57095 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57097 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57102 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
57104 # If we're not using GNU ld, then there's no point in even trying these
57105 # tests. Check for that first. We should have already tested for gld
57106 # by now (in libtool), but require it now just to be safe...
57107 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57108 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57112 # The name set by libtool depends on the version of libtool. Shame on us
57113 # for depending on an impl detail, but c'est la vie. Older versions used
57114 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57115 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57116 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57117 # set (hence we're using an older libtool), then set it.
57118 if test x${with_gnu_ld+set} != xset; then
57119 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57120 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57123 with_gnu_ld=$ac_cv_prog_gnu_ld
57127 # Start by getting the version number. I think the libtool test already
57128 # does some of this, but throws away the result.
57129 glibcxx_ld_is_gold=no
57130 if test x"$with_gnu_ld" = x"yes"; then
57131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57132 $as_echo_n "checking for ld version... " >&6; }
57134 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57135 glibcxx_ld_is_gold=yes
57137 ldver=`$LD --version 2>/dev/null |
57138 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'`
57140 glibcxx_gnu_ld_version=`echo $ldver | \
57141 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57143 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57146 # Set --gc-sections.
57147 glibcxx_have_gc_sections=no
57148 if test "$glibcxx_ld_is_gold" = "yes"; then
57149 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57150 glibcxx_have_gc_sections=yes
57153 glibcxx_gcsections_min_ld=21602
57154 if test x"$with_gnu_ld" = x"yes" &&
57155 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57156 glibcxx_have_gc_sections=yes
57159 if test "$glibcxx_have_gc_sections" = "yes"; then
57160 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57161 # NB: This flag only works reliably after 2.16.1. Configure tests
57162 # for this are difficult, so hard wire a value that should work.
57164 ac_test_CFLAGS="${CFLAGS+set}"
57165 ac_save_CFLAGS="$CFLAGS"
57166 CFLAGS='-Wl,--gc-sections'
57168 # Check for -Wl,--gc-sections
57169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57170 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57171 if test x$gcc_no_link = xyes; then
57172 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57175 /* end confdefs.h. */
57176 int one(void) { return 1; }
57177 int two(void) { return 2; }
57187 if ac_fn_c_try_link "$LINENO"; then :
57192 rm -f core conftest.err conftest.$ac_objext \
57193 conftest$ac_exeext conftest.$ac_ext
57194 if test "$ac_gcsections" = "yes"; then
57197 if $CC -c conftest.c; then
57198 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57199 grep "Warning: gc-sections option ignored" > /dev/null; then
57203 rm -f conftest.c conftest.o conftest
57205 if test "$ac_gcsections" = "yes"; then
57206 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57209 $as_echo "$ac_gcsections" >&6; }
57211 if test "$ac_test_CFLAGS" = set; then
57212 CFLAGS="$ac_save_CFLAGS"
57214 # this is the suspicious part
57220 # Note this is only for shared objects.
57222 if test x"$with_gnu_ld" = x"yes"; then
57223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57224 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57225 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57226 if test -n "$cxx_z_relo"; then
57227 OPT_LDFLAGS="-Wl,-z,relro"
57230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57231 $as_echo "$ac_ld_relro" >&6; }
57234 # Set linker optimization flags.
57235 if test x"$with_gnu_ld" = x"yes"; then
57236 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57242 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
57244 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57246 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
57248 # All of the dependencies for wide character support are here, so
57250 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
57256 # These two C99 functions are present only in Solaris >= 10
57257 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
57259 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
57263 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57265 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57267 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
57269 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
57273 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57276 # If we're not using GNU ld, then there's no point in even trying these
57277 # tests. Check for that first. We should have already tested for gld
57278 # by now (in libtool), but require it now just to be safe...
57279 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57280 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57284 # The name set by libtool depends on the version of libtool. Shame on us
57285 # for depending on an impl detail, but c'est la vie. Older versions used
57286 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57287 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57288 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57289 # set (hence we're using an older libtool), then set it.
57290 if test x${with_gnu_ld+set} != xset; then
57291 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57292 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57295 with_gnu_ld=$ac_cv_prog_gnu_ld
57299 # Start by getting the version number. I think the libtool test already
57300 # does some of this, but throws away the result.
57301 glibcxx_ld_is_gold=no
57302 if test x"$with_gnu_ld" = x"yes"; then
57303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57304 $as_echo_n "checking for ld version... " >&6; }
57306 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57307 glibcxx_ld_is_gold=yes
57309 ldver=`$LD --version 2>/dev/null |
57310 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'`
57312 glibcxx_gnu_ld_version=`echo $ldver | \
57313 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57315 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57318 # Set --gc-sections.
57319 glibcxx_have_gc_sections=no
57320 if test "$glibcxx_ld_is_gold" = "yes"; then
57321 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57322 glibcxx_have_gc_sections=yes
57325 glibcxx_gcsections_min_ld=21602
57326 if test x"$with_gnu_ld" = x"yes" &&
57327 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57328 glibcxx_have_gc_sections=yes
57331 if test "$glibcxx_have_gc_sections" = "yes"; then
57332 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57333 # NB: This flag only works reliably after 2.16.1. Configure tests
57334 # for this are difficult, so hard wire a value that should work.
57336 ac_test_CFLAGS="${CFLAGS+set}"
57337 ac_save_CFLAGS="$CFLAGS"
57338 CFLAGS='-Wl,--gc-sections'
57340 # Check for -Wl,--gc-sections
57341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57342 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57343 if test x$gcc_no_link = xyes; then
57344 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57347 /* end confdefs.h. */
57348 int one(void) { return 1; }
57349 int two(void) { return 2; }
57359 if ac_fn_c_try_link "$LINENO"; then :
57364 rm -f core conftest.err conftest.$ac_objext \
57365 conftest$ac_exeext conftest.$ac_ext
57366 if test "$ac_gcsections" = "yes"; then
57369 if $CC -c conftest.c; then
57370 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57371 grep "Warning: gc-sections option ignored" > /dev/null; then
57375 rm -f conftest.c conftest.o conftest
57377 if test "$ac_gcsections" = "yes"; then
57378 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57381 $as_echo "$ac_gcsections" >&6; }
57383 if test "$ac_test_CFLAGS" = set; then
57384 CFLAGS="$ac_save_CFLAGS"
57386 # this is the suspicious part
57392 # Note this is only for shared objects.
57394 if test x"$with_gnu_ld" = x"yes"; then
57395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57396 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57397 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57398 if test -n "$cxx_z_relo"; then
57399 OPT_LDFLAGS="-Wl,-z,relro"
57402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57403 $as_echo "$ac_ld_relro" >&6; }
57406 # Set linker optimization flags.
57407 if test x"$with_gnu_ld" = x"yes"; then
57408 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57414 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57416 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57418 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57420 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57422 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57424 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57426 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57428 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57430 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
57432 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
57434 if test x"long_double_math_on_this_cpu" = x"yes"; then
57435 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57437 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
57439 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57441 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57446 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
57448 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
57450 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
57452 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
57454 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
57456 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57458 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57460 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
57462 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
57464 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
57466 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
57468 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
57470 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57472 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57474 $as_echo "#define HAVE_POWF 1" >>confdefs.h
57476 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57478 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57480 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
57482 $as_echo "#define HAVE_TANF 1" >>confdefs.h
57484 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
57488 as_fn_error "No support for this host/target combination." "$LINENO" 5
57494 # At some point, we should differentiate between architectures
57495 # like x86, which have long double versions, and alpha/powerpc/etc.,
57496 # which don't. For the time being, punt.
57497 if test x"long_double_math_on_this_cpu" = x"yes"; then
57498 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
57500 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
57502 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
57504 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
57506 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
57508 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57510 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57512 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
57514 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
57516 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
57518 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
57520 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
57522 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
57524 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57526 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57528 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
57530 $as_echo "#define HAVE_POWL 1" >>confdefs.h
57532 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
57534 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57536 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57538 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
57540 $as_echo "#define HAVE_TANL 1" >>confdefs.h
57542 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
57547 # Check for _Unwind_GetIPInfo.
57550 # Check whether --with-system-libunwind was given.
57551 if test "${with_system_libunwind+set}" = set; then :
57552 withval=$with_system_libunwind;
57555 # If system-libunwind was not specifically set, pick a default setting.
57556 if test x$with_system_libunwind = x; then
57558 ia64-*-hpux*) with_system_libunwind=yes ;;
57559 *) with_system_libunwind=no ;;
57562 # Based on system-libunwind and target, do we have ipinfo?
57563 if test x$with_system_libunwind = xyes; then
57565 ia64-*-*) have_unwind_getipinfo=no ;;
57566 *) have_unwind_getipinfo=yes ;;
57569 # Darwin before version 9 does not have _Unwind_GetIPInfo.
57572 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
57573 *) have_unwind_getipinfo=yes ;;
57578 if test x$have_unwind_getipinfo = xyes; then
57580 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
57586 # Check whether --enable-linux-futex was given.
57587 if test "${enable_linux_futex+set}" = set; then :
57588 enableval=$enable_linux_futex;
57589 case "$enableval" in
57591 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
57595 enable_linux_futex=default
57601 case "$enable_linux_futex" in
57603 # If headers don't have gettid/futex syscalls definition, then
57604 # default to no, otherwise there will be compile time failures.
57605 # Otherwise, default to yes. If we don't detect we are
57606 # compiled/linked against NPTL and not cross-compiling, check
57607 # if programs are run by default against NPTL and if not, issue
57609 enable_linux_futex=no
57610 if test x$gcc_no_link = xyes; then
57611 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57614 /* end confdefs.h. */
57615 #include <sys/syscall.h>
57620 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
57625 if ac_fn_c_try_link "$LINENO"; then :
57627 LIBS="-lpthread $LIBS"
57628 if test x$gcc_no_link = xyes; then
57629 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57632 /* end confdefs.h. */
57633 #ifndef _GNU_SOURCE
57634 #define _GNU_SOURCE 1
57636 #include <pthread.h>
57637 pthread_t th; void *status;
57641 pthread_tryjoin_np (th, &status);
57646 if ac_fn_c_try_link "$LINENO"; then :
57647 enable_linux_futex=yes
57649 if test x$cross_compiling = xno; then
57650 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
57651 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
57652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
57653 If so, please configure with --disable-linux-futex" >&5
57654 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
57655 If so, please configure with --disable-linux-futex" >&2;}
57658 enable_linux_futex=yes
57660 rm -f core conftest.err conftest.$ac_objext \
57661 conftest$ac_exeext conftest.$ac_ext
57664 rm -f core conftest.err conftest.$ac_objext \
57665 conftest$ac_exeext conftest.$ac_ext
57668 if test x$gcc_no_link = xyes; then
57669 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57672 /* end confdefs.h. */
57673 #include <sys/syscall.h>
57678 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
57683 if ac_fn_c_try_link "$LINENO"; then :
57686 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
57688 rm -f core conftest.err conftest.$ac_objext \
57689 conftest$ac_exeext conftest.$ac_ext
57694 enable_linux_futex=no
57697 if test x$enable_linux_futex = xyes; then
57699 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
57706 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
57708 acx_cv_header_stdint=stddef.h
57709 acx_cv_header_stdint_kind="(already complete)"
57710 for i in stdint.h $inttype_headers; do
57711 unset ac_cv_type_uintptr_t
57712 unset ac_cv_type_uintmax_t
57713 unset ac_cv_type_int_least32_t
57714 unset ac_cv_type_int_fast32_t
57715 unset ac_cv_type_uint64_t
57716 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
57717 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
57720 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
57721 acx_cv_header_stdint=$i
57726 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
57729 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
57732 acx_cv_header_stdint_kind="(mostly complete)"
57735 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
57738 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
57741 acx_cv_header_stdint_kind="(mostly complete)"
57744 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
57747 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
57750 acx_cv_header_stdint_kind="(mostly complete)"
57753 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
57756 if test "x$ac_cv_type_uint64_t" = x""yes; then :
57759 acx_cv_header_stdint_kind="(lacks uint64_t)"
57764 if test "$acx_cv_header_stdint" = stddef.h; then
57765 acx_cv_header_stdint_kind="(lacks uintmax_t)"
57766 for i in stdint.h $inttype_headers; do
57767 unset ac_cv_type_uintptr_t
57768 unset ac_cv_type_uint32_t
57769 unset ac_cv_type_uint64_t
57770 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
57771 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
57774 if test "x$ac_cv_type_uint32_t" = x""yes; then :
57775 acx_cv_header_stdint=$i
57780 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
57783 if test "x$ac_cv_type_uint64_t" = x""yes; then :
57787 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
57790 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
57797 if test "$acx_cv_header_stdint" = stddef.h; then
57798 acx_cv_header_stdint_kind="(u_intXX_t style)"
57799 for i in sys/types.h $inttype_headers; do
57800 unset ac_cv_type_u_int32_t
57801 unset ac_cv_type_u_int64_t
57802 $as_echo_n "looking for u_intXX_t types in $i, " >&6
57803 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
57806 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
57807 acx_cv_header_stdint=$i
57812 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
57815 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
57822 if test "$acx_cv_header_stdint" = stddef.h; then
57823 acx_cv_header_stdint_kind="(using manual detection)"
57826 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
57827 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
57828 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
57829 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
57830 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
57832 # ----------------- Summarize what we found so far
57834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
57835 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
57837 case `$as_basename -- include/gstdint.h ||
57838 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
57839 Xinclude/gstdint.h : 'X\(//\)$' \| \
57840 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
57841 $as_echo X/include/gstdint.h |
57842 sed '/^.*\/\([^/][^/]*\)\/*$/{
57855 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
57856 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
57857 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
57858 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
57862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
57863 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
57865 # ----------------- done included file, check C basic types --------
57867 # Lacking an uintptr_t? Test size of void *
57868 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
57869 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
57870 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57871 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57872 # This bug is HP SR number 8606223364.
57873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
57874 $as_echo_n "checking size of void *... " >&6; }
57875 if test "${ac_cv_sizeof_void_p+set}" = set; then :
57876 $as_echo_n "(cached) " >&6
57878 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
57881 if test "$ac_cv_type_void_p" = yes; then
57882 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57883 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57884 { as_fn_set_status 77
57885 as_fn_error "cannot compute sizeof (void *)
57886 See \`config.log' for more details." "$LINENO" 5; }; }
57888 ac_cv_sizeof_void_p=0
57893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
57894 $as_echo "$ac_cv_sizeof_void_p" >&6; }
57898 cat >>confdefs.h <<_ACEOF
57899 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
57905 # Lacking an uint64_t? Test size of long
57906 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
57907 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
57908 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57909 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57910 # This bug is HP SR number 8606223364.
57911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
57912 $as_echo_n "checking size of long... " >&6; }
57913 if test "${ac_cv_sizeof_long+set}" = set; then :
57914 $as_echo_n "(cached) " >&6
57916 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
57919 if test "$ac_cv_type_long" = yes; then
57920 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57921 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57922 { as_fn_set_status 77
57923 as_fn_error "cannot compute sizeof (long)
57924 See \`config.log' for more details." "$LINENO" 5; }; }
57926 ac_cv_sizeof_long=0
57931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
57932 $as_echo "$ac_cv_sizeof_long" >&6; }
57936 cat >>confdefs.h <<_ACEOF
57937 #define SIZEOF_LONG $ac_cv_sizeof_long
57943 if test $acx_cv_header_stdint = stddef.h; then
57944 # Lacking a good header? Test size of everything and deduce all types.
57945 # The cast to long int works around a bug in the HP C Compiler
57946 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57947 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57948 # This bug is HP SR number 8606223364.
57949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
57950 $as_echo_n "checking size of int... " >&6; }
57951 if test "${ac_cv_sizeof_int+set}" = set; then :
57952 $as_echo_n "(cached) " >&6
57954 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
57957 if test "$ac_cv_type_int" = yes; then
57958 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57959 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57960 { as_fn_set_status 77
57961 as_fn_error "cannot compute sizeof (int)
57962 See \`config.log' for more details." "$LINENO" 5; }; }
57969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
57970 $as_echo "$ac_cv_sizeof_int" >&6; }
57974 cat >>confdefs.h <<_ACEOF
57975 #define SIZEOF_INT $ac_cv_sizeof_int
57979 # The cast to long int works around a bug in the HP C Compiler
57980 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57981 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57982 # This bug is HP SR number 8606223364.
57983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
57984 $as_echo_n "checking size of short... " >&6; }
57985 if test "${ac_cv_sizeof_short+set}" = set; then :
57986 $as_echo_n "(cached) " >&6
57988 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
57991 if test "$ac_cv_type_short" = yes; then
57992 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57993 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57994 { as_fn_set_status 77
57995 as_fn_error "cannot compute sizeof (short)
57996 See \`config.log' for more details." "$LINENO" 5; }; }
57998 ac_cv_sizeof_short=0
58003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
58004 $as_echo "$ac_cv_sizeof_short" >&6; }
58008 cat >>confdefs.h <<_ACEOF
58009 #define SIZEOF_SHORT $ac_cv_sizeof_short
58013 # The cast to long int works around a bug in the HP C Compiler
58014 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
58015 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
58016 # This bug is HP SR number 8606223364.
58017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
58018 $as_echo_n "checking size of char... " >&6; }
58019 if test "${ac_cv_sizeof_char+set}" = set; then :
58020 $as_echo_n "(cached) " >&6
58022 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
58025 if test "$ac_cv_type_char" = yes; then
58026 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58027 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58028 { as_fn_set_status 77
58029 as_fn_error "cannot compute sizeof (char)
58030 See \`config.log' for more details." "$LINENO" 5; }; }
58032 ac_cv_sizeof_char=0
58037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
58038 $as_echo "$ac_cv_sizeof_char" >&6; }
58042 cat >>confdefs.h <<_ACEOF
58043 #define SIZEOF_CHAR $ac_cv_sizeof_char
58048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
58049 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
58050 case "$ac_cv_sizeof_char" in
58051 1) acx_cv_type_int8_t=char ;;
58052 *) { as_fn_set_status please report a bug
58053 as_fn_error "no 8-bit type" "$LINENO" 5; }
58055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
58056 $as_echo "$acx_cv_type_int8_t" >&6; }
58058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
58059 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
58060 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
58061 2:*) acx_cv_type_int16_t=int ;;
58062 *:2) acx_cv_type_int16_t=short ;;
58063 *) { as_fn_set_status please report a bug
58064 as_fn_error "no 16-bit type" "$LINENO" 5; }
58066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
58067 $as_echo "$acx_cv_type_int16_t" >&6; }
58069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
58070 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
58071 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
58072 4:*) acx_cv_type_int32_t=int ;;
58073 *:4) acx_cv_type_int32_t=long ;;
58074 *) { as_fn_set_status please report a bug
58075 as_fn_error "no 32-bit type" "$LINENO" 5; }
58077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
58078 $as_echo "$acx_cv_type_int32_t" >&6; }
58081 # These tests are here to make the output prettier
58083 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
58084 case "$ac_cv_sizeof_long" in
58085 8) acx_cv_type_int64_t=long ;;
58087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
58088 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
58089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
58090 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
58093 # Now we can use the above types
58095 if test "$ac_cv_type_uintptr_t" != yes; then
58096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
58097 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
58098 case $ac_cv_sizeof_void_p in
58099 2) acx_cv_type_intptr_t=int16_t ;;
58100 4) acx_cv_type_intptr_t=int32_t ;;
58101 8) acx_cv_type_intptr_t=int64_t ;;
58102 *) { as_fn_set_status please report a bug
58103 as_fn_error "no equivalent for intptr_t" "$LINENO" 5; }
58105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
58106 $as_echo "$acx_cv_type_intptr_t" >&6; }
58109 # ----------------- done all checks, emit header -------------
58110 ac_config_commands="$ac_config_commands include/gstdint.h"
58115 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
58118 # Check whether --enable-symvers was given.
58119 if test "${enable_symvers+set}" = set; then :
58120 enableval=$enable_symvers;
58121 case "$enableval" in
58122 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
58123 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
58132 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
58133 # don't know enough about $LD to do tricks...
58136 # Turn a 'yes' into a suitable default.
58137 if test x$enable_symvers = xyes ; then
58138 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
58141 if test $with_gnu_ld = yes ; then
58142 case ${target_os} in
58144 enable_symvers=no ;;
58146 enable_symvers=gnu ;;
58149 case ${target_os} in
58151 enable_symvers=darwin ;;
58153 enable_symvers=no ;;
58159 # Check to see if 'darwin' or 'darwin-export' can win.
58160 if test x$enable_symvers = xdarwin-export ; then
58161 enable_symvers=darwin
58164 # Check to see if 'gnu' can win.
58165 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
58166 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
58167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
58168 $as_echo_n "checking for shared libgcc... " >&6; }
58169 ac_save_CFLAGS="$CFLAGS"
58171 if test x$gcc_no_link = xyes; then
58172 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58175 /* end confdefs.h. */
58185 if ac_fn_c_try_link "$LINENO"; then :
58186 glibcxx_shared_libgcc=yes
58188 glibcxx_shared_libgcc=no
58190 rm -f core conftest.err conftest.$ac_objext \
58191 conftest$ac_exeext conftest.$ac_ext
58192 CFLAGS="$ac_save_CFLAGS"
58193 if test $glibcxx_shared_libgcc = no; then
58194 cat > conftest.c <<EOF
58195 int main (void) { return 0; }
58197 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
58198 -shared -shared-libgcc -o conftest.so \
58199 conftest.c -v 2>&1 >/dev/null \
58200 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
58201 rm -f conftest.c conftest.so
58202 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
58203 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
58204 if test x$gcc_no_link = xyes; then
58205 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58208 /* end confdefs.h. */
58218 if ac_fn_c_try_link "$LINENO"; then :
58219 glibcxx_shared_libgcc=yes
58221 rm -f core conftest.err conftest.$ac_objext \
58222 conftest$ac_exeext conftest.$ac_ext
58223 CFLAGS="$ac_save_CFLAGS"
58226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
58227 $as_echo "$glibcxx_shared_libgcc" >&6; }
58229 # For GNU ld, we need at least this version. The format is described in
58230 # GLIBCXX_CHECK_LINKER_FEATURES above.
58231 glibcxx_min_gnu_ld_version=21400
58233 # If no shared libgcc, can't win.
58234 if test $glibcxx_shared_libgcc != yes; then
58235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
58236 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
58237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
58238 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
58239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58240 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58242 elif test $with_gnu_ld != yes ; then
58243 # just fail for now
58244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
58245 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
58246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
58247 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
58248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58249 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58251 elif test $glibcxx_ld_is_gold = yes ; then
58252 : All versions of gold support symbol versioning.
58253 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
58254 # The right tools, the right setup, but too old. Fallbacks?
58255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
58256 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
58257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
58258 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
58259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
58260 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
58261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
58262 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
58263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58264 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58269 # Everything parsed; figure out what file to use.
58270 case $enable_symvers in
58272 SYMVER_FILE=config/abi/pre/none.ver
58275 SYMVER_FILE=config/abi/pre/gnu.ver
58277 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
58280 gnu-versioned-namespace)
58281 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
58283 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
58287 SYMVER_FILE=config/abi/pre/gnu.ver
58289 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
58294 if test x$enable_symvers != xno ; then
58296 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
58300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
58301 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
58302 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
58303 $as_echo_n "(cached) " >&6
58306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58307 /* end confdefs.h. */
58308 void foo (void); __asm (".symver foo, bar@SYMVER");
58317 if ac_fn_c_try_compile "$LINENO"; then :
58318 glibcxx_cv_have_as_symver_directive=yes
58320 glibcxx_cv_have_as_symver_directive=no
58322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
58325 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
58326 if test $glibcxx_cv_have_as_symver_directive = yes; then
58328 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
58338 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
58339 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
58341 # Now, set up compatibility support, if any.
58342 # In addition, need this to deal with std::size_t mangling in
58343 # src/compatibility.cc. In a perfect world, could use
58344 # typeid(std::size_t).name()[0] to do direct substitution.
58345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
58346 $as_echo_n "checking for size_t as unsigned int... " >&6; }
58347 ac_save_CFLAGS="$CFLAGS"
58349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58350 /* end confdefs.h. */
58355 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
58360 if ac_fn_c_try_compile "$LINENO"; then :
58361 glibcxx_size_t_is_i=yes
58363 glibcxx_size_t_is_i=no
58365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58366 CFLAGS=$ac_save_CFLAGS
58367 if test "$glibcxx_size_t_is_i" = yes; then
58369 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
58372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
58373 $as_echo "$glibcxx_size_t_is_i" >&6; }
58375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
58376 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
58377 ac_save_CFLAGS="$CFLAGS"
58379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58380 /* end confdefs.h. */
58385 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
58390 if ac_fn_c_try_compile "$LINENO"; then :
58391 glibcxx_ptrdiff_t_is_i=yes
58393 glibcxx_ptrdiff_t_is_i=no
58395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58396 CFLAGS=$ac_save_CFLAGS
58397 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
58399 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
58402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
58403 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
58406 # Check whether --enable-visibility was given.
58407 if test "${enable_visibility+set}" = set; then :
58408 enableval=$enable_visibility;
58409 case "$enableval" in
58411 *) as_fn_error "Argument to enable/disable visibility must be yes or no" "$LINENO" 5 ;;
58415 enable_visibility=yes
58420 if test x$enable_visibility = xyes ; then
58421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
58422 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
58423 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
58424 $as_echo_n "(cached) " >&6
58427 save_CFLAGS="$CFLAGS"
58428 CFLAGS="$CFLAGS -Werror"
58429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58430 /* end confdefs.h. */
58431 void __attribute__((visibility("hidden"))) foo(void) { }
58440 if ac_fn_c_try_compile "$LINENO"; then :
58441 glibcxx_cv_have_attribute_visibility=yes
58443 glibcxx_cv_have_attribute_visibility=no
58445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58446 CFLAGS="$save_CFLAGS"
58448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
58449 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
58450 if test $glibcxx_cv_have_attribute_visibility = no; then
58451 enable_visibility=no
58456 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_visibility" >&5
58457 $as_echo "$as_me: visibility supported: $enable_visibility" >&6;}
58462 powerpc*-*-linux* | \
58463 powerpc*-*-gnu* | \
58464 sparc*-*-linux* | \
58467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58468 /* end confdefs.h. */
58474 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
58475 #error no need for long double compatibility
58482 if ac_fn_c_try_compile "$LINENO"; then :
58487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58488 if test "$ac_ldbl_compat" = yes; then
58490 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
58492 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
58497 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
58499 if $GLIBCXX_IS_NATIVE ; then
58500 # Do checks for resource limit functions.
58502 setrlimit_have_headers=yes
58503 for ac_header in unistd.h sys/time.h sys/resource.h
58505 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
58506 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
58507 eval as_val=\$$as_ac_Header
58508 if test "x$as_val" = x""yes; then :
58509 cat >>confdefs.h <<_ACEOF
58510 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
58514 setrlimit_have_headers=no
58519 # If don't have the headers, then we can't run the tests now, and we
58520 # won't be seeing any of these during testsuite compilation.
58521 if test $setrlimit_have_headers = yes; then
58522 # Can't do these in a loop, else the resulting syntax is wrong.
58524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
58525 $as_echo_n "checking for RLIMIT_DATA... " >&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_DATA ;
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_DATA $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_RSS" >&5
58557 $as_echo_n "checking for RLIMIT_RSS... " >&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_RSS ;
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_RSS $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_VMEM" >&5
58589 $as_echo_n "checking for RLIMIT_VMEM... " >&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_VMEM ;
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_VMEM $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_AS" >&5
58621 $as_echo_n "checking for RLIMIT_AS... " >&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_AS ;
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_AS $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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
58653 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
58654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58655 /* end confdefs.h. */
58656 #include <unistd.h>
58657 #include <sys/time.h>
58658 #include <sys/resource.h>
58663 int f = RLIMIT_FSIZE ;
58668 if ac_fn_c_try_compile "$LINENO"; then :
58673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58675 cat >>confdefs.h <<_ACEOF
58676 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
58679 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58681 $as_echo "$res" >&6; }
58684 # Check for rlimit, setrlimit.
58685 if test "${glibcxx_cv_setrlimit+set}" = set; then :
58686 $as_echo_n "(cached) " >&6
58689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58690 /* end confdefs.h. */
58691 #include <unistd.h>
58692 #include <sys/time.h>
58693 #include <sys/resource.h>
58704 if ac_fn_c_try_compile "$LINENO"; then :
58705 glibcxx_cv_setrlimit=yes
58707 glibcxx_cv_setrlimit=no
58709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
58716 $as_echo_n "checking for testsuite resource limits support... " >&6; }
58717 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
58720 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
58725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
58726 $as_echo "$ac_res_limits" >&6; }
58729 # Look for setenv, so that extended locale tests can be performed.
58731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
58732 $as_echo_n "checking for setenv declaration... " >&6; }
58733 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
58734 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
58735 $as_echo_n "(cached) " >&6
58740 ac_cpp='$CXXCPP $CPPFLAGS'
58741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58746 /* end confdefs.h. */
58747 #include <stdlib.h>
58756 if ac_fn_cxx_try_compile "$LINENO"; then :
58757 glibcxx_cv_func_setenv_use=yes
58759 glibcxx_cv_func_setenv_use=no
58761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58763 ac_cpp='$CPP $CPPFLAGS'
58764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
58773 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
58774 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
58775 for ac_func in setenv
58777 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
58778 if test "x$ac_cv_func_setenv" = x""yes; then :
58779 cat >>confdefs.h <<_ACEOF
58780 #define HAVE_SETENV 1
58790 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
58791 test $enable_symvers != no; then
58794 enable_abi_check=no ;;
58796 enable_abi_check=yes ;;
58799 # Only build this as native, since automake does not understand
58801 enable_abi_check=no
58804 # Export file names for ABI checking.
58805 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
58809 # Propagate the target-specific source directories through the build chain.
58810 ATOMICITY_SRCDIR=config/${atomicity_dir}
58811 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
58812 ATOMIC_FLAGS=${atomic_flags}
58813 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
58814 OS_INC_SRCDIR=config/${os_include_dir}
58815 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
58816 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
58826 # Determine cross-compile flags and AM_CONDITIONALs.
58827 #AC_SUBST(GLIBCXX_IS_NATIVE)
58828 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
58829 if test $is_hosted = yes; then
58830 GLIBCXX_HOSTED_TRUE=
58831 GLIBCXX_HOSTED_FALSE='#'
58833 GLIBCXX_HOSTED_TRUE='#'
58834 GLIBCXX_HOSTED_FALSE=
58838 if test $enable_libstdcxx_pch = yes; then
58839 GLIBCXX_BUILD_PCH_TRUE=
58840 GLIBCXX_BUILD_PCH_FALSE='#'
58842 GLIBCXX_BUILD_PCH_TRUE='#'
58843 GLIBCXX_BUILD_PCH_FALSE=
58847 if test $enable_cheaders = c; then
58848 GLIBCXX_C_HEADERS_C_TRUE=
58849 GLIBCXX_C_HEADERS_C_FALSE='#'
58851 GLIBCXX_C_HEADERS_C_TRUE='#'
58852 GLIBCXX_C_HEADERS_C_FALSE=
58856 if test $enable_cheaders = c_std; then
58857 GLIBCXX_C_HEADERS_C_STD_TRUE=
58858 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
58860 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
58861 GLIBCXX_C_HEADERS_C_STD_FALSE=
58865 if test $enable_cheaders = c_global; then
58866 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
58867 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
58869 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
58870 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
58874 if test $c_compatibility = yes; then
58875 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
58876 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
58878 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
58879 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
58883 if test $c_extra = yes; then
58884 GLIBCXX_C_HEADERS_EXTRA_TRUE=
58885 GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
58887 GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
58888 GLIBCXX_C_HEADERS_EXTRA_FALSE=
58892 if test $enable_libstdcxx_debug = yes; then
58893 GLIBCXX_BUILD_DEBUG_TRUE=
58894 GLIBCXX_BUILD_DEBUG_FALSE='#'
58896 GLIBCXX_BUILD_DEBUG_TRUE='#'
58897 GLIBCXX_BUILD_DEBUG_FALSE=
58901 if test $enable_parallel = yes; then
58902 ENABLE_PARALLEL_TRUE=
58903 ENABLE_PARALLEL_FALSE='#'
58905 ENABLE_PARALLEL_TRUE='#'
58906 ENABLE_PARALLEL_FALSE=
58910 if test $enable_symvers != no; then
58911 ENABLE_SYMVERS_TRUE=
58912 ENABLE_SYMVERS_FALSE='#'
58914 ENABLE_SYMVERS_TRUE='#'
58915 ENABLE_SYMVERS_FALSE=
58919 if test $enable_symvers = gnu; then
58920 ENABLE_SYMVERS_GNU_TRUE=
58921 ENABLE_SYMVERS_GNU_FALSE='#'
58923 ENABLE_SYMVERS_GNU_TRUE='#'
58924 ENABLE_SYMVERS_GNU_FALSE=
58928 if test $enable_symvers = gnu-versioned-namespace; then
58929 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
58930 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
58932 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
58933 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
58937 if test $enable_symvers = darwin; then
58938 ENABLE_SYMVERS_DARWIN_TRUE=
58939 ENABLE_SYMVERS_DARWIN_FALSE='#'
58941 ENABLE_SYMVERS_DARWIN_TRUE='#'
58942 ENABLE_SYMVERS_DARWIN_FALSE=
58946 if test $enable_visibility = yes; then
58947 ENABLE_VISIBILITY_TRUE=
58948 ENABLE_VISIBILITY_FALSE='#'
58950 ENABLE_VISIBILITY_TRUE='#'
58951 ENABLE_VISIBILITY_FALSE=
58955 if test $ac_ldbl_compat = yes; then
58956 GLIBCXX_LDBL_COMPAT_TRUE=
58957 GLIBCXX_LDBL_COMPAT_FALSE='#'
58959 GLIBCXX_LDBL_COMPAT_TRUE='#'
58960 GLIBCXX_LDBL_COMPAT_FALSE=
58966 cat >confcache <<\_ACEOF
58967 # This file is a shell script that caches the results of configure
58968 # tests run on this system so they can be shared between configure
58969 # scripts and configure runs, see configure's option --config-cache.
58970 # It is not useful on other systems. If it contains results you don't
58971 # want to keep, you may remove or edit it.
58973 # config.status only pays attention to the cache file if you give it
58974 # the --recheck option to rerun configure.
58976 # `ac_cv_env_foo' variables (set or unset) will be overridden when
58977 # loading this file, other *unset* `ac_cv_foo' will be assigned the
58978 # following values.
58982 # The following way of writing the cache mishandles newlines in values,
58983 # but we know of no workaround that is simple, portable, and efficient.
58984 # So, we kill variables containing newlines.
58985 # Ultrix sh set writes to stderr and can't be redirected directly,
58986 # and sets the high bit in the cache file unless we assign to the vars.
58988 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
58989 eval ac_val=\$$ac_var
58993 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
58994 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
58997 _ | IFS | as_nl) ;; #(
58998 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
58999 *) { eval $ac_var=; unset $ac_var;} ;;
59005 case $as_nl`(ac_space=' '; set) 2>&1` in #(
59006 *${as_nl}ac_space=\ *)
59007 # `set' does not quote correctly, so add quotes: double-quote
59008 # substitution turns \\\\ into \\, and sed turns \\ into \.
59011 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
59014 # `set' quotes correctly as required by POSIX, so do not add quotes.
59015 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
59024 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
59026 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
59028 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
59029 if test -w "$cache_file"; then
59030 test "x$cache_file" != "x/dev/null" &&
59031 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
59032 $as_echo "$as_me: updating cache $cache_file" >&6;}
59033 cat confcache >$cache_file
59035 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
59036 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
59041 if test ${multilib} = yes; then
59042 multilib_arg="--enable-multilib"
59047 # Export all the install information.
59049 glibcxx_toolexecdir=no
59050 glibcxx_toolexeclibdir=no
59051 glibcxx_prefixdir=$prefix
59053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
59054 $as_echo_n "checking for gxx-include-dir... " >&6; }
59056 # Check whether --with-gxx-include-dir was given.
59057 if test "${with_gxx_include_dir+set}" = set; then :
59058 withval=$with_gxx_include_dir; case "$withval" in
59059 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
59060 no) gxx_include_dir=no ;;
59061 *) gxx_include_dir=$withval ;;
59067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
59068 $as_echo "$gxx_include_dir" >&6; }
59070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
59071 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
59072 # Check whether --enable-version-specific-runtime-libs was given.
59073 if test "${enable_version_specific_runtime_libs+set}" = set; then :
59074 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
59075 yes) version_specific_libs=yes ;;
59076 no) version_specific_libs=no ;;
59077 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
59080 version_specific_libs=no
59083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
59084 $as_echo "$version_specific_libs" >&6; }
59086 # Default case for install directory for include files.
59087 if test $version_specific_libs = no && test $gxx_include_dir = no; then
59088 gxx_include_dir='include/c++/${gcc_version}'
59089 if test -n "$with_cross_host" &&
59090 test x"$with_cross_host" != x"no"; then
59091 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
59093 gxx_include_dir='${prefix}/'"$gxx_include_dir"
59097 # Version-specific runtime libs processing.
59098 if test $version_specific_libs = yes; then
59099 # Need the gcc compiler version to know where to install libraries
59100 # and header files if --enable-version-specific-runtime-libs option
59101 # is selected. FIXME: these variables are misnamed, there are
59102 # no executables installed in _toolexecdir or _toolexeclibdir.
59103 if test x"$gxx_include_dir" = x"no"; then
59104 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
59106 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
59107 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
59110 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
59111 # Install a library built with a cross compiler in tooldir, not libdir.
59112 if test x"$glibcxx_toolexecdir" = x"no"; then
59113 if test -n "$with_cross_host" &&
59114 test x"$with_cross_host" != x"no"; then
59115 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
59116 glibcxx_toolexeclibdir='${toolexecdir}/lib'
59118 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
59119 glibcxx_toolexeclibdir='${libdir}'
59121 multi_os_directory=`$CXX -print-multi-os-directory`
59122 case $multi_os_directory in
59123 .) ;; # Avoid trailing /.
59124 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
59128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
59129 $as_echo_n "checking for install location... " >&6; }
59130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
59131 $as_echo "$gxx_include_dir" >&6; }
59139 # Export all the include and flag information to Makefiles.
59141 # Used for every C++ compile we perform.
59142 GLIBCXX_INCLUDES="\
59143 -I$glibcxx_builddir/include/$host_alias \
59144 -I$glibcxx_builddir/include \
59145 -I$glibcxx_srcdir/libsupc++"
59147 # For Canadian crosses, pick this up too.
59148 if test $CANADIAN = yes; then
59149 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
59152 # Stuff in the actual top level. Currently only used by libsupc++ to
59153 # get unwind* headers from the gcc dir.
59154 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
59155 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
59157 # Now, export this to all the little Makefiles....
59162 # Optimization flags that are probably a good idea for thrill-seekers. Just
59163 # uncomment the lines below and make, everything else is ready to go...
59164 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
59165 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
59168 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
59172 if test "$enable_shared" = yes; then
59173 LIBSUPCXX_PICFLAGS="-prefer-pic"
59175 LIBSUPCXX_PICFLAGS=
59179 ac_config_files="$ac_config_files Makefile"
59181 ac_config_files="$ac_config_files scripts/testsuite_flags"
59184 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
59185 # that multilib installs will end up installed in the correct place.
59186 # The testsuite needs it for multilib-aware ABI baseline files.
59187 # To work around this not being passed down from config-ml.in ->
59188 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
59189 # append it here. Only modify Makefiles that have just been created.
59191 # Also, get rid of this simulated-VPATH thing that automake does.
59192 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
59195 ac_config_commands="$ac_config_commands generate-headers"
59198 cat >confcache <<\_ACEOF
59199 # This file is a shell script that caches the results of configure
59200 # tests run on this system so they can be shared between configure
59201 # scripts and configure runs, see configure's option --config-cache.
59202 # It is not useful on other systems. If it contains results you don't
59203 # want to keep, you may remove or edit it.
59205 # config.status only pays attention to the cache file if you give it
59206 # the --recheck option to rerun configure.
59208 # `ac_cv_env_foo' variables (set or unset) will be overridden when
59209 # loading this file, other *unset* `ac_cv_foo' will be assigned the
59210 # following values.
59214 # The following way of writing the cache mishandles newlines in values,
59215 # but we know of no workaround that is simple, portable, and efficient.
59216 # So, we kill variables containing newlines.
59217 # Ultrix sh set writes to stderr and can't be redirected directly,
59218 # and sets the high bit in the cache file unless we assign to the vars.
59220 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
59221 eval ac_val=\$$ac_var
59225 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
59226 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
59229 _ | IFS | as_nl) ;; #(
59230 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
59231 *) { eval $ac_var=; unset $ac_var;} ;;
59237 case $as_nl`(ac_space=' '; set) 2>&1` in #(
59238 *${as_nl}ac_space=\ *)
59239 # `set' does not quote correctly, so add quotes: double-quote
59240 # substitution turns \\\\ into \\, and sed turns \\ into \.
59243 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
59246 # `set' quotes correctly as required by POSIX, so do not add quotes.
59247 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
59256 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
59258 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
59260 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
59261 if test -w "$cache_file"; then
59262 test "x$cache_file" != "x/dev/null" &&
59263 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
59264 $as_echo "$as_me: updating cache $cache_file" >&6;}
59265 cat confcache >$cache_file
59267 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
59268 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
59273 test "x$prefix" = xNONE && prefix=$ac_default_prefix
59274 # Let make expand exec_prefix.
59275 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
59277 DEFS=-DHAVE_CONFIG_H
59281 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
59282 # 1. Remove the extension, and $U if already installed.
59283 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
59284 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
59285 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
59286 # will be set to the directory where LIBOBJS objects are built.
59287 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
59288 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
59290 LIBOBJS=$ac_libobjs
59292 LTLIBOBJS=$ac_ltlibobjs
59295 if test -n "$EXEEXT"; then
59297 am__EXEEXT_FALSE='#'
59299 am__EXEEXT_TRUE='#'
59303 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
59304 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
59305 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59307 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
59308 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
59309 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59311 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
59312 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
59313 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59315 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
59316 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
59317 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59319 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
59320 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
59321 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59323 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
59324 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
59325 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59327 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
59328 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
59329 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59331 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
59332 as_fn_error "conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
59333 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59335 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
59336 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
59337 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59339 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
59340 as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
59341 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59343 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
59344 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
59345 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59347 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
59348 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
59349 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59351 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
59352 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
59353 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59355 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
59356 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
59357 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59359 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
59360 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
59361 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59363 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
59364 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
59365 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59368 : ${CONFIG_STATUS=./config.status}
59370 ac_clean_files_save=$ac_clean_files
59371 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
59372 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
59373 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
59375 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
59377 # Generated by $as_me.
59378 # Run this file to recreate the current configuration.
59379 # Compiler output produced by configure, useful for debugging
59380 # configure, is in config.log if it exists.
59383 ac_cs_recheck=false
59386 SHELL=\${CONFIG_SHELL-$SHELL}
59389 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
59390 ## -------------------- ##
59391 ## M4sh Initialization. ##
59392 ## -------------------- ##
59394 # Be more Bourne compatible
59395 DUALCASE=1; export DUALCASE # for MKS sh
59396 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
59399 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
59400 # is contrary to our usage. Disable this feature.
59401 alias -g '${1+"$@"}'='"$@"'
59402 setopt NO_GLOB_SUBST
59404 case `(set -o) 2>/dev/null` in #(
59416 # Printing a long string crashes Solaris 7 /usr/bin/printf.
59417 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
59418 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
59419 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
59420 # Prefer a ksh shell builtin over an external printf program on Solaris,
59421 # but without wasting forks for bash or zsh.
59422 if test -z "$BASH_VERSION$ZSH_VERSION" \
59423 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
59424 as_echo='print -r --'
59425 as_echo_n='print -rn --'
59426 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
59427 as_echo='printf %s\n'
59428 as_echo_n='printf %s'
59430 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
59431 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
59432 as_echo_n='/usr/ucb/echo -n'
59434 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
59435 as_echo_n_body='eval
59439 expr "X$arg" : "X\\(.*\\)$as_nl";
59440 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
59442 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
59444 export as_echo_n_body
59445 as_echo_n='sh -c $as_echo_n_body as_echo'
59447 export as_echo_body
59448 as_echo='sh -c $as_echo_body as_echo'
59451 # The user is always right.
59452 if test "${PATH_SEPARATOR+set}" != set; then
59454 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
59455 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
59462 # We need space, tab and new line, in precisely that order. Quoting is
59463 # there to prevent editors from complaining about space-tab.
59464 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
59465 # splitting by setting IFS to empty value.)
59468 # Find who we are. Look in the path if we contain no directory separator.
59470 *[\\/]* ) as_myself=$0 ;;
59471 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
59472 for as_dir in $PATH
59475 test -z "$as_dir" && as_dir=.
59476 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
59482 # We did not find ourselves, most probably we were run as `sh COMMAND'
59483 # in which case we are not to be found in the path.
59484 if test "x$as_myself" = x; then
59487 if test ! -f "$as_myself"; then
59488 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
59492 # Unset variables that we do not need and which cause bugs (e.g. in
59493 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
59494 # suppresses any "Segmentation fault" message there. '((' could
59495 # trigger a bug in pdksh 5.2.14.
59496 for as_var in BASH_ENV ENV MAIL MAILPATH
59497 do eval test x\${$as_var+set} = xset \
59498 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
59511 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
59514 # as_fn_error ERROR [LINENO LOG_FD]
59515 # ---------------------------------
59516 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
59517 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
59518 # script with status $?, using 1 if that was 0.
59521 as_status=$?; test $as_status -eq 0 && as_status=1
59523 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
59524 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
59526 $as_echo "$as_me: error: $1" >&2
59527 as_fn_exit $as_status
59531 # as_fn_set_status STATUS
59532 # -----------------------
59533 # Set $? to STATUS, without forking.
59534 as_fn_set_status ()
59537 } # as_fn_set_status
59539 # as_fn_exit STATUS
59540 # -----------------
59541 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
59545 as_fn_set_status $1
59551 # Portably unset VAR.
59554 { eval $1=; unset $1;}
59556 as_unset=as_fn_unset
59557 # as_fn_append VAR VALUE
59558 # ----------------------
59559 # Append the text in VALUE to the end of the definition contained in VAR. Take
59560 # advantage of any shell optimizations that allow amortized linear growth over
59561 # repeated appends, instead of the typical quadratic growth present in naive
59563 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
59564 eval 'as_fn_append ()
59575 # as_fn_arith ARG...
59576 # ------------------
59577 # Perform arithmetic evaluation on the ARGs, and store the result in the
59578 # global $as_val. Take advantage of shells that can avoid forks. The arguments
59579 # must be portable across $(()) and expr.
59580 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
59581 eval 'as_fn_arith ()
59588 as_val=`expr "$@" || test $? -eq 1`
59593 if expr a : '\(a\)' >/dev/null 2>&1 &&
59594 test "X`expr 00001 : '.*\(...\)'`" = X001; then
59600 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
59601 as_basename=basename
59606 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
59612 as_me=`$as_basename -- "$0" ||
59613 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
59614 X"$0" : 'X\(//\)$' \| \
59615 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
59617 sed '/^.*\/\([^/][^/]*\)\/*$/{
59631 # Avoid depending upon Character Ranges.
59632 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
59633 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
59634 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
59635 as_cr_digits='0123456789'
59636 as_cr_alnum=$as_cr_Letters$as_cr_digits
59638 ECHO_C= ECHO_N= ECHO_T=
59639 case `echo -n x` in #(((((
59641 case `echo 'xy\c'` in
59642 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
59644 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
59651 rm -f conf$$ conf$$.exe conf$$.file
59652 if test -d conf$$.dir; then
59653 rm -f conf$$.dir/conf$$.file
59656 mkdir conf$$.dir 2>/dev/null
59658 if (echo >conf$$.file) 2>/dev/null; then
59659 if ln -s conf$$.file conf$$ 2>/dev/null; then
59661 # ... but there are two gotchas:
59662 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
59663 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
59664 # In both cases, we have to default to `cp -p'.
59665 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
59667 elif ln conf$$.file conf$$ 2>/dev/null; then
59675 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
59676 rmdir conf$$.dir 2>/dev/null
59681 # Create "$as_dir" as a directory, including parents if necessary.
59686 -*) as_dir=./$as_dir;;
59688 test -d "$as_dir" || eval $as_mkdir_p || {
59692 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
59693 *) as_qdir=$as_dir;;
59695 as_dirs="'$as_qdir' $as_dirs"
59696 as_dir=`$as_dirname -- "$as_dir" ||
59697 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
59698 X"$as_dir" : 'X\(//\)[^/]' \| \
59699 X"$as_dir" : 'X\(//\)$' \| \
59700 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
59701 $as_echo X"$as_dir" |
59702 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
59706 /^X\(\/\/\)[^/].*/{
59719 test -d "$as_dir" && break
59721 test -z "$as_dirs" || eval "mkdir $as_dirs"
59722 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
59726 if mkdir -p . 2>/dev/null; then
59727 as_mkdir_p='mkdir -p "$as_dir"'
59729 test -d ./-p && rmdir ./-p
59733 if test -x / >/dev/null 2>&1; then
59734 as_test_x='test -x'
59736 if ls -dL / >/dev/null 2>&1; then
59743 if test -d "$1"; then
59749 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
59750 ???[sx]*):;;*)false;;esac;fi
59754 as_executable_p=$as_test_x
59756 # Sed expression to map a string onto a valid CPP name.
59757 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
59759 # Sed expression to map a string onto a valid variable name.
59760 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
59764 ## ----------------------------------- ##
59765 ## Main body of $CONFIG_STATUS script. ##
59766 ## ----------------------------------- ##
59768 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
59770 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59771 # Save the log message, to keep $0 and so on meaningful, and to
59772 # report actual input values of CONFIG_FILES etc. instead of their
59773 # values after options handling.
59775 This file was extended by package-unused $as_me version-unused, which was
59776 generated by GNU Autoconf 2.64. Invocation command line was
59778 CONFIG_FILES = $CONFIG_FILES
59779 CONFIG_HEADERS = $CONFIG_HEADERS
59780 CONFIG_LINKS = $CONFIG_LINKS
59781 CONFIG_COMMANDS = $CONFIG_COMMANDS
59784 on `(hostname || uname -n) 2>/dev/null | sed 1q`
59789 case $ac_config_files in *"
59790 "*) set x $ac_config_files; shift; ac_config_files=$*;;
59793 case $ac_config_headers in *"
59794 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
59798 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59799 # Files that config.status was made for.
59800 config_files="$ac_config_files"
59801 config_headers="$ac_config_headers"
59802 config_commands="$ac_config_commands"
59806 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59808 \`$as_me' instantiates files and other configuration actions
59809 from templates according to the current configuration. Unless the files
59810 and actions are specified as TAGs, all are instantiated by default.
59812 Usage: $0 [OPTION]... [TAG]...
59814 -h, --help print this help, then exit
59815 -V, --version print version number and configuration settings, then exit
59816 -q, --quiet, --silent
59817 do not print progress messages
59818 -d, --debug don't remove temporary files
59819 --recheck update $as_me by reconfiguring in the same conditions
59820 --file=FILE[:TEMPLATE]
59821 instantiate the configuration file FILE
59822 --header=FILE[:TEMPLATE]
59823 instantiate the configuration header FILE
59825 Configuration files:
59828 Configuration headers:
59831 Configuration commands:
59834 Report bugs to the package provider."
59837 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59839 package-unused config.status version-unused
59840 configured by $0, generated by GNU Autoconf 2.64,
59841 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
59843 Copyright (C) 2009 Free Software Foundation, Inc.
59844 This config.status script is free software; the Free Software Foundation
59845 gives unlimited permission to copy, distribute and modify it."
59852 test -n "\$AWK" || AWK=awk
59855 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59856 # The default lists apply if the user does not specify any file.
59862 ac_option=`expr "X$1" : 'X\([^=]*\)='`
59863 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
59874 # Handling of the options.
59875 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
59877 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
59878 $as_echo "$ac_cs_version"; exit ;;
59879 --debug | --debu | --deb | --de | --d | -d )
59881 --file | --fil | --fi | --f )
59884 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
59886 as_fn_append CONFIG_FILES " '$ac_optarg'"
59887 ac_need_defaults=false;;
59888 --header | --heade | --head | --hea )
59891 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
59893 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
59894 ac_need_defaults=false;;
59896 # Conflict between --help and --header
59897 as_fn_error "ambiguous option: \`$1'
59898 Try \`$0 --help' for more information.";;
59899 --help | --hel | -h )
59900 $as_echo "$ac_cs_usage"; exit ;;
59901 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
59902 | -silent | --silent | --silen | --sile | --sil | --si | --s)
59905 # This is an error.
59906 -*) as_fn_error "unrecognized option: \`$1'
59907 Try \`$0 --help' for more information." ;;
59909 *) as_fn_append ac_config_targets " $1"
59910 ac_need_defaults=false ;;
59916 ac_configure_extra_args=
59918 if $ac_cs_silent; then
59920 ac_configure_extra_args="$ac_configure_extra_args --silent"
59924 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59925 if \$ac_cs_recheck; then
59926 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
59928 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
59929 CONFIG_SHELL='$SHELL'
59930 export CONFIG_SHELL
59935 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59939 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
59940 ## Running $as_me. ##
59946 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59954 with_multisubdir="$with_multisubdir"
59955 with_multisrctop="$with_multisrctop"
59956 with_target_subdir="$with_target_subdir"
59957 ac_configure_args="${multilib_arg} ${ac_configure_args}"
59958 multi_basedir="$multi_basedir"
59959 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
59962 GFORTRAN="$GFORTRAN"
59966 # The HP-UX ksh and POSIX shell print the target directory to stdout
59967 # if CDPATH is set.
59968 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
59970 sed_quote_subst='$sed_quote_subst'
59971 double_quote_subst='$double_quote_subst'
59972 delay_variable_subst='$delay_variable_subst'
59973 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
59974 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
59975 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
59976 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
59977 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
59978 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
59979 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
59980 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
59981 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
59982 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
59983 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
59984 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
59985 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
59986 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
59987 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
59988 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
59989 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
59990 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
59991 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
59992 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
59993 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
59994 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
59995 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
59996 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
59997 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
59998 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
59999 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
60000 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
60001 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
60002 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
60003 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
60004 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
60005 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
60006 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
60007 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
60008 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
60009 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
60010 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
60011 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
60012 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
60013 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
60014 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
60015 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
60016 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
60017 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
60018 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
60019 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
60020 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
60021 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"`'
60022 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
60023 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
60024 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
60025 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
60026 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
60027 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
60028 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
60029 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
60030 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
60031 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
60032 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
60033 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
60034 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
60035 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
60036 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
60037 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
60038 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
60039 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
60040 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
60041 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
60042 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
60043 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
60044 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
60045 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
60046 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
60047 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
60048 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
60049 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
60050 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
60051 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
60052 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
60053 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
60054 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
60055 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
60056 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
60057 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
60058 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
60059 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
60060 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
60061 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
60062 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
60063 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
60064 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
60065 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
60066 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
60067 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
60068 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
60069 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
60070 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
60071 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
60072 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
60073 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
60074 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
60075 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
60076 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
60077 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
60078 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
60079 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
60080 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
60081 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
60082 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
60083 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
60084 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
60085 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
60086 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
60087 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
60088 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
60089 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
60090 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
60091 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
60092 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
60093 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
60094 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
60095 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
60096 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
60097 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
60098 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
60099 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
60100 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
60101 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60102 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60103 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
60104 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
60105 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
60106 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
60107 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
60108 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
60109 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
60110 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
60111 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
60112 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
60113 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
60114 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
60115 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60116 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60117 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60118 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60119 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60120 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60121 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
60122 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
60123 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
60124 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
60125 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
60126 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
60127 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
60128 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
60129 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
60130 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
60131 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
60132 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
60133 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
60134 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
60135 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
60136 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60137 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
60138 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
60139 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60140 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
60141 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
60142 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
60143 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
60144 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
60145 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
60146 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
60147 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
60150 LTCFLAGS='$LTCFLAGS'
60151 compiler='$compiler_DEFAULT'
60153 # A function that is used when there is no print builtin or printf.
60154 func_fallback_echo ()
60156 eval 'cat <<_LTECHO_EOF
60161 # Quote evaled strings.
60175 deplibs_check_method \
60184 lt_cv_sys_global_symbol_pipe \
60185 lt_cv_sys_global_symbol_to_cdecl \
60186 lt_cv_sys_global_symbol_to_c_name_address \
60187 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
60188 lt_prog_compiler_no_builtin_flag \
60189 lt_prog_compiler_wl \
60190 lt_prog_compiler_pic \
60191 lt_prog_compiler_static \
60192 lt_cv_prog_compiler_c_o \
60200 export_dynamic_flag_spec \
60201 whole_archive_flag_spec \
60202 compiler_needs_object \
60204 allow_undefined_flag \
60205 no_undefined_flag \
60206 hardcode_libdir_flag_spec \
60207 hardcode_libdir_flag_spec_ld \
60208 hardcode_libdir_separator \
60213 variables_saved_for_relink \
60215 library_names_spec \
60217 install_override_mode \
60221 compiler_lib_search_dirs \
60226 compiler_lib_search_path \
60230 lt_prog_compiler_no_builtin_flag_CXX \
60231 lt_prog_compiler_wl_CXX \
60232 lt_prog_compiler_pic_CXX \
60233 lt_prog_compiler_static_CXX \
60234 lt_cv_prog_compiler_c_o_CXX \
60235 export_dynamic_flag_spec_CXX \
60236 whole_archive_flag_spec_CXX \
60237 compiler_needs_object_CXX \
60239 allow_undefined_flag_CXX \
60240 no_undefined_flag_CXX \
60241 hardcode_libdir_flag_spec_CXX \
60242 hardcode_libdir_flag_spec_ld_CXX \
60243 hardcode_libdir_separator_CXX \
60244 fix_srcfile_path_CXX \
60245 exclude_expsyms_CXX \
60246 include_expsyms_CXX \
60247 file_list_spec_CXX \
60248 compiler_lib_search_dirs_CXX \
60249 predep_objects_CXX \
60250 postdep_objects_CXX \
60253 compiler_lib_search_path_CXX; do
60254 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
60255 *[\\\\\\\`\\"\\\$]*)
60256 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
60259 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
60264 # Double-quote double-evaled strings.
60265 for var in reload_cmds \
60266 old_postinstall_cmds \
60267 old_postuninstall_cmds \
60269 extract_expsyms_cmds \
60270 old_archive_from_new_cmds \
60271 old_archive_from_expsyms_cmds \
60273 archive_expsym_cmds \
60275 module_expsym_cmds \
60276 export_symbols_cmds \
60279 postuninstall_cmds \
60281 sys_lib_search_path_spec \
60282 sys_lib_dlsearch_path_spec \
60284 old_archive_cmds_CXX \
60285 old_archive_from_new_cmds_CXX \
60286 old_archive_from_expsyms_cmds_CXX \
60288 archive_expsym_cmds_CXX \
60290 module_expsym_cmds_CXX \
60291 export_symbols_cmds_CXX \
60292 prelink_cmds_CXX; do
60293 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
60294 *[\\\\\\\`\\"\\\$]*)
60295 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
60298 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
60303 ac_aux_dir='$ac_aux_dir'
60304 xsi_shell='$xsi_shell'
60305 lt_shell_append='$lt_shell_append'
60307 # See if we are running on zsh, and set the options which allow our
60308 # commands through without removal of \ escapes INIT.
60309 if test -n "\${ZSH_VERSION+set}" ; then
60310 setopt NO_GLOB_SUBST
60316 TIMESTAMP='$TIMESTAMP'
60327 acx_cv_header_stdint="$acx_cv_header_stdint"
60328 acx_cv_type_int8_t="$acx_cv_type_int8_t"
60329 acx_cv_type_int16_t="$acx_cv_type_int16_t"
60330 acx_cv_type_int32_t="$acx_cv_type_int32_t"
60331 acx_cv_type_int64_t="$acx_cv_type_int64_t"
60332 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
60333 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
60334 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
60335 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
60336 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
60337 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
60338 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
60339 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
60340 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
60345 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60347 # Handling of arguments.
60348 for ac_config_target in $ac_config_targets
60350 case $ac_config_target in
60351 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
60352 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
60353 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
60354 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
60355 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
60356 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
60357 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
60358 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
60359 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
60360 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
60361 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
60362 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
60363 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
60364 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
60366 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
60371 # If the user did not use the arguments to specify the items to instantiate,
60372 # then the envvar interface is used. Set only those that are not.
60373 # We use the long form for the default assignment because of an extremely
60374 # bizarre bug on SunOS 4.1.3.
60375 if $ac_need_defaults; then
60376 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
60377 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
60378 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
60381 # Have a temporary directory for convenience. Make it in the build tree
60382 # simply because there is no reason against having it here, and in addition,
60383 # creating and moving files from /tmp can sometimes cause problems.
60384 # Hook for its removal unless debugging.
60385 # Note that there is a small window in which the directory will not be cleaned:
60386 # after its creation but before its name has been assigned to `$tmp'.
60390 trap 'exit_status=$?
60391 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
60393 trap 'as_fn_exit 1' 1 2 13 15
60395 # Create a (secure) tmp directory for tmp files.
60398 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
60399 test -n "$tmp" && test -d "$tmp"
60402 tmp=./conf$$-$RANDOM
60403 (umask 077 && mkdir "$tmp")
60404 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
60406 # Set up the scripts for CONFIG_FILES section.
60407 # No need to generate them if there are no CONFIG_FILES.
60408 # This happens for instance with `./config.status config.h'.
60409 if test -n "$CONFIG_FILES"; then
60412 ac_cr=`echo X | tr X '\015'`
60413 # On cygwin, bash can eat \r inside `` if the user requested igncr.
60414 # But we know of no other shell where ac_cr would be empty at this
60415 # point, so we can use a bashism as a fallback.
60416 if test "x$ac_cr" = x; then
60417 eval ac_cr=\$\'\\r\'
60419 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
60420 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
60423 ac_cs_awk_cr=$ac_cr
60426 echo 'BEGIN {' >"$tmp/subs1.awk" &&
60431 echo "cat >conf$$subs.awk <<_ACEOF" &&
60432 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
60434 } >conf$$subs.sh ||
60435 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60436 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
60438 for ac_last_try in false false false false false :; do
60439 . ./conf$$subs.sh ||
60440 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60442 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
60443 if test $ac_delim_n = $ac_delim_num; then
60445 elif $ac_last_try; then
60446 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60448 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
60451 rm -f conf$$subs.sh
60453 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60454 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
60458 s/^/S["/; s/!.*/"]=/
60468 s/\(.\{148\}\).*/\1/
60470 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
60475 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
60482 s/\(.\{148\}\).*/\1/
60484 s/["\\]/\\&/g; s/^/"/; s/$/"/
60488 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
60493 ' <conf$$subs.awk | sed '
60498 ' >>$CONFIG_STATUS || ac_write_fail=1
60499 rm -f conf$$subs.awk
60500 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60502 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
60503 for (key in S) S_is_set[key] = 1
60509 nfields = split(line, field, "@")
60511 len = length(field[1])
60512 for (i = 2; i < nfields; i++) {
60514 keylen = length(key)
60515 if (S_is_set[key]) {
60517 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
60518 len += length(value) + length(field[++i])
60529 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60530 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
60531 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
60534 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
60535 || as_fn_error "could not setup config files machinery" "$LINENO" 5
60538 # VPATH may cause trouble with some makes, so we remove $(srcdir),
60539 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
60540 # trailing colons and then remove the whole line if VPATH becomes empty
60541 # (actually we leave an empty line to preserve line numbers).
60542 if test "x$srcdir" = x.; then
60543 ac_vpsub='/^[ ]*VPATH[ ]*=/{
60544 s/:*\$(srcdir):*/:/
60545 s/:*\${srcdir}:*/:/
60547 s/^\([^=]*=[ ]*\):*/\1/
60553 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60554 fi # test -n "$CONFIG_FILES"
60556 # Set up the scripts for CONFIG_HEADERS section.
60557 # No need to generate them if there are no CONFIG_HEADERS.
60558 # This happens for instance with `./config.status Makefile'.
60559 if test -n "$CONFIG_HEADERS"; then
60560 cat >"$tmp/defines.awk" <<\_ACAWK ||
60564 # Transform confdefs.h into an awk script `defines.awk', embedded as
60565 # here-document in config.status, that substitutes the proper values into
60566 # config.h.in to produce config.h.
60568 # Create a delimiter string that does not exist in confdefs.h, to ease
60569 # handling of long lines.
60571 for ac_last_try in false false :; do
60572 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
60573 if test -z "$ac_t"; then
60575 elif $ac_last_try; then
60576 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
60578 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
60582 # For the awk script, D is an array of macro values keyed by name,
60583 # likewise P contains macro parameters if any. Preserve backslash
60584 # newline sequences.
60586 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
60588 s/.\{148\}/&'"$ac_delim"'/g
60591 s/^[ ]*#[ ]*define[ ][ ]*/ /
60598 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
60600 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
60604 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
60605 D["\1"]=" \3\\\\\\n"\\/p
60607 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
60612 s/.\{148\}/&'"$ac_delim"'/g
60617 s/["\\]/\\&/g; s/^/"/; s/$/"/p
60620 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
60622 ' <confdefs.h | sed '
60623 s/'"$ac_delim"'/"\\\
60624 "/g' >>$CONFIG_STATUS || ac_write_fail=1
60626 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60627 for (key in D) D_is_set[key] = 1
60630 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
60632 split(line, arg, " ")
60633 if (arg[1] == "#") {
60637 defundef = substr(arg[1], 2)
60640 split(mac1, mac2, "(") #)
60642 prefix = substr(line, 1, index(line, defundef) - 1)
60643 if (D_is_set[macro]) {
60644 # Preserve the white space surrounding the "#".
60645 print prefix "define", macro P[macro] D[macro]
60648 # Replace #undef with comments. This is necessary, for example,
60649 # in the case of _POSIX_SOURCE, which is predefined and required
60650 # on some systems where configure will not decide to define it.
60651 if (defundef == "undef") {
60652 print "/*", prefix defundef, macro, "*/"
60660 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60661 as_fn_error "could not setup config headers machinery" "$LINENO" 5
60662 fi # test -n "$CONFIG_HEADERS"
60665 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
60670 :[FHLC]) ac_mode=$ac_tag; continue;;
60672 case $ac_mode$ac_tag in
60674 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
60675 :[FH]-) ac_tag=-:-;;
60676 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
60693 -) ac_f="$tmp/stdin";;
60694 *) # Look for the file first in the build tree, then in the source tree
60695 # (if the path is not absolute). The absolute path cannot be DOS-style,
60696 # because $ac_f cannot contain `:'.
60700 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
60702 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
60704 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
60705 as_fn_append ac_file_inputs " '$ac_f'"
60708 # Let's still pretend it is `configure' which instantiates (i.e., don't
60709 # use $as_me), people would be surprised to read:
60710 # /* config.h. Generated by config.status. */
60711 configure_input='Generated from '`
60712 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
60714 if test x"$ac_file" != x-; then
60715 configure_input="$ac_file. $configure_input"
60716 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
60717 $as_echo "$as_me: creating $ac_file" >&6;}
60719 # Neutralize special characters interpreted by sed in replacement strings.
60720 case $configure_input in #(
60721 *\&* | *\|* | *\\* )
60722 ac_sed_conf_input=`$as_echo "$configure_input" |
60723 sed 's/[\\\\&|]/\\\\&/g'`;; #(
60724 *) ac_sed_conf_input=$configure_input;;
60728 *:-:* | *:-) cat >"$tmp/stdin" \
60729 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
60734 ac_dir=`$as_dirname -- "$ac_file" ||
60735 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60736 X"$ac_file" : 'X\(//\)[^/]' \| \
60737 X"$ac_file" : 'X\(//\)$' \| \
60738 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
60739 $as_echo X"$ac_file" |
60740 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60744 /^X\(\/\/\)[^/].*/{
60757 as_dir="$ac_dir"; as_fn_mkdir_p
60761 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
60763 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
60764 # A ".." for each directory in $ac_dir_suffix.
60765 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
60766 case $ac_top_builddir_sub in
60767 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
60768 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
60771 ac_abs_top_builddir=$ac_pwd
60772 ac_abs_builddir=$ac_pwd$ac_dir_suffix
60773 # for backward compatibility:
60774 ac_top_builddir=$ac_top_build_prefix
60777 .) # We are building in place.
60779 ac_top_srcdir=$ac_top_builddir_sub
60780 ac_abs_top_srcdir=$ac_pwd ;;
60781 [\\/]* | ?:[\\/]* ) # Absolute name.
60782 ac_srcdir=$srcdir$ac_dir_suffix;
60783 ac_top_srcdir=$srcdir
60784 ac_abs_top_srcdir=$srcdir ;;
60785 *) # Relative name.
60786 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
60787 ac_top_srcdir=$ac_top_build_prefix$srcdir
60788 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
60790 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
60800 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
60801 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
60803 ac_MKDIR_P=$MKDIR_P
60805 [\\/$]* | ?:[\\/]* ) ;;
60806 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
60810 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60811 # If the template does not know about datarootdir, expand it.
60812 # FIXME: This hack should be removed a few years after 2.60.
60813 ac_datarootdir_hack=; ac_datarootdir_seen=
60824 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
60825 *datarootdir*) ac_datarootdir_seen=yes;;
60826 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
60827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
60828 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
60830 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60831 ac_datarootdir_hack='
60832 s&@datadir@&$datadir&g
60833 s&@docdir@&$docdir&g
60834 s&@infodir@&$infodir&g
60835 s&@localedir@&$localedir&g
60836 s&@mandir@&$mandir&g
60837 s&\\\${datarootdir}&$datarootdir&g' ;;
60841 # Neutralize VPATH when `$srcdir' = `.'.
60842 # Shell code in configure.ac might set extrasub.
60843 # FIXME: do we really want to maintain this feature?
60844 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60845 ac_sed_extra="$ac_vpsub
60848 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60850 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
60851 s|@configure_input@|$ac_sed_conf_input|;t t
60852 s&@top_builddir@&$ac_top_builddir_sub&;t t
60853 s&@top_build_prefix@&$ac_top_build_prefix&;t t
60854 s&@srcdir@&$ac_srcdir&;t t
60855 s&@abs_srcdir@&$ac_abs_srcdir&;t t
60856 s&@top_srcdir@&$ac_top_srcdir&;t t
60857 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
60858 s&@builddir@&$ac_builddir&;t t
60859 s&@abs_builddir@&$ac_abs_builddir&;t t
60860 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
60861 s&@INSTALL@&$ac_INSTALL&;t t
60862 s&@MKDIR_P@&$ac_MKDIR_P&;t t
60863 $ac_datarootdir_hack
60865 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
60866 || as_fn_error "could not create $ac_file" "$LINENO" 5
60868 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
60869 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
60870 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
60871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
60872 which seems to be undefined. Please make sure it is defined." >&5
60873 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
60874 which seems to be undefined. Please make sure it is defined." >&2;}
60878 -) cat "$tmp/out" && rm -f "$tmp/out";;
60879 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
60881 || as_fn_error "could not create $ac_file" "$LINENO" 5
60887 if test x"$ac_file" != x-; then
60889 $as_echo "/* $configure_input */" \
60890 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
60891 } >"$tmp/config.h" \
60892 || as_fn_error "could not create $ac_file" "$LINENO" 5
60893 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
60894 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
60895 $as_echo "$as_me: $ac_file is unchanged" >&6;}
60898 mv "$tmp/config.h" "$ac_file" \
60899 || as_fn_error "could not create $ac_file" "$LINENO" 5
60902 $as_echo "/* $configure_input */" \
60903 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
60904 || as_fn_error "could not create -" "$LINENO" 5
60906 # Compute "$ac_file"'s index in $config_headers.
60909 for _am_header in $config_headers :; do
60910 case $_am_header in
60911 $_am_arg | $_am_arg:* )
60914 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
60917 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
60918 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60919 X"$_am_arg" : 'X\(//\)[^/]' \| \
60920 X"$_am_arg" : 'X\(//\)$' \| \
60921 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
60922 $as_echo X"$_am_arg" |
60923 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60927 /^X\(\/\/\)[^/].*/{
60939 s/.*/./; q'`/stamp-h$_am_stamp_count
60942 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
60943 $as_echo "$as_me: executing $ac_file commands" >&6;}
60948 case $ac_file$ac_mode in
60950 # Only add multilib support code if we just rebuilt the top-level
60952 case " $CONFIG_FILES " in
60954 ac_file=Makefile . ${multi_basedir}/config-ml.in
60959 # See if we are running on zsh, and set the options which allow our
60960 # commands through without removal of \ escapes.
60961 if test -n "${ZSH_VERSION+set}" ; then
60962 setopt NO_GLOB_SUBST
60965 cfgfile="${ofile}T"
60966 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
60969 cat <<_LT_EOF >> "$cfgfile"
60972 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
60973 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
60974 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
60975 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
60977 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
60978 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
60979 # Written by Gordon Matzigkeit, 1996
60981 # This file is part of GNU Libtool.
60983 # GNU Libtool is free software; you can redistribute it and/or
60984 # modify it under the terms of the GNU General Public License as
60985 # published by the Free Software Foundation; either version 2 of
60986 # the License, or (at your option) any later version.
60988 # As a special exception to the GNU General Public License,
60989 # if you distribute this file as part of a program or library that
60990 # is built using GNU Libtool, you may include this file under the
60991 # same distribution terms that you use for the rest of that program.
60993 # GNU Libtool is distributed in the hope that it will be useful,
60994 # but WITHOUT ANY WARRANTY; without even the implied warranty of
60995 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
60996 # GNU General Public License for more details.
60998 # You should have received a copy of the GNU General Public License
60999 # along with GNU Libtool; see the file COPYING. If not, a copy
61000 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
61001 # obtained by writing to the Free Software Foundation, Inc.,
61002 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
61005 # The names of the tagged configurations supported by this script.
61006 available_tags="CXX "
61008 # ### BEGIN LIBTOOL CONFIG
61010 # Which release of libtool.m4 was used?
61011 macro_version=$macro_version
61012 macro_revision=$macro_revision
61014 # Whether or not to build shared libraries.
61015 build_libtool_libs=$enable_shared
61017 # Whether or not to build static libraries.
61018 build_old_libs=$enable_static
61020 # What type of objects to build.
61023 # Whether or not to optimize for fast installation.
61024 fast_install=$enable_fast_install
61026 # Shell to use when invoking shell scripts.
61029 # An echo program that protects backslashes.
61033 host_alias=$host_alias
61037 # The build system.
61038 build_alias=$build_alias
61042 # A sed program that does not truncate output.
61045 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
61046 Xsed="\$SED -e 1s/^X//"
61048 # A grep program that handles long lines.
61054 # A literal string matcher.
61057 # A BSD- or MS-compatible name lister.
61060 # Whether we need soft or hard links.
61063 # What is the maximum length of a command?
61064 max_cmd_len=$max_cmd_len
61066 # Object file suffix (normally "o").
61069 # Executable file suffix (normally "").
61072 # whether the shell understands "unset".
61075 # turn spaces into newlines.
61078 # turn newlines into spaces.
61081 # An object symbol dumper.
61082 OBJDUMP=$lt_OBJDUMP
61084 # Method to check whether dependent libraries are shared objects.
61085 deplibs_check_method=$lt_deplibs_check_method
61087 # Command to use when deplibs_check_method == "file_magic".
61088 file_magic_cmd=$lt_file_magic_cmd
61092 AR_FLAGS=$lt_AR_FLAGS
61094 # A symbol stripping program.
61097 # Commands used to install an old-style archive.
61099 old_postinstall_cmds=$lt_old_postinstall_cmds
61100 old_postuninstall_cmds=$lt_old_postuninstall_cmds
61102 # Whether to use a lock for old archive extraction.
61103 lock_old_archive_extraction=$lock_old_archive_extraction
61108 # LTCC compiler flags.
61109 LTCFLAGS=$lt_CFLAGS
61111 # Take the output of nm and produce a listing of raw symbols and C names.
61112 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
61114 # Transform the output of nm in a proper C declaration.
61115 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
61117 # Transform the output of nm in a C name address pair.
61118 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
61120 # Transform the output of nm in a C name address pair when lib prefix is needed.
61121 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
61123 # The name of the directory that contains temporary libtool files.
61126 # Used to examine libraries when file_magic_cmd begins with "file".
61127 MAGIC_CMD=$MAGIC_CMD
61129 # Must we lock files when doing compilation?
61130 need_locks=$lt_need_locks
61132 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
61133 DSYMUTIL=$lt_DSYMUTIL
61135 # Tool to change global to local symbols on Mac OS X.
61138 # Tool to manipulate fat objects and archives on Mac OS X.
61141 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
61144 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
61145 OTOOL64=$lt_OTOOL64
61147 # Old archive suffix (normally "a").
61150 # Shared library suffix (normally ".so").
61151 shrext_cmds=$lt_shrext_cmds
61153 # The commands to extract the exported symbol list from a shared archive.
61154 extract_expsyms_cmds=$lt_extract_expsyms_cmds
61156 # Variables whose values should be saved in libtool wrapper scripts and
61157 # restored at link time.
61158 variables_saved_for_relink=$lt_variables_saved_for_relink
61160 # Do we need the "lib" prefix for modules?
61161 need_lib_prefix=$need_lib_prefix
61163 # Do we need a version for libraries?
61164 need_version=$need_version
61166 # Library versioning type.
61167 version_type=$version_type
61169 # Shared library runtime path variable.
61170 runpath_var=$runpath_var
61172 # Shared library path variable.
61173 shlibpath_var=$shlibpath_var
61175 # Is shlibpath searched before the hard-coded library search path?
61176 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
61178 # Format of library name prefix.
61179 libname_spec=$lt_libname_spec
61181 # List of archive names. First name is the real one, the rest are links.
61182 # The last name is the one that the linker finds with -lNAME
61183 library_names_spec=$lt_library_names_spec
61185 # The coded name of the library, if different from the real name.
61186 soname_spec=$lt_soname_spec
61188 # Permission mode override for installation of shared libraries.
61189 install_override_mode=$lt_install_override_mode
61191 # Command to use after installation of a shared archive.
61192 postinstall_cmds=$lt_postinstall_cmds
61194 # Command to use after uninstallation of a shared archive.
61195 postuninstall_cmds=$lt_postuninstall_cmds
61197 # Commands used to finish a libtool library installation in a directory.
61198 finish_cmds=$lt_finish_cmds
61200 # As "finish_cmds", except a single script fragment to be evaled but
61202 finish_eval=$lt_finish_eval
61204 # Whether we should hardcode library paths into libraries.
61205 hardcode_into_libs=$hardcode_into_libs
61207 # Compile-time system search path for libraries.
61208 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
61210 # Run-time system search path for libraries.
61211 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
61213 # Whether dlopen is supported.
61214 dlopen_support=$enable_dlopen
61216 # Whether dlopen of programs is supported.
61217 dlopen_self=$enable_dlopen_self
61219 # Whether dlopen of statically linked programs is supported.
61220 dlopen_self_static=$enable_dlopen_self_static
61222 # Commands to strip libraries.
61223 old_striplib=$lt_old_striplib
61224 striplib=$lt_striplib
61227 # The linker used to build libraries.
61230 # How to create reloadable object files.
61231 reload_flag=$lt_reload_flag
61232 reload_cmds=$lt_reload_cmds
61234 # Commands used to build an old-style archive.
61235 old_archive_cmds=$lt_old_archive_cmds
61237 # A language specific compiler.
61240 # Is the compiler the GNU compiler?
61243 # Compiler flag to turn off builtin functions.
61244 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
61246 # How to pass a linker flag through the compiler.
61247 wl=$lt_lt_prog_compiler_wl
61249 # Additional compiler flags for building library objects.
61250 pic_flag=$lt_lt_prog_compiler_pic
61252 # Compiler flag to prevent dynamic linking.
61253 link_static_flag=$lt_lt_prog_compiler_static
61255 # Does compiler simultaneously support -c and -o options?
61256 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
61258 # Whether or not to add -lc for building shared libraries.
61259 build_libtool_need_lc=$archive_cmds_need_lc
61261 # Whether or not to disallow shared libs when runtime libs are static.
61262 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
61264 # Compiler flag to allow reflexive dlopens.
61265 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
61267 # Compiler flag to generate shared objects directly from archives.
61268 whole_archive_flag_spec=$lt_whole_archive_flag_spec
61270 # Whether the compiler copes with passing no objects directly.
61271 compiler_needs_object=$lt_compiler_needs_object
61273 # Create an old-style archive from a shared archive.
61274 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
61276 # Create a temporary old-style archive to link instead of a shared archive.
61277 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
61279 # Commands used to build a shared archive.
61280 archive_cmds=$lt_archive_cmds
61281 archive_expsym_cmds=$lt_archive_expsym_cmds
61283 # Commands used to build a loadable module if different from building
61284 # a shared archive.
61285 module_cmds=$lt_module_cmds
61286 module_expsym_cmds=$lt_module_expsym_cmds
61288 # Whether we are building with GNU ld or not.
61289 with_gnu_ld=$lt_with_gnu_ld
61291 # Flag that allows shared libraries with undefined symbols to be built.
61292 allow_undefined_flag=$lt_allow_undefined_flag
61294 # Flag that enforces no undefined symbols.
61295 no_undefined_flag=$lt_no_undefined_flag
61297 # Flag to hardcode \$libdir into a binary during linking.
61298 # This must work even if \$libdir does not exist
61299 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
61301 # If ld is used when linking, flag to hardcode \$libdir into a binary
61302 # during linking. This must work even if \$libdir does not exist.
61303 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
61305 # Whether we need a single "-rpath" flag with a separated argument.
61306 hardcode_libdir_separator=$lt_hardcode_libdir_separator
61308 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61309 # DIR into the resulting binary.
61310 hardcode_direct=$hardcode_direct
61312 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61313 # DIR into the resulting binary and the resulting library dependency is
61314 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
61315 # library is relocated.
61316 hardcode_direct_absolute=$hardcode_direct_absolute
61318 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
61319 # into the resulting binary.
61320 hardcode_minus_L=$hardcode_minus_L
61322 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
61323 # into the resulting binary.
61324 hardcode_shlibpath_var=$hardcode_shlibpath_var
61326 # Set to "yes" if building a shared library automatically hardcodes DIR
61327 # into the library and all subsequent libraries and executables linked
61329 hardcode_automatic=$hardcode_automatic
61331 # Set to yes if linker adds runtime paths of dependent libraries
61332 # to runtime path list.
61333 inherit_rpath=$inherit_rpath
61335 # Whether libtool must link a program against all its dependency libraries.
61336 link_all_deplibs=$link_all_deplibs
61338 # Fix the shell variable \$srcfile for the compiler.
61339 fix_srcfile_path=$lt_fix_srcfile_path
61341 # Set to "yes" if exported symbols are required.
61342 always_export_symbols=$always_export_symbols
61344 # The commands to list exported symbols.
61345 export_symbols_cmds=$lt_export_symbols_cmds
61347 # Symbols that should not be listed in the preloaded symbols.
61348 exclude_expsyms=$lt_exclude_expsyms
61350 # Symbols that must always be exported.
61351 include_expsyms=$lt_include_expsyms
61353 # Commands necessary for linking programs (against libraries) with templates.
61354 prelink_cmds=$lt_prelink_cmds
61356 # Specify filename containing input files.
61357 file_list_spec=$lt_file_list_spec
61359 # How to hardcode a shared library path into an executable.
61360 hardcode_action=$hardcode_action
61362 # The directories searched by this compiler when creating a shared library.
61363 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
61365 # Dependencies to place before and after the objects being linked to
61366 # create a shared library.
61367 predep_objects=$lt_predep_objects
61368 postdep_objects=$lt_postdep_objects
61369 predeps=$lt_predeps
61370 postdeps=$lt_postdeps
61372 # The library search path used internally by the compiler when linking
61373 # a shared library.
61374 compiler_lib_search_path=$lt_compiler_lib_search_path
61376 # ### END LIBTOOL CONFIG
61382 cat <<\_LT_EOF >> "$cfgfile"
61383 # AIX sometimes has problems with the GCC collect2 program. For some
61384 # reason, if we set the COLLECT_NAMES environment variable, the problems
61385 # vanish in a puff of smoke.
61386 if test "X${COLLECT_NAMES+set}" != Xset; then
61388 export COLLECT_NAMES
61395 ltmain="$ac_aux_dir/ltmain.sh"
61398 # We use sed instead of cat because bash on DJGPP gets confused if
61399 # if finds mixed CR/LF and LF-only lines. Since sed operates in
61400 # text mode, it properly converts lines to CR/LF. This bash problem
61401 # is reportedly fixed, but why not run on old versions too?
61402 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
61403 || (rm -f "$cfgfile"; exit 1)
61407 cat << \_LT_EOF >> "$cfgfile"
61409 # func_dirname file append nondir_replacement
61410 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
61411 # otherwise set result to NONDIR_REPLACEMENT.
61415 */*) func_dirname_result="${1%/*}${2}" ;;
61416 * ) func_dirname_result="${3}" ;;
61420 # func_basename file
61423 func_basename_result="${1##*/}"
61426 # func_dirname_and_basename file append nondir_replacement
61427 # perform func_basename and func_dirname in a single function
61429 # dirname: Compute the dirname of FILE. If nonempty,
61430 # add APPEND to the result, otherwise set result
61431 # to NONDIR_REPLACEMENT.
61432 # value returned in "$func_dirname_result"
61433 # basename: Compute filename of FILE.
61434 # value retuned in "$func_basename_result"
61435 # Implementation must be kept synchronized with func_dirname
61436 # and func_basename. For efficiency, we do not delegate to
61437 # those functions but instead duplicate the functionality here.
61438 func_dirname_and_basename ()
61441 */*) func_dirname_result="${1%/*}${2}" ;;
61442 * ) func_dirname_result="${3}" ;;
61444 func_basename_result="${1##*/}"
61447 # func_stripname prefix suffix name
61448 # strip PREFIX and SUFFIX off of NAME.
61449 # PREFIX and SUFFIX must not contain globbing or regex special
61450 # characters, hashes, percent signs, but SUFFIX may contain a leading
61451 # dot (in which case that matches only a dot).
61454 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
61455 # positional parameters, so assign one to ordinary parameter first.
61456 func_stripname_result=${3}
61457 func_stripname_result=${func_stripname_result#"${1}"}
61458 func_stripname_result=${func_stripname_result%"${2}"}
61464 func_opt_split_opt=${1%%=*}
61465 func_opt_split_arg=${1#*=}
61472 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
61473 *) func_lo2o_result=${1} ;;
61477 # func_xform libobj-or-source
61480 func_xform_result=${1%.*}.lo
61483 # func_arith arithmetic-term...
61486 func_arith_result=$(( $* ))
61490 # STRING may not start with a hyphen.
61493 func_len_result=${#1}
61498 *) # Bourne compatible functions.
61499 cat << \_LT_EOF >> "$cfgfile"
61501 # func_dirname file append nondir_replacement
61502 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
61503 # otherwise set result to NONDIR_REPLACEMENT.
61506 # Extract subdirectory from the argument.
61507 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
61508 if test "X$func_dirname_result" = "X${1}"; then
61509 func_dirname_result="${3}"
61511 func_dirname_result="$func_dirname_result${2}"
61515 # func_basename file
61518 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
61522 # func_stripname prefix suffix name
61523 # strip PREFIX and SUFFIX off of NAME.
61524 # PREFIX and SUFFIX must not contain globbing or regex special
61525 # characters, hashes, percent signs, but SUFFIX may contain a leading
61526 # dot (in which case that matches only a dot).
61527 # func_strip_suffix prefix name
61531 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
61532 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
61537 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
61538 my_sed_long_arg='1s/^-[^=]*=//'
61543 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
61544 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
61550 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
61553 # func_xform libobj-or-source
61556 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
61559 # func_arith arithmetic-term...
61562 func_arith_result=`expr "$@"`
61566 # STRING may not start with a hyphen.
61569 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
61575 case $lt_shell_append in
61577 cat << \_LT_EOF >> "$cfgfile"
61579 # func_append var value
61580 # Append VALUE to the end of shell variable VAR.
61588 cat << \_LT_EOF >> "$cfgfile"
61590 # func_append var value
61591 # Append VALUE to the end of shell variable VAR.
61602 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
61603 || (rm -f "$cfgfile"; exit 1)
61605 mv -f "$cfgfile" "$ofile" ||
61606 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
61610 cat <<_LT_EOF >> "$ofile"
61612 # ### BEGIN LIBTOOL TAG CONFIG: CXX
61614 # The linker used to build libraries.
61617 # How to create reloadable object files.
61618 reload_flag=$lt_reload_flag_CXX
61619 reload_cmds=$lt_reload_cmds_CXX
61621 # Commands used to build an old-style archive.
61622 old_archive_cmds=$lt_old_archive_cmds_CXX
61624 # A language specific compiler.
61625 CC=$lt_compiler_CXX
61627 # Is the compiler the GNU compiler?
61630 # Compiler flag to turn off builtin functions.
61631 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
61633 # How to pass a linker flag through the compiler.
61634 wl=$lt_lt_prog_compiler_wl_CXX
61636 # Additional compiler flags for building library objects.
61637 pic_flag=$lt_lt_prog_compiler_pic_CXX
61639 # Compiler flag to prevent dynamic linking.
61640 link_static_flag=$lt_lt_prog_compiler_static_CXX
61642 # Does compiler simultaneously support -c and -o options?
61643 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
61645 # Whether or not to add -lc for building shared libraries.
61646 build_libtool_need_lc=$archive_cmds_need_lc_CXX
61648 # Whether or not to disallow shared libs when runtime libs are static.
61649 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
61651 # Compiler flag to allow reflexive dlopens.
61652 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
61654 # Compiler flag to generate shared objects directly from archives.
61655 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
61657 # Whether the compiler copes with passing no objects directly.
61658 compiler_needs_object=$lt_compiler_needs_object_CXX
61660 # Create an old-style archive from a shared archive.
61661 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
61663 # Create a temporary old-style archive to link instead of a shared archive.
61664 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
61666 # Commands used to build a shared archive.
61667 archive_cmds=$lt_archive_cmds_CXX
61668 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
61670 # Commands used to build a loadable module if different from building
61671 # a shared archive.
61672 module_cmds=$lt_module_cmds_CXX
61673 module_expsym_cmds=$lt_module_expsym_cmds_CXX
61675 # Whether we are building with GNU ld or not.
61676 with_gnu_ld=$lt_with_gnu_ld_CXX
61678 # Flag that allows shared libraries with undefined symbols to be built.
61679 allow_undefined_flag=$lt_allow_undefined_flag_CXX
61681 # Flag that enforces no undefined symbols.
61682 no_undefined_flag=$lt_no_undefined_flag_CXX
61684 # Flag to hardcode \$libdir into a binary during linking.
61685 # This must work even if \$libdir does not exist
61686 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
61688 # If ld is used when linking, flag to hardcode \$libdir into a binary
61689 # during linking. This must work even if \$libdir does not exist.
61690 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
61692 # Whether we need a single "-rpath" flag with a separated argument.
61693 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
61695 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61696 # DIR into the resulting binary.
61697 hardcode_direct=$hardcode_direct_CXX
61699 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61700 # DIR into the resulting binary and the resulting library dependency is
61701 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
61702 # library is relocated.
61703 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
61705 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
61706 # into the resulting binary.
61707 hardcode_minus_L=$hardcode_minus_L_CXX
61709 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
61710 # into the resulting binary.
61711 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
61713 # Set to "yes" if building a shared library automatically hardcodes DIR
61714 # into the library and all subsequent libraries and executables linked
61716 hardcode_automatic=$hardcode_automatic_CXX
61718 # Set to yes if linker adds runtime paths of dependent libraries
61719 # to runtime path list.
61720 inherit_rpath=$inherit_rpath_CXX
61722 # Whether libtool must link a program against all its dependency libraries.
61723 link_all_deplibs=$link_all_deplibs_CXX
61725 # Fix the shell variable \$srcfile for the compiler.
61726 fix_srcfile_path=$lt_fix_srcfile_path_CXX
61728 # Set to "yes" if exported symbols are required.
61729 always_export_symbols=$always_export_symbols_CXX
61731 # The commands to list exported symbols.
61732 export_symbols_cmds=$lt_export_symbols_cmds_CXX
61734 # Symbols that should not be listed in the preloaded symbols.
61735 exclude_expsyms=$lt_exclude_expsyms_CXX
61737 # Symbols that must always be exported.
61738 include_expsyms=$lt_include_expsyms_CXX
61740 # Commands necessary for linking programs (against libraries) with templates.
61741 prelink_cmds=$lt_prelink_cmds_CXX
61743 # Specify filename containing input files.
61744 file_list_spec=$lt_file_list_spec_CXX
61746 # How to hardcode a shared library path into an executable.
61747 hardcode_action=$hardcode_action_CXX
61749 # The directories searched by this compiler when creating a shared library.
61750 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
61752 # Dependencies to place before and after the objects being linked to
61753 # create a shared library.
61754 predep_objects=$lt_predep_objects_CXX
61755 postdep_objects=$lt_postdep_objects_CXX
61756 predeps=$lt_predeps_CXX
61757 postdeps=$lt_postdeps_CXX
61759 # The library search path used internally by the compiler when linking
61760 # a shared library.
61761 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
61763 # ### END LIBTOOL TAG CONFIG: CXX
61767 "include/gstdint.h":C)
61768 if test "$GCC" = yes; then
61769 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
61771 echo "/* generated for $CC */" > tmp-stdint.h
61774 sed 's/^ *//' >> tmp-stdint.h <<EOF
61776 #ifndef GCC_GENERATED_STDINT_H
61777 #define GCC_GENERATED_STDINT_H 1
61779 #include <sys/types.h>
61782 if test "$acx_cv_header_stdint" != stdint.h; then
61783 echo "#include <stddef.h>" >> tmp-stdint.h
61785 if test "$acx_cv_header_stdint" != stddef.h; then
61786 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
61789 sed 's/^ *//' >> tmp-stdint.h <<EOF
61790 /* glibc uses these symbols as guards to prevent redefinitions. */
61791 #ifdef __int8_t_defined
61796 #ifdef __uint32_t_defined
61802 # ----------------- done header, emit basic int types -------------
61803 if test "$acx_cv_header_stdint" = stddef.h; then
61804 sed 's/^ *//' >> tmp-stdint.h <<EOF
61808 #ifndef __uint8_t_defined
61809 #define __uint8_t_defined
61810 typedef unsigned $acx_cv_type_int8_t uint8_t;
61816 #ifndef __uint16_t_defined
61817 #define __uint16_t_defined
61818 typedef unsigned $acx_cv_type_int16_t uint16_t;
61824 #ifndef __uint32_t_defined
61825 #define __uint32_t_defined
61826 typedef unsigned $acx_cv_type_int32_t uint32_t;
61832 #ifndef __int8_t_defined
61833 #define __int8_t_defined
61834 typedef $acx_cv_type_int8_t int8_t;
61840 #ifndef __int16_t_defined
61841 #define __int16_t_defined
61842 typedef $acx_cv_type_int16_t int16_t;
61848 #ifndef __int32_t_defined
61849 #define __int32_t_defined
61850 typedef $acx_cv_type_int32_t int32_t;
61854 elif test "$ac_cv_type_u_int32_t" = yes; then
61855 sed 's/^ *//' >> tmp-stdint.h <<EOF
61857 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
61870 #ifndef __uint8_t_defined
61871 #define __uint8_t_defined
61872 typedef u_int8_t uint8_t;
61878 #ifndef __uint16_t_defined
61879 #define __uint16_t_defined
61880 typedef u_int16_t uint16_t;
61886 #ifndef __uint32_t_defined
61887 #define __uint32_t_defined
61888 typedef u_int32_t uint32_t;
61893 sed 's/^ *//' >> tmp-stdint.h <<EOF
61895 /* Some systems have guard macros to prevent redefinitions, define them. */
61917 # ------------- done basic int types, emit int64_t types ------------
61918 if test "$ac_cv_type_uint64_t" = yes; then
61919 sed 's/^ *//' >> tmp-stdint.h <<EOF
61921 /* system headers have good uint64_t and int64_t */
61929 elif test "$ac_cv_type_u_int64_t" = yes; then
61930 sed 's/^ *//' >> tmp-stdint.h <<EOF
61932 /* system headers have an u_int64_t (and int64_t) */
61938 #ifndef __uint64_t_defined
61939 #define __uint64_t_defined
61940 typedef u_int64_t uint64_t;
61944 elif test -n "$acx_cv_type_int64_t"; then
61945 sed 's/^ *//' >> tmp-stdint.h <<EOF
61947 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
61950 typedef $acx_cv_type_int64_t int64_t;
61954 #ifndef __uint64_t_defined
61955 #define __uint64_t_defined
61956 typedef unsigned $acx_cv_type_int64_t uint64_t;
61961 sed 's/^ *//' >> tmp-stdint.h <<EOF
61963 /* some common heuristics for int64_t, using compiler-specific tests */
61964 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
61967 #ifndef __int64_t_defined
61968 typedef long long int64_t;
61973 typedef unsigned long long uint64_t;
61976 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
61977 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
61978 does not implement __extension__. But that compiler doesn't define
61980 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
61981 # define __extension__
61986 __extension__ typedef long long int64_t;
61990 __extension__ typedef unsigned long long uint64_t;
61993 #elif !defined __STRICT_ANSI__
61994 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
61998 typedef __int64 int64_t;
62002 typedef unsigned __int64 uint64_t;
62004 # endif /* compiler */
62006 #endif /* ANSI version */
62010 # ------------- done int64_t types, emit intptr types ------------
62011 if test "$ac_cv_type_uintptr_t" != yes; then
62012 sed 's/^ *//' >> tmp-stdint.h <<EOF
62014 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
62015 #ifndef __uintptr_t_defined
62016 typedef u$acx_cv_type_intptr_t uintptr_t;
62018 #ifndef __intptr_t_defined
62019 typedef $acx_cv_type_intptr_t intptr_t;
62024 # ------------- done intptr types, emit int_least types ------------
62025 if test "$ac_cv_type_int_least32_t" != yes; then
62026 sed 's/^ *//' >> tmp-stdint.h <<EOF
62028 /* Define int_least types */
62029 typedef int8_t int_least8_t;
62030 typedef int16_t int_least16_t;
62031 typedef int32_t int_least32_t;
62033 typedef int64_t int_least64_t;
62036 typedef uint8_t uint_least8_t;
62037 typedef uint16_t uint_least16_t;
62038 typedef uint32_t uint_least32_t;
62040 typedef uint64_t uint_least64_t;
62045 # ------------- done intptr types, emit int_fast types ------------
62046 if test "$ac_cv_type_int_fast32_t" != yes; then
62047 sed 's/^ *//' >> tmp-stdint.h <<EOF
62049 /* Define int_fast types. short is often slow */
62050 typedef int8_t int_fast8_t;
62051 typedef int int_fast16_t;
62052 typedef int32_t int_fast32_t;
62054 typedef int64_t int_fast64_t;
62057 typedef uint8_t uint_fast8_t;
62058 typedef unsigned int uint_fast16_t;
62059 typedef uint32_t uint_fast32_t;
62061 typedef uint64_t uint_fast64_t;
62066 if test "$ac_cv_type_uintmax_t" != yes; then
62067 sed 's/^ *//' >> tmp-stdint.h <<EOF
62069 /* Define intmax based on what we found */
62071 typedef int64_t intmax_t;
62073 typedef long intmax_t;
62076 typedef uint64_t uintmax_t;
62078 typedef unsigned long uintmax_t;
62083 sed 's/^ *//' >> tmp-stdint.h <<EOF
62085 #endif /* GCC_GENERATED_STDINT_H */
62088 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
62091 mv -f tmp-stdint.h include/gstdint.h
62095 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
62096 "include/Makefile":F) cat > vpsed$$ << \_EOF
62097 s!`test -f '$<' || echo '$(srcdir)/'`!!
62099 sed -f vpsed$$ $ac_file > tmp$$
62102 echo 'MULTISUBDIR =' >> $ac_file
62104 . ${multi_basedir}/config-ml.in
62105 { ml_norecursion=; unset ml_norecursion;}
62107 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
62108 s!`test -f '$<' || echo '$(srcdir)/'`!!
62110 sed -f vpsed$$ $ac_file > tmp$$
62113 echo 'MULTISUBDIR =' >> $ac_file
62115 . ${multi_basedir}/config-ml.in
62116 { ml_norecursion=; unset ml_norecursion;}
62118 "python/Makefile":F) cat > vpsed$$ << \_EOF
62119 s!`test -f '$<' || echo '$(srcdir)/'`!!
62121 sed -f vpsed$$ $ac_file > tmp$$
62124 echo 'MULTISUBDIR =' >> $ac_file
62126 . ${multi_basedir}/config-ml.in
62127 { ml_norecursion=; unset ml_norecursion;}
62129 "src/Makefile":F) cat > vpsed$$ << \_EOF
62130 s!`test -f '$<' || echo '$(srcdir)/'`!!
62132 sed -f vpsed$$ $ac_file > tmp$$
62135 echo 'MULTISUBDIR =' >> $ac_file
62137 . ${multi_basedir}/config-ml.in
62138 { ml_norecursion=; unset ml_norecursion;}
62140 "doc/Makefile":F) cat > vpsed$$ << \_EOF
62141 s!`test -f '$<' || echo '$(srcdir)/'`!!
62143 sed -f vpsed$$ $ac_file > tmp$$
62146 echo 'MULTISUBDIR =' >> $ac_file
62148 . ${multi_basedir}/config-ml.in
62149 { ml_norecursion=; unset ml_norecursion;}
62151 "po/Makefile":F) cat > vpsed$$ << \_EOF
62152 s!`test -f '$<' || echo '$(srcdir)/'`!!
62154 sed -f vpsed$$ $ac_file > tmp$$
62157 echo 'MULTISUBDIR =' >> $ac_file
62159 . ${multi_basedir}/config-ml.in
62160 { ml_norecursion=; unset ml_norecursion;}
62162 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
62163 s!`test -f '$<' || echo '$(srcdir)/'`!!
62165 sed -f vpsed$$ $ac_file > tmp$$
62168 echo 'MULTISUBDIR =' >> $ac_file
62170 . ${multi_basedir}/config-ml.in
62171 { ml_norecursion=; unset ml_norecursion;}
62173 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
62181 ac_clean_files=$ac_clean_files_save
62183 test $ac_write_fail = 0 ||
62184 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
62187 # configure is writing to config.log, and then calls config.status.
62188 # config.status does its own redirection, appending to config.log.
62189 # Unfortunately, on DOS this fails, as config.log is still kept open
62190 # by configure, so config.status won't be able to write to it; its
62191 # output is simply discarded. So we exec the FD to /dev/null,
62192 # effectively closing config.log, so it can be properly (re)opened and
62193 # appended to by config.status. When coming back to configure, we
62194 # need to make the FD available again.
62195 if test "$no_create" != yes; then
62197 ac_config_status_args=
62198 test "$silent" = yes &&
62199 ac_config_status_args="$ac_config_status_args --quiet"
62201 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
62203 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
62204 # would make configure fail if this is the last instruction.
62205 $ac_cs_success || as_fn_exit $?
62207 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
62208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
62209 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}