2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
194 test -z "$as_dir" && as_dir=.
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
246 SHELL=${CONFIG_SHELL-/bin/sh}
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
257 # Portably unset VAR.
260 { eval $1=; unset $1;}
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
284 # Create "$as_dir" as a directory, including parents if necessary.
289 -*) as_dir=./$as_dir;;
291 test -d "$as_dir" || eval $as_mkdir_p || {
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
322 test -d "$as_dir" && break
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
360 as_val=`expr "$@" || test $? -eq 1`
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
372 as_status=$?; test $as_status -eq 0 && as_status=1
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
454 # Exit status is that of the last command.
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
476 mkdir conf$$.dir 2>/dev/null
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
487 elif ln conf$$.file conf$$ 2>/dev/null; then
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
501 test -d ./-p && rmdir ./-p
505 if test -x / >/dev/null 2>&1; then
508 if ls -dL / >/dev/null 2>&1; then
515 if test -d "$1"; then
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
526 as_executable_p=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev/null 6>&1
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 ac_default_prefix=/usr/local
549 ac_config_libobj_dir=.
556 # Identity of this package.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
564 ac_unique_file="src/shared/hashtable-aux.cc"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
578 # ifdef HAVE_STDLIB_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
601 ac_subst_vars='am__EXEEXT_FALSE
610 glibcxx_toolexeclibdir
614 ERROR_CONSTANTS_SRCDIR
640 baseline_subdir_switch
642 GLIBCXX_LDBL_COMPAT_FALSE
643 GLIBCXX_LDBL_COMPAT_TRUE
644 ENABLE_VISIBILITY_FALSE
645 ENABLE_VISIBILITY_TRUE
647 ENABLE_SYMVERS_SOL2_FALSE
648 ENABLE_SYMVERS_SOL2_TRUE
649 ENABLE_SYMVERS_SUN_FALSE
650 ENABLE_SYMVERS_SUN_TRUE
651 ENABLE_SYMVERS_DARWIN_FALSE
652 ENABLE_SYMVERS_DARWIN_TRUE
653 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
654 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
655 ENABLE_SYMVERS_GNU_FALSE
656 ENABLE_SYMVERS_GNU_TRUE
659 port_specific_symbol_files
667 ENABLE_PYTHONDIR_FALSE
668 ENABLE_PYTHONDIR_TRUE
670 ENABLE_EXTERN_TEMPLATE_FALSE
671 ENABLE_EXTERN_TEMPLATE_TRUE
673 ENABLE_PARALLEL_FALSE
675 GLIBCXX_BUILD_DEBUG_FALSE
676 GLIBCXX_BUILD_DEBUG_TRUE
678 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
679 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
680 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
681 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
682 GLIBCXX_C_HEADERS_C_STD_FALSE
683 GLIBCXX_C_HEADERS_C_STD_TRUE
684 GLIBCXX_C_HEADERS_C_FALSE
685 GLIBCXX_C_HEADERS_C_TRUE
712 GLIBCXX_BUILD_PCH_FALSE
713 GLIBCXX_BUILD_PCH_TRUE
737 MAINTAINER_MODE_FALSE
765 INSTALL_STRIP_PROGRAM
820 program_transform_name
833 enable_option_checking
838 enable_maintainer_mode
845 enable_hosted_libstdcxx
846 enable_sjlj_exceptions
851 enable_libstdcxx_allocator
856 enable_concept_checks
857 enable_libstdcxx_debug_flags
858 enable_libstdcxx_debug
860 enable_fully_dynamic_string
861 enable_extern_template
863 enable_libstdcxx_time
867 with_system_libunwind
870 enable_libstdcxx_visibility
872 enable_version_specific_runtime_libs
874 ac_precious_vars='build_alias
890 # Initialize some variables set by options.
892 ac_init_version=false
893 ac_unrecognized_opts=
895 # The variables have the same names as the options, with
896 # dashes changed to underlines.
904 program_transform_name=s,x,x,
912 # Installation directory options.
913 # These are left unexpanded so users can "make install exec_prefix=/foo"
914 # and all the variables that are supposed to be based on exec_prefix
915 # by default will actually change.
916 # Use braces instead of parens because sh, perl, etc. also accept them.
917 # (The list follows the same order as the GNU Coding Standards.)
918 bindir='${exec_prefix}/bin'
919 sbindir='${exec_prefix}/sbin'
920 libexecdir='${exec_prefix}/libexec'
921 datarootdir='${prefix}/share'
922 datadir='${datarootdir}'
923 sysconfdir='${prefix}/etc'
924 sharedstatedir='${prefix}/com'
925 localstatedir='${prefix}/var'
926 includedir='${prefix}/include'
927 oldincludedir='/usr/include'
928 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
929 infodir='${datarootdir}/info'
934 libdir='${exec_prefix}/lib'
935 localedir='${datarootdir}/locale'
936 mandir='${datarootdir}/man'
942 # If the previous option needs an argument, assign it.
943 if test -n "$ac_prev"; then
944 eval $ac_prev=\$ac_option
950 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
954 # Accept the important Cygnus configure options, so we can diagnose typos.
956 case $ac_dashdash$ac_option in
960 -bindir | --bindir | --bindi | --bind | --bin | --bi)
962 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
965 -build | --build | --buil | --bui | --bu)
966 ac_prev=build_alias ;;
967 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
968 build_alias=$ac_optarg ;;
970 -cache-file | --cache-file | --cache-fil | --cache-fi \
971 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
972 ac_prev=cache_file ;;
973 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
974 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
975 cache_file=$ac_optarg ;;
978 cache_file=config.cache ;;
980 -datadir | --datadir | --datadi | --datad)
982 -datadir=* | --datadir=* | --datadi=* | --datad=*)
983 datadir=$ac_optarg ;;
985 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
986 | --dataroo | --dataro | --datar)
987 ac_prev=datarootdir ;;
988 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
989 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
990 datarootdir=$ac_optarg ;;
992 -disable-* | --disable-*)
993 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
994 # Reject names that are not valid shell variable names.
995 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
996 as_fn_error "invalid feature name: $ac_useropt"
997 ac_useropt_orig=$ac_useropt
998 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
999 case $ac_user_opts in
1001 "enable_$ac_useropt"
1003 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1004 ac_unrecognized_sep=', ';;
1006 eval enable_$ac_useropt=no ;;
1008 -docdir | --docdir | --docdi | --doc | --do)
1010 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1011 docdir=$ac_optarg ;;
1013 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1015 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1016 dvidir=$ac_optarg ;;
1018 -enable-* | --enable-*)
1019 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1020 # Reject names that are not valid shell variable names.
1021 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1022 as_fn_error "invalid feature name: $ac_useropt"
1023 ac_useropt_orig=$ac_useropt
1024 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1025 case $ac_user_opts in
1027 "enable_$ac_useropt"
1029 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1030 ac_unrecognized_sep=', ';;
1032 eval enable_$ac_useropt=\$ac_optarg ;;
1034 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1035 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1036 | --exec | --exe | --ex)
1037 ac_prev=exec_prefix ;;
1038 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1039 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1040 | --exec=* | --exe=* | --ex=*)
1041 exec_prefix=$ac_optarg ;;
1043 -gas | --gas | --ga | --g)
1044 # Obsolete; use --with-gas.
1047 -help | --help | --hel | --he | -h)
1048 ac_init_help=long ;;
1049 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1050 ac_init_help=recursive ;;
1051 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1052 ac_init_help=short ;;
1054 -host | --host | --hos | --ho)
1055 ac_prev=host_alias ;;
1056 -host=* | --host=* | --hos=* | --ho=*)
1057 host_alias=$ac_optarg ;;
1059 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1061 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1063 htmldir=$ac_optarg ;;
1065 -includedir | --includedir | --includedi | --included | --include \
1066 | --includ | --inclu | --incl | --inc)
1067 ac_prev=includedir ;;
1068 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1069 | --includ=* | --inclu=* | --incl=* | --inc=*)
1070 includedir=$ac_optarg ;;
1072 -infodir | --infodir | --infodi | --infod | --info | --inf)
1074 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1075 infodir=$ac_optarg ;;
1077 -libdir | --libdir | --libdi | --libd)
1079 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1080 libdir=$ac_optarg ;;
1082 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1083 | --libexe | --libex | --libe)
1084 ac_prev=libexecdir ;;
1085 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1086 | --libexe=* | --libex=* | --libe=*)
1087 libexecdir=$ac_optarg ;;
1089 -localedir | --localedir | --localedi | --localed | --locale)
1090 ac_prev=localedir ;;
1091 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1092 localedir=$ac_optarg ;;
1094 -localstatedir | --localstatedir | --localstatedi | --localstated \
1095 | --localstate | --localstat | --localsta | --localst | --locals)
1096 ac_prev=localstatedir ;;
1097 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1098 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1099 localstatedir=$ac_optarg ;;
1101 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1103 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1104 mandir=$ac_optarg ;;
1106 -nfp | --nfp | --nf)
1107 # Obsolete; use --without-fp.
1110 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1111 | --no-cr | --no-c | -n)
1114 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1115 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1118 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1119 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1120 | --oldin | --oldi | --old | --ol | --o)
1121 ac_prev=oldincludedir ;;
1122 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1123 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1124 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1125 oldincludedir=$ac_optarg ;;
1127 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1129 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1130 prefix=$ac_optarg ;;
1132 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1133 | --program-pre | --program-pr | --program-p)
1134 ac_prev=program_prefix ;;
1135 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1136 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1137 program_prefix=$ac_optarg ;;
1139 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1140 | --program-suf | --program-su | --program-s)
1141 ac_prev=program_suffix ;;
1142 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1143 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1144 program_suffix=$ac_optarg ;;
1146 -program-transform-name | --program-transform-name \
1147 | --program-transform-nam | --program-transform-na \
1148 | --program-transform-n | --program-transform- \
1149 | --program-transform | --program-transfor \
1150 | --program-transfo | --program-transf \
1151 | --program-trans | --program-tran \
1152 | --progr-tra | --program-tr | --program-t)
1153 ac_prev=program_transform_name ;;
1154 -program-transform-name=* | --program-transform-name=* \
1155 | --program-transform-nam=* | --program-transform-na=* \
1156 | --program-transform-n=* | --program-transform-=* \
1157 | --program-transform=* | --program-transfor=* \
1158 | --program-transfo=* | --program-transf=* \
1159 | --program-trans=* | --program-tran=* \
1160 | --progr-tra=* | --program-tr=* | --program-t=*)
1161 program_transform_name=$ac_optarg ;;
1163 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1165 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1166 pdfdir=$ac_optarg ;;
1168 -psdir | --psdir | --psdi | --psd | --ps)
1170 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1173 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1174 | -silent | --silent | --silen | --sile | --sil)
1177 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1179 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1181 sbindir=$ac_optarg ;;
1183 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1184 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1185 | --sharedst | --shareds | --shared | --share | --shar \
1187 ac_prev=sharedstatedir ;;
1188 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1189 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1190 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1192 sharedstatedir=$ac_optarg ;;
1194 -site | --site | --sit)
1196 -site=* | --site=* | --sit=*)
1199 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1201 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1202 srcdir=$ac_optarg ;;
1204 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1205 | --syscon | --sysco | --sysc | --sys | --sy)
1206 ac_prev=sysconfdir ;;
1207 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1208 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1209 sysconfdir=$ac_optarg ;;
1211 -target | --target | --targe | --targ | --tar | --ta | --t)
1212 ac_prev=target_alias ;;
1213 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1214 target_alias=$ac_optarg ;;
1216 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1219 -version | --version | --versio | --versi | --vers | -V)
1220 ac_init_version=: ;;
1223 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1224 # Reject names that are not valid shell variable names.
1225 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1226 as_fn_error "invalid package name: $ac_useropt"
1227 ac_useropt_orig=$ac_useropt
1228 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1229 case $ac_user_opts in
1233 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1234 ac_unrecognized_sep=', ';;
1236 eval with_$ac_useropt=\$ac_optarg ;;
1238 -without-* | --without-*)
1239 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1240 # Reject names that are not valid shell variable names.
1241 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1242 as_fn_error "invalid package name: $ac_useropt"
1243 ac_useropt_orig=$ac_useropt
1244 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1245 case $ac_user_opts in
1249 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1250 ac_unrecognized_sep=', ';;
1252 eval with_$ac_useropt=no ;;
1255 # Obsolete; use --with-x.
1258 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1259 | --x-incl | --x-inc | --x-in | --x-i)
1260 ac_prev=x_includes ;;
1261 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1262 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1263 x_includes=$ac_optarg ;;
1265 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1266 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1267 ac_prev=x_libraries ;;
1268 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1269 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1270 x_libraries=$ac_optarg ;;
1272 -*) as_fn_error "unrecognized option: \`$ac_option'
1273 Try \`$0 --help' for more information."
1277 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1278 # Reject names that are not valid shell variable names.
1279 case $ac_envvar in #(
1280 '' | [0-9]* | *[!_$as_cr_alnum]* )
1281 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1283 eval $ac_envvar=\$ac_optarg
1284 export $ac_envvar ;;
1287 # FIXME: should be removed in autoconf 3.0.
1288 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1289 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1290 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1291 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1297 if test -n "$ac_prev"; then
1298 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1299 as_fn_error "missing argument to $ac_option"
1302 if test -n "$ac_unrecognized_opts"; then
1303 case $enable_option_checking in
1305 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1306 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1310 # Check all directory arguments for consistency.
1311 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1312 datadir sysconfdir sharedstatedir localstatedir includedir \
1313 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1314 libdir localedir mandir
1316 eval ac_val=\$$ac_var
1317 # Remove trailing slashes.
1320 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1321 eval $ac_var=\$ac_val;;
1323 # Be sure to have absolute directory names.
1325 [\\/$]* | ?:[\\/]* ) continue;;
1326 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1328 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1331 # There might be people who depend on the old broken behavior: `$host'
1332 # used to hold the argument of --host etc.
1333 # FIXME: To remove some day.
1336 target=$target_alias
1338 # FIXME: To remove some day.
1339 if test "x$host_alias" != x; then
1340 if test "x$build_alias" = x; then
1341 cross_compiling=maybe
1342 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1343 If a cross compiler is detected then cross compile mode will be used." >&2
1344 elif test "x$build_alias" != "x$host_alias"; then
1350 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1352 test "$silent" = yes && exec 6>/dev/null
1355 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1356 ac_ls_di=`ls -di .` &&
1357 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1358 as_fn_error "working directory cannot be determined"
1359 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1360 as_fn_error "pwd does not report name of working directory"
1363 # Find the source files, if location was not specified.
1364 if test -z "$srcdir"; then
1365 ac_srcdir_defaulted=yes
1366 # Try the directory containing this script, then the parent directory.
1367 ac_confdir=`$as_dirname -- "$as_myself" ||
1368 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1369 X"$as_myself" : 'X\(//\)[^/]' \| \
1370 X"$as_myself" : 'X\(//\)$' \| \
1371 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1372 $as_echo X"$as_myself" |
1373 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1391 if test ! -r "$srcdir/$ac_unique_file"; then
1395 ac_srcdir_defaulted=no
1397 if test ! -r "$srcdir/$ac_unique_file"; then
1398 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1399 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1401 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1403 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1405 # When building in place, set srcdir=.
1406 if test "$ac_abs_confdir" = "$ac_pwd"; then
1409 # Remove unnecessary trailing slashes from srcdir.
1410 # Double slashes in file names in object file debugging info
1411 # mess up M-x gdb in Emacs.
1413 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1415 for ac_var in $ac_precious_vars; do
1416 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1417 eval ac_env_${ac_var}_value=\$${ac_var}
1418 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1419 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1423 # Report the --help message.
1425 if test "$ac_init_help" = "long"; then
1426 # Omit some internal or obsolete options to make the list less imposing.
1427 # This message is too long to be a string in the A/UX 3.1 sh.
1429 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1431 Usage: $0 [OPTION]... [VAR=VALUE]...
1433 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1434 VAR=VALUE. See below for descriptions of some of the useful variables.
1436 Defaults for the options are specified in brackets.
1439 -h, --help display this help and exit
1440 --help=short display options specific to this package
1441 --help=recursive display the short help of all the included packages
1442 -V, --version display version information and exit
1443 -q, --quiet, --silent do not print \`checking...' messages
1444 --cache-file=FILE cache test results in FILE [disabled]
1445 -C, --config-cache alias for \`--cache-file=config.cache'
1446 -n, --no-create do not create output files
1447 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1449 Installation directories:
1450 --prefix=PREFIX install architecture-independent files in PREFIX
1451 [$ac_default_prefix]
1452 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1455 By default, \`make install' will install all the files in
1456 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1457 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1458 for instance \`--prefix=\$HOME'.
1460 For better control, use the options below.
1462 Fine tuning of the installation directories:
1463 --bindir=DIR user executables [EPREFIX/bin]
1464 --sbindir=DIR system admin executables [EPREFIX/sbin]
1465 --libexecdir=DIR program executables [EPREFIX/libexec]
1466 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1467 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1468 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1469 --libdir=DIR object code libraries [EPREFIX/lib]
1470 --includedir=DIR C header files [PREFIX/include]
1471 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1472 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1473 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1474 --infodir=DIR info documentation [DATAROOTDIR/info]
1475 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1476 --mandir=DIR man documentation [DATAROOTDIR/man]
1477 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1478 --htmldir=DIR html documentation [DOCDIR]
1479 --dvidir=DIR dvi documentation [DOCDIR]
1480 --pdfdir=DIR pdf documentation [DOCDIR]
1481 --psdir=DIR ps documentation [DOCDIR]
1487 --program-prefix=PREFIX prepend PREFIX to installed program names
1488 --program-suffix=SUFFIX append SUFFIX to installed program names
1489 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1492 --build=BUILD configure for building on BUILD [guessed]
1493 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1494 --target=TARGET configure for building compilers for TARGET [HOST]
1498 if test -n "$ac_init_help"; then
1499 case $ac_init_help in
1500 short | recursive ) echo "Configuration of package-unused version-unused:";;
1505 --disable-option-checking ignore unrecognized --enable/--with options
1506 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1507 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1508 --enable-multilib build many library versions (default)
1509 --enable-maintainer-mode enable make rules and dependencies not useful
1510 (and sometimes confusing) to the casual installer
1511 --enable-shared[=PKGS] build shared libraries [default=yes]
1512 --enable-static[=PKGS] build static libraries [default=yes]
1513 --enable-fast-install[=PKGS]
1514 optimize for fast installation [default=yes]
1515 --disable-libtool-lock avoid locking (might break parallel builds)
1516 --disable-hosted-libstdcxx
1517 only build freestanding C++ runtime support
1518 --enable-sjlj-exceptions
1519 force use of builtin_setjmp for exceptions
1521 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1522 [default=$is_hosted]
1523 --enable-cstdio[=PACKAGE]
1524 use target-specific I/O package [default=stdio]
1525 --enable-clocale[=MODEL]
1526 use MODEL for target locale package [default=auto]
1527 --enable-nls use Native Language Support (default)
1528 --enable-libstdcxx-allocator[=KIND]
1529 use KIND for target std::allocator base
1531 --enable-cheaders[=KIND]
1532 construct "C" headers for g++ [default=$c_model]
1533 --enable-long-long enable template specializations for 'long long'
1535 --enable-wchar_t enable template specializations for 'wchar_t'
1537 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1538 --enable-concept-checks use Boost-derived template checks [default=no]
1539 --enable-libstdcxx-debug-flags=FLAGS
1540 pass compiler FLAGS when building debug library
1541 [default="-gdwarf-4 -g3 -O0"]
1542 --enable-libstdcxx-debug
1543 build extra debug library [default=no]
1544 --enable-cxx-flags=FLAGS
1545 pass compiler FLAGS when building library [default=]
1546 --enable-fully-dynamic-string
1547 do not put empty strings in per-process static
1549 --enable-extern-template
1550 enable extern template [default=yes]
1551 --enable-libstdcxx-time[=KIND]
1552 use KIND for check type [default=no]
1553 --enable-tls Use thread-local storage [default=yes]
1554 --disable-rpath do not hardcode runtime library paths
1555 --enable-linux-futex use the Linux futex system call [default=default]
1556 --enable-symvers[=STYLE]
1557 enables symbol versioning of the shared library
1559 --enable-libstdcxx-visibility
1560 enables visibility safe usage [default=yes]
1561 --enable-version-specific-runtime-libs
1562 Specify that runtime libraries should be installed
1563 in a compiler-specific directory
1566 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1567 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1568 --with-target-subdir=SUBDIR
1569 configuring in a subdirectory
1570 --with-cross-host=HOST configuring with a cross compiler
1571 --with-newlib assume newlib as a system C library
1572 --with-pic try to use only PIC/non-PIC objects [default=use
1574 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1575 --with-python-dir the location to install Python modules. This path is
1576 relative starting from the prefix.
1577 --with-gnu-ld assume the C compiler uses GNU ld default=no
1578 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1579 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1580 --with-system-libunwind use installed libunwind
1581 --with-gxx-include-dir=DIR
1582 installation directory for include files
1584 Some influential environment variables:
1585 CC C compiler command
1586 CFLAGS C compiler flags
1587 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1588 nonstandard directory <lib dir>
1589 LIBS libraries to pass to the linker, e.g. -l<library>
1590 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1591 you have headers in a nonstandard directory <include dir>
1592 CXX C++ compiler command
1593 CXXFLAGS C++ compiler flags
1595 CXXCPP C++ preprocessor
1596 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1597 `c++filt', `gc++filt' on PATH.
1599 Use these variables to override the choices made by `configure' or to help
1600 it to find libraries and programs with nonstandard names/locations.
1602 Report bugs to the package provider.
1607 if test "$ac_init_help" = "recursive"; then
1608 # If there are subdirs, report their specific --help.
1609 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1610 test -d "$ac_dir" ||
1611 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1616 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1618 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1619 # A ".." for each directory in $ac_dir_suffix.
1620 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1621 case $ac_top_builddir_sub in
1622 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1623 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1626 ac_abs_top_builddir=$ac_pwd
1627 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1628 # for backward compatibility:
1629 ac_top_builddir=$ac_top_build_prefix
1632 .) # We are building in place.
1634 ac_top_srcdir=$ac_top_builddir_sub
1635 ac_abs_top_srcdir=$ac_pwd ;;
1636 [\\/]* | ?:[\\/]* ) # Absolute name.
1637 ac_srcdir=$srcdir$ac_dir_suffix;
1638 ac_top_srcdir=$srcdir
1639 ac_abs_top_srcdir=$srcdir ;;
1641 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1642 ac_top_srcdir=$ac_top_build_prefix$srcdir
1643 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1645 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1647 cd "$ac_dir" || { ac_status=$?; continue; }
1648 # Check for guested configure.
1649 if test -f "$ac_srcdir/configure.gnu"; then
1651 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1652 elif test -f "$ac_srcdir/configure"; then
1654 $SHELL "$ac_srcdir/configure" --help=recursive
1656 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1658 cd "$ac_pwd" || { ac_status=$?; break; }
1662 test -n "$ac_init_help" && exit $ac_status
1663 if $ac_init_version; then
1665 package-unused configure version-unused
1666 generated by GNU Autoconf 2.64
1668 Copyright (C) 2009 Free Software Foundation, Inc.
1669 This configure script is free software; the Free Software Foundation
1670 gives unlimited permission to copy, distribute and modify it.
1675 ## ------------------------ ##
1676 ## Autoconf initialization. ##
1677 ## ------------------------ ##
1679 # ac_fn_c_try_compile LINENO
1680 # --------------------------
1681 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1682 ac_fn_c_try_compile ()
1684 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1685 rm -f conftest.$ac_objext
1686 if { { ac_try="$ac_compile"
1688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1689 *) ac_try_echo=$ac_try;;
1691 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1692 $as_echo "$ac_try_echo"; } >&5
1693 (eval "$ac_compile") 2>conftest.err
1695 if test -s conftest.err; then
1696 grep -v '^ *+' conftest.err >conftest.er1
1697 cat conftest.er1 >&5
1698 mv -f conftest.er1 conftest.err
1700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1701 test $ac_status = 0; } && {
1702 test -z "$ac_c_werror_flag" ||
1703 test ! -s conftest.err
1704 } && test -s conftest.$ac_objext; then :
1707 $as_echo "$as_me: failed program was:" >&5
1708 sed 's/^/| /' conftest.$ac_ext >&5
1712 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1715 } # ac_fn_c_try_compile
1717 # ac_fn_cxx_try_compile LINENO
1718 # ----------------------------
1719 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1720 ac_fn_cxx_try_compile ()
1722 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1723 rm -f conftest.$ac_objext
1724 if { { ac_try="$ac_compile"
1726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1727 *) ac_try_echo=$ac_try;;
1729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1730 $as_echo "$ac_try_echo"; } >&5
1731 (eval "$ac_compile") 2>conftest.err
1733 if test -s conftest.err; then
1734 grep -v '^ *+' conftest.err >conftest.er1
1735 cat conftest.er1 >&5
1736 mv -f conftest.er1 conftest.err
1738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1739 test $ac_status = 0; } && {
1740 test -z "$ac_cxx_werror_flag" ||
1741 test ! -s conftest.err
1742 } && test -s conftest.$ac_objext; then :
1745 $as_echo "$as_me: failed program was:" >&5
1746 sed 's/^/| /' conftest.$ac_ext >&5
1750 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1753 } # ac_fn_cxx_try_compile
1755 # ac_fn_c_try_cpp LINENO
1756 # ----------------------
1757 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1760 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1761 if { { ac_try="$ac_cpp conftest.$ac_ext"
1763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1764 *) ac_try_echo=$ac_try;;
1766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1767 $as_echo "$ac_try_echo"; } >&5
1768 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1770 if test -s conftest.err; then
1771 grep -v '^ *+' conftest.err >conftest.er1
1772 cat conftest.er1 >&5
1773 mv -f conftest.er1 conftest.err
1775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1776 test $ac_status = 0; } >/dev/null && {
1777 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1778 test ! -s conftest.err
1782 $as_echo "$as_me: failed program was:" >&5
1783 sed 's/^/| /' conftest.$ac_ext >&5
1787 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1792 # ac_fn_c_try_link LINENO
1793 # -----------------------
1794 # Try to link conftest.$ac_ext, and return whether this succeeded.
1797 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1798 rm -f conftest.$ac_objext conftest$ac_exeext
1799 if { { ac_try="$ac_link"
1801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1802 *) ac_try_echo=$ac_try;;
1804 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1805 $as_echo "$ac_try_echo"; } >&5
1806 (eval "$ac_link") 2>conftest.err
1808 if test -s conftest.err; then
1809 grep -v '^ *+' conftest.err >conftest.er1
1810 cat conftest.er1 >&5
1811 mv -f conftest.er1 conftest.err
1813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1814 test $ac_status = 0; } && {
1815 test -z "$ac_c_werror_flag" ||
1816 test ! -s conftest.err
1817 } && test -s conftest$ac_exeext && {
1818 test "$cross_compiling" = yes ||
1819 $as_test_x conftest$ac_exeext
1823 $as_echo "$as_me: failed program was:" >&5
1824 sed 's/^/| /' conftest.$ac_ext >&5
1828 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1829 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1830 # interfere with the next link command; also delete a directory that is
1831 # left behind by Apple's compiler. We do this before executing the actions.
1832 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1833 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1836 } # ac_fn_c_try_link
1838 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1839 # -------------------------------------------------------
1840 # Tests whether HEADER exists and can be compiled using the include files in
1841 # INCLUDES, setting the cache variable VAR accordingly.
1842 ac_fn_c_check_header_compile ()
1844 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1846 $as_echo_n "checking for $2... " >&6; }
1847 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1848 $as_echo_n "(cached) " >&6
1850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1851 /* end confdefs.h. */
1855 if ac_fn_c_try_compile "$LINENO"; then :
1860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1864 $as_echo "$ac_res" >&6; }
1865 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1867 } # ac_fn_c_check_header_compile
1869 # ac_fn_c_try_run LINENO
1870 # ----------------------
1871 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1872 # that executables *can* be run.
1875 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1876 if { { ac_try="$ac_link"
1878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1879 *) ac_try_echo=$ac_try;;
1881 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1882 $as_echo "$ac_try_echo"; } >&5
1883 (eval "$ac_link") 2>&5
1885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1886 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1887 { { case "(($ac_try" in
1888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1889 *) ac_try_echo=$ac_try;;
1891 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1892 $as_echo "$ac_try_echo"; } >&5
1893 (eval "$ac_try") 2>&5
1895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1896 test $ac_status = 0; }; }; then :
1899 $as_echo "$as_me: program exited with status $ac_status" >&5
1900 $as_echo "$as_me: failed program was:" >&5
1901 sed 's/^/| /' conftest.$ac_ext >&5
1903 ac_retval=$ac_status
1905 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1906 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1911 # ac_fn_c_check_func LINENO FUNC VAR
1912 # ----------------------------------
1913 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1914 ac_fn_c_check_func ()
1916 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1918 $as_echo_n "checking for $2... " >&6; }
1919 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1920 $as_echo_n "(cached) " >&6
1922 if test x$gcc_no_link = xyes; then
1923 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1926 /* end confdefs.h. */
1927 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1929 #define $2 innocuous_$2
1931 /* System header to define __stub macros and hopefully few prototypes,
1932 which can conflict with char $2 (); below.
1933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1934 <limits.h> exists even on freestanding compilers. */
1937 # include <limits.h>
1939 # include <assert.h>
1944 /* Override any GCC internal prototype to avoid an error.
1945 Use char because int might match the return type of a GCC
1946 builtin and then its argument prototype would still apply. */
1951 /* The GNU C library defines this for functions which it implements
1952 to always fail with ENOSYS. Some functions are actually named
1953 something starting with __ and the normal name is an alias. */
1954 #if defined __stub_$2 || defined __stub___$2
1966 if ac_fn_c_try_link "$LINENO"; then :
1971 rm -f core conftest.err conftest.$ac_objext \
1972 conftest$ac_exeext conftest.$ac_ext
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1976 $as_echo "$ac_res" >&6; }
1977 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1979 } # ac_fn_c_check_func
1981 # ac_fn_cxx_try_cpp LINENO
1982 # ------------------------
1983 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1984 ac_fn_cxx_try_cpp ()
1986 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1987 if { { ac_try="$ac_cpp conftest.$ac_ext"
1989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1990 *) ac_try_echo=$ac_try;;
1992 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1993 $as_echo "$ac_try_echo"; } >&5
1994 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1996 if test -s conftest.err; then
1997 grep -v '^ *+' conftest.err >conftest.er1
1998 cat conftest.er1 >&5
1999 mv -f conftest.er1 conftest.err
2001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2002 test $ac_status = 0; } >/dev/null && {
2003 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2004 test ! -s conftest.err
2008 $as_echo "$as_me: failed program was:" >&5
2009 sed 's/^/| /' conftest.$ac_ext >&5
2013 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2016 } # ac_fn_cxx_try_cpp
2018 # ac_fn_cxx_try_link LINENO
2019 # -------------------------
2020 # Try to link conftest.$ac_ext, and return whether this succeeded.
2021 ac_fn_cxx_try_link ()
2023 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2024 rm -f conftest.$ac_objext conftest$ac_exeext
2025 if { { ac_try="$ac_link"
2027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2028 *) ac_try_echo=$ac_try;;
2030 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2031 $as_echo "$ac_try_echo"; } >&5
2032 (eval "$ac_link") 2>conftest.err
2034 if test -s conftest.err; then
2035 grep -v '^ *+' conftest.err >conftest.er1
2036 cat conftest.er1 >&5
2037 mv -f conftest.er1 conftest.err
2039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2040 test $ac_status = 0; } && {
2041 test -z "$ac_cxx_werror_flag" ||
2042 test ! -s conftest.err
2043 } && test -s conftest$ac_exeext && {
2044 test "$cross_compiling" = yes ||
2045 $as_test_x conftest$ac_exeext
2049 $as_echo "$as_me: failed program was:" >&5
2050 sed 's/^/| /' conftest.$ac_ext >&5
2054 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2055 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2056 # interfere with the next link command; also delete a directory that is
2057 # left behind by Apple's compiler. We do this before executing the actions.
2058 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2059 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2062 } # ac_fn_cxx_try_link
2064 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2065 # -------------------------------------------------------
2066 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2067 # the include files in INCLUDES and setting the cache variable VAR
2069 ac_fn_c_check_header_mongrel ()
2071 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2072 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2074 $as_echo_n "checking for $2... " >&6; }
2075 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2076 $as_echo_n "(cached) " >&6
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2080 $as_echo "$ac_res" >&6; }
2082 # Is the header compilable?
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2084 $as_echo_n "checking $2 usability... " >&6; }
2085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2086 /* end confdefs.h. */
2090 if ac_fn_c_try_compile "$LINENO"; then :
2091 ac_header_compiler=yes
2093 ac_header_compiler=no
2095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2097 $as_echo "$ac_header_compiler" >&6; }
2099 # Is the header present?
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2101 $as_echo_n "checking $2 presence... " >&6; }
2102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2103 /* end confdefs.h. */
2106 if ac_fn_c_try_cpp "$LINENO"; then :
2107 ac_header_preproc=yes
2109 ac_header_preproc=no
2111 rm -f conftest.err conftest.$ac_ext
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2113 $as_echo "$ac_header_preproc" >&6; }
2115 # So? What about this header?
2116 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2119 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2121 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2125 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2127 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2129 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2131 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2133 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2137 $as_echo_n "checking for $2... " >&6; }
2138 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2139 $as_echo_n "(cached) " >&6
2141 eval "$3=\$ac_header_compiler"
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2145 $as_echo "$ac_res" >&6; }
2147 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2149 } # ac_fn_c_check_header_mongrel
2151 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2152 # ---------------------------------------------------------
2153 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2154 # the include files in INCLUDES and setting the cache variable VAR
2156 ac_fn_cxx_check_header_mongrel ()
2158 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2159 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2161 $as_echo_n "checking for $2... " >&6; }
2162 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2163 $as_echo_n "(cached) " >&6
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2167 $as_echo "$ac_res" >&6; }
2169 # Is the header compilable?
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2171 $as_echo_n "checking $2 usability... " >&6; }
2172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2173 /* end confdefs.h. */
2177 if ac_fn_cxx_try_compile "$LINENO"; then :
2178 ac_header_compiler=yes
2180 ac_header_compiler=no
2182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2184 $as_echo "$ac_header_compiler" >&6; }
2186 # Is the header present?
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2188 $as_echo_n "checking $2 presence... " >&6; }
2189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2190 /* end confdefs.h. */
2193 if ac_fn_cxx_try_cpp "$LINENO"; then :
2194 ac_header_preproc=yes
2196 ac_header_preproc=no
2198 rm -f conftest.err conftest.$ac_ext
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2200 $as_echo "$ac_header_preproc" >&6; }
2202 # So? What about this header?
2203 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2206 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2208 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2212 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2214 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2216 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2218 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2220 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2224 $as_echo_n "checking for $2... " >&6; }
2225 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2226 $as_echo_n "(cached) " >&6
2228 eval "$3=\$ac_header_compiler"
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2232 $as_echo "$ac_res" >&6; }
2234 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2236 } # ac_fn_cxx_check_header_mongrel
2238 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2239 # --------------------------------------------
2240 # Tries to find the compile-time value of EXPR in a program that includes
2241 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2243 ac_fn_c_compute_int ()
2245 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2246 if test "$cross_compiling" = yes; then
2247 # Depending upon the size, compute the lo and hi bounds.
2248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2249 /* end confdefs.h. */
2254 static int test_array [1 - 2 * !(($2) >= 0)];
2261 if ac_fn_c_try_compile "$LINENO"; then :
2264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2265 /* end confdefs.h. */
2270 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2277 if ac_fn_c_try_compile "$LINENO"; then :
2278 ac_hi=$ac_mid; break
2280 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2281 if test $ac_lo -le $ac_mid; then
2285 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2291 /* end confdefs.h. */
2296 static int test_array [1 - 2 * !(($2) < 0)];
2303 if ac_fn_c_try_compile "$LINENO"; then :
2306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2307 /* end confdefs.h. */
2312 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2319 if ac_fn_c_try_compile "$LINENO"; then :
2320 ac_lo=$ac_mid; break
2322 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2323 if test $ac_mid -le $ac_hi; then
2327 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2337 # Binary search between lo and hi bounds.
2338 while test "x$ac_lo" != "x$ac_hi"; do
2339 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2341 /* end confdefs.h. */
2346 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2353 if ac_fn_c_try_compile "$LINENO"; then :
2356 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2361 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2366 /* end confdefs.h. */
2368 static long int longval () { return $2; }
2369 static unsigned long int ulongval () { return $2; }
2376 FILE *f = fopen ("conftest.val", "w");
2381 long int i = longval ();
2384 fprintf (f, "%ld", i);
2388 unsigned long int i = ulongval ();
2391 fprintf (f, "%lu", i);
2393 /* Do not output a trailing newline, as this causes \r\n confusion
2394 on some platforms. */
2395 return ferror (f) || fclose (f) != 0;
2401 if ac_fn_c_try_run "$LINENO"; then :
2402 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2406 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2407 conftest.$ac_objext conftest.beam conftest.$ac_ext
2411 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2414 } # ac_fn_c_compute_int
2416 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2417 # -------------------------------------------
2418 # Tests whether TYPE exists after having included INCLUDES, setting cache
2419 # variable VAR accordingly.
2420 ac_fn_c_check_type ()
2422 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2424 $as_echo_n "checking for $2... " >&6; }
2425 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2426 $as_echo_n "(cached) " >&6
2429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2430 /* end confdefs.h. */
2441 if ac_fn_c_try_compile "$LINENO"; then :
2442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2443 /* end confdefs.h. */
2454 if ac_fn_c_try_compile "$LINENO"; then :
2459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2465 $as_echo "$ac_res" >&6; }
2466 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2468 } # ac_fn_c_check_type
2469 cat >config.log <<_ACEOF
2470 This file contains any messages produced by compilers while
2471 running configure, to aid debugging if configure makes a mistake.
2473 It was created by package-unused $as_me version-unused, which was
2474 generated by GNU Autoconf 2.64. Invocation command line was
2486 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2487 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2488 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2489 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2490 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2492 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2493 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2495 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2496 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2497 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2498 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2499 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2500 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2501 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2509 test -z "$as_dir" && as_dir=.
2510 $as_echo "PATH: $as_dir"
2526 # Keep a trace of the command line.
2527 # Strip out --no-create and --no-recursion so they do not pile up.
2528 # Strip out --silent because we don't want to record it for future runs.
2529 # Also quote any args containing shell meta-characters.
2530 # Make two passes to allow for proper duplicate-argument suppression.
2534 ac_must_keep_next=false
2540 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2542 | -silent | --silent | --silen | --sile | --sil)
2545 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2548 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2550 as_fn_append ac_configure_args1 " '$ac_arg'"
2551 if test $ac_must_keep_next = true; then
2552 ac_must_keep_next=false # Got value, back to normal.
2555 *=* | --config-cache | -C | -disable-* | --disable-* \
2556 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2557 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2558 | -with-* | --with-* | -without-* | --without-* | --x)
2559 case "$ac_configure_args0 " in
2560 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2563 -* ) ac_must_keep_next=true ;;
2566 as_fn_append ac_configure_args " '$ac_arg'"
2571 { ac_configure_args0=; unset ac_configure_args0;}
2572 { ac_configure_args1=; unset ac_configure_args1;}
2574 # When interrupted or exit'd, cleanup temporary files, and complete
2575 # config.log. We remove comments because anyway the quotes in there
2576 # would cause problems or look ugly.
2577 # WARNING: Use '\'' to represent an apostrophe within the trap.
2578 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2579 trap 'exit_status=$?
2580 # Save into config.log some information that might help in debugging.
2585 ## ---------------- ##
2586 ## Cache variables. ##
2587 ## ---------------- ##
2590 # The following way of writing the cache mishandles newlines in values,
2592 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2593 eval ac_val=\$$ac_var
2597 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2598 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2601 _ | IFS | as_nl) ;; #(
2602 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2603 *) { eval $ac_var=; unset $ac_var;} ;;
2608 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2609 *${as_nl}ac_space=\ *)
2611 "s/'\''/'\''\\\\'\'''\''/g;
2612 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2615 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2623 ## ----------------- ##
2624 ## Output variables. ##
2625 ## ----------------- ##
2628 for ac_var in $ac_subst_vars
2630 eval ac_val=\$$ac_var
2632 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2634 $as_echo "$ac_var='\''$ac_val'\''"
2638 if test -n "$ac_subst_files"; then
2640 ## ------------------- ##
2641 ## File substitutions. ##
2642 ## ------------------- ##
2645 for ac_var in $ac_subst_files
2647 eval ac_val=\$$ac_var
2649 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2651 $as_echo "$ac_var='\''$ac_val'\''"
2656 if test -s confdefs.h; then
2666 test "$ac_signal" != 0 &&
2667 $as_echo "$as_me: caught signal $ac_signal"
2668 $as_echo "$as_me: exit $exit_status"
2670 rm -f core *.core core.conftest.* &&
2671 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2674 for ac_signal in 1 2 13 15; do
2675 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2679 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2680 rm -f -r conftest* confdefs.h
2682 $as_echo "/* confdefs.h */" > confdefs.h
2684 # Predefined preprocessor variables.
2686 cat >>confdefs.h <<_ACEOF
2687 #define PACKAGE_NAME "$PACKAGE_NAME"
2690 cat >>confdefs.h <<_ACEOF
2691 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2694 cat >>confdefs.h <<_ACEOF
2695 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2698 cat >>confdefs.h <<_ACEOF
2699 #define PACKAGE_STRING "$PACKAGE_STRING"
2702 cat >>confdefs.h <<_ACEOF
2703 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2706 cat >>confdefs.h <<_ACEOF
2707 #define PACKAGE_URL "$PACKAGE_URL"
2711 # Let the site file select an alternate cache file if it wants to.
2712 # Prefer an explicitly selected file to automatically selected ones.
2715 if test -n "$CONFIG_SITE"; then
2716 ac_site_file1=$CONFIG_SITE
2717 elif test "x$prefix" != xNONE; then
2718 ac_site_file1=$prefix/share/config.site
2719 ac_site_file2=$prefix/etc/config.site
2721 ac_site_file1=$ac_default_prefix/share/config.site
2722 ac_site_file2=$ac_default_prefix/etc/config.site
2724 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2726 test "x$ac_site_file" = xNONE && continue
2727 if test -r "$ac_site_file"; then
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2729 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2730 sed 's/^/| /' "$ac_site_file" >&5
2735 if test -r "$cache_file"; then
2736 # Some versions of bash will fail to source /dev/null (special
2737 # files actually), so we avoid doing that.
2738 if test -f "$cache_file"; then
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2740 $as_echo "$as_me: loading cache $cache_file" >&6;}
2742 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2743 *) . "./$cache_file";;
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2748 $as_echo "$as_me: creating cache $cache_file" >&6;}
2752 # Check that the precious variables saved in the cache have kept the same
2754 ac_cache_corrupted=false
2755 for ac_var in $ac_precious_vars; do
2756 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2757 eval ac_new_set=\$ac_env_${ac_var}_set
2758 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2759 eval ac_new_val=\$ac_env_${ac_var}_value
2760 case $ac_old_set,$ac_new_set in
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2763 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2764 ac_cache_corrupted=: ;;
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2767 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2768 ac_cache_corrupted=: ;;
2771 if test "x$ac_old_val" != "x$ac_new_val"; then
2772 # differences in whitespace do not lead to failure.
2773 ac_old_val_w=`echo x $ac_old_val`
2774 ac_new_val_w=`echo x $ac_new_val`
2775 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2777 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2778 ac_cache_corrupted=:
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2781 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2782 eval $ac_var=\$ac_old_val
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2785 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2787 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2790 # Pass precious variables to config.status.
2791 if test "$ac_new_set" = set; then
2793 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2794 *) ac_arg=$ac_var=$ac_new_val ;;
2796 case " $ac_configure_args " in
2797 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2798 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2802 if $ac_cache_corrupted; then
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2804 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2806 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2807 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2809 ## -------------------- ##
2810 ## Main body of script. ##
2811 ## -------------------- ##
2814 ac_cpp='$CPP $CPPFLAGS'
2815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2824 ac_config_headers="$ac_config_headers config.h"
2827 # This works around the fact that libtool configuration may change LD
2828 # for this particular configuration, but some shells, instead of
2829 # keeping the changes in LD private, export them just because LD is
2830 # exported. Only used at the end of this file.
2831 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2833 # Find the rest of the source tree framework.
2834 # Default to --enable-multilib
2835 # Check whether --enable-multilib was given.
2836 if test "${enable_multilib+set}" = set; then :
2837 enableval=$enable_multilib; case "$enableval" in
2838 yes) multilib=yes ;;
2840 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2847 # We may get other options which we leave undocumented:
2848 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2849 # See config-ml.in if you want the gory details.
2851 if test "$srcdir" = "."; then
2852 if test "$with_target_subdir" != "."; then
2853 multi_basedir="$srcdir/$with_multisrctop../.."
2855 multi_basedir="$srcdir/$with_multisrctop.."
2858 multi_basedir="$srcdir/.."
2862 # Even if the default multilib is not a cross compilation,
2863 # it may be that some of the other multilibs are.
2864 if test $cross_compiling = no && test $multilib = yes \
2865 && test "x${with_multisubdir}" != x ; then
2866 cross_compiling=maybe
2869 ac_config_commands="$ac_config_commands default-1"
2872 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2874 # You will slowly go insane if you do not grok the following fact: when
2875 # building v3 as part of the compiler, the top-level /target/ becomes the
2876 # library's /host/. configure then causes --target to default to --host,
2877 # exactly like any other package using autoconf. Therefore, 'target' and
2878 # 'host' will always be the same. This makes sense both for native and
2879 # cross compilers, just think about it for a little while. :-)
2881 # Also, if v3 is being configured as part of a cross compiler, the top-level
2882 # configure script will pass the "real" host as $with_cross_host.
2884 # Do not delete or change the following two lines. For why, see
2885 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2887 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2888 for ac_t in install-sh install.sh shtool; do
2889 if test -f "$ac_dir/$ac_t"; then
2891 ac_install_sh="$ac_aux_dir/$ac_t -c"
2896 if test -z "$ac_aux_dir"; then
2897 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2900 # These three variables are undocumented and unsupported,
2901 # and are intended to be withdrawn in a future Autoconf release.
2902 # They can cause serious problems if a builder's source tree is in a directory
2903 # whose full name contains unusual characters.
2904 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2905 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2906 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2909 # Make sure we can run config.sub.
2910 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2911 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2914 $as_echo_n "checking build system type... " >&6; }
2915 if test "${ac_cv_build+set}" = set; then :
2916 $as_echo_n "(cached) " >&6
2918 ac_build_alias=$build_alias
2919 test "x$ac_build_alias" = x &&
2920 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2921 test "x$ac_build_alias" = x &&
2922 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2923 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2924 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2928 $as_echo "$ac_cv_build" >&6; }
2929 case $ac_cv_build in
2931 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2934 ac_save_IFS=$IFS; IFS='-'
2940 # Remember, the first character of IFS is used to create $*,
2941 # except with old shells:
2944 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2948 $as_echo_n "checking host system type... " >&6; }
2949 if test "${ac_cv_host+set}" = set; then :
2950 $as_echo_n "(cached) " >&6
2952 if test "x$host_alias" = x; then
2953 ac_cv_host=$ac_cv_build
2955 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2956 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2961 $as_echo "$ac_cv_host" >&6; }
2964 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2967 ac_save_IFS=$IFS; IFS='-'
2973 # Remember, the first character of IFS is used to create $*,
2974 # except with old shells:
2977 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2981 $as_echo_n "checking target system type... " >&6; }
2982 if test "${ac_cv_target+set}" = set; then :
2983 $as_echo_n "(cached) " >&6
2985 if test "x$target_alias" = x; then
2986 ac_cv_target=$ac_cv_host
2988 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2989 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2994 $as_echo "$ac_cv_target" >&6; }
2995 case $ac_cv_target in
2997 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2999 target=$ac_cv_target
3000 ac_save_IFS=$IFS; IFS='-'
3006 # Remember, the first character of IFS is used to create $*,
3007 # except with old shells:
3010 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3013 # The aliases save the names the user supplied, while $host etc.
3014 # will get canonicalized.
3015 test -n "$target_alias" &&
3016 test "$program_prefix$program_suffix$program_transform_name" = \
3018 program_prefix=${target_alias}-
3020 target_alias=${target_alias-$host_alias}
3022 # Handy for debugging:
3023 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3025 if test "$build" != "$host"; then
3026 # We are being configured with some form of cross compiler.
3027 GLIBCXX_IS_NATIVE=false
3028 case "$host","$target" in
3029 # Darwin crosses can use the host system's libraries and headers,
3030 # because of the fat library support. Of course, it must be the
3031 # same version of Darwin on both sides. Allow the user to
3032 # just say --target=foo-darwin without a version number to mean
3033 # "the version on this system".
3034 *-*-darwin*,*-*-darwin*)
3035 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3036 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3037 if test $hostos = $targetos -o $targetos = darwin ; then
3038 GLIBCXX_IS_NATIVE=true
3047 GLIBCXX_IS_NATIVE=true
3050 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3051 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3052 # 1.x: minimum required version
3053 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3054 # of other PACKAGE_* variables will, however, and there's nothing
3055 # we can do about that; they come from AC_INIT).
3056 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3057 # file in the top srcdir, etc, etc), so stop complaining.
3058 # no-dependencies: turns off auto dependency generation (just for now)
3059 # no-dist: we don't want 'dist' and related rules.
3060 # -Wall: turns on all automake warnings...
3061 # -Wno-portability: ...except this one, since GNU make is now required.
3062 am__api_version='1.11'
3064 # Find a good install program. We prefer a C program (faster),
3065 # so one script is as good as another. But avoid the broken or
3066 # incompatible versions:
3067 # SysV /etc/install, /usr/sbin/install
3068 # SunOS /usr/etc/install
3069 # IRIX /sbin/install
3071 # AmigaOS /C/install, which installs bootblocks on floppy discs
3072 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3073 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3074 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3075 # OS/2's system install, which has a completely different semantic
3076 # ./install, which can be erroneously created by make from ./install.sh.
3077 # Reject install programs that cannot install multiple files.
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3079 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3080 if test -z "$INSTALL"; then
3081 if test "${ac_cv_path_install+set}" = set; then :
3082 $as_echo_n "(cached) " >&6
3084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3088 test -z "$as_dir" && as_dir=.
3089 # Account for people who put trailing slashes in PATH elements.
3090 case $as_dir/ in #((
3091 ./ | .// | /[cC]/* | \
3092 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3093 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3096 # OSF1 and SCO ODT 3.0 have their own names for install.
3097 # Don't use installbsd from OSF since it installs stuff as root
3099 for ac_prog in ginstall scoinst install; do
3100 for ac_exec_ext in '' $ac_executable_extensions; do
3101 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3102 if test $ac_prog = install &&
3103 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3104 # AIX install. It has an incompatible calling convention.
3106 elif test $ac_prog = install &&
3107 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3108 # program-specific install script used by HP pwplus--don't use.
3111 rm -rf conftest.one conftest.two conftest.dir
3112 echo one > conftest.one
3113 echo two > conftest.two
3115 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3116 test -s conftest.one && test -s conftest.two &&
3117 test -s conftest.dir/conftest.one &&
3118 test -s conftest.dir/conftest.two
3120 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3133 rm -rf conftest.one conftest.two conftest.dir
3136 if test "${ac_cv_path_install+set}" = set; then
3137 INSTALL=$ac_cv_path_install
3139 # As a last resort, use the slow shell script. Don't cache a
3140 # value for INSTALL within a source directory, because that will
3141 # break other packages using the cache if that directory is
3142 # removed, or if the value is a relative name.
3143 INSTALL=$ac_install_sh
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3147 $as_echo "$INSTALL" >&6; }
3149 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3150 # It thinks the first close brace ends the variable substitution.
3151 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3153 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3155 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3158 $as_echo_n "checking whether build environment is sane... " >&6; }
3161 echo timestamp > conftest.file
3162 # Reject unsafe characters in $srcdir or the absolute working directory
3163 # name. Accept space and tab only in the latter.
3167 *[\\\"\#\$\&\'\`$am_lf]*)
3168 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3171 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3172 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3175 # Do `set' in a subshell so we don't clobber the current shell's
3176 # arguments. Must try -L first in case configure is actually a
3177 # symlink; some systems play weird games with the mod time of symlinks
3178 # (eg FreeBSD returns the mod time of the symlink's containing
3181 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3182 if test "$*" = "X"; then
3184 set X `ls -t "$srcdir/configure" conftest.file`
3187 if test "$*" != "X $srcdir/configure conftest.file" \
3188 && test "$*" != "X conftest.file $srcdir/configure"; then
3190 # If neither matched, then we have a broken ls. This can happen
3191 # if, for instance, CONFIG_SHELL is bash and it inherits a
3192 # broken ls alias from the environment. This has actually
3193 # happened. Such a system could not be considered "sane".
3194 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3195 alias in your environment" "$LINENO" 5
3198 test "$2" = conftest.file
3204 as_fn_error "newly created file is older than distributed files!
3205 Check your system clock" "$LINENO" 5
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3208 $as_echo "yes" >&6; }
3209 test "$program_prefix" != NONE &&
3210 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3211 # Use a double $ so make ignores it.
3212 test "$program_suffix" != NONE &&
3213 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3214 # Double any \ or $.
3215 # By default was `s,x,x', remove it if useless.
3216 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3217 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3219 # expand $ac_aux_dir to an absolute path
3220 am_aux_dir=`cd $ac_aux_dir && pwd`
3222 if test x"${MISSING+set}" != xset; then
3225 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3227 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3230 # Use eval to expand $SHELL
3231 if eval "$MISSING --run true"; then
3232 am_missing_run="$MISSING --run "
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3236 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3239 if test x"${install_sh}" != xset; then
3242 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3244 install_sh="\${SHELL} $am_aux_dir/install-sh"
3248 # Installed binaries are usually stripped using `strip' when the user
3249 # run `make install-strip'. However `strip' might not be the right
3250 # tool to use in cross-compilation environments, therefore Automake
3251 # will honor the `STRIP' environment variable to overrule this program.
3252 if test "$cross_compiling" != no; then
3253 if test -n "$ac_tool_prefix"; then
3254 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3255 set dummy ${ac_tool_prefix}strip; ac_word=$2
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3257 $as_echo_n "checking for $ac_word... " >&6; }
3258 if test "${ac_cv_prog_STRIP+set}" = set; then :
3259 $as_echo_n "(cached) " >&6
3261 if test -n "$STRIP"; then
3262 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3268 test -z "$as_dir" && as_dir=.
3269 for ac_exec_ext in '' $ac_executable_extensions; do
3270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3271 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3281 STRIP=$ac_cv_prog_STRIP
3282 if test -n "$STRIP"; then
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3284 $as_echo "$STRIP" >&6; }
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3287 $as_echo "no" >&6; }
3292 if test -z "$ac_cv_prog_STRIP"; then
3294 # Extract the first word of "strip", so it can be a program name with args.
3295 set dummy strip; ac_word=$2
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3297 $as_echo_n "checking for $ac_word... " >&6; }
3298 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3299 $as_echo_n "(cached) " >&6
3301 if test -n "$ac_ct_STRIP"; then
3302 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3308 test -z "$as_dir" && as_dir=.
3309 for ac_exec_ext in '' $ac_executable_extensions; do
3310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3311 ac_cv_prog_ac_ct_STRIP="strip"
3312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3321 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3322 if test -n "$ac_ct_STRIP"; then
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3324 $as_echo "$ac_ct_STRIP" >&6; }
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3327 $as_echo "no" >&6; }
3330 if test "x$ac_ct_STRIP" = x; then
3333 case $cross_compiling:$ac_tool_warned in
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3336 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3337 ac_tool_warned=yes ;;
3342 STRIP="$ac_cv_prog_STRIP"
3346 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3349 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3350 if test -z "$MKDIR_P"; then
3351 if test "${ac_cv_path_mkdir+set}" = set; then :
3352 $as_echo_n "(cached) " >&6
3354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3355 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3358 test -z "$as_dir" && as_dir=.
3359 for ac_prog in mkdir gmkdir; do
3360 for ac_exec_ext in '' $ac_executable_extensions; do
3361 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3362 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3363 'mkdir (GNU coreutils) '* | \
3364 'mkdir (coreutils) '* | \
3365 'mkdir (fileutils) '4.1*)
3366 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3376 if test "${ac_cv_path_mkdir+set}" = set; then
3377 MKDIR_P="$ac_cv_path_mkdir -p"
3379 # As a last resort, use the slow shell script. Don't cache a
3380 # value for MKDIR_P within a source directory, because that will
3381 # break other packages using the cache if that directory is
3382 # removed, or if the value is a relative name.
3383 test -d ./--version && rmdir ./--version
3384 MKDIR_P="$ac_install_sh -d"
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3388 $as_echo "$MKDIR_P" >&6; }
3392 [\\/$]* | ?:[\\/]*) ;;
3393 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3396 for ac_prog in gawk mawk nawk awk
3398 # Extract the first word of "$ac_prog", so it can be a program name with args.
3399 set dummy $ac_prog; ac_word=$2
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3401 $as_echo_n "checking for $ac_word... " >&6; }
3402 if test "${ac_cv_prog_AWK+set}" = set; then :
3403 $as_echo_n "(cached) " >&6
3405 if test -n "$AWK"; then
3406 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3412 test -z "$as_dir" && as_dir=.
3413 for ac_exec_ext in '' $ac_executable_extensions; do
3414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3415 ac_cv_prog_AWK="$ac_prog"
3416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3426 if test -n "$AWK"; then
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3428 $as_echo "$AWK" >&6; }
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3431 $as_echo "no" >&6; }
3435 test -n "$AWK" && break
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3439 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3441 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3442 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3443 $as_echo_n "(cached) " >&6
3445 cat >conftest.make <<\_ACEOF
3448 @echo '@@@%%%=$(MAKE)=@@@%%%'
3450 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3451 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3453 eval ac_cv_prog_make_${ac_make}_set=yes;;
3455 eval ac_cv_prog_make_${ac_make}_set=no;;
3459 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3461 $as_echo "yes" >&6; }
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3465 $as_echo "no" >&6; }
3466 SET_MAKE="MAKE=${MAKE-make}"
3469 rm -rf .tst 2>/dev/null
3470 mkdir .tst 2>/dev/null
3471 if test -d .tst; then
3476 rmdir .tst 2>/dev/null
3478 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3479 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3480 # is not polluted with repeated "-I."
3481 am__isrc=' -I$(srcdir)'
3482 # test to see if srcdir already configured
3483 if test -f $srcdir/config.status; then
3484 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3488 # test whether we have cygpath
3489 if test -z "$CYGPATH_W"; then
3490 if (cygpath --version) >/dev/null 2>/dev/null; then
3491 CYGPATH_W='cygpath -w'
3498 # Define the identity of the package.
3500 VERSION='version-unused'
3503 # Some tools Automake needs.
3505 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3508 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3511 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3514 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3517 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3519 # We need awk for the "check" target. The system "awk" is bad on
3521 # Always define AMTAR for backward compatibility.
3523 AMTAR=${AMTAR-"${am_missing_run}tar"}
3525 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3534 # -fno-builtin must be present here so that a non-conflicting form of
3535 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3537 save_CXXFLAGS="$CXXFLAGS"
3538 CXXFLAGS="$CXXFLAGS -fno-builtin"
3540 ac_cpp='$CPP $CPPFLAGS'
3541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3544 if test -n "$ac_tool_prefix"; then
3545 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3546 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3548 $as_echo_n "checking for $ac_word... " >&6; }
3549 if test "${ac_cv_prog_CC+set}" = set; then :
3550 $as_echo_n "(cached) " >&6
3552 if test -n "$CC"; then
3553 ac_cv_prog_CC="$CC" # Let the user override the test.
3555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3559 test -z "$as_dir" && as_dir=.
3560 for ac_exec_ext in '' $ac_executable_extensions; do
3561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3562 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3573 if test -n "$CC"; then
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3575 $as_echo "$CC" >&6; }
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3578 $as_echo "no" >&6; }
3583 if test -z "$ac_cv_prog_CC"; then
3585 # Extract the first word of "gcc", so it can be a program name with args.
3586 set dummy gcc; ac_word=$2
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3588 $as_echo_n "checking for $ac_word... " >&6; }
3589 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3590 $as_echo_n "(cached) " >&6
3592 if test -n "$ac_ct_CC"; then
3593 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3599 test -z "$as_dir" && as_dir=.
3600 for ac_exec_ext in '' $ac_executable_extensions; do
3601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3602 ac_cv_prog_ac_ct_CC="gcc"
3603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3612 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3613 if test -n "$ac_ct_CC"; then
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3615 $as_echo "$ac_ct_CC" >&6; }
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3618 $as_echo "no" >&6; }
3621 if test "x$ac_ct_CC" = x; then
3624 case $cross_compiling:$ac_tool_warned in
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3627 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3628 ac_tool_warned=yes ;;
3636 if test -z "$CC"; then
3637 if test -n "$ac_tool_prefix"; then
3638 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3639 set dummy ${ac_tool_prefix}cc; ac_word=$2
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3641 $as_echo_n "checking for $ac_word... " >&6; }
3642 if test "${ac_cv_prog_CC+set}" = set; then :
3643 $as_echo_n "(cached) " >&6
3645 if test -n "$CC"; then
3646 ac_cv_prog_CC="$CC" # Let the user override the test.
3648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3652 test -z "$as_dir" && as_dir=.
3653 for ac_exec_ext in '' $ac_executable_extensions; do
3654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3655 ac_cv_prog_CC="${ac_tool_prefix}cc"
3656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3666 if test -n "$CC"; then
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3668 $as_echo "$CC" >&6; }
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3671 $as_echo "no" >&6; }
3677 if test -z "$CC"; then
3678 # Extract the first word of "cc", so it can be a program name with args.
3679 set dummy cc; ac_word=$2
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3681 $as_echo_n "checking for $ac_word... " >&6; }
3682 if test "${ac_cv_prog_CC+set}" = set; then :
3683 $as_echo_n "(cached) " >&6
3685 if test -n "$CC"; then
3686 ac_cv_prog_CC="$CC" # Let the user override the test.
3689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3693 test -z "$as_dir" && as_dir=.
3694 for ac_exec_ext in '' $ac_executable_extensions; do
3695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3696 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3697 ac_prog_rejected=yes
3701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3708 if test $ac_prog_rejected = yes; then
3709 # We found a bogon in the path, so make sure we never use it.
3710 set dummy $ac_cv_prog_CC
3712 if test $# != 0; then
3713 # We chose a different compiler from the bogus one.
3714 # However, it has the same basename, so the bogon will be chosen
3715 # first if we set CC to just the basename; use the full file name.
3717 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3723 if test -n "$CC"; then
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3725 $as_echo "$CC" >&6; }
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3728 $as_echo "no" >&6; }
3733 if test -z "$CC"; then
3734 if test -n "$ac_tool_prefix"; then
3735 for ac_prog in cl.exe
3737 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3738 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3740 $as_echo_n "checking for $ac_word... " >&6; }
3741 if test "${ac_cv_prog_CC+set}" = set; then :
3742 $as_echo_n "(cached) " >&6
3744 if test -n "$CC"; then
3745 ac_cv_prog_CC="$CC" # Let the user override the test.
3747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3751 test -z "$as_dir" && as_dir=.
3752 for ac_exec_ext in '' $ac_executable_extensions; do
3753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3754 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3765 if test -n "$CC"; then
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3767 $as_echo "$CC" >&6; }
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3770 $as_echo "no" >&6; }
3774 test -n "$CC" && break
3777 if test -z "$CC"; then
3779 for ac_prog in cl.exe
3781 # Extract the first word of "$ac_prog", so it can be a program name with args.
3782 set dummy $ac_prog; ac_word=$2
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3784 $as_echo_n "checking for $ac_word... " >&6; }
3785 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3786 $as_echo_n "(cached) " >&6
3788 if test -n "$ac_ct_CC"; then
3789 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3795 test -z "$as_dir" && as_dir=.
3796 for ac_exec_ext in '' $ac_executable_extensions; do
3797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3798 ac_cv_prog_ac_ct_CC="$ac_prog"
3799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3808 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3809 if test -n "$ac_ct_CC"; then
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3811 $as_echo "$ac_ct_CC" >&6; }
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3814 $as_echo "no" >&6; }
3818 test -n "$ac_ct_CC" && break
3821 if test "x$ac_ct_CC" = x; then
3824 case $cross_compiling:$ac_tool_warned in
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3827 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3828 ac_tool_warned=yes ;;
3837 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3838 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3839 as_fn_error "no acceptable C compiler found in \$PATH
3840 See \`config.log' for more details." "$LINENO" 5; }
3842 # Provide some information about the compiler.
3843 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3846 for ac_option in --version -v -V -qversion; do
3847 { { ac_try="$ac_compiler $ac_option >&5"
3849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3850 *) ac_try_echo=$ac_try;;
3852 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3853 $as_echo "$ac_try_echo"; } >&5
3854 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3856 if test -s conftest.err; then
3858 ... rest of stderr output deleted ...
3859 10q' conftest.err >conftest.er1
3860 cat conftest.er1 >&5
3861 rm -f conftest.er1 conftest.err
3863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3864 test $ac_status = 0; }
3867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3868 /* end confdefs.h. */
3879 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3880 (eval $ac_link) 2>&5
3882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3883 test $ac_status = 0; }; then :
3888 if test x$gcc_no_link = xyes; then
3889 # Setting cross_compile will disable run tests; it will
3890 # also disable AC_CHECK_FILE but that's generally
3891 # correct if we can't link.
3895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3896 /* end confdefs.h. */
3906 ac_clean_files_save=$ac_clean_files
3907 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3908 # Try to create an executable without -o first, disregard a.out.
3909 # It will help us diagnose broken compilers, and finding out an intuition
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3912 $as_echo_n "checking for C compiler default output file name... " >&6; }
3913 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3915 # The possible output files:
3916 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3919 for ac_file in $ac_files
3922 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3923 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3928 if { { ac_try="$ac_link_default"
3930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3931 *) ac_try_echo=$ac_try;;
3933 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3934 $as_echo "$ac_try_echo"; } >&5
3935 (eval "$ac_link_default") 2>&5
3937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3938 test $ac_status = 0; }; then :
3939 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3940 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3941 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3942 # so that the user can short-circuit this test for compilers unknown to
3944 for ac_file in $ac_files ''
3946 test -f "$ac_file" || continue
3948 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3951 # We found the default executable, but exeext='' is most
3955 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3957 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3959 # We set ac_cv_exeext here because the later test for it is not
3960 # safe: cross compilers may not add the suffix if given an `-o'
3961 # argument, so we may need to know it at that point already.
3962 # Even if this section looks crufty: it has the advantage of
3969 test "$ac_cv_exeext" = no && ac_cv_exeext=
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3975 $as_echo "$ac_file" >&6; }
3976 if test -z "$ac_file"; then :
3977 $as_echo "$as_me: failed program was:" >&5
3978 sed 's/^/| /' conftest.$ac_ext >&5
3980 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3981 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3982 { as_fn_set_status 77
3983 as_fn_error "C compiler cannot create executables
3984 See \`config.log' for more details." "$LINENO" 5; }; }
3986 ac_exeext=$ac_cv_exeext
3988 # Check that the compiler produces executables we can run. If not, either
3989 # the compiler is broken, or we cross compile.
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3991 $as_echo_n "checking whether the C compiler works... " >&6; }
3992 # If not cross compiling, check that we can run a simple program.
3993 if test "$cross_compiling" != yes; then
3994 if { ac_try='./$ac_file'
3995 { { case "(($ac_try" in
3996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3997 *) ac_try_echo=$ac_try;;
3999 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4000 $as_echo "$ac_try_echo"; } >&5
4001 (eval "$ac_try") 2>&5
4003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4004 test $ac_status = 0; }; }; then
4007 if test "$cross_compiling" = maybe; then
4010 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4011 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4012 as_fn_error "cannot run C compiled programs.
4013 If you meant to cross compile, use \`--host'.
4014 See \`config.log' for more details." "$LINENO" 5; }
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4019 $as_echo "yes" >&6; }
4021 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4022 ac_clean_files=$ac_clean_files_save
4023 # Check that the compiler produces executables we can run. If not, either
4024 # the compiler is broken, or we cross compile.
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4026 $as_echo_n "checking whether we are cross compiling... " >&6; }
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4028 $as_echo "$cross_compiling" >&6; }
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4031 $as_echo_n "checking for suffix of executables... " >&6; }
4032 if { { ac_try="$ac_link"
4034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4035 *) ac_try_echo=$ac_try;;
4037 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4038 $as_echo "$ac_try_echo"; } >&5
4039 (eval "$ac_link") 2>&5
4041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4042 test $ac_status = 0; }; then :
4043 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4044 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4045 # work properly (i.e., refer to `conftest.exe'), while it won't with
4047 for ac_file in conftest.exe conftest conftest.*; do
4048 test -f "$ac_file" || continue
4050 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4051 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4057 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4058 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4059 as_fn_error "cannot compute suffix of executables: cannot compile and link
4060 See \`config.log' for more details." "$LINENO" 5; }
4062 rm -f conftest$ac_cv_exeext
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4064 $as_echo "$ac_cv_exeext" >&6; }
4066 rm -f conftest.$ac_ext
4067 EXEEXT=$ac_cv_exeext
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4071 $as_echo_n "checking for suffix of object files... " >&6; }
4072 if test "${ac_cv_objext+set}" = set; then :
4073 $as_echo_n "(cached) " >&6
4075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4076 /* end confdefs.h. */
4086 rm -f conftest.o conftest.obj
4087 if { { ac_try="$ac_compile"
4089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4090 *) ac_try_echo=$ac_try;;
4092 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4093 $as_echo "$ac_try_echo"; } >&5
4094 (eval "$ac_compile") 2>&5
4096 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4097 test $ac_status = 0; }; then :
4098 for ac_file in conftest.o conftest.obj conftest.*; do
4099 test -f "$ac_file" || continue;
4101 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4102 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4107 $as_echo "$as_me: failed program was:" >&5
4108 sed 's/^/| /' conftest.$ac_ext >&5
4110 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4111 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4112 as_fn_error "cannot compute suffix of object files: cannot compile
4113 See \`config.log' for more details." "$LINENO" 5; }
4115 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4118 $as_echo "$ac_cv_objext" >&6; }
4119 OBJEXT=$ac_cv_objext
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4122 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4123 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4124 $as_echo_n "(cached) " >&6
4126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4127 /* end confdefs.h. */
4140 if ac_fn_c_try_compile "$LINENO"; then :
4145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4146 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4150 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4151 if test $ac_compiler_gnu = yes; then
4156 ac_test_CFLAGS=${CFLAGS+set}
4157 ac_save_CFLAGS=$CFLAGS
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4159 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4160 if test "${ac_cv_prog_cc_g+set}" = set; then :
4161 $as_echo_n "(cached) " >&6
4163 ac_save_c_werror_flag=$ac_c_werror_flag
4164 ac_c_werror_flag=yes
4167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4168 /* end confdefs.h. */
4178 if ac_fn_c_try_compile "$LINENO"; then :
4182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4183 /* end confdefs.h. */
4193 if ac_fn_c_try_compile "$LINENO"; then :
4196 ac_c_werror_flag=$ac_save_c_werror_flag
4198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4199 /* end confdefs.h. */
4209 if ac_fn_c_try_compile "$LINENO"; then :
4212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4217 ac_c_werror_flag=$ac_save_c_werror_flag
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4220 $as_echo "$ac_cv_prog_cc_g" >&6; }
4221 if test "$ac_test_CFLAGS" = set; then
4222 CFLAGS=$ac_save_CFLAGS
4223 elif test $ac_cv_prog_cc_g = yes; then
4224 if test "$GCC" = yes; then
4230 if test "$GCC" = yes; then
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4237 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4238 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4239 $as_echo_n "(cached) " >&6
4241 ac_cv_prog_cc_c89=no
4243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4244 /* end confdefs.h. */
4247 #include <sys/types.h>
4248 #include <sys/stat.h>
4249 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4250 struct buf { int x; };
4251 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4252 static char *e (p, i)
4258 static char *f (char * (*g) (char **, int), char **p, ...)
4263 s = g (p, va_arg (v,int));
4268 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4269 function prototypes and stuff, but not '\xHH' hex character constants.
4270 These don't provoke an error unfortunately, instead are silently treated
4271 as 'x'. The following induces an error, until -std is added to get
4272 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4273 array size at least. It's necessary to write '\x00'==0 to get something
4274 that's true only with -std. */
4275 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4277 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4278 inside strings and character constants. */
4280 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4282 int test (int i, double x);
4283 struct s1 {int (*f) (int a);};
4284 struct s2 {int (*f) (double a);};
4285 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4291 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4296 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4297 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4299 CC="$ac_save_CC $ac_arg"
4300 if ac_fn_c_try_compile "$LINENO"; then :
4301 ac_cv_prog_cc_c89=$ac_arg
4303 rm -f core conftest.err conftest.$ac_objext
4304 test "x$ac_cv_prog_cc_c89" != "xno" && break
4306 rm -f conftest.$ac_ext
4311 case "x$ac_cv_prog_cc_c89" in
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4314 $as_echo "none needed" >&6; } ;;
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4317 $as_echo "unsupported" >&6; } ;;
4319 CC="$CC $ac_cv_prog_cc_c89"
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4321 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4323 if test "x$ac_cv_prog_cc_c89" != xno; then :
4328 ac_cpp='$CPP $CPPFLAGS'
4329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4334 ac_cpp='$CXXCPP $CPPFLAGS'
4335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4338 if test -z "$CXX"; then
4339 if test -n "$CCC"; then
4342 if test -n "$ac_tool_prefix"; then
4343 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4345 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4346 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4348 $as_echo_n "checking for $ac_word... " >&6; }
4349 if test "${ac_cv_prog_CXX+set}" = set; then :
4350 $as_echo_n "(cached) " >&6
4352 if test -n "$CXX"; then
4353 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4359 test -z "$as_dir" && as_dir=.
4360 for ac_exec_ext in '' $ac_executable_extensions; do
4361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4362 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4373 if test -n "$CXX"; then
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4375 $as_echo "$CXX" >&6; }
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4378 $as_echo "no" >&6; }
4382 test -n "$CXX" && break
4385 if test -z "$CXX"; then
4387 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4389 # Extract the first word of "$ac_prog", so it can be a program name with args.
4390 set dummy $ac_prog; ac_word=$2
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4392 $as_echo_n "checking for $ac_word... " >&6; }
4393 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4394 $as_echo_n "(cached) " >&6
4396 if test -n "$ac_ct_CXX"; then
4397 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4403 test -z "$as_dir" && as_dir=.
4404 for ac_exec_ext in '' $ac_executable_extensions; do
4405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4406 ac_cv_prog_ac_ct_CXX="$ac_prog"
4407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4416 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4417 if test -n "$ac_ct_CXX"; then
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4419 $as_echo "$ac_ct_CXX" >&6; }
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4422 $as_echo "no" >&6; }
4426 test -n "$ac_ct_CXX" && break
4429 if test "x$ac_ct_CXX" = x; then
4432 case $cross_compiling:$ac_tool_warned in
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4435 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4436 ac_tool_warned=yes ;;
4444 # Provide some information about the compiler.
4445 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4448 for ac_option in --version -v -V -qversion; do
4449 { { ac_try="$ac_compiler $ac_option >&5"
4451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4452 *) ac_try_echo=$ac_try;;
4454 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4455 $as_echo "$ac_try_echo"; } >&5
4456 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4458 if test -s conftest.err; then
4460 ... rest of stderr output deleted ...
4461 10q' conftest.err >conftest.er1
4462 cat conftest.er1 >&5
4463 rm -f conftest.er1 conftest.err
4465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4466 test $ac_status = 0; }
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4470 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4471 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4472 $as_echo_n "(cached) " >&6
4474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4475 /* end confdefs.h. */
4488 if ac_fn_cxx_try_compile "$LINENO"; then :
4493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4494 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4498 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4499 if test $ac_compiler_gnu = yes; then
4504 ac_test_CXXFLAGS=${CXXFLAGS+set}
4505 ac_save_CXXFLAGS=$CXXFLAGS
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4507 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4508 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4509 $as_echo_n "(cached) " >&6
4511 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4512 ac_cxx_werror_flag=yes
4515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4516 /* end confdefs.h. */
4526 if ac_fn_cxx_try_compile "$LINENO"; then :
4527 ac_cv_prog_cxx_g=yes
4530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4531 /* end confdefs.h. */
4541 if ac_fn_cxx_try_compile "$LINENO"; then :
4544 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4547 /* end confdefs.h. */
4557 if ac_fn_cxx_try_compile "$LINENO"; then :
4558 ac_cv_prog_cxx_g=yes
4560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4565 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4568 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4569 if test "$ac_test_CXXFLAGS" = set; then
4570 CXXFLAGS=$ac_save_CXXFLAGS
4571 elif test $ac_cv_prog_cxx_g = yes; then
4572 if test "$GXX" = yes; then
4578 if test "$GXX" = yes; then
4585 ac_cpp='$CPP $CPPFLAGS'
4586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4590 CXXFLAGS="$save_CXXFLAGS"
4592 # Runs configure.host, and assorted other critical bits. Sets
4593 # up critical shell variables.
4596 ac_cpp='$CPP $CPPFLAGS'
4597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4601 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4602 # On Suns, sometimes $CPP names a directory.
4603 if test -n "$CPP" && test -d "$CPP"; then
4606 if test -z "$CPP"; then
4607 if test "${ac_cv_prog_CPP+set}" = set; then :
4608 $as_echo_n "(cached) " >&6
4610 # Double quotes because CPP needs to be expanded
4611 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4614 for ac_c_preproc_warn_flag in '' yes
4616 # Use a header file that comes with gcc, so configuring glibc
4617 # with a fresh cross-compiler works.
4618 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4619 # <limits.h> exists even on freestanding compilers.
4620 # On the NeXT, cc -E runs the code through the compiler's parser,
4621 # not just through cpp. "Syntax error" is here to catch this case.
4622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4623 /* end confdefs.h. */
4625 # include <limits.h>
4627 # include <assert.h>
4631 if ac_fn_c_try_cpp "$LINENO"; then :
4634 # Broken: fails on valid input.
4637 rm -f conftest.err conftest.$ac_ext
4639 # OK, works on sane cases. Now check whether nonexistent headers
4640 # can be detected and how.
4641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4642 /* end confdefs.h. */
4643 #include <ac_nonexistent.h>
4645 if ac_fn_c_try_cpp "$LINENO"; then :
4646 # Broken: success on invalid input.
4649 # Passes both tests.
4653 rm -f conftest.err conftest.$ac_ext
4656 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4657 rm -f conftest.err conftest.$ac_ext
4658 if $ac_preproc_ok; then :
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4671 $as_echo "$CPP" >&6; }
4673 for ac_c_preproc_warn_flag in '' yes
4675 # Use a header file that comes with gcc, so configuring glibc
4676 # with a fresh cross-compiler works.
4677 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4678 # <limits.h> exists even on freestanding compilers.
4679 # On the NeXT, cc -E runs the code through the compiler's parser,
4680 # not just through cpp. "Syntax error" is here to catch this case.
4681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4682 /* end confdefs.h. */
4684 # include <limits.h>
4686 # include <assert.h>
4690 if ac_fn_c_try_cpp "$LINENO"; then :
4693 # Broken: fails on valid input.
4696 rm -f conftest.err conftest.$ac_ext
4698 # OK, works on sane cases. Now check whether nonexistent headers
4699 # can be detected and how.
4700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4701 /* end confdefs.h. */
4702 #include <ac_nonexistent.h>
4704 if ac_fn_c_try_cpp "$LINENO"; then :
4705 # Broken: success on invalid input.
4708 # Passes both tests.
4712 rm -f conftest.err conftest.$ac_ext
4715 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4716 rm -f conftest.err conftest.$ac_ext
4717 if $ac_preproc_ok; then :
4720 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4721 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4722 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4723 See \`config.log' for more details." "$LINENO" 5; }
4727 ac_cpp='$CPP $CPPFLAGS'
4728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4734 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4735 if test "${ac_cv_path_GREP+set}" = set; then :
4736 $as_echo_n "(cached) " >&6
4738 if test -z "$GREP"; then
4739 ac_path_GREP_found=false
4740 # Loop through the user's path and test for each of PROGNAME-LIST
4741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4742 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4745 test -z "$as_dir" && as_dir=.
4746 for ac_prog in grep ggrep; do
4747 for ac_exec_ext in '' $ac_executable_extensions; do
4748 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4749 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4750 # Check for GNU ac_path_GREP and select it if it is found.
4751 # Check for GNU $ac_path_GREP
4752 case `"$ac_path_GREP" --version 2>&1` in
4754 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4757 $as_echo_n 0123456789 >"conftest.in"
4760 cat "conftest.in" "conftest.in" >"conftest.tmp"
4761 mv "conftest.tmp" "conftest.in"
4762 cp "conftest.in" "conftest.nl"
4763 $as_echo 'GREP' >> "conftest.nl"
4764 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4765 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4766 as_fn_arith $ac_count + 1 && ac_count=$as_val
4767 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4768 # Best one so far, save it but keep looking for a better one
4769 ac_cv_path_GREP="$ac_path_GREP"
4770 ac_path_GREP_max=$ac_count
4772 # 10*(2^10) chars as input seems more than enough
4773 test $ac_count -gt 10 && break
4775 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4778 $ac_path_GREP_found && break 3
4783 if test -z "$ac_cv_path_GREP"; then
4784 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4787 ac_cv_path_GREP=$GREP
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4792 $as_echo "$ac_cv_path_GREP" >&6; }
4793 GREP="$ac_cv_path_GREP"
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4797 $as_echo_n "checking for egrep... " >&6; }
4798 if test "${ac_cv_path_EGREP+set}" = set; then :
4799 $as_echo_n "(cached) " >&6
4801 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4802 then ac_cv_path_EGREP="$GREP -E"
4804 if test -z "$EGREP"; then
4805 ac_path_EGREP_found=false
4806 # Loop through the user's path and test for each of PROGNAME-LIST
4807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4808 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4811 test -z "$as_dir" && as_dir=.
4812 for ac_prog in egrep; do
4813 for ac_exec_ext in '' $ac_executable_extensions; do
4814 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4815 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4816 # Check for GNU ac_path_EGREP and select it if it is found.
4817 # Check for GNU $ac_path_EGREP
4818 case `"$ac_path_EGREP" --version 2>&1` in
4820 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4823 $as_echo_n 0123456789 >"conftest.in"
4826 cat "conftest.in" "conftest.in" >"conftest.tmp"
4827 mv "conftest.tmp" "conftest.in"
4828 cp "conftest.in" "conftest.nl"
4829 $as_echo 'EGREP' >> "conftest.nl"
4830 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4831 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4832 as_fn_arith $ac_count + 1 && ac_count=$as_val
4833 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4834 # Best one so far, save it but keep looking for a better one
4835 ac_cv_path_EGREP="$ac_path_EGREP"
4836 ac_path_EGREP_max=$ac_count
4838 # 10*(2^10) chars as input seems more than enough
4839 test $ac_count -gt 10 && break
4841 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4844 $ac_path_EGREP_found && break 3
4849 if test -z "$ac_cv_path_EGREP"; then
4850 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4853 ac_cv_path_EGREP=$EGREP
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4859 $as_echo "$ac_cv_path_EGREP" >&6; }
4860 EGREP="$ac_cv_path_EGREP"
4864 # Keep these sync'd with the list in Makefile.am. The first provides an
4865 # expandable list at autoconf time; the second provides an expandable list
4866 # (i.e., shell variable) at configure time.
4868 SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite'
4870 # These need to be absolute paths, yet at the same time need to
4871 # canonicalize only relative paths, because then amd will not unmount
4872 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4873 glibcxx_builddir=`${PWDCMD-pwd}`
4875 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4876 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4878 toplevel_builddir=${glibcxx_builddir}/..
4879 toplevel_srcdir=${glibcxx_srcdir}/..
4885 # We use these options to decide which functions to include. They are
4886 # set from the top level.
4888 # Check whether --with-target-subdir was given.
4889 if test "${with_target_subdir+set}" = set; then :
4890 withval=$with_target_subdir;
4895 # Check whether --with-cross-host was given.
4896 if test "${with_cross_host+set}" = set; then :
4897 withval=$with_cross_host;
4902 # Check whether --with-newlib was given.
4903 if test "${with_newlib+set}" = set; then :
4904 withval=$with_newlib;
4908 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4909 # available). Uncomment the next line to force a particular method.
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4911 $as_echo_n "checking whether ln -s works... " >&6; }
4913 if test "$LN_S" = "ln -s"; then
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4915 $as_echo "yes" >&6; }
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4918 $as_echo "no, using $LN_S" >&6; }
4923 if test -n "$ac_tool_prefix"; then
4924 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4925 set dummy ${ac_tool_prefix}as; ac_word=$2
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4927 $as_echo_n "checking for $ac_word... " >&6; }
4928 if test "${ac_cv_prog_AS+set}" = set; then :
4929 $as_echo_n "(cached) " >&6
4931 if test -n "$AS"; then
4932 ac_cv_prog_AS="$AS" # Let the user override the test.
4934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4938 test -z "$as_dir" && as_dir=.
4939 for ac_exec_ext in '' $ac_executable_extensions; do
4940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4941 ac_cv_prog_AS="${ac_tool_prefix}as"
4942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4952 if test -n "$AS"; then
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4954 $as_echo "$AS" >&6; }
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4957 $as_echo "no" >&6; }
4962 if test -z "$ac_cv_prog_AS"; then
4964 # Extract the first word of "as", so it can be a program name with args.
4965 set dummy as; ac_word=$2
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4967 $as_echo_n "checking for $ac_word... " >&6; }
4968 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4969 $as_echo_n "(cached) " >&6
4971 if test -n "$ac_ct_AS"; then
4972 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4978 test -z "$as_dir" && as_dir=.
4979 for ac_exec_ext in '' $ac_executable_extensions; do
4980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4981 ac_cv_prog_ac_ct_AS="as"
4982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4991 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4992 if test -n "$ac_ct_AS"; then
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4994 $as_echo "$ac_ct_AS" >&6; }
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4997 $as_echo "no" >&6; }
5000 if test "x$ac_ct_AS" = x; then
5003 case $cross_compiling:$ac_tool_warned in
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5006 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5007 ac_tool_warned=yes ;;
5015 if test -n "$ac_tool_prefix"; then
5016 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5017 set dummy ${ac_tool_prefix}ar; ac_word=$2
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5019 $as_echo_n "checking for $ac_word... " >&6; }
5020 if test "${ac_cv_prog_AR+set}" = set; then :
5021 $as_echo_n "(cached) " >&6
5023 if test -n "$AR"; then
5024 ac_cv_prog_AR="$AR" # Let the user override the test.
5026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5030 test -z "$as_dir" && as_dir=.
5031 for ac_exec_ext in '' $ac_executable_extensions; do
5032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5033 ac_cv_prog_AR="${ac_tool_prefix}ar"
5034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5044 if test -n "$AR"; then
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5046 $as_echo "$AR" >&6; }
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5049 $as_echo "no" >&6; }
5054 if test -z "$ac_cv_prog_AR"; then
5056 # Extract the first word of "ar", so it can be a program name with args.
5057 set dummy ar; ac_word=$2
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5059 $as_echo_n "checking for $ac_word... " >&6; }
5060 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5061 $as_echo_n "(cached) " >&6
5063 if test -n "$ac_ct_AR"; then
5064 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5070 test -z "$as_dir" && as_dir=.
5071 for ac_exec_ext in '' $ac_executable_extensions; do
5072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5073 ac_cv_prog_ac_ct_AR="ar"
5074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5083 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5084 if test -n "$ac_ct_AR"; then
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5086 $as_echo "$ac_ct_AR" >&6; }
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5089 $as_echo "no" >&6; }
5092 if test "x$ac_ct_AR" = x; then
5095 case $cross_compiling:$ac_tool_warned in
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5098 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5099 ac_tool_warned=yes ;;
5107 if test -n "$ac_tool_prefix"; then
5108 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5109 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5111 $as_echo_n "checking for $ac_word... " >&6; }
5112 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5113 $as_echo_n "(cached) " >&6
5115 if test -n "$RANLIB"; then
5116 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5122 test -z "$as_dir" && as_dir=.
5123 for ac_exec_ext in '' $ac_executable_extensions; do
5124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5125 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5135 RANLIB=$ac_cv_prog_RANLIB
5136 if test -n "$RANLIB"; then
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5138 $as_echo "$RANLIB" >&6; }
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5141 $as_echo "no" >&6; }
5146 if test -z "$ac_cv_prog_RANLIB"; then
5147 ac_ct_RANLIB=$RANLIB
5148 # Extract the first word of "ranlib", so it can be a program name with args.
5149 set dummy ranlib; ac_word=$2
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5151 $as_echo_n "checking for $ac_word... " >&6; }
5152 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5153 $as_echo_n "(cached) " >&6
5155 if test -n "$ac_ct_RANLIB"; then
5156 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5162 test -z "$as_dir" && as_dir=.
5163 for ac_exec_ext in '' $ac_executable_extensions; do
5164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5165 ac_cv_prog_ac_ct_RANLIB="ranlib"
5166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5175 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5176 if test -n "$ac_ct_RANLIB"; then
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5178 $as_echo "$ac_ct_RANLIB" >&6; }
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5181 $as_echo "no" >&6; }
5184 if test "x$ac_ct_RANLIB" = x; then
5185 RANLIB="ranlib-not-found-in-path-error"
5187 case $cross_compiling:$ac_tool_warned in
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5190 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5191 ac_tool_warned=yes ;;
5193 RANLIB=$ac_ct_RANLIB
5196 RANLIB="$ac_cv_prog_RANLIB"
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5202 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5203 # Check whether --enable-maintainer-mode was given.
5204 if test "${enable_maintainer_mode+set}" = set; then :
5205 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5207 USE_MAINTAINER_MODE=no
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5211 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5212 if test $USE_MAINTAINER_MODE = yes; then
5213 MAINTAINER_MODE_TRUE=
5214 MAINTAINER_MODE_FALSE='#'
5216 MAINTAINER_MODE_TRUE='#'
5217 MAINTAINER_MODE_FALSE=
5220 MAINT=$MAINTAINER_MODE_TRUE
5224 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5225 # which are themselves conditionally expanded.
5226 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5227 ## other macros from doing the same. This should be automated.) -pme
5229 # Check for C library flavor since GNU/Linux platforms use different
5230 # configuration directories depending on the C library in use.
5231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5232 /* end confdefs.h. */
5240 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5241 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5250 /* end confdefs.h. */
5258 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5259 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5267 # Find platform-specific directories containing configuration info.
5268 # Also possibly modify flags used elsewhere, as needed by the platform.
5270 . $glibcxx_srcdir/configure.host
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5272 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5274 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5278 if test "x${with_newlib}" != "xyes"; then
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5287 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5292 macro_version='2.2.7a'
5293 macro_revision='1.3134'
5307 ltmain="$ac_aux_dir/ltmain.sh"
5309 # Backslashify metacharacters that are still active within
5310 # double-quoted strings.
5311 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5313 # Same as above, but do not quote variable references.
5314 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5316 # Sed substitution to delay expansion of an escaped shell variable in a
5317 # double_quote_subst'ed string.
5318 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5320 # Sed substitution to delay expansion of an escaped single quote.
5321 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5323 # Sed substitution to avoid accidental globbing in evaled expressions
5324 no_glob_subst='s/\*/\\\*/g'
5326 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5327 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5328 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5331 $as_echo_n "checking how to print strings... " >&6; }
5332 # Test print first, because it will be a builtin if present.
5333 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5334 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5336 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5339 # Use this function as a fallback that always works.
5340 func_fallback_echo ()
5342 eval 'cat <<_LTECHO_EOF
5346 ECHO='func_fallback_echo'
5349 # func_echo_all arg...
5350 # Invoke $ECHO with all args, space-separated.
5357 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5358 $as_echo "printf" >&6; } ;;
5359 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5360 $as_echo "print -r" >&6; } ;;
5361 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5362 $as_echo "cat" >&6; } ;;
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5379 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5380 if test "${ac_cv_path_SED+set}" = set; then :
5381 $as_echo_n "(cached) " >&6
5383 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5384 for ac_i in 1 2 3 4 5 6 7; do
5385 ac_script="$ac_script$as_nl$ac_script"
5387 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5388 { ac_script=; unset ac_script;}
5389 if test -z "$SED"; then
5390 ac_path_SED_found=false
5391 # Loop through the user's path and test for each of PROGNAME-LIST
5392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5396 test -z "$as_dir" && as_dir=.
5397 for ac_prog in sed gsed; do
5398 for ac_exec_ext in '' $ac_executable_extensions; do
5399 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5400 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5401 # Check for GNU ac_path_SED and select it if it is found.
5402 # Check for GNU $ac_path_SED
5403 case `"$ac_path_SED" --version 2>&1` in
5405 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5408 $as_echo_n 0123456789 >"conftest.in"
5411 cat "conftest.in" "conftest.in" >"conftest.tmp"
5412 mv "conftest.tmp" "conftest.in"
5413 cp "conftest.in" "conftest.nl"
5414 $as_echo '' >> "conftest.nl"
5415 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5416 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5417 as_fn_arith $ac_count + 1 && ac_count=$as_val
5418 if test $ac_count -gt ${ac_path_SED_max-0}; then
5419 # Best one so far, save it but keep looking for a better one
5420 ac_cv_path_SED="$ac_path_SED"
5421 ac_path_SED_max=$ac_count
5423 # 10*(2^10) chars as input seems more than enough
5424 test $ac_count -gt 10 && break
5426 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5429 $ac_path_SED_found && break 3
5434 if test -z "$ac_cv_path_SED"; then
5435 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5443 $as_echo "$ac_cv_path_SED" >&6; }
5444 SED="$ac_cv_path_SED"
5447 test -z "$SED" && SED=sed
5448 Xsed="$SED -e 1s/^X//"
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5461 $as_echo_n "checking for fgrep... " >&6; }
5462 if test "${ac_cv_path_FGREP+set}" = set; then :
5463 $as_echo_n "(cached) " >&6
5465 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5466 then ac_cv_path_FGREP="$GREP -F"
5468 if test -z "$FGREP"; then
5469 ac_path_FGREP_found=false
5470 # Loop through the user's path and test for each of PROGNAME-LIST
5471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5472 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5475 test -z "$as_dir" && as_dir=.
5476 for ac_prog in fgrep; do
5477 for ac_exec_ext in '' $ac_executable_extensions; do
5478 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5479 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5480 # Check for GNU ac_path_FGREP and select it if it is found.
5481 # Check for GNU $ac_path_FGREP
5482 case `"$ac_path_FGREP" --version 2>&1` in
5484 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5487 $as_echo_n 0123456789 >"conftest.in"
5490 cat "conftest.in" "conftest.in" >"conftest.tmp"
5491 mv "conftest.tmp" "conftest.in"
5492 cp "conftest.in" "conftest.nl"
5493 $as_echo 'FGREP' >> "conftest.nl"
5494 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5495 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5496 as_fn_arith $ac_count + 1 && ac_count=$as_val
5497 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5498 # Best one so far, save it but keep looking for a better one
5499 ac_cv_path_FGREP="$ac_path_FGREP"
5500 ac_path_FGREP_max=$ac_count
5502 # 10*(2^10) chars as input seems more than enough
5503 test $ac_count -gt 10 && break
5505 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5508 $ac_path_FGREP_found && break 3
5513 if test -z "$ac_cv_path_FGREP"; then
5514 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5517 ac_cv_path_FGREP=$FGREP
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5523 $as_echo "$ac_cv_path_FGREP" >&6; }
5524 FGREP="$ac_cv_path_FGREP"
5527 test -z "$GREP" && GREP=grep
5547 # Check whether --with-gnu-ld was given.
5548 if test "${with_gnu_ld+set}" = set; then :
5549 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5555 if test "$GCC" = yes; then
5556 # Check if gcc -print-prog-name=ld gives a path.
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5558 $as_echo_n "checking for ld used by $CC... " >&6; }
5561 # gcc leaves a trailing carriage return which upsets mingw
5562 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5564 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5567 # Accept absolute paths.
5569 re_direlt='/[^/][^/]*/\.\./'
5570 # Canonicalize the pathname of ld
5571 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5572 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5573 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5575 test -z "$LD" && LD="$ac_prog"
5578 # If it fails, then pretend we aren't using GCC.
5582 # If it is relative, then search for the first ld in PATH.
5586 elif test "$with_gnu_ld" = yes; then
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5588 $as_echo_n "checking for GNU ld... " >&6; }
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5591 $as_echo_n "checking for non-GNU ld... " >&6; }
5593 if test "${lt_cv_path_LD+set}" = set; then :
5594 $as_echo_n "(cached) " >&6
5596 if test -z "$LD"; then
5597 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5598 for ac_dir in $PATH; do
5600 test -z "$ac_dir" && ac_dir=.
5601 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5602 lt_cv_path_LD="$ac_dir/$ac_prog"
5603 # Check to see if the program is GNU ld. I'd rather use --version,
5604 # but apparently some variants of GNU ld only accept -v.
5605 # Break only if it was the GNU/non-GNU ld that we prefer.
5606 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5607 *GNU* | *'with BFD'*)
5608 test "$with_gnu_ld" != no && break
5611 test "$with_gnu_ld" != yes && break
5618 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5623 if test -n "$LD"; then
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5625 $as_echo "$LD" >&6; }
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5628 $as_echo "no" >&6; }
5630 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5632 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5633 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5634 $as_echo_n "(cached) " >&6
5636 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5637 case `$LD -v 2>&1 </dev/null` in
5638 *GNU* | *'with BFD'*)
5639 lt_cv_prog_gnu_ld=yes
5642 lt_cv_prog_gnu_ld=no
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5647 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5648 with_gnu_ld=$lt_cv_prog_gnu_ld
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5659 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5660 if test "${lt_cv_path_NM+set}" = set; then :
5661 $as_echo_n "(cached) " >&6
5663 if test -n "$NM"; then
5664 # Let the user override the test.
5667 lt_nm_to_check="${ac_tool_prefix}nm"
5668 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5669 lt_nm_to_check="$lt_nm_to_check nm"
5671 for lt_tmp_nm in $lt_nm_to_check; do
5672 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5673 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5675 test -z "$ac_dir" && ac_dir=.
5676 tmp_nm="$ac_dir/$lt_tmp_nm"
5677 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5678 # Check to see if the nm accepts a BSD-compat flag.
5679 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5680 # nm: unknown option "B" ignored
5681 # Tru64's nm complains that /dev/null is an invalid object file
5682 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5683 */dev/null* | *'Invalid file or object type'*)
5684 lt_cv_path_NM="$tmp_nm -B"
5688 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5690 lt_cv_path_NM="$tmp_nm -p"
5694 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5695 continue # so that we can try to find one that supports BSD flags
5704 : ${lt_cv_path_NM=no}
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5708 $as_echo "$lt_cv_path_NM" >&6; }
5709 if test "$lt_cv_path_NM" != "no"; then
5712 # Didn't find any BSD compatible name lister, look for dumpbin.
5713 if test -n "$DUMPBIN"; then :
5714 # Let the user override the test.
5716 if test -n "$ac_tool_prefix"; then
5717 for ac_prog in dumpbin "link -dump"
5719 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5720 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5722 $as_echo_n "checking for $ac_word... " >&6; }
5723 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5724 $as_echo_n "(cached) " >&6
5726 if test -n "$DUMPBIN"; then
5727 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5733 test -z "$as_dir" && as_dir=.
5734 for ac_exec_ext in '' $ac_executable_extensions; do
5735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5736 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5746 DUMPBIN=$ac_cv_prog_DUMPBIN
5747 if test -n "$DUMPBIN"; then
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5749 $as_echo "$DUMPBIN" >&6; }
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5752 $as_echo "no" >&6; }
5756 test -n "$DUMPBIN" && break
5759 if test -z "$DUMPBIN"; then
5760 ac_ct_DUMPBIN=$DUMPBIN
5761 for ac_prog in dumpbin "link -dump"
5763 # Extract the first word of "$ac_prog", so it can be a program name with args.
5764 set dummy $ac_prog; ac_word=$2
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5766 $as_echo_n "checking for $ac_word... " >&6; }
5767 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5768 $as_echo_n "(cached) " >&6
5770 if test -n "$ac_ct_DUMPBIN"; then
5771 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5777 test -z "$as_dir" && as_dir=.
5778 for ac_exec_ext in '' $ac_executable_extensions; do
5779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5780 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5790 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5791 if test -n "$ac_ct_DUMPBIN"; then
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5793 $as_echo "$ac_ct_DUMPBIN" >&6; }
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5796 $as_echo "no" >&6; }
5800 test -n "$ac_ct_DUMPBIN" && break
5803 if test "x$ac_ct_DUMPBIN" = x; then
5806 case $cross_compiling:$ac_tool_warned in
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5809 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5810 ac_tool_warned=yes ;;
5812 DUMPBIN=$ac_ct_DUMPBIN
5816 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5818 DUMPBIN="$DUMPBIN -symbols"
5826 if test "$DUMPBIN" != ":"; then
5830 test -z "$NM" && NM=nm
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5838 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5839 if test "${lt_cv_nm_interface+set}" = set; then :
5840 $as_echo_n "(cached) " >&6
5842 lt_cv_nm_interface="BSD nm"
5843 echo "int some_variable = 0;" > conftest.$ac_ext
5844 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5845 (eval "$ac_compile" 2>conftest.err)
5846 cat conftest.err >&5
5847 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5848 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5849 cat conftest.err >&5
5850 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5851 cat conftest.out >&5
5852 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5853 lt_cv_nm_interface="MS dumpbin"
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5858 $as_echo "$lt_cv_nm_interface" >&6; }
5860 # find the maximum length of command line arguments
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5862 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5863 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5864 $as_echo_n "(cached) " >&6
5871 # On DJGPP, this test can blow up pretty badly due to problems in libc
5872 # (any single argument exceeding 2000 bytes causes a buffer overrun
5873 # during glob expansion). Even if it were fixed, the result of this
5874 # check would be larger than it should be.
5875 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5879 # Under GNU Hurd, this test is not required because there is
5880 # no limit to the length of command line arguments.
5881 # Libtool will interpret -1 as no limit whatsoever
5882 lt_cv_sys_max_cmd_len=-1;
5885 cygwin* | mingw* | cegcc*)
5886 # On Win9x/ME, this test blows up -- it succeeds, but takes
5887 # about 5 minutes as the teststring grows exponentially.
5888 # Worse, since 9x/ME are not pre-emptively multitasking,
5889 # you end up with a "frozen" computer, even though with patience
5890 # the test eventually succeeds (with a max line length of 256k).
5891 # Instead, let's just punt: use the minimum linelength reported by
5892 # all of the supported platforms: 8192 (on NT/2K/XP).
5893 lt_cv_sys_max_cmd_len=8192;
5897 # On MiNT this can take a long time and run out of memory.
5898 lt_cv_sys_max_cmd_len=8192;
5902 # On AmigaOS with pdksh, this test takes hours, literally.
5903 # So we just punt and use a minimum line length of 8192.
5904 lt_cv_sys_max_cmd_len=8192;
5907 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5908 # This has been around since 386BSD, at least. Likely further.
5909 if test -x /sbin/sysctl; then
5910 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5911 elif test -x /usr/sbin/sysctl; then
5912 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5914 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5916 # And add a safety zone
5917 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5918 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5922 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5923 lt_cv_sys_max_cmd_len=196608
5927 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5928 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5929 # nice to cause kernel panics so lets avoid the loop below.
5930 # First set a reasonable default.
5931 lt_cv_sys_max_cmd_len=16384
5933 if test -x /sbin/sysconfig; then
5934 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5935 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5940 lt_cv_sys_max_cmd_len=102400
5942 sysv5* | sco5v6* | sysv4.2uw2*)
5943 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5944 if test -n "$kargmax"; then
5945 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5947 lt_cv_sys_max_cmd_len=32768
5951 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5952 if test -n "$lt_cv_sys_max_cmd_len"; then
5953 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5954 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5956 # Make teststring a little bigger before we do anything with it.
5957 # a 1K string should be a reasonable start.
5958 for i in 1 2 3 4 5 6 7 8 ; do
5959 teststring=$teststring$teststring
5961 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5962 # If test is not a shell built-in, we'll probably end up computing a
5963 # maximum length that is only half of the actual maximum length, but
5965 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5966 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5967 test $i != 17 # 1/2 MB should be enough
5970 teststring=$teststring$teststring
5972 # Only check the string length outside the loop.
5973 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5975 # Add a significant safety factor because C++ compilers can tack on
5976 # massive amounts of additional arguments before passing them to the
5977 # linker. It appears as though 1/2 is a usable value.
5978 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5985 if test -n $lt_cv_sys_max_cmd_len ; then
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5987 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5990 $as_echo "none" >&6; }
5992 max_cmd_len=$lt_cv_sys_max_cmd_len
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6004 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6005 # Try some XSI features
6008 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6010 && eval 'test $(( 1 + 1 )) -eq 2 \
6011 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6014 $as_echo "$xsi_shell" >&6; }
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6018 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6020 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6022 && lt_shell_append=yes
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6024 $as_echo "$lt_shell_append" >&6; }
6027 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6037 # test EBCDIC or ASCII
6038 case `echo X|tr X '\101'` in
6039 A) # ASCII based system
6040 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6041 lt_SP2NL='tr \040 \012'
6042 lt_NL2SP='tr \015\012 \040\040'
6044 *) # EBCDIC based system
6045 lt_SP2NL='tr \100 \n'
6046 lt_NL2SP='tr \r\n \100\100'
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6059 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6060 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6061 $as_echo_n "(cached) " >&6
6063 lt_cv_ld_reload_flag='-r'
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6066 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6067 reload_flag=$lt_cv_ld_reload_flag
6068 case $reload_flag in
6070 *) reload_flag=" $reload_flag" ;;
6072 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6075 if test "$GCC" = yes; then
6076 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6078 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6091 if test -n "$ac_tool_prefix"; then
6092 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6093 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6095 $as_echo_n "checking for $ac_word... " >&6; }
6096 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6097 $as_echo_n "(cached) " >&6
6099 if test -n "$OBJDUMP"; then
6100 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6106 test -z "$as_dir" && as_dir=.
6107 for ac_exec_ext in '' $ac_executable_extensions; do
6108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6109 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6119 OBJDUMP=$ac_cv_prog_OBJDUMP
6120 if test -n "$OBJDUMP"; then
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6122 $as_echo "$OBJDUMP" >&6; }
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6125 $as_echo "no" >&6; }
6130 if test -z "$ac_cv_prog_OBJDUMP"; then
6131 ac_ct_OBJDUMP=$OBJDUMP
6132 # Extract the first word of "objdump", so it can be a program name with args.
6133 set dummy objdump; ac_word=$2
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6135 $as_echo_n "checking for $ac_word... " >&6; }
6136 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6137 $as_echo_n "(cached) " >&6
6139 if test -n "$ac_ct_OBJDUMP"; then
6140 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6146 test -z "$as_dir" && as_dir=.
6147 for ac_exec_ext in '' $ac_executable_extensions; do
6148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6149 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6159 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6160 if test -n "$ac_ct_OBJDUMP"; then
6161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6162 $as_echo "$ac_ct_OBJDUMP" >&6; }
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6165 $as_echo "no" >&6; }
6168 if test "x$ac_ct_OBJDUMP" = x; then
6171 case $cross_compiling:$ac_tool_warned in
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6174 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6175 ac_tool_warned=yes ;;
6177 OBJDUMP=$ac_ct_OBJDUMP
6180 OBJDUMP="$ac_cv_prog_OBJDUMP"
6183 test -z "$OBJDUMP" && OBJDUMP=objdump
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6194 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6195 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6196 $as_echo_n "(cached) " >&6
6198 lt_cv_file_magic_cmd='$MAGIC_CMD'
6199 lt_cv_file_magic_test_file=
6200 lt_cv_deplibs_check_method='unknown'
6201 # Need to set the preceding variable on all platforms that support
6202 # interlibrary dependencies.
6203 # 'none' -- dependencies not supported.
6204 # `unknown' -- same as none, but documents that we really don't know.
6205 # 'pass_all' -- all dependencies passed with no checks.
6206 # 'test_compile' -- check by making test program.
6207 # 'file_magic [[regex]]' -- check by looking for files in library path
6208 # which responds to the $file_magic_cmd with a given extended regex.
6209 # If you have `file' or equivalent on your system and you're not sure
6210 # whether `pass_all' will *always* work, you probably want this one.
6214 lt_cv_deplibs_check_method=pass_all
6218 lt_cv_deplibs_check_method=pass_all
6222 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6223 lt_cv_file_magic_cmd='/usr/bin/file -L'
6224 lt_cv_file_magic_test_file=/shlib/libc.so
6228 # func_win32_libid is a shell function defined in ltmain.sh
6229 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6230 lt_cv_file_magic_cmd='func_win32_libid'
6234 # Base MSYS/MinGW do not provide the 'file' command needed by
6235 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6236 # unless we find 'file', for example because we are cross-compiling.
6237 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6238 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6239 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6240 lt_cv_file_magic_cmd='func_win32_libid'
6242 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6243 lt_cv_file_magic_cmd='$OBJDUMP -f'
6248 # use the weaker test based on 'objdump'. See mingw*.
6249 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6250 lt_cv_file_magic_cmd='$OBJDUMP -f'
6253 darwin* | rhapsody*)
6254 lt_cv_deplibs_check_method=pass_all
6257 freebsd* | dragonfly*)
6258 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6261 # Not sure whether the presence of OpenBSD here was a mistake.
6262 # Let's accept both of them until this is cleared up.
6263 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6264 lt_cv_file_magic_cmd=/usr/bin/file
6265 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6269 lt_cv_deplibs_check_method=pass_all
6274 lt_cv_deplibs_check_method=pass_all
6278 lt_cv_deplibs_check_method=pass_all
6281 hpux10.20* | hpux11*)
6282 lt_cv_file_magic_cmd=/usr/bin/file
6285 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6286 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6289 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]'
6290 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6293 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6294 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6300 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6301 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6304 irix5* | irix6* | nonstopux*)
6306 *-32|*"-32 ") libmagic=32-bit;;
6307 *-n32|*"-n32 ") libmagic=N32;;
6308 *-64|*"-64 ") libmagic=64-bit;;
6309 *) libmagic=never-match;;
6311 lt_cv_deplibs_check_method=pass_all
6314 # This must be Linux ELF.
6315 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6316 lt_cv_deplibs_check_method=pass_all
6320 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6321 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6323 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6328 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6329 lt_cv_file_magic_cmd=/usr/bin/file
6330 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6334 lt_cv_deplibs_check_method=pass_all
6338 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6339 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6341 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6345 osf3* | osf4* | osf5*)
6346 lt_cv_deplibs_check_method=pass_all
6350 lt_cv_deplibs_check_method=pass_all
6354 lt_cv_deplibs_check_method=pass_all
6357 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6358 lt_cv_deplibs_check_method=pass_all
6362 case $host_vendor in
6364 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]'
6365 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6368 lt_cv_deplibs_check_method=pass_all
6371 lt_cv_file_magic_cmd='/bin/file'
6372 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6375 lt_cv_file_magic_cmd='/bin/file'
6376 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6377 lt_cv_file_magic_test_file=/lib/libc.so
6380 lt_cv_deplibs_check_method=pass_all
6383 lt_cv_deplibs_check_method=pass_all
6389 lt_cv_deplibs_check_method=pass_all
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6395 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6396 file_magic_cmd=$lt_cv_file_magic_cmd
6397 deplibs_check_method=$lt_cv_deplibs_check_method
6398 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6411 if test -n "$ac_tool_prefix"; then
6412 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6413 set dummy ${ac_tool_prefix}ar; ac_word=$2
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6415 $as_echo_n "checking for $ac_word... " >&6; }
6416 if test "${ac_cv_prog_AR+set}" = set; then :
6417 $as_echo_n "(cached) " >&6
6419 if test -n "$AR"; then
6420 ac_cv_prog_AR="$AR" # Let the user override the test.
6422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6426 test -z "$as_dir" && as_dir=.
6427 for ac_exec_ext in '' $ac_executable_extensions; do
6428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6429 ac_cv_prog_AR="${ac_tool_prefix}ar"
6430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6440 if test -n "$AR"; then
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6442 $as_echo "$AR" >&6; }
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6445 $as_echo "no" >&6; }
6450 if test -z "$ac_cv_prog_AR"; then
6452 # Extract the first word of "ar", so it can be a program name with args.
6453 set dummy ar; ac_word=$2
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6455 $as_echo_n "checking for $ac_word... " >&6; }
6456 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6457 $as_echo_n "(cached) " >&6
6459 if test -n "$ac_ct_AR"; then
6460 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6466 test -z "$as_dir" && as_dir=.
6467 for ac_exec_ext in '' $ac_executable_extensions; do
6468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6469 ac_cv_prog_ac_ct_AR="ar"
6470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6479 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6480 if test -n "$ac_ct_AR"; then
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6482 $as_echo "$ac_ct_AR" >&6; }
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6485 $as_echo "no" >&6; }
6488 if test "x$ac_ct_AR" = x; then
6491 case $cross_compiling:$ac_tool_warned in
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6494 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6495 ac_tool_warned=yes ;;
6503 test -z "$AR" && AR=ar
6504 test -z "$AR_FLAGS" && AR_FLAGS=cru
6516 if test -n "$ac_tool_prefix"; then
6517 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6518 set dummy ${ac_tool_prefix}strip; ac_word=$2
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6520 $as_echo_n "checking for $ac_word... " >&6; }
6521 if test "${ac_cv_prog_STRIP+set}" = set; then :
6522 $as_echo_n "(cached) " >&6
6524 if test -n "$STRIP"; then
6525 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6531 test -z "$as_dir" && as_dir=.
6532 for ac_exec_ext in '' $ac_executable_extensions; do
6533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6534 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6544 STRIP=$ac_cv_prog_STRIP
6545 if test -n "$STRIP"; then
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6547 $as_echo "$STRIP" >&6; }
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6550 $as_echo "no" >&6; }
6555 if test -z "$ac_cv_prog_STRIP"; then
6557 # Extract the first word of "strip", so it can be a program name with args.
6558 set dummy strip; ac_word=$2
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6560 $as_echo_n "checking for $ac_word... " >&6; }
6561 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6562 $as_echo_n "(cached) " >&6
6564 if test -n "$ac_ct_STRIP"; then
6565 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6571 test -z "$as_dir" && as_dir=.
6572 for ac_exec_ext in '' $ac_executable_extensions; do
6573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6574 ac_cv_prog_ac_ct_STRIP="strip"
6575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6584 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6585 if test -n "$ac_ct_STRIP"; then
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6587 $as_echo "$ac_ct_STRIP" >&6; }
6589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6590 $as_echo "no" >&6; }
6593 if test "x$ac_ct_STRIP" = x; then
6596 case $cross_compiling:$ac_tool_warned in
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6599 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6600 ac_tool_warned=yes ;;
6605 STRIP="$ac_cv_prog_STRIP"
6608 test -z "$STRIP" && STRIP=:
6615 if test -n "$ac_tool_prefix"; then
6616 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6617 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6619 $as_echo_n "checking for $ac_word... " >&6; }
6620 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6621 $as_echo_n "(cached) " >&6
6623 if test -n "$RANLIB"; then
6624 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6630 test -z "$as_dir" && as_dir=.
6631 for ac_exec_ext in '' $ac_executable_extensions; do
6632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6633 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6643 RANLIB=$ac_cv_prog_RANLIB
6644 if test -n "$RANLIB"; then
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6646 $as_echo "$RANLIB" >&6; }
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6649 $as_echo "no" >&6; }
6654 if test -z "$ac_cv_prog_RANLIB"; then
6655 ac_ct_RANLIB=$RANLIB
6656 # Extract the first word of "ranlib", so it can be a program name with args.
6657 set dummy ranlib; ac_word=$2
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6659 $as_echo_n "checking for $ac_word... " >&6; }
6660 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6661 $as_echo_n "(cached) " >&6
6663 if test -n "$ac_ct_RANLIB"; then
6664 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6670 test -z "$as_dir" && as_dir=.
6671 for ac_exec_ext in '' $ac_executable_extensions; do
6672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6673 ac_cv_prog_ac_ct_RANLIB="ranlib"
6674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6683 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6684 if test -n "$ac_ct_RANLIB"; then
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6686 $as_echo "$ac_ct_RANLIB" >&6; }
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6689 $as_echo "no" >&6; }
6692 if test "x$ac_ct_RANLIB" = x; then
6695 case $cross_compiling:$ac_tool_warned in
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6698 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6699 ac_tool_warned=yes ;;
6701 RANLIB=$ac_ct_RANLIB
6704 RANLIB="$ac_cv_prog_RANLIB"
6707 test -z "$RANLIB" && RANLIB=:
6714 # Determine commands to create old-style static archives.
6715 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6716 old_postinstall_cmds='chmod 644 $oldlib'
6717 old_postuninstall_cmds=
6719 if test -n "$RANLIB"; then
6722 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6725 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6728 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6733 lock_old_archive_extraction=yes ;;
6735 lock_old_archive_extraction=no ;;
6776 # If no C compiler was specified, use CC.
6779 # If no C compiler flags were specified, use CFLAGS.
6780 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6782 # Allow CC to be a program name with arguments.
6786 # Check for command to grab the raw symbol name followed by C symbol from nm.
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6788 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6789 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6790 $as_echo_n "(cached) " >&6
6793 # These are sane defaults that work on at least a few old systems.
6794 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6796 # Character class describing NM global symbol codes.
6797 symcode='[BCDEGRST]'
6799 # Regexp to match symbols that can be accessed directly from C.
6800 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6802 # Define system-specific variables.
6807 cygwin* | mingw* | pw32* | cegcc*)
6808 symcode='[ABCDGISTW]'
6811 if test "$host_cpu" = ia64; then
6812 symcode='[ABCDEGRST]'
6816 symcode='[BCDEGRST]'
6819 symcode='[BCDEGQRST]'
6830 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6838 # If we're using GNU nm, then use its standard symbol codes.
6839 case `$NM -V 2>&1` in
6840 *GNU* | *'with BFD'*)
6841 symcode='[ABCDGIRSTW]' ;;
6844 # Transform an extracted symbol line into a proper C declaration.
6845 # Some systems (esp. on ia64) link data and code symbols differently,
6846 # so use this general approach.
6847 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6849 # Transform an extracted symbol line into symbol name and symbol address
6850 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6851 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'"
6853 # Handle CRLF in mingw tool chain
6857 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6861 # Try without a prefix underscore, then with it.
6862 for ac_symprfx in "" "_"; do
6864 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6865 symxfrm="\\1 $ac_symprfx\\2 \\2"
6867 # Write the raw and C identifiers.
6868 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6869 # Fake it for dumpbin and say T for any non-static function
6870 # and D for any global variable.
6871 # Also find C++ and __fastcall symbols from MSVC++,
6872 # which start with @ or ?.
6873 lt_cv_sys_global_symbol_pipe="$AWK '"\
6874 " {last_section=section; section=\$ 3};"\
6875 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6876 " \$ 0!~/External *\|/{next};"\
6877 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6878 " {if(hide[section]) next};"\
6879 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6880 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6881 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6882 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6883 " ' prfx=^$ac_symprfx"
6885 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6888 # Check to see that the pipe works correctly.
6892 cat > conftest.$ac_ext <<_LT_EOF
6897 void nm_test_func(void);
6898 void nm_test_func(void){}
6902 int main(){nm_test_var='a';nm_test_func();return(0);}
6905 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6906 (eval $ac_compile) 2>&5
6908 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6909 test $ac_status = 0; }; then
6910 # Now try to grab the symbols.
6912 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6913 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6915 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6916 test $ac_status = 0; } && test -s "$nlist"; then
6917 # Try sorting and uniquifying the output.
6918 if sort "$nlist" | uniq > "$nlist"T; then
6919 mv -f "$nlist"T "$nlist"
6924 # Make sure that we snagged all the symbols we need.
6925 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6926 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6927 cat <<_LT_EOF > conftest.$ac_ext
6933 # Now generate the symbol file.
6934 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6936 cat <<_LT_EOF >> conftest.$ac_ext
6938 /* The mapping between symbol names and symbols. */
6943 lt__PROGRAM__LTX_preloaded_symbols[] =
6945 { "@PROGRAM@", (void *) 0 },
6947 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6948 cat <<\_LT_EOF >> conftest.$ac_ext
6952 /* This works around a problem in FreeBSD linker */
6953 #ifdef FREEBSD_WORKAROUND
6954 static const void *lt_preloaded_setup() {
6955 return lt__PROGRAM__LTX_preloaded_symbols;
6963 # Now try linking the two files.
6964 mv conftest.$ac_objext conftstm.$ac_objext
6965 lt_save_LIBS="$LIBS"
6966 lt_save_CFLAGS="$CFLAGS"
6967 LIBS="conftstm.$ac_objext"
6968 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6969 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6970 (eval $ac_link) 2>&5
6972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6973 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6976 LIBS="$lt_save_LIBS"
6977 CFLAGS="$lt_save_CFLAGS"
6979 echo "cannot find nm_test_func in $nlist" >&5
6982 echo "cannot find nm_test_var in $nlist" >&5
6985 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6988 echo "$progname: failed program was:" >&5
6989 cat conftest.$ac_ext >&5
6991 rm -rf conftest* conftst*
6993 # Do not use the global_symbol_pipe unless it works.
6994 if test "$pipe_works" = yes; then
6997 lt_cv_sys_global_symbol_pipe=
7003 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7004 lt_cv_sys_global_symbol_to_cdecl=
7006 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7008 $as_echo "failed" >&6; }
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7011 $as_echo "ok" >&6; }
7035 # Check whether --enable-libtool-lock was given.
7036 if test "${enable_libtool_lock+set}" = set; then :
7037 enableval=$enable_libtool_lock;
7040 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7042 # Some flags need to be propagated to the compiler or linker for good
7046 # Find out which ABI we are using.
7047 echo 'int i;' > conftest.$ac_ext
7048 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7049 (eval $ac_compile) 2>&5
7051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7052 test $ac_status = 0; }; then
7053 case `/usr/bin/file conftest.$ac_objext` in
7065 # Find out which ABI we are using.
7066 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7067 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7068 (eval $ac_compile) 2>&5
7070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7071 test $ac_status = 0; }; then
7072 if test "$lt_cv_prog_gnu_ld" = yes; then
7073 case `/usr/bin/file conftest.$ac_objext` in
7075 LD="${LD-ld} -melf32bsmip"
7078 LD="${LD-ld} -melf32bmipn32"
7081 LD="${LD-ld} -melf64bmip"
7085 case `/usr/bin/file conftest.$ac_objext` in
7101 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7102 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7103 # Find out which ABI we are using.
7104 echo 'int i;' > conftest.$ac_ext
7105 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7106 (eval $ac_compile) 2>&5
7108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7109 test $ac_status = 0; }; then
7110 case `/usr/bin/file conftest.o` in
7113 x86_64-*kfreebsd*-gnu)
7114 LD="${LD-ld} -m elf_i386_fbsd"
7117 LD="${LD-ld} -m elf_i386"
7119 ppc64-*linux*|powerpc64-*linux*)
7120 LD="${LD-ld} -m elf32ppclinux"
7123 LD="${LD-ld} -m elf_s390"
7126 LD="${LD-ld} -m elf32_sparc"
7132 x86_64-*kfreebsd*-gnu)
7133 LD="${LD-ld} -m elf_x86_64_fbsd"
7136 LD="${LD-ld} -m elf_x86_64"
7138 ppc*-*linux*|powerpc*-*linux*)
7139 LD="${LD-ld} -m elf64ppc"
7141 s390*-*linux*|s390*-*tpf*)
7142 LD="${LD-ld} -m elf64_s390"
7145 LD="${LD-ld} -m elf64_sparc"
7155 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7156 SAVE_CFLAGS="$CFLAGS"
7157 CFLAGS="$CFLAGS -belf"
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7159 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7160 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7161 $as_echo_n "(cached) " >&6
7164 ac_cpp='$CPP $CPPFLAGS'
7165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7169 if test x$gcc_no_link = xyes; then
7170 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7173 /* end confdefs.h. */
7183 if ac_fn_c_try_link "$LINENO"; then :
7184 lt_cv_cc_needs_belf=yes
7186 lt_cv_cc_needs_belf=no
7188 rm -f core conftest.err conftest.$ac_objext \
7189 conftest$ac_exeext conftest.$ac_ext
7191 ac_cpp='$CPP $CPPFLAGS'
7192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7198 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7199 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7200 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7201 CFLAGS="$SAVE_CFLAGS"
7205 # Find out which ABI we are using.
7206 echo 'int i;' > conftest.$ac_ext
7207 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7208 (eval $ac_compile) 2>&5
7210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7211 test $ac_status = 0; }; then
7212 case `/usr/bin/file conftest.o` in
7214 case $lt_cv_prog_gnu_ld in
7215 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7217 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7229 need_locks="$enable_libtool_lock"
7233 rhapsody* | darwin*)
7234 if test -n "$ac_tool_prefix"; then
7235 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7236 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7238 $as_echo_n "checking for $ac_word... " >&6; }
7239 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7240 $as_echo_n "(cached) " >&6
7242 if test -n "$DSYMUTIL"; then
7243 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7249 test -z "$as_dir" && as_dir=.
7250 for ac_exec_ext in '' $ac_executable_extensions; do
7251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7252 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7262 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7263 if test -n "$DSYMUTIL"; then
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7265 $as_echo "$DSYMUTIL" >&6; }
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7268 $as_echo "no" >&6; }
7273 if test -z "$ac_cv_prog_DSYMUTIL"; then
7274 ac_ct_DSYMUTIL=$DSYMUTIL
7275 # Extract the first word of "dsymutil", so it can be a program name with args.
7276 set dummy dsymutil; ac_word=$2
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7278 $as_echo_n "checking for $ac_word... " >&6; }
7279 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7280 $as_echo_n "(cached) " >&6
7282 if test -n "$ac_ct_DSYMUTIL"; then
7283 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7289 test -z "$as_dir" && as_dir=.
7290 for ac_exec_ext in '' $ac_executable_extensions; do
7291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7292 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7302 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7303 if test -n "$ac_ct_DSYMUTIL"; then
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7305 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7308 $as_echo "no" >&6; }
7311 if test "x$ac_ct_DSYMUTIL" = x; then
7314 case $cross_compiling:$ac_tool_warned in
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7317 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7318 ac_tool_warned=yes ;;
7320 DSYMUTIL=$ac_ct_DSYMUTIL
7323 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7326 if test -n "$ac_tool_prefix"; then
7327 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7328 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7330 $as_echo_n "checking for $ac_word... " >&6; }
7331 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7332 $as_echo_n "(cached) " >&6
7334 if test -n "$NMEDIT"; then
7335 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7341 test -z "$as_dir" && as_dir=.
7342 for ac_exec_ext in '' $ac_executable_extensions; do
7343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7344 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7354 NMEDIT=$ac_cv_prog_NMEDIT
7355 if test -n "$NMEDIT"; then
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7357 $as_echo "$NMEDIT" >&6; }
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7360 $as_echo "no" >&6; }
7365 if test -z "$ac_cv_prog_NMEDIT"; then
7366 ac_ct_NMEDIT=$NMEDIT
7367 # Extract the first word of "nmedit", so it can be a program name with args.
7368 set dummy nmedit; ac_word=$2
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7370 $as_echo_n "checking for $ac_word... " >&6; }
7371 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7372 $as_echo_n "(cached) " >&6
7374 if test -n "$ac_ct_NMEDIT"; then
7375 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7381 test -z "$as_dir" && as_dir=.
7382 for ac_exec_ext in '' $ac_executable_extensions; do
7383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7384 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7394 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7395 if test -n "$ac_ct_NMEDIT"; then
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7397 $as_echo "$ac_ct_NMEDIT" >&6; }
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7400 $as_echo "no" >&6; }
7403 if test "x$ac_ct_NMEDIT" = x; then
7406 case $cross_compiling:$ac_tool_warned in
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7409 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7410 ac_tool_warned=yes ;;
7412 NMEDIT=$ac_ct_NMEDIT
7415 NMEDIT="$ac_cv_prog_NMEDIT"
7418 if test -n "$ac_tool_prefix"; then
7419 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7420 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7422 $as_echo_n "checking for $ac_word... " >&6; }
7423 if test "${ac_cv_prog_LIPO+set}" = set; then :
7424 $as_echo_n "(cached) " >&6
7426 if test -n "$LIPO"; then
7427 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7433 test -z "$as_dir" && as_dir=.
7434 for ac_exec_ext in '' $ac_executable_extensions; do
7435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7436 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7446 LIPO=$ac_cv_prog_LIPO
7447 if test -n "$LIPO"; then
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7449 $as_echo "$LIPO" >&6; }
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7452 $as_echo "no" >&6; }
7457 if test -z "$ac_cv_prog_LIPO"; then
7459 # Extract the first word of "lipo", so it can be a program name with args.
7460 set dummy lipo; ac_word=$2
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7462 $as_echo_n "checking for $ac_word... " >&6; }
7463 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7464 $as_echo_n "(cached) " >&6
7466 if test -n "$ac_ct_LIPO"; then
7467 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7473 test -z "$as_dir" && as_dir=.
7474 for ac_exec_ext in '' $ac_executable_extensions; do
7475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7476 ac_cv_prog_ac_ct_LIPO="lipo"
7477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7486 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7487 if test -n "$ac_ct_LIPO"; then
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7489 $as_echo "$ac_ct_LIPO" >&6; }
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7492 $as_echo "no" >&6; }
7495 if test "x$ac_ct_LIPO" = x; then
7498 case $cross_compiling:$ac_tool_warned in
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7501 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7502 ac_tool_warned=yes ;;
7507 LIPO="$ac_cv_prog_LIPO"
7510 if test -n "$ac_tool_prefix"; then
7511 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7512 set dummy ${ac_tool_prefix}otool; ac_word=$2
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7514 $as_echo_n "checking for $ac_word... " >&6; }
7515 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7516 $as_echo_n "(cached) " >&6
7518 if test -n "$OTOOL"; then
7519 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7525 test -z "$as_dir" && as_dir=.
7526 for ac_exec_ext in '' $ac_executable_extensions; do
7527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7528 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7538 OTOOL=$ac_cv_prog_OTOOL
7539 if test -n "$OTOOL"; then
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7541 $as_echo "$OTOOL" >&6; }
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7544 $as_echo "no" >&6; }
7549 if test -z "$ac_cv_prog_OTOOL"; then
7551 # Extract the first word of "otool", so it can be a program name with args.
7552 set dummy otool; ac_word=$2
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7554 $as_echo_n "checking for $ac_word... " >&6; }
7555 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7556 $as_echo_n "(cached) " >&6
7558 if test -n "$ac_ct_OTOOL"; then
7559 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7565 test -z "$as_dir" && as_dir=.
7566 for ac_exec_ext in '' $ac_executable_extensions; do
7567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7568 ac_cv_prog_ac_ct_OTOOL="otool"
7569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7578 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7579 if test -n "$ac_ct_OTOOL"; then
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7581 $as_echo "$ac_ct_OTOOL" >&6; }
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7584 $as_echo "no" >&6; }
7587 if test "x$ac_ct_OTOOL" = x; then
7590 case $cross_compiling:$ac_tool_warned in
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7593 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7594 ac_tool_warned=yes ;;
7599 OTOOL="$ac_cv_prog_OTOOL"
7602 if test -n "$ac_tool_prefix"; then
7603 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7604 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7606 $as_echo_n "checking for $ac_word... " >&6; }
7607 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7608 $as_echo_n "(cached) " >&6
7610 if test -n "$OTOOL64"; then
7611 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7617 test -z "$as_dir" && as_dir=.
7618 for ac_exec_ext in '' $ac_executable_extensions; do
7619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7620 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7630 OTOOL64=$ac_cv_prog_OTOOL64
7631 if test -n "$OTOOL64"; then
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7633 $as_echo "$OTOOL64" >&6; }
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7636 $as_echo "no" >&6; }
7641 if test -z "$ac_cv_prog_OTOOL64"; then
7642 ac_ct_OTOOL64=$OTOOL64
7643 # Extract the first word of "otool64", so it can be a program name with args.
7644 set dummy otool64; ac_word=$2
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7646 $as_echo_n "checking for $ac_word... " >&6; }
7647 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7648 $as_echo_n "(cached) " >&6
7650 if test -n "$ac_ct_OTOOL64"; then
7651 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7657 test -z "$as_dir" && as_dir=.
7658 for ac_exec_ext in '' $ac_executable_extensions; do
7659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7660 ac_cv_prog_ac_ct_OTOOL64="otool64"
7661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7670 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7671 if test -n "$ac_ct_OTOOL64"; then
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7673 $as_echo "$ac_ct_OTOOL64" >&6; }
7675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7676 $as_echo "no" >&6; }
7679 if test "x$ac_ct_OTOOL64" = x; then
7682 case $cross_compiling:$ac_tool_warned in
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7685 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7686 ac_tool_warned=yes ;;
7688 OTOOL64=$ac_ct_OTOOL64
7691 OTOOL64="$ac_cv_prog_OTOOL64"
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7721 $as_echo_n "checking for -single_module linker flag... " >&6; }
7722 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7723 $as_echo_n "(cached) " >&6
7725 lt_cv_apple_cc_single_mod=no
7726 if test -z "${LT_MULTI_MODULE}"; then
7727 # By default we will add the -single_module flag. You can override
7728 # by either setting the environment variable LT_MULTI_MODULE
7729 # non-empty at configure time, or by adding -multi_module to the
7731 rm -rf libconftest.dylib*
7732 echo "int foo(void){return 1;}" > conftest.c
7733 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7734 -dynamiclib -Wl,-single_module conftest.c" >&5
7735 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7736 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7738 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7739 lt_cv_apple_cc_single_mod=yes
7741 cat conftest.err >&5
7743 rm -rf libconftest.dylib*
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7748 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7750 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7751 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7752 $as_echo_n "(cached) " >&6
7754 lt_cv_ld_exported_symbols_list=no
7755 save_LDFLAGS=$LDFLAGS
7756 echo "_main" > conftest.sym
7757 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7758 if test x$gcc_no_link = xyes; then
7759 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7762 /* end confdefs.h. */
7772 if ac_fn_c_try_link "$LINENO"; then :
7773 lt_cv_ld_exported_symbols_list=yes
7775 lt_cv_ld_exported_symbols_list=no
7777 rm -f core conftest.err conftest.$ac_objext \
7778 conftest$ac_exeext conftest.$ac_ext
7779 LDFLAGS="$save_LDFLAGS"
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7783 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7785 $as_echo_n "checking for -force_load linker flag... " >&6; }
7786 if test "${lt_cv_ld_force_load+set}" = set; then :
7787 $as_echo_n "(cached) " >&6
7789 lt_cv_ld_force_load=no
7790 cat > conftest.c << _LT_EOF
7791 int forced_loaded() { return 2;}
7793 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7794 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7795 echo "$AR cru libconftest.a conftest.o" >&5
7796 $AR cru libconftest.a conftest.o 2>&5
7797 cat > conftest.c << _LT_EOF
7798 int main() { return 0;}
7800 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7801 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7803 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7804 lt_cv_ld_force_load=yes
7806 cat conftest.err >&5
7808 rm -f conftest.err libconftest.a conftest conftest.c
7809 rm -rf conftest.dSYM
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7813 $as_echo "$lt_cv_ld_force_load" >&6; }
7815 rhapsody* | darwin1.[012])
7816 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7818 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7819 darwin*) # darwin 5.x on
7820 # if running on 10.5 or later, the deployment target defaults
7821 # to the OS version, if on x86, and 10.4, the deployment
7822 # target defaults to 10.4. Don't you love it?
7823 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7824 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7825 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7827 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7829 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7833 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7834 _lt_dar_single_mod='$single_module'
7836 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7837 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7839 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7841 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7842 _lt_dsymutil='~$DSYMUTIL $lib || :'
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7850 $as_echo_n "checking for ANSI C header files... " >&6; }
7851 if test "${ac_cv_header_stdc+set}" = set; then :
7852 $as_echo_n "(cached) " >&6
7854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7855 /* end confdefs.h. */
7869 if ac_fn_c_try_compile "$LINENO"; then :
7870 ac_cv_header_stdc=yes
7872 ac_cv_header_stdc=no
7874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7876 if test $ac_cv_header_stdc = yes; then
7877 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7879 /* end confdefs.h. */
7883 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7884 $EGREP "memchr" >/dev/null 2>&1; then :
7887 ac_cv_header_stdc=no
7893 if test $ac_cv_header_stdc = yes; then
7894 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7896 /* end confdefs.h. */
7900 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7901 $EGREP "free" >/dev/null 2>&1; then :
7904 ac_cv_header_stdc=no
7910 if test $ac_cv_header_stdc = yes; then
7911 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7912 if test "$cross_compiling" = yes; then :
7915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7916 /* end confdefs.h. */
7919 #if ((' ' & 0x0FF) == 0x020)
7920 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7921 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7923 # define ISLOWER(c) \
7924 (('a' <= (c) && (c) <= 'i') \
7925 || ('j' <= (c) && (c) <= 'r') \
7926 || ('s' <= (c) && (c) <= 'z'))
7927 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7930 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7935 for (i = 0; i < 256; i++)
7936 if (XOR (islower (i), ISLOWER (i))
7937 || toupper (i) != TOUPPER (i))
7942 if ac_fn_c_try_run "$LINENO"; then :
7945 ac_cv_header_stdc=no
7947 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7948 conftest.$ac_objext conftest.beam conftest.$ac_ext
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7954 $as_echo "$ac_cv_header_stdc" >&6; }
7955 if test $ac_cv_header_stdc = yes; then
7957 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7961 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7962 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7963 inttypes.h stdint.h unistd.h
7965 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7966 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7968 eval as_val=\$$as_ac_Header
7969 if test "x$as_val" = x""yes; then :
7970 cat >>confdefs.h <<_ACEOF
7971 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7979 for ac_header in dlfcn.h
7981 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7983 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7984 cat >>confdefs.h <<_ACEOF
7985 #define HAVE_DLFCN_H 1
8005 # Check whether --enable-shared was given.
8006 if test "${enable_shared+set}" = set; then :
8007 enableval=$enable_shared; p=${PACKAGE-default}
8009 yes) enable_shared=yes ;;
8010 no) enable_shared=no ;;
8013 # Look at the argument we got. We use all the common list separators.
8014 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8015 for pkg in $enableval; do
8017 if test "X$pkg" = "X$p"; then
8036 # Check whether --enable-static was given.
8037 if test "${enable_static+set}" = set; then :
8038 enableval=$enable_static; p=${PACKAGE-default}
8040 yes) enable_static=yes ;;
8041 no) enable_static=no ;;
8044 # Look at the argument we got. We use all the common list separators.
8045 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8046 for pkg in $enableval; do
8048 if test "X$pkg" = "X$p"; then
8068 # Check whether --with-pic was given.
8069 if test "${with_pic+set}" = set; then :
8070 withval=$with_pic; pic_mode="$withval"
8076 test -z "$pic_mode" && pic_mode=default
8084 # Check whether --enable-fast-install was given.
8085 if test "${enable_fast_install+set}" = set; then :
8086 enableval=$enable_fast_install; p=${PACKAGE-default}
8088 yes) enable_fast_install=yes ;;
8089 no) enable_fast_install=no ;;
8091 enable_fast_install=no
8092 # Look at the argument we got. We use all the common list separators.
8093 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8094 for pkg in $enableval; do
8096 if test "X$pkg" = "X$p"; then
8097 enable_fast_install=yes
8104 enable_fast_install=yes
8117 # This can be used to rebuild libtool when needed
8118 LIBTOOL_DEPS="$ltmain"
8120 # Always use our own libtool.
8121 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8148 test -z "$LN_S" && LN_S="ln -s"
8163 if test -n "${ZSH_VERSION+set}" ; then
8164 setopt NO_GLOB_SUBST
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8168 $as_echo_n "checking for objdir... " >&6; }
8169 if test "${lt_cv_objdir+set}" = set; then :
8170 $as_echo_n "(cached) " >&6
8172 rm -f .libs 2>/dev/null
8173 mkdir .libs 2>/dev/null
8174 if test -d .libs; then
8177 # MS-DOS does not allow filenames that begin with a dot.
8180 rmdir .libs 2>/dev/null
8182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8183 $as_echo "$lt_cv_objdir" >&6; }
8184 objdir=$lt_cv_objdir
8190 cat >>confdefs.h <<_ACEOF
8191 #define LT_OBJDIR "$lt_cv_objdir/"
8199 # AIX sometimes has problems with the GCC collect2 program. For some
8200 # reason, if we set the COLLECT_NAMES environment variable, the problems
8201 # vanish in a puff of smoke.
8202 if test "X${COLLECT_NAMES+set}" != Xset; then
8204 export COLLECT_NAMES
8211 can_build_shared=yes
8213 # All known linkers require a `.a' archive for static linking (except MSVC,
8214 # which needs '.lib').
8217 with_gnu_ld="$lt_cv_prog_gnu_ld"
8220 old_CFLAGS="$CFLAGS"
8222 # Set sane defaults for various variables
8223 test -z "$CC" && CC=cc
8224 test -z "$LTCC" && LTCC=$CC
8225 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8226 test -z "$LD" && LD=ld
8227 test -z "$ac_objext" && ac_objext=o
8229 for cc_temp in $compiler""; do
8231 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8232 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8237 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8240 # Only perform the check for file, if the check method requires it
8241 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8242 case $deplibs_check_method in
8244 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8246 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8247 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8248 $as_echo_n "(cached) " >&6
8252 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8255 lt_save_MAGIC_CMD="$MAGIC_CMD"
8256 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8257 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8258 for ac_dir in $ac_dummy; do
8260 test -z "$ac_dir" && ac_dir=.
8261 if test -f $ac_dir/${ac_tool_prefix}file; then
8262 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8263 if test -n "$file_magic_test_file"; then
8264 case $deplibs_check_method in
8266 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8267 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8268 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8269 $EGREP "$file_magic_regex" > /dev/null; then
8274 *** Warning: the command libtool uses to detect shared libraries,
8275 *** $file_magic_cmd, produces output that libtool cannot recognize.
8276 *** The result is that libtool may fail to recognize shared libraries
8277 *** as such. This will affect the creation of libtool libraries that
8278 *** depend on shared libraries, but programs linked with such libtool
8279 *** libraries will work regardless of this problem. Nevertheless, you
8280 *** may want to report the problem to your system manager and/or to
8281 *** bug-libtool@gnu.org
8291 MAGIC_CMD="$lt_save_MAGIC_CMD"
8296 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8297 if test -n "$MAGIC_CMD"; then
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8299 $as_echo "$MAGIC_CMD" >&6; }
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8302 $as_echo "no" >&6; }
8309 if test -z "$lt_cv_path_MAGIC_CMD"; then
8310 if test -n "$ac_tool_prefix"; then
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8312 $as_echo_n "checking for file... " >&6; }
8313 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8314 $as_echo_n "(cached) " >&6
8318 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8321 lt_save_MAGIC_CMD="$MAGIC_CMD"
8322 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8323 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8324 for ac_dir in $ac_dummy; do
8326 test -z "$ac_dir" && ac_dir=.
8327 if test -f $ac_dir/file; then
8328 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8329 if test -n "$file_magic_test_file"; then
8330 case $deplibs_check_method in
8332 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8333 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8334 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8335 $EGREP "$file_magic_regex" > /dev/null; then
8340 *** Warning: the command libtool uses to detect shared libraries,
8341 *** $file_magic_cmd, produces output that libtool cannot recognize.
8342 *** The result is that libtool may fail to recognize shared libraries
8343 *** as such. This will affect the creation of libtool libraries that
8344 *** depend on shared libraries, but programs linked with such libtool
8345 *** libraries will work regardless of this problem. Nevertheless, you
8346 *** may want to report the problem to your system manager and/or to
8347 *** bug-libtool@gnu.org
8357 MAGIC_CMD="$lt_save_MAGIC_CMD"
8362 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8363 if test -n "$MAGIC_CMD"; then
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8365 $as_echo "$MAGIC_CMD" >&6; }
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8368 $as_echo "no" >&6; }
8381 # Use C for the default configuration in the libtool script
8385 ac_cpp='$CPP $CPPFLAGS'
8386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8391 # Source file extension for C test sources.
8394 # Object file extension for compiled C test sources.
8398 # Code to be used in simple compile tests
8399 lt_simple_compile_test_code="int some_variable = 0;"
8401 # Code to be used in simple link tests
8402 lt_simple_link_test_code='int main(){return(0);}'
8410 # If no C compiler was specified, use CC.
8413 # If no C compiler flags were specified, use CFLAGS.
8414 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8416 # Allow CC to be a program name with arguments.
8419 # Save the default compiler, since it gets overwritten when the other
8420 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8421 compiler_DEFAULT=$CC
8423 # save warnings/boilerplate of simple test code
8424 ac_outfile=conftest.$ac_objext
8425 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8426 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8427 _lt_compiler_boilerplate=`cat conftest.err`
8430 ac_outfile=conftest.$ac_objext
8431 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8432 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8433 _lt_linker_boilerplate=`cat conftest.err`
8438 ## There is no encapsulation within the following macros, do not change
8439 ## the running order or otherwise move them around unless you know exactly
8440 ## what you are doing...
8441 if test -n "$compiler"; then
8443 lt_prog_compiler_no_builtin_flag=
8445 if test "$GCC" = yes; then
8446 case $cc_basename in
8448 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8450 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8454 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8455 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8456 $as_echo_n "(cached) " >&6
8458 lt_cv_prog_compiler_rtti_exceptions=no
8459 ac_outfile=conftest.$ac_objext
8460 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8461 lt_compiler_flag="-fno-rtti -fno-exceptions"
8462 # Insert the option either (1) after the last *FLAGS variable, or
8463 # (2) before a word containing "conftest.", or (3) at the end.
8464 # Note that $ac_compile itself does not contain backslashes and begins
8465 # with a dollar sign (not a hyphen), so the echo should work correctly.
8466 # The option is referenced via a variable to avoid confusing sed.
8467 lt_compile=`echo "$ac_compile" | $SED \
8468 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8469 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8470 -e 's:$: $lt_compiler_flag:'`
8471 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8472 (eval "$lt_compile" 2>conftest.err)
8474 cat conftest.err >&5
8475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8476 if (exit $ac_status) && test -s "$ac_outfile"; then
8477 # The compiler can only warn and ignore the option if not recognized
8478 # So say no if there are warnings other than the usual output.
8479 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8480 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8481 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8482 lt_cv_prog_compiler_rtti_exceptions=yes
8488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8489 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8491 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8492 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8504 lt_prog_compiler_wl=
8505 lt_prog_compiler_pic=
8506 lt_prog_compiler_static=
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8509 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8511 if test "$GCC" = yes; then
8512 lt_prog_compiler_wl='-Wl,'
8513 lt_prog_compiler_static='-static'
8517 # All AIX code is PIC.
8518 if test "$host_cpu" = ia64; then
8519 # AIX 5 now supports IA64 processor
8520 lt_prog_compiler_static='-Bstatic'
8527 # see comment about AmigaOS4 .so support
8528 lt_prog_compiler_pic='-fPIC'
8531 # FIXME: we need at least 68020 code to build shared libraries, but
8532 # adding the `-m68020' flag to GCC prevents building anything better,
8534 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8539 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8540 # PIC is the default for these OSes.
8543 mingw* | cygwin* | pw32* | os2* | cegcc*)
8544 # This hack is so that the source file can tell whether it is being
8545 # built for inclusion in a dll (and should export symbols for example).
8546 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8547 # (--disable-auto-import) libraries
8548 lt_prog_compiler_pic='-DDLL_EXPORT'
8551 darwin* | rhapsody*)
8552 # PIC is the default on this platform
8553 # Common symbols not allowed in MH_DYLIB files
8554 lt_prog_compiler_pic='-fno-common'
8558 # PIC is the default for Haiku.
8559 # The "-static" flag exists, but is broken.
8560 lt_prog_compiler_static=
8564 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8565 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8566 # sets the default TLS model and affects inlining.
8572 lt_prog_compiler_pic='-fPIC'
8578 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8579 # Instead, we relocate shared libraries at runtime.
8583 # Just because we use GCC doesn't mean we suddenly get shared libraries
8584 # on systems that don't support them.
8585 lt_prog_compiler_can_build_shared=no
8590 # QNX uses GNU C++, but need to define -shared option too, otherwise
8592 lt_prog_compiler_pic='-fPIC -shared'
8596 if test -d /usr/nec; then
8597 lt_prog_compiler_pic=-Kconform_pic
8602 lt_prog_compiler_pic='-fPIC'
8606 case $cc_basename in
8607 nvcc*) # Cuda Compiler Driver 2.2
8608 lt_prog_compiler_wl='-Xlinker '
8609 lt_prog_compiler_pic='-Xcompiler -fPIC'
8613 # PORTME Check for flag to pass linker flags through the system compiler.
8616 lt_prog_compiler_wl='-Wl,'
8617 if test "$host_cpu" = ia64; then
8618 # AIX 5 now supports IA64 processor
8619 lt_prog_compiler_static='-Bstatic'
8621 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8625 mingw* | cygwin* | pw32* | os2* | cegcc*)
8626 # This hack is so that the source file can tell whether it is being
8627 # built for inclusion in a dll (and should export symbols for example).
8628 lt_prog_compiler_pic='-DDLL_EXPORT'
8631 hpux9* | hpux10* | hpux11*)
8632 lt_prog_compiler_wl='-Wl,'
8633 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8640 lt_prog_compiler_pic='+Z'
8643 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8644 lt_prog_compiler_static='${wl}-a ${wl}archive'
8647 irix5* | irix6* | nonstopux*)
8648 lt_prog_compiler_wl='-Wl,'
8649 # PIC (with -KPIC) is the default.
8650 lt_prog_compiler_static='-non_shared'
8653 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8654 case $cc_basename in
8655 # old Intel for x86_64 which still supported -KPIC.
8657 lt_prog_compiler_wl='-Wl,'
8658 lt_prog_compiler_pic='-KPIC'
8659 lt_prog_compiler_static='-static'
8661 # icc used to be incompatible with GCC.
8662 # ICC 10 doesn't accept -KPIC any more.
8664 lt_prog_compiler_wl='-Wl,'
8665 lt_prog_compiler_pic='-fPIC'
8666 lt_prog_compiler_static='-static'
8668 # Lahey Fortran 8.1.
8670 lt_prog_compiler_wl='-Wl,'
8671 lt_prog_compiler_pic='--shared'
8672 lt_prog_compiler_static='--static'
8674 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8675 # Portland Group compilers (*not* the Pentium gcc compiler,
8676 # which looks to be a dead project)
8677 lt_prog_compiler_wl='-Wl,'
8678 lt_prog_compiler_pic='-fpic'
8679 lt_prog_compiler_static='-Bstatic'
8682 lt_prog_compiler_wl='-Wl,'
8683 # All Alpha code is PIC.
8684 lt_prog_compiler_static='-non_shared'
8686 xl* | bgxl* | bgf* | mpixl*)
8687 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8688 lt_prog_compiler_wl='-Wl,'
8689 lt_prog_compiler_pic='-qpic'
8690 lt_prog_compiler_static='-qstaticlink'
8693 case `$CC -V 2>&1 | sed 5q` in
8694 *Sun\ F* | *Sun*Fortran*)
8695 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8696 lt_prog_compiler_pic='-KPIC'
8697 lt_prog_compiler_static='-Bstatic'
8698 lt_prog_compiler_wl=''
8702 lt_prog_compiler_pic='-KPIC'
8703 lt_prog_compiler_static='-Bstatic'
8704 lt_prog_compiler_wl='-Wl,'
8712 lt_prog_compiler_pic='-KPIC'
8713 lt_prog_compiler_static='-Bstatic'
8717 # QNX uses GNU C++, but need to define -shared option too, otherwise
8719 lt_prog_compiler_pic='-fPIC -shared'
8722 osf3* | osf4* | osf5*)
8723 lt_prog_compiler_wl='-Wl,'
8724 # All OSF/1 code is PIC.
8725 lt_prog_compiler_static='-non_shared'
8729 lt_prog_compiler_static='-non_shared'
8733 lt_prog_compiler_pic='-KPIC'
8734 lt_prog_compiler_static='-Bstatic'
8735 case $cc_basename in
8737 lt_prog_compiler_wl='-Qoption ld ';;
8739 lt_prog_compiler_wl='-Wl,';;
8744 lt_prog_compiler_wl='-Qoption ld '
8745 lt_prog_compiler_pic='-PIC'
8746 lt_prog_compiler_static='-Bstatic'
8749 sysv4 | sysv4.2uw2* | sysv4.3*)
8750 lt_prog_compiler_wl='-Wl,'
8751 lt_prog_compiler_pic='-KPIC'
8752 lt_prog_compiler_static='-Bstatic'
8756 if test -d /usr/nec ;then
8757 lt_prog_compiler_pic='-Kconform_pic'
8758 lt_prog_compiler_static='-Bstatic'
8762 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8763 lt_prog_compiler_wl='-Wl,'
8764 lt_prog_compiler_pic='-KPIC'
8765 lt_prog_compiler_static='-Bstatic'
8769 lt_prog_compiler_wl='-Wl,'
8770 lt_prog_compiler_can_build_shared=no
8774 lt_prog_compiler_pic='-pic'
8775 lt_prog_compiler_static='-Bstatic'
8779 lt_prog_compiler_can_build_shared=no
8785 # For platforms which do not support PIC, -DPIC is meaningless:
8787 lt_prog_compiler_pic=
8790 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8794 $as_echo "$lt_prog_compiler_pic" >&6; }
8802 # Check to make sure the PIC flag actually works.
8804 if test -n "$lt_prog_compiler_pic"; then
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8806 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8807 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8808 $as_echo_n "(cached) " >&6
8810 lt_cv_prog_compiler_pic_works=no
8811 ac_outfile=conftest.$ac_objext
8812 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8813 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8814 # Insert the option either (1) after the last *FLAGS variable, or
8815 # (2) before a word containing "conftest.", or (3) at the end.
8816 # Note that $ac_compile itself does not contain backslashes and begins
8817 # with a dollar sign (not a hyphen), so the echo should work correctly.
8818 # The option is referenced via a variable to avoid confusing sed.
8819 lt_compile=`echo "$ac_compile" | $SED \
8820 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8821 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8822 -e 's:$: $lt_compiler_flag:'`
8823 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8824 (eval "$lt_compile" 2>conftest.err)
8826 cat conftest.err >&5
8827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8828 if (exit $ac_status) && test -s "$ac_outfile"; then
8829 # The compiler can only warn and ignore the option if not recognized
8830 # So say no if there are warnings other than the usual output.
8831 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8832 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8833 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8834 lt_cv_prog_compiler_pic_works=yes
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8841 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8843 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8844 case $lt_prog_compiler_pic in
8846 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8849 lt_prog_compiler_pic=
8850 lt_prog_compiler_can_build_shared=no
8861 # Check to make sure the static flag actually works.
8863 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8865 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8866 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8867 $as_echo_n "(cached) " >&6
8869 lt_cv_prog_compiler_static_works=no
8870 save_LDFLAGS="$LDFLAGS"
8871 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8872 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8873 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8874 # The linker can only warn and ignore the option if not recognized
8875 # So say no if there are warnings
8876 if test -s conftest.err; then
8877 # Append any errors to the config.log.
8878 cat conftest.err 1>&5
8879 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8880 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8881 if diff conftest.exp conftest.er2 >/dev/null; then
8882 lt_cv_prog_compiler_static_works=yes
8885 lt_cv_prog_compiler_static_works=yes
8889 LDFLAGS="$save_LDFLAGS"
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8893 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8895 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8898 lt_prog_compiler_static=
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8908 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8909 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8910 $as_echo_n "(cached) " >&6
8912 lt_cv_prog_compiler_c_o=no
8913 $RM -r conftest 2>/dev/null
8917 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8919 lt_compiler_flag="-o out/conftest2.$ac_objext"
8920 # Insert the option either (1) after the last *FLAGS variable, or
8921 # (2) before a word containing "conftest.", or (3) at the end.
8922 # Note that $ac_compile itself does not contain backslashes and begins
8923 # with a dollar sign (not a hyphen), so the echo should work correctly.
8924 lt_compile=`echo "$ac_compile" | $SED \
8925 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8926 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8927 -e 's:$: $lt_compiler_flag:'`
8928 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8929 (eval "$lt_compile" 2>out/conftest.err)
8931 cat out/conftest.err >&5
8932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8933 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8935 # The compiler can only warn and ignore the option if not recognized
8936 # So say no if there are warnings
8937 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8938 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8939 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8940 lt_cv_prog_compiler_c_o=yes
8945 # SGI C++ compiler will create directory out/ii_files/ for
8946 # template instantiation
8947 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8948 $RM out/* && rmdir out
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8955 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8963 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8964 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8965 $as_echo_n "(cached) " >&6
8967 lt_cv_prog_compiler_c_o=no
8968 $RM -r conftest 2>/dev/null
8972 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8974 lt_compiler_flag="-o out/conftest2.$ac_objext"
8975 # Insert the option either (1) after the last *FLAGS variable, or
8976 # (2) before a word containing "conftest.", or (3) at the end.
8977 # Note that $ac_compile itself does not contain backslashes and begins
8978 # with a dollar sign (not a hyphen), so the echo should work correctly.
8979 lt_compile=`echo "$ac_compile" | $SED \
8980 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8981 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8982 -e 's:$: $lt_compiler_flag:'`
8983 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8984 (eval "$lt_compile" 2>out/conftest.err)
8986 cat out/conftest.err >&5
8987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8988 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8990 # The compiler can only warn and ignore the option if not recognized
8991 # So say no if there are warnings
8992 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8993 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8994 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8995 lt_cv_prog_compiler_c_o=yes
9000 # SGI C++ compiler will create directory out/ii_files/ for
9001 # template instantiation
9002 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9003 $RM out/* && rmdir out
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9010 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9015 hard_links="nottested"
9016 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9017 # do not overwrite the value of need_locks provided by the user
9018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9019 $as_echo_n "checking if we can lock with hard links... " >&6; }
9022 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9024 ln conftest.a conftest.b 2>&5 || hard_links=no
9025 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9027 $as_echo "$hard_links" >&6; }
9028 if test "$hard_links" = no; then
9029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9030 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9043 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9046 allow_undefined_flag=
9047 always_export_symbols=no
9049 archive_expsym_cmds=
9050 compiler_needs_object=no
9051 enable_shared_with_static_runtimes=no
9052 export_dynamic_flag_spec=
9053 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9054 hardcode_automatic=no
9056 hardcode_direct_absolute=no
9057 hardcode_libdir_flag_spec=
9058 hardcode_libdir_flag_spec_ld=
9059 hardcode_libdir_separator=
9061 hardcode_shlibpath_var=unsupported
9063 link_all_deplibs=unknown
9066 old_archive_from_new_cmds=
9067 old_archive_from_expsyms_cmds=
9068 thread_safe_flag_spec=
9069 whole_archive_flag_spec=
9070 # include_expsyms should be a list of space-separated symbols to be *always*
9071 # included in the symbol list
9073 # exclude_expsyms can be an extended regexp of symbols to exclude
9074 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9075 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9076 # as well as any symbol that contains `d'.
9077 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9078 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9079 # platforms (ab)use it in PIC code, but their linkers get confused if
9080 # the symbol is explicitly referenced. Since portable code cannot
9081 # rely on this symbol name, it's probably fine to never include it in
9082 # preloaded symbol tables.
9083 # Exclude shared library initialization/finalization symbols.
9084 extract_expsyms_cmds=
9087 cygwin* | mingw* | pw32* | cegcc*)
9088 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9089 # When not using gcc, we currently assume that we are using
9090 # Microsoft Visual C++.
9091 if test "$GCC" != yes; then
9096 # we just hope/assume this is gcc and not c89 (= MSVC++)
9106 # On some targets, GNU ld is compatible enough with the native linker
9107 # that we're better off using the native interface for both.
9108 lt_use_gnu_ld_interface=no
9109 if test "$with_gnu_ld" = yes; then
9112 # The AIX port of GNU ld has always aspired to compatibility
9113 # with the native linker. However, as the warning in the GNU ld
9114 # block says, versions before 2.19.5* couldn't really create working
9115 # shared libraries, regardless of the interface used.
9116 case `$LD -v 2>&1` in
9117 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9118 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9119 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9121 lt_use_gnu_ld_interface=yes
9126 lt_use_gnu_ld_interface=yes
9131 if test "$lt_use_gnu_ld_interface" = yes; then
9132 # If archive_cmds runs LD, not CC, wlarc should be empty
9135 # Set some defaults for GNU ld with shared library support. These
9136 # are reset later if shared libraries are not supported. Putting them
9137 # here allows them to be overridden if necessary.
9138 runpath_var=LD_RUN_PATH
9139 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9140 export_dynamic_flag_spec='${wl}--export-dynamic'
9141 # ancient GNU ld didn't support --whole-archive et. al.
9142 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9143 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9145 whole_archive_flag_spec=
9147 supports_anon_versioning=no
9148 case `$LD -v 2>&1` in
9149 *GNU\ gold*) supports_anon_versioning=yes ;;
9150 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9151 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9152 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9153 *\ 2.11.*) ;; # other 2.11 versions
9154 *) supports_anon_versioning=yes ;;
9157 # See if GNU ld supports shared libraries.
9160 # On AIX/PPC, the GNU linker is very broken
9161 if test "$host_cpu" != ia64; then
9165 *** Warning: the GNU linker, at least up to release 2.19, is reported
9166 *** to be unable to reliably create shared libraries on AIX.
9167 *** Therefore, libtool is disabling shared libraries support. If you
9168 *** really care for shared libraries, you may want to install binutils
9169 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9170 *** You will then need to restart the configuration process.
9179 # see comment about AmigaOS4 .so support
9180 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9181 archive_expsym_cmds=''
9184 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)'
9185 hardcode_libdir_flag_spec='-L$libdir'
9186 hardcode_minus_L=yes
9192 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9193 allow_undefined_flag=unsupported
9194 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9195 # support --undefined. This deserves some investigation. FIXME
9196 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9202 cygwin* | mingw* | pw32* | cegcc*)
9203 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9204 # as there is no search path for DLLs.
9205 hardcode_libdir_flag_spec='-L$libdir'
9206 export_dynamic_flag_spec='${wl}--export-all-symbols'
9207 allow_undefined_flag=unsupported
9208 always_export_symbols=no
9209 enable_shared_with_static_runtimes=yes
9210 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9212 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9213 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9214 # If the export-symbols file already is a .def file (1st line
9215 # is EXPORTS), use it as is; otherwise, prepend...
9216 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9217 cp $export_symbols $output_objdir/$soname.def;
9219 echo EXPORTS > $output_objdir/$soname.def;
9220 cat $export_symbols >> $output_objdir/$soname.def;
9222 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9229 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9230 link_all_deplibs=yes
9235 hardcode_shlibpath_var=no
9236 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9237 export_dynamic_flag_spec='${wl}-E'
9238 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9239 # Instead, shared libraries are loaded at an image base (0x10000000 by
9240 # default) and relocated if they conflict, which is a slow very memory
9241 # consuming and fragmenting process. To avoid this, we pick a random,
9242 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9243 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9244 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9245 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'
9248 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9250 if test "$host_os" = linux-dietlibc; then
9251 case $cc_basename in
9252 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9255 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9256 && test "$tmp_diet" = no
9259 tmp_sharedflag='-shared'
9260 case $cc_basename,$host_cpu in
9261 pgcc*) # Portland Group C compiler
9262 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'
9263 tmp_addflag=' $pic_flag'
9265 pgf77* | pgf90* | pgf95* | pgfortran*)
9266 # Portland Group f77 and f90 compilers
9267 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'
9268 tmp_addflag=' $pic_flag -Mnomain' ;;
9269 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9270 tmp_addflag=' -i_dynamic' ;;
9271 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9272 tmp_addflag=' -i_dynamic -nofor_main' ;;
9273 ifc* | ifort*) # Intel Fortran compiler
9274 tmp_addflag=' -nofor_main' ;;
9275 lf95*) # Lahey Fortran 8.1
9276 whole_archive_flag_spec=
9277 tmp_sharedflag='--shared' ;;
9278 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9279 tmp_sharedflag='-qmkshrobj'
9281 nvcc*) # Cuda Compiler Driver 2.2
9282 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'
9283 compiler_needs_object=yes
9286 case `$CC -V 2>&1 | sed 5q` in
9287 *Sun\ C*) # Sun C 5.9
9288 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'
9289 compiler_needs_object=yes
9290 tmp_sharedflag='-G' ;;
9291 *Sun\ F*) # Sun Fortran 8.3
9292 tmp_sharedflag='-G' ;;
9294 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9296 if test "x$supports_anon_versioning" = xyes; then
9297 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9298 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9299 echo "local: *; };" >> $output_objdir/$libname.ver~
9300 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9303 case $cc_basename in
9304 xlf* | bgf* | bgxlf* | mpixlf*)
9305 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9306 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9307 hardcode_libdir_flag_spec=
9308 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9309 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9310 if test "x$supports_anon_versioning" = xyes; then
9311 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9312 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9313 echo "local: *; };" >> $output_objdir/$libname.ver~
9314 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9324 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9325 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9328 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9329 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9334 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9338 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9339 *** create shared libraries on Solaris systems. Therefore, libtool
9340 *** is disabling shared libraries support. We urge you to upgrade GNU
9341 *** binutils to release 2.9.1 or newer. Another option is to modify
9342 *** your PATH or compiler configuration so that the native linker is
9343 *** used, and then restart.
9346 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9347 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9348 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9354 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9355 case `$LD -v 2>&1` in
9356 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9360 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9361 *** reliably create shared libraries on SCO systems. Therefore, libtool
9362 *** is disabling shared libraries support. We urge you to upgrade GNU
9363 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9364 *** your PATH or compiler configuration so that the native linker is
9365 *** used, and then restart.
9370 # For security reasons, it is highly recommended that you always
9371 # use absolute paths for naming shared libraries, and exclude the
9372 # DT_RUNPATH tag from executables and libraries. But doing so
9373 # requires that you compile everything twice, which is a pain.
9374 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9375 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9376 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9377 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9386 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9389 hardcode_shlibpath_var=no
9393 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9394 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9395 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9402 if test "$ld_shlibs" = no; then
9404 hardcode_libdir_flag_spec=
9405 export_dynamic_flag_spec=
9406 whole_archive_flag_spec=
9409 # PORTME fill in a description of your system's linker (not GNU ld)
9412 allow_undefined_flag=unsupported
9413 always_export_symbols=yes
9414 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'
9415 # Note: this linker hardcodes the directories in LIBPATH if there
9416 # are no directories specified by -L.
9417 hardcode_minus_L=yes
9418 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9419 # Neither direct hardcoding nor static linking is supported with a
9421 hardcode_direct=unsupported
9426 if test "$host_cpu" = ia64; then
9427 # On IA64, the linker does run time linking by default, so we don't
9428 # have to do anything special.
9429 aix_use_runtimelinking=no
9430 exp_sym_flag='-Bexport'
9433 # If we're using GNU nm, then we don't want the "-C" option.
9434 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9435 # Also, AIX nm treats weak defined symbols like other global
9436 # defined symbols, whereas GNU nm marks them as "W".
9437 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9438 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'
9440 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'
9442 aix_use_runtimelinking=no
9444 # Test if we are trying to use run time linking or normal
9445 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9446 # need to do runtime linking.
9447 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9448 for ld_flag in $LDFLAGS; do
9449 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9450 aix_use_runtimelinking=yes
9457 exp_sym_flag='-bexport'
9458 no_entry_flag='-bnoentry'
9461 # When large executables or shared objects are built, AIX ld can
9462 # have problems creating the table of contents. If linking a library
9463 # or program results in "error TOC overflow" add -mminimal-toc to
9464 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9465 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9469 hardcode_direct_absolute=yes
9470 hardcode_libdir_separator=':'
9471 link_all_deplibs=yes
9472 file_list_spec='${wl}-f,'
9474 if test "$GCC" = yes; then
9475 case $host_os in aix4.[012]|aix4.[012].*)
9476 # We only want to do this on AIX 4.2 and lower, the check
9477 # below for broken collect2 doesn't work under 4.3+
9478 collect2name=`${CC} -print-prog-name=collect2`
9479 if test -f "$collect2name" &&
9480 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9482 # We have reworked collect2
9485 # We have old collect2
9486 hardcode_direct=unsupported
9487 # It fails to find uninstalled libraries when the uninstalled
9488 # path is not listed in the libpath. Setting hardcode_minus_L
9489 # to unsupported forces relinking
9490 hardcode_minus_L=yes
9491 hardcode_libdir_flag_spec='-L$libdir'
9492 hardcode_libdir_separator=
9496 shared_flag='-shared'
9497 if test "$aix_use_runtimelinking" = yes; then
9498 shared_flag="$shared_flag "'${wl}-G'
9502 if test "$host_cpu" = ia64; then
9503 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9504 # chokes on -Wl,-G. The following line is correct:
9507 if test "$aix_use_runtimelinking" = yes; then
9508 shared_flag='${wl}-G'
9510 shared_flag='${wl}-bM:SRE'
9515 export_dynamic_flag_spec='${wl}-bexpall'
9516 # It seems that -bexpall does not export symbols beginning with
9517 # underscore (_), so it is better to generate a list of symbols to export.
9518 always_export_symbols=yes
9519 if test "$aix_use_runtimelinking" = yes; then
9520 # Warning - without using the other runtime loading flags (-brtl),
9521 # -berok will link without error, but may produce a broken library.
9522 allow_undefined_flag='-berok'
9523 # Determine the default libpath from the value encoded in an
9525 if test x$gcc_no_link = xyes; then
9526 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9529 /* end confdefs.h. */
9539 if ac_fn_c_try_link "$LINENO"; then :
9541 lt_aix_libpath_sed='
9542 /Import File Strings/,/^$/ {
9548 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9549 # Check for a 64-bit object if we didn't find anything.
9550 if test -z "$aix_libpath"; then
9551 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9554 rm -f core conftest.err conftest.$ac_objext \
9555 conftest$ac_exeext conftest.$ac_ext
9556 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9558 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9559 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"
9561 if test "$host_cpu" = ia64; then
9562 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9563 allow_undefined_flag="-z nodefs"
9564 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"
9566 # Determine the default libpath from the value encoded in an
9568 if test x$gcc_no_link = xyes; then
9569 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9572 /* end confdefs.h. */
9582 if ac_fn_c_try_link "$LINENO"; then :
9584 lt_aix_libpath_sed='
9585 /Import File Strings/,/^$/ {
9591 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9592 # Check for a 64-bit object if we didn't find anything.
9593 if test -z "$aix_libpath"; then
9594 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9597 rm -f core conftest.err conftest.$ac_objext \
9598 conftest$ac_exeext conftest.$ac_ext
9599 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9601 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9602 # Warning - without using the other run time loading flags,
9603 # -berok will link without error, but may produce a broken library.
9604 no_undefined_flag=' ${wl}-bernotok'
9605 allow_undefined_flag=' ${wl}-berok'
9606 if test "$with_gnu_ld" = yes; then
9607 # We only use this code for GNU lds that support --whole-archive.
9608 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9610 # Exported symbols can be pulled into shared objects from archives
9611 whole_archive_flag_spec='$convenience'
9613 archive_cmds_need_lc=yes
9614 # This is similar to how AIX traditionally builds its shared libraries.
9615 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'
9623 # see comment about AmigaOS4 .so support
9624 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9625 archive_expsym_cmds=''
9628 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)'
9629 hardcode_libdir_flag_spec='-L$libdir'
9630 hardcode_minus_L=yes
9636 export_dynamic_flag_spec=-rdynamic
9639 cygwin* | mingw* | pw32* | cegcc*)
9640 # When not using gcc, we currently assume that we are using
9641 # Microsoft Visual C++.
9642 # hardcode_libdir_flag_spec is actually meaningless, as there is
9643 # no search path for DLLs.
9644 hardcode_libdir_flag_spec=' '
9645 allow_undefined_flag=unsupported
9646 # Tell ltmain to make .lib files, not .a files.
9648 # Tell ltmain to make .dll files, not .so files.
9650 # FIXME: Setting linknames here is a bad hack.
9651 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9652 # The linker will automatically build a .lib file if we build a DLL.
9653 old_archive_from_new_cmds='true'
9654 # FIXME: Should let the user specify the lib program.
9655 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9656 fix_srcfile_path='`cygpath -w "$srcfile"`'
9657 enable_shared_with_static_runtimes=yes
9660 darwin* | rhapsody*)
9663 archive_cmds_need_lc=no
9665 hardcode_automatic=yes
9666 hardcode_shlibpath_var=unsupported
9667 if test "$lt_cv_ld_force_load" = "yes"; then
9668 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\"`'
9670 whole_archive_flag_spec=''
9672 link_all_deplibs=yes
9673 allow_undefined_flag="$_lt_dar_allow_undefined"
9674 case $cc_basename in
9675 ifort*) _lt_dar_can_shared=yes ;;
9676 *) _lt_dar_can_shared=$GCC ;;
9678 if test "$_lt_dar_can_shared" = "yes"; then
9679 output_verbose_link_cmd=func_echo_all
9680 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9681 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9682 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}"
9683 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}"
9692 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9693 hardcode_libdir_flag_spec='-L$libdir'
9694 hardcode_shlibpath_var=no
9697 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9698 # support. Future versions do this automatically, but an explicit c++rt0.o
9699 # does not break anything, and helps significantly (at the cost of a little
9702 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9703 hardcode_libdir_flag_spec='-R$libdir'
9705 hardcode_shlibpath_var=no
9708 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9710 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9712 hardcode_minus_L=yes
9713 hardcode_shlibpath_var=no
9716 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9717 freebsd* | dragonfly*)
9718 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9719 hardcode_libdir_flag_spec='-R$libdir'
9721 hardcode_shlibpath_var=no
9725 if test "$GCC" = yes; then
9726 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'
9728 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'
9730 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9731 hardcode_libdir_separator=:
9734 # hardcode_minus_L: Not really in the search PATH,
9735 # but as the default location of the library.
9736 hardcode_minus_L=yes
9737 export_dynamic_flag_spec='${wl}-E'
9741 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9742 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9744 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9746 if test "$with_gnu_ld" = no; then
9747 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9748 hardcode_libdir_flag_spec_ld='+b $libdir'
9749 hardcode_libdir_separator=:
9751 hardcode_direct_absolute=yes
9752 export_dynamic_flag_spec='${wl}-E'
9753 # hardcode_minus_L: Not really in the search PATH,
9754 # but as the default location of the library.
9755 hardcode_minus_L=yes
9760 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9763 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9766 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9769 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9775 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9778 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9782 # Older versions of the 11.00 compiler do not understand -b yet
9783 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9785 $as_echo_n "checking if $CC understands -b... " >&6; }
9786 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9787 $as_echo_n "(cached) " >&6
9789 lt_cv_prog_compiler__b=no
9790 save_LDFLAGS="$LDFLAGS"
9791 LDFLAGS="$LDFLAGS -b"
9792 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9793 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9794 # The linker can only warn and ignore the option if not recognized
9795 # So say no if there are warnings
9796 if test -s conftest.err; then
9797 # Append any errors to the config.log.
9798 cat conftest.err 1>&5
9799 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9800 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9801 if diff conftest.exp conftest.er2 >/dev/null; then
9802 lt_cv_prog_compiler__b=yes
9805 lt_cv_prog_compiler__b=yes
9809 LDFLAGS="$save_LDFLAGS"
9812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9813 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9815 if test x"$lt_cv_prog_compiler__b" = xyes; then
9816 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9818 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9824 if test "$with_gnu_ld" = no; then
9825 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9826 hardcode_libdir_separator=:
9831 hardcode_shlibpath_var=no
9835 hardcode_direct_absolute=yes
9836 export_dynamic_flag_spec='${wl}-E'
9838 # hardcode_minus_L: Not really in the search PATH,
9839 # but as the default location of the library.
9840 hardcode_minus_L=yes
9846 irix5* | irix6* | nonstopux*)
9847 if test "$GCC" = yes; then
9848 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'
9849 # Try to use the -exported_symbol ld option, if it does not
9850 # work, assume that -exports_file does not work either and
9851 # implicitly export all symbols.
9852 save_LDFLAGS="$LDFLAGS"
9853 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9854 if test x$gcc_no_link = xyes; then
9855 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9858 /* end confdefs.h. */
9861 if ac_fn_c_try_link "$LINENO"; then :
9862 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'
9865 rm -f core conftest.err conftest.$ac_objext \
9866 conftest$ac_exeext conftest.$ac_ext
9867 LDFLAGS="$save_LDFLAGS"
9869 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'
9870 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'
9872 archive_cmds_need_lc='no'
9873 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9874 hardcode_libdir_separator=:
9876 link_all_deplibs=yes
9880 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9881 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9883 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9885 hardcode_libdir_flag_spec='-R$libdir'
9887 hardcode_shlibpath_var=no
9891 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9893 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9894 hardcode_libdir_separator=:
9895 hardcode_shlibpath_var=no
9902 if test -f /usr/libexec/ld.so; then
9904 hardcode_shlibpath_var=no
9905 hardcode_direct_absolute=yes
9906 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9907 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9908 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9909 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9910 export_dynamic_flag_spec='${wl}-E'
9913 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9914 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9915 hardcode_libdir_flag_spec='-R$libdir'
9918 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9919 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9929 hardcode_libdir_flag_spec='-L$libdir'
9930 hardcode_minus_L=yes
9931 allow_undefined_flag=unsupported
9932 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'
9933 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9937 if test "$GCC" = yes; then
9938 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9939 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'
9941 allow_undefined_flag=' -expect_unresolved \*'
9942 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'
9944 archive_cmds_need_lc='no'
9945 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9946 hardcode_libdir_separator=:
9949 osf4* | osf5*) # as osf3* with the addition of -msym flag
9950 if test "$GCC" = yes; then
9951 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9952 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'
9953 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9955 allow_undefined_flag=' -expect_unresolved \*'
9956 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'
9957 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~
9958 $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'
9960 # Both c and cxx compiler support -rpath directly
9961 hardcode_libdir_flag_spec='-rpath $libdir'
9963 archive_cmds_need_lc='no'
9964 hardcode_libdir_separator=:
9968 no_undefined_flag=' -z defs'
9969 if test "$GCC" = yes; then
9971 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9972 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9973 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9975 case `$CC -V 2>&1` in
9978 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9979 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9980 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9984 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9985 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9986 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9990 hardcode_libdir_flag_spec='-R$libdir'
9991 hardcode_shlibpath_var=no
9993 solaris2.[0-5] | solaris2.[0-5].*) ;;
9995 # The compiler driver will combine and reorder linker options,
9996 # but understands `-z linker_flag'. GCC discards it without `$wl',
9997 # but is careful enough not to reorder.
9998 # Supported since Solaris 2.6 (maybe 2.5.1?)
9999 if test "$GCC" = yes; then
10000 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10002 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10006 link_all_deplibs=yes
10010 if test "x$host_vendor" = xsequent; then
10011 # Use $CC to link under sequent, because it throws in some extra .o
10012 # files that make .init and .fini sections work.
10013 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10015 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10017 hardcode_libdir_flag_spec='-L$libdir'
10018 hardcode_direct=yes
10019 hardcode_minus_L=yes
10020 hardcode_shlibpath_var=no
10024 case $host_vendor in
10026 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10027 hardcode_direct=yes # is this really true???
10030 ## LD is ld it makes a PLAMLIB
10031 ## CC just makes a GrossModule.
10032 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10033 reload_cmds='$CC -r -o $output$reload_objs'
10037 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10038 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10041 runpath_var='LD_RUN_PATH'
10042 hardcode_shlibpath_var=no
10046 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10047 hardcode_shlibpath_var=no
10048 export_dynamic_flag_spec='-Bexport'
10052 if test -d /usr/nec; then
10053 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10054 hardcode_shlibpath_var=no
10055 runpath_var=LD_RUN_PATH
10056 hardcode_runpath_var=yes
10061 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10062 no_undefined_flag='${wl}-z,text'
10063 archive_cmds_need_lc=no
10064 hardcode_shlibpath_var=no
10065 runpath_var='LD_RUN_PATH'
10067 if test "$GCC" = yes; then
10068 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10069 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10071 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10072 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10076 sysv5* | sco3.2v5* | sco5v6*)
10077 # Note: We can NOT use -z defs as we might desire, because we do not
10078 # link with -lc, and that would cause any symbols used from libc to
10079 # always be unresolved, which means just about no library would
10080 # ever link correctly. If we're not using GNU ld we use -z text
10081 # though, which does catch some bad symbols but isn't as heavy-handed
10083 no_undefined_flag='${wl}-z,text'
10084 allow_undefined_flag='${wl}-z,nodefs'
10085 archive_cmds_need_lc=no
10086 hardcode_shlibpath_var=no
10087 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10088 hardcode_libdir_separator=':'
10089 link_all_deplibs=yes
10090 export_dynamic_flag_spec='${wl}-Bexport'
10091 runpath_var='LD_RUN_PATH'
10093 if test "$GCC" = yes; then
10094 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10095 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10097 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10098 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10103 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10104 hardcode_libdir_flag_spec='-L$libdir'
10105 hardcode_shlibpath_var=no
10113 if test x$host_vendor = xsni; then
10115 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10116 export_dynamic_flag_spec='${wl}-Blargedynsym'
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10123 $as_echo "$ld_shlibs" >&6; }
10124 test "$ld_shlibs" = no && can_build_shared=no
10126 with_gnu_ld=$with_gnu_ld
10143 # Do we need to explicitly link libc?
10145 case "x$archive_cmds_need_lc" in
10147 # Assume -lc should be added
10148 archive_cmds_need_lc=yes
10150 if test "$enable_shared" = yes && test "$GCC" = yes; then
10151 case $archive_cmds in
10153 # FIXME: we may have to deal with multi-command sequences.
10156 # Test whether the compiler implicitly links with -lc since on some
10157 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10158 # to ld, don't add -lc before -lgcc.
10159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10160 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10161 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10162 $as_echo_n "(cached) " >&6
10165 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10167 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10168 (eval $ac_compile) 2>&5
10170 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10171 test $ac_status = 0; } 2>conftest.err; then
10174 libobjs=conftest.$ac_objext
10176 wl=$lt_prog_compiler_wl
10177 pic_flag=$lt_prog_compiler_pic
10183 lt_save_allow_undefined_flag=$allow_undefined_flag
10184 allow_undefined_flag=
10185 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10186 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10188 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10189 test $ac_status = 0; }
10191 lt_cv_archive_cmds_need_lc=no
10193 lt_cv_archive_cmds_need_lc=yes
10195 allow_undefined_flag=$lt_save_allow_undefined_flag
10197 cat conftest.err 1>&5
10202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10203 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10204 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10368 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10370 if test "$GCC" = yes; then
10372 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10373 *) lt_awk_arg="/^libraries:/" ;;
10376 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10377 *) lt_sed_strip_eq="s,=/,/,g" ;;
10379 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10380 case $lt_search_path_spec in
10382 # if the path contains ";" then we assume it to be the separator
10383 # otherwise default to the standard path separator (i.e. ":") - it is
10384 # assumed that no part of a normal pathname contains ";" but that should
10385 # okay in the real world where ";" in dirpaths is itself problematic.
10386 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10389 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10392 # Ok, now we have the path, separated by spaces, we can step through it
10393 # and add multilib dir if necessary.
10394 lt_tmp_lt_search_path_spec=
10395 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10396 for lt_sys_path in $lt_search_path_spec; do
10397 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10398 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10400 test -d "$lt_sys_path" && \
10401 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10404 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10405 BEGIN {RS=" "; FS="/|\n";} {
10408 for (lt_i = NF; lt_i > 0; lt_i--) {
10409 if ($lt_i != "" && $lt_i != ".") {
10410 if ($lt_i == "..") {
10413 if (lt_count == 0) {
10414 lt_foo="/" $lt_i lt_foo;
10421 if (lt_foo != "") { lt_freq[lt_foo]++; }
10422 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10424 # AWK program above erroneously prepends '/' to C:/dos/paths
10427 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10428 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10430 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10432 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10434 library_names_spec=
10435 libname_spec='lib$name'
10439 postuninstall_cmds=
10443 shlibpath_overrides_runpath=unknown
10445 dynamic_linker="$host_os ld.so"
10446 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10447 need_lib_prefix=unknown
10448 hardcode_into_libs=no
10450 # when you set need_version to no, make sure it does not cause -set_version
10451 # flags to be left without arguments
10452 need_version=unknown
10457 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10458 shlibpath_var=LIBPATH
10460 # AIX 3 has no versioning support, so we append a major version to the name.
10461 soname_spec='${libname}${release}${shared_ext}$major'
10468 hardcode_into_libs=yes
10469 if test "$host_cpu" = ia64; then
10470 # AIX 5 supports IA64
10471 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10472 shlibpath_var=LD_LIBRARY_PATH
10474 # With GCC up to 2.95.x, collect2 would create an import file
10475 # for dependence libraries. The import file would start with
10476 # the line `#! .'. This would cause the generated library to
10477 # depend on `.', always an invalid library. This was fixed in
10478 # development snapshots of GCC prior to 3.0.
10480 aix4 | aix4.[01] | aix4.[01].*)
10481 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10483 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10486 can_build_shared=no
10490 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10491 # soname into executable. Probably we can add versioning support to
10492 # collect2, so additional links can be useful in future.
10493 if test "$aix_use_runtimelinking" = yes; then
10494 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10495 # instead of lib<name>.a to let people know that these are not
10496 # typical AIX shared libraries.
10497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10499 # We preserve .a as extension for shared libraries through AIX4.2
10500 # and later when we are not doing run time linking.
10501 library_names_spec='${libname}${release}.a $libname.a'
10502 soname_spec='${libname}${release}${shared_ext}$major'
10504 shlibpath_var=LIBPATH
10511 # Since July 2007 AmigaOS4 officially supports .so libraries.
10512 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10513 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10516 library_names_spec='$libname.ixlibrary $libname.a'
10517 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10518 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'
10524 library_names_spec='${libname}${shared_ext}'
10525 dynamic_linker="$host_os ld.so"
10526 shlibpath_var=LIBRARY_PATH
10532 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10533 soname_spec='${libname}${release}${shared_ext}$major'
10534 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10535 shlibpath_var=LD_LIBRARY_PATH
10536 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10537 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10538 # the default ld.so.conf also contains /usr/contrib/lib and
10539 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10540 # libtool to hard-code these into programs
10543 cygwin* | mingw* | pw32* | cegcc*)
10544 version_type=windows
10549 case $GCC,$host_os in
10550 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10551 library_names_spec='$libname.dll.a'
10552 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10553 postinstall_cmds='base_file=`basename \${file}`~
10554 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10555 dldir=$destdir/`dirname \$dlpath`~
10556 test -d \$dldir || mkdir -p \$dldir~
10557 $install_prog $dir/$dlname \$dldir/$dlname~
10558 chmod a+x \$dldir/$dlname~
10559 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10560 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10562 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10563 dlpath=$dir/\$dldll~
10565 shlibpath_overrides_runpath=yes
10569 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10570 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10572 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10575 # MinGW DLLs use traditional 'lib' prefix
10576 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10579 # pw32 DLLs use 'pw' prefix rather than 'lib'
10580 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10586 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10589 dynamic_linker='Win32 ld.exe'
10590 # FIXME: first we should search . and the directory the executable is in
10594 darwin* | rhapsody*)
10595 dynamic_linker="$host_os dyld"
10596 version_type=darwin
10599 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10600 soname_spec='${libname}${release}${major}$shared_ext'
10601 shlibpath_overrides_runpath=yes
10602 shlibpath_var=DYLD_LIBRARY_PATH
10603 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10605 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10606 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10613 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10614 soname_spec='${libname}${release}${shared_ext}$major'
10615 shlibpath_var=LD_LIBRARY_PATH
10618 freebsd* | dragonfly*)
10619 # DragonFly does not have aout. When/if they implement a new
10620 # versioning mechanism, adjust this.
10621 if test -x /usr/bin/objformat; then
10622 objformat=`/usr/bin/objformat`
10625 freebsd[23].*) objformat=aout ;;
10626 *) objformat=elf ;;
10629 version_type=freebsd-$objformat
10630 case $version_type in
10632 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10637 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10641 shlibpath_var=LD_LIBRARY_PATH
10644 shlibpath_overrides_runpath=yes
10646 freebsd3.[01]* | freebsdelf3.[01]*)
10647 shlibpath_overrides_runpath=yes
10648 hardcode_into_libs=yes
10650 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10651 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10652 shlibpath_overrides_runpath=no
10653 hardcode_into_libs=yes
10655 *) # from 4.6 on, and DragonFly
10656 shlibpath_overrides_runpath=yes
10657 hardcode_into_libs=yes
10666 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10667 soname_spec='${libname}${release}${shared_ext}$major'
10668 shlibpath_var=LD_LIBRARY_PATH
10669 hardcode_into_libs=yes
10676 dynamic_linker="$host_os runtime_loader"
10677 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10678 soname_spec='${libname}${release}${shared_ext}$major'
10679 shlibpath_var=LIBRARY_PATH
10680 shlibpath_overrides_runpath=yes
10681 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10682 hardcode_into_libs=yes
10685 hpux9* | hpux10* | hpux11*)
10686 # Give a soname corresponding to the major version so that dld.sl refuses to
10687 # link against other versions.
10694 hardcode_into_libs=yes
10695 dynamic_linker="$host_os dld.so"
10696 shlibpath_var=LD_LIBRARY_PATH
10697 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10698 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10699 soname_spec='${libname}${release}${shared_ext}$major'
10700 if test "X$HPUX_IA64_MODE" = X32; then
10701 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10703 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10705 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10709 hardcode_into_libs=yes
10710 dynamic_linker="$host_os dld.sl"
10711 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10712 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10713 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10714 soname_spec='${libname}${release}${shared_ext}$major'
10715 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10716 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10720 dynamic_linker="$host_os dld.sl"
10721 shlibpath_var=SHLIB_PATH
10722 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10723 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10724 soname_spec='${libname}${release}${shared_ext}$major'
10727 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10728 postinstall_cmds='chmod 555 $lib'
10729 # or fails outright, so override atomically:
10730 install_override_mode=555
10737 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10738 soname_spec='${libname}${release}${shared_ext}$major'
10739 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10740 shlibpath_var=LD_LIBRARY_PATH
10741 shlibpath_overrides_runpath=no
10742 hardcode_into_libs=yes
10745 irix5* | irix6* | nonstopux*)
10747 nonstopux*) version_type=nonstopux ;;
10749 if test "$lt_cv_prog_gnu_ld" = yes; then
10757 soname_spec='${libname}${release}${shared_ext}$major'
10758 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10760 irix5* | nonstopux*)
10761 libsuff= shlibsuff=
10764 case $LD in # libtool.m4 will add one of these switches to LD
10765 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10766 libsuff= shlibsuff= libmagic=32-bit;;
10767 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10768 libsuff=32 shlibsuff=N32 libmagic=N32;;
10769 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10770 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10771 *) libsuff= shlibsuff= libmagic=never-match;;
10775 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10776 shlibpath_overrides_runpath=no
10777 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10778 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10779 hardcode_into_libs=yes
10782 # No shared lib support for Linux oldld, aout, or coff.
10783 linux*oldld* | linux*aout* | linux*coff*)
10787 # This must be Linux ELF.
10788 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10792 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10793 soname_spec='${libname}${release}${shared_ext}$major'
10794 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10795 shlibpath_var=LD_LIBRARY_PATH
10796 shlibpath_overrides_runpath=no
10798 # Some binutils ld are patched to set DT_RUNPATH
10799 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10800 $as_echo_n "(cached) " >&6
10802 lt_cv_shlibpath_overrides_runpath=no
10803 save_LDFLAGS=$LDFLAGS
10804 save_libdir=$libdir
10805 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10806 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10807 if test x$gcc_no_link = xyes; then
10808 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10811 /* end confdefs.h. */
10821 if ac_fn_c_try_link "$LINENO"; then :
10822 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10823 lt_cv_shlibpath_overrides_runpath=yes
10826 rm -f core conftest.err conftest.$ac_objext \
10827 conftest$ac_exeext conftest.$ac_ext
10828 LDFLAGS=$save_LDFLAGS
10829 libdir=$save_libdir
10833 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10835 # This implies no fast_install, which is unacceptable.
10836 # Some rework will be needed to allow for fast_install
10837 # before this can be enabled.
10838 hardcode_into_libs=yes
10840 # Append ld.so.conf contents to the search path
10841 if test -f /etc/ld.so.conf; then
10842 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' ' '`
10843 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10846 # We used to test for /lib/ld.so.1 and disable shared libraries on
10847 # powerpc, because MkLinux only supported shared libraries with the
10848 # GNU dynamic linker. Since this was broken with cross compilers,
10849 # most powerpc-linux boxes support dynamic linking these days and
10850 # people can always --disable-shared, the test was removed, and we
10851 # assume the GNU/Linux dynamic linker is in use.
10852 dynamic_linker='GNU/Linux ld.so'
10859 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10860 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10861 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10862 dynamic_linker='NetBSD (a.out) ld.so'
10864 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10865 soname_spec='${libname}${release}${shared_ext}$major'
10866 dynamic_linker='NetBSD ld.elf_so'
10868 shlibpath_var=LD_LIBRARY_PATH
10869 shlibpath_overrides_runpath=yes
10870 hardcode_into_libs=yes
10875 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10876 shlibpath_var=LD_LIBRARY_PATH
10877 shlibpath_overrides_runpath=yes
10884 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10885 soname_spec='${libname}${release}${shared_ext}$major'
10886 shlibpath_var=LD_LIBRARY_PATH
10887 shlibpath_overrides_runpath=no
10888 hardcode_into_libs=yes
10889 dynamic_linker='ldqnx.so'
10894 sys_lib_dlsearch_path_spec="/usr/lib"
10896 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10898 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10899 *) need_version=no ;;
10901 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10902 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10903 shlibpath_var=LD_LIBRARY_PATH
10904 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10906 openbsd2.[89] | openbsd2.[89].*)
10907 shlibpath_overrides_runpath=no
10910 shlibpath_overrides_runpath=yes
10914 shlibpath_overrides_runpath=yes
10919 libname_spec='$name'
10922 library_names_spec='$libname${shared_ext} $libname.a'
10923 dynamic_linker='OS/2 ld.exe'
10924 shlibpath_var=LIBPATH
10927 osf3* | osf4* | osf5*)
10931 soname_spec='${libname}${release}${shared_ext}$major'
10932 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10933 shlibpath_var=LD_LIBRARY_PATH
10934 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10935 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10946 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10947 soname_spec='${libname}${release}${shared_ext}$major'
10948 shlibpath_var=LD_LIBRARY_PATH
10949 shlibpath_overrides_runpath=yes
10950 hardcode_into_libs=yes
10951 # ldd complains unless libraries are executable
10952 postinstall_cmds='chmod +x $lib'
10957 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10958 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10959 shlibpath_var=LD_LIBRARY_PATH
10960 shlibpath_overrides_runpath=yes
10961 if test "$with_gnu_ld" = yes; then
10969 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10970 soname_spec='${libname}${release}${shared_ext}$major'
10971 shlibpath_var=LD_LIBRARY_PATH
10972 case $host_vendor in
10974 shlibpath_overrides_runpath=no
10976 runpath_var=LD_RUN_PATH
10984 shlibpath_overrides_runpath=no
10985 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10991 if test -d /usr/nec ;then
10993 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10994 soname_spec='$libname${shared_ext}.$major'
10995 shlibpath_var=LD_LIBRARY_PATH
10999 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11000 version_type=freebsd-elf
11003 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11004 soname_spec='${libname}${release}${shared_ext}$major'
11005 shlibpath_var=LD_LIBRARY_PATH
11006 shlibpath_overrides_runpath=yes
11007 hardcode_into_libs=yes
11008 if test "$with_gnu_ld" = yes; then
11009 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11011 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11014 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11018 sys_lib_dlsearch_path_spec='/usr/lib'
11022 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11026 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11027 shlibpath_var=LD_LIBRARY_PATH
11028 shlibpath_overrides_runpath=no
11029 hardcode_into_libs=yes
11034 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11035 soname_spec='${libname}${release}${shared_ext}$major'
11036 shlibpath_var=LD_LIBRARY_PATH
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11044 $as_echo "$dynamic_linker" >&6; }
11045 test "$dynamic_linker" = no && can_build_shared=no
11047 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11048 if test "$GCC" = yes; then
11049 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11052 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11053 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11055 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11056 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11151 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11153 if test -n "$hardcode_libdir_flag_spec" ||
11154 test -n "$runpath_var" ||
11155 test "X$hardcode_automatic" = "Xyes" ; then
11157 # We can hardcode non-existent directories.
11158 if test "$hardcode_direct" != no &&
11159 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11160 # have to relink, otherwise we might link with an installed library
11161 # when we should be linking with a yet-to-be-installed one
11162 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11163 test "$hardcode_minus_L" != no; then
11164 # Linking always hardcodes the temporary library directory.
11165 hardcode_action=relink
11167 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11168 hardcode_action=immediate
11171 # We cannot hardcode anything, or else we can only hardcode existing
11173 hardcode_action=unsupported
11175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11176 $as_echo "$hardcode_action" >&6; }
11178 if test "$hardcode_action" = relink ||
11179 test "$inherit_rpath" = yes; then
11180 # Fast installation is not supported
11181 enable_fast_install=no
11182 elif test "$shlibpath_overrides_runpath" = yes ||
11183 test "$enable_shared" = no; then
11184 # Fast installation is not necessary
11185 enable_fast_install=needless
11193 if test "x$enable_dlopen" != xyes; then
11194 enable_dlopen=unknown
11195 enable_dlopen_self=unknown
11196 enable_dlopen_self_static=unknown
11203 lt_cv_dlopen="load_add_on"
11205 lt_cv_dlopen_self=yes
11208 mingw* | pw32* | cegcc*)
11209 lt_cv_dlopen="LoadLibrary"
11214 lt_cv_dlopen="dlopen"
11219 # if libdl is installed we need to link against it
11220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11221 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11222 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11223 $as_echo_n "(cached) " >&6
11225 ac_check_lib_save_LIBS=$LIBS
11227 if test x$gcc_no_link = xyes; then
11228 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11231 /* end confdefs.h. */
11233 /* Override any GCC internal prototype to avoid an error.
11234 Use char because int might match the return type of a GCC
11235 builtin and then its argument prototype would still apply. */
11248 if ac_fn_c_try_link "$LINENO"; then :
11249 ac_cv_lib_dl_dlopen=yes
11251 ac_cv_lib_dl_dlopen=no
11253 rm -f core conftest.err conftest.$ac_objext \
11254 conftest$ac_exeext conftest.$ac_ext
11255 LIBS=$ac_check_lib_save_LIBS
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11258 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11259 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11260 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11263 lt_cv_dlopen="dyld"
11265 lt_cv_dlopen_self=yes
11272 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11273 if test "x$ac_cv_func_shl_load" = x""yes; then :
11274 lt_cv_dlopen="shl_load"
11276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11277 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11278 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11279 $as_echo_n "(cached) " >&6
11281 ac_check_lib_save_LIBS=$LIBS
11283 if test x$gcc_no_link = xyes; then
11284 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11287 /* end confdefs.h. */
11289 /* Override any GCC internal prototype to avoid an error.
11290 Use char because int might match the return type of a GCC
11291 builtin and then its argument prototype would still apply. */
11299 return shl_load ();
11304 if ac_fn_c_try_link "$LINENO"; then :
11305 ac_cv_lib_dld_shl_load=yes
11307 ac_cv_lib_dld_shl_load=no
11309 rm -f core conftest.err conftest.$ac_objext \
11310 conftest$ac_exeext conftest.$ac_ext
11311 LIBS=$ac_check_lib_save_LIBS
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11314 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11315 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11316 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11318 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11319 if test "x$ac_cv_func_dlopen" = x""yes; then :
11320 lt_cv_dlopen="dlopen"
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11323 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11324 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11325 $as_echo_n "(cached) " >&6
11327 ac_check_lib_save_LIBS=$LIBS
11329 if test x$gcc_no_link = xyes; then
11330 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11333 /* end confdefs.h. */
11335 /* Override any GCC internal prototype to avoid an error.
11336 Use char because int might match the return type of a GCC
11337 builtin and then its argument prototype would still apply. */
11350 if ac_fn_c_try_link "$LINENO"; then :
11351 ac_cv_lib_dl_dlopen=yes
11353 ac_cv_lib_dl_dlopen=no
11355 rm -f core conftest.err conftest.$ac_objext \
11356 conftest$ac_exeext conftest.$ac_ext
11357 LIBS=$ac_check_lib_save_LIBS
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11360 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11361 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11362 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11365 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11366 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11367 $as_echo_n "(cached) " >&6
11369 ac_check_lib_save_LIBS=$LIBS
11370 LIBS="-lsvld $LIBS"
11371 if test x$gcc_no_link = xyes; then
11372 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11375 /* end confdefs.h. */
11377 /* Override any GCC internal prototype to avoid an error.
11378 Use char because int might match the return type of a GCC
11379 builtin and then its argument prototype would still apply. */
11392 if ac_fn_c_try_link "$LINENO"; then :
11393 ac_cv_lib_svld_dlopen=yes
11395 ac_cv_lib_svld_dlopen=no
11397 rm -f core conftest.err conftest.$ac_objext \
11398 conftest$ac_exeext conftest.$ac_ext
11399 LIBS=$ac_check_lib_save_LIBS
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11402 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11403 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11404 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11407 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11408 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11409 $as_echo_n "(cached) " >&6
11411 ac_check_lib_save_LIBS=$LIBS
11413 if test x$gcc_no_link = xyes; then
11414 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11417 /* end confdefs.h. */
11419 /* Override any GCC internal prototype to avoid an error.
11420 Use char because int might match the return type of a GCC
11421 builtin and then its argument prototype would still apply. */
11429 return dld_link ();
11434 if ac_fn_c_try_link "$LINENO"; then :
11435 ac_cv_lib_dld_dld_link=yes
11437 ac_cv_lib_dld_dld_link=no
11439 rm -f core conftest.err conftest.$ac_objext \
11440 conftest$ac_exeext conftest.$ac_ext
11441 LIBS=$ac_check_lib_save_LIBS
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11444 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11445 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11446 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11467 if test "x$lt_cv_dlopen" != xno; then
11473 case $lt_cv_dlopen in
11475 save_CPPFLAGS="$CPPFLAGS"
11476 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11478 save_LDFLAGS="$LDFLAGS"
11479 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11482 LIBS="$lt_cv_dlopen_libs $LIBS"
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11485 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11486 if test "${lt_cv_dlopen_self+set}" = set; then :
11487 $as_echo_n "(cached) " >&6
11489 if test "$cross_compiling" = yes; then :
11490 lt_cv_dlopen_self=cross
11492 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11493 lt_status=$lt_dlunknown
11494 cat > conftest.$ac_ext <<_LT_EOF
11495 #line 11495 "configure"
11496 #include "confdefs.h"
11505 # define LT_DLGLOBAL RTLD_GLOBAL
11508 # define LT_DLGLOBAL DL_GLOBAL
11510 # define LT_DLGLOBAL 0
11514 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11515 find out it does not work in some platform. */
11516 #ifndef LT_DLLAZY_OR_NOW
11518 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11521 # define LT_DLLAZY_OR_NOW DL_LAZY
11524 # define LT_DLLAZY_OR_NOW RTLD_NOW
11527 # define LT_DLLAZY_OR_NOW DL_NOW
11529 # define LT_DLLAZY_OR_NOW 0
11536 /* When -fvisbility=hidden is used, assume the code has been annotated
11537 correspondingly for the symbols needed. */
11538 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11539 void fnord () __attribute__((visibility("default")));
11542 void fnord () { int i=42; }
11545 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11546 int status = $lt_dlunknown;
11550 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11553 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11554 else puts (dlerror ());
11556 /* dlclose (self); */
11564 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11565 (eval $ac_link) 2>&5
11567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11568 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11569 (./conftest; exit; ) >&5 2>/dev/null
11571 case x$lt_status in
11572 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11573 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11574 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11577 # compilation failed
11578 lt_cv_dlopen_self=no
11585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11586 $as_echo "$lt_cv_dlopen_self" >&6; }
11588 if test "x$lt_cv_dlopen_self" = xyes; then
11589 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11591 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11592 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11593 $as_echo_n "(cached) " >&6
11595 if test "$cross_compiling" = yes; then :
11596 lt_cv_dlopen_self_static=cross
11598 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11599 lt_status=$lt_dlunknown
11600 cat > conftest.$ac_ext <<_LT_EOF
11601 #line 11601 "configure"
11602 #include "confdefs.h"
11611 # define LT_DLGLOBAL RTLD_GLOBAL
11614 # define LT_DLGLOBAL DL_GLOBAL
11616 # define LT_DLGLOBAL 0
11620 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11621 find out it does not work in some platform. */
11622 #ifndef LT_DLLAZY_OR_NOW
11624 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11627 # define LT_DLLAZY_OR_NOW DL_LAZY
11630 # define LT_DLLAZY_OR_NOW RTLD_NOW
11633 # define LT_DLLAZY_OR_NOW DL_NOW
11635 # define LT_DLLAZY_OR_NOW 0
11642 /* When -fvisbility=hidden is used, assume the code has been annotated
11643 correspondingly for the symbols needed. */
11644 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11645 void fnord () __attribute__((visibility("default")));
11648 void fnord () { int i=42; }
11651 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11652 int status = $lt_dlunknown;
11656 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11659 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11660 else puts (dlerror ());
11662 /* dlclose (self); */
11670 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11671 (eval $ac_link) 2>&5
11673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11674 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11675 (./conftest; exit; ) >&5 2>/dev/null
11677 case x$lt_status in
11678 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11679 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11680 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11683 # compilation failed
11684 lt_cv_dlopen_self_static=no
11691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11692 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11695 CPPFLAGS="$save_CPPFLAGS"
11696 LDFLAGS="$save_LDFLAGS"
11701 case $lt_cv_dlopen_self in
11702 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11703 *) enable_dlopen_self=unknown ;;
11706 case $lt_cv_dlopen_self_static in
11707 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11708 *) enable_dlopen_self_static=unknown ;;
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11731 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11732 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11733 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11734 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11736 $as_echo "yes" >&6; }
11738 # FIXME - insert some real tests, host_os isn't really good enough
11741 if test -n "$STRIP" ; then
11742 striplib="$STRIP -x"
11743 old_striplib="$STRIP -S"
11744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11745 $as_echo "yes" >&6; }
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11748 $as_echo "no" >&6; }
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11753 $as_echo "no" >&6; }
11769 # Report which library types will actually be built
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11771 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11773 $as_echo "$can_build_shared" >&6; }
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11776 $as_echo_n "checking whether to build shared libraries... " >&6; }
11777 test "$can_build_shared" = "no" && enable_shared=no
11779 # On AIX, shared libraries and static libraries use the same namespace, and
11780 # are all built from PIC.
11783 test "$enable_shared" = yes && enable_static=no
11784 if test -n "$RANLIB"; then
11785 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11786 postinstall_cmds='$RANLIB $lib'
11791 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11792 test "$enable_shared" = yes && enable_static=no
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11797 $as_echo "$enable_shared" >&6; }
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11800 $as_echo_n "checking whether to build static libraries... " >&6; }
11801 # Make sure either enable_shared or enable_static is yes.
11802 test "$enable_shared" = yes || enable_static=yes
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11804 $as_echo "$enable_static" >&6; }
11811 ac_cpp='$CPP $CPPFLAGS'
11812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11818 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11819 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11820 (test "X$CXX" != "Xg++"))) ; then
11822 ac_cpp='$CXXCPP $CPPFLAGS'
11823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11827 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11828 if test -z "$CXXCPP"; then
11829 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11830 $as_echo_n "(cached) " >&6
11832 # Double quotes because CXXCPP needs to be expanded
11833 for CXXCPP in "$CXX -E" "/lib/cpp"
11835 ac_preproc_ok=false
11836 for ac_cxx_preproc_warn_flag in '' yes
11838 # Use a header file that comes with gcc, so configuring glibc
11839 # with a fresh cross-compiler works.
11840 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11841 # <limits.h> exists even on freestanding compilers.
11842 # On the NeXT, cc -E runs the code through the compiler's parser,
11843 # not just through cpp. "Syntax error" is here to catch this case.
11844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11845 /* end confdefs.h. */
11847 # include <limits.h>
11849 # include <assert.h>
11853 if ac_fn_cxx_try_cpp "$LINENO"; then :
11856 # Broken: fails on valid input.
11859 rm -f conftest.err conftest.$ac_ext
11861 # OK, works on sane cases. Now check whether nonexistent headers
11862 # can be detected and how.
11863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11864 /* end confdefs.h. */
11865 #include <ac_nonexistent.h>
11867 if ac_fn_cxx_try_cpp "$LINENO"; then :
11868 # Broken: success on invalid input.
11871 # Passes both tests.
11875 rm -f conftest.err conftest.$ac_ext
11878 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11879 rm -f conftest.err conftest.$ac_ext
11880 if $ac_preproc_ok; then :
11885 ac_cv_prog_CXXCPP=$CXXCPP
11888 CXXCPP=$ac_cv_prog_CXXCPP
11890 ac_cv_prog_CXXCPP=$CXXCPP
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11893 $as_echo "$CXXCPP" >&6; }
11894 ac_preproc_ok=false
11895 for ac_cxx_preproc_warn_flag in '' yes
11897 # Use a header file that comes with gcc, so configuring glibc
11898 # with a fresh cross-compiler works.
11899 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11900 # <limits.h> exists even on freestanding compilers.
11901 # On the NeXT, cc -E runs the code through the compiler's parser,
11902 # not just through cpp. "Syntax error" is here to catch this case.
11903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11904 /* end confdefs.h. */
11906 # include <limits.h>
11908 # include <assert.h>
11912 if ac_fn_cxx_try_cpp "$LINENO"; then :
11915 # Broken: fails on valid input.
11918 rm -f conftest.err conftest.$ac_ext
11920 # OK, works on sane cases. Now check whether nonexistent headers
11921 # can be detected and how.
11922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11923 /* end confdefs.h. */
11924 #include <ac_nonexistent.h>
11926 if ac_fn_cxx_try_cpp "$LINENO"; then :
11927 # Broken: success on invalid input.
11930 # Passes both tests.
11934 rm -f conftest.err conftest.$ac_ext
11937 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11938 rm -f conftest.err conftest.$ac_ext
11939 if $ac_preproc_ok; then :
11942 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11943 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11944 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11945 See \`config.log' for more details." "$LINENO" 5; }
11949 ac_cpp='$CPP $CPPFLAGS'
11950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11955 _lt_caught_CXX_error=yes
11959 ac_cpp='$CXXCPP $CPPFLAGS'
11960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11964 archive_cmds_need_lc_CXX=no
11965 allow_undefined_flag_CXX=
11966 always_export_symbols_CXX=no
11967 archive_expsym_cmds_CXX=
11968 compiler_needs_object_CXX=no
11969 export_dynamic_flag_spec_CXX=
11970 hardcode_direct_CXX=no
11971 hardcode_direct_absolute_CXX=no
11972 hardcode_libdir_flag_spec_CXX=
11973 hardcode_libdir_flag_spec_ld_CXX=
11974 hardcode_libdir_separator_CXX=
11975 hardcode_minus_L_CXX=no
11976 hardcode_shlibpath_var_CXX=unsupported
11977 hardcode_automatic_CXX=no
11978 inherit_rpath_CXX=no
11980 module_expsym_cmds_CXX=
11981 link_all_deplibs_CXX=unknown
11982 old_archive_cmds_CXX=$old_archive_cmds
11983 reload_flag_CXX=$reload_flag
11984 reload_cmds_CXX=$reload_cmds
11985 no_undefined_flag_CXX=
11986 whole_archive_flag_spec_CXX=
11987 enable_shared_with_static_runtimes_CXX=no
11989 # Source file extension for C++ test sources.
11992 # Object file extension for compiled C++ test sources.
11996 # No sense in running all these tests if we already determined that
11997 # the CXX compiler isn't working. Some variables (like enable_shared)
11998 # are currently assumed to apply to all compilers on this platform,
11999 # and will be corrupted by setting them based on a non-working compiler.
12000 if test "$_lt_caught_CXX_error" != yes; then
12001 # Code to be used in simple compile tests
12002 lt_simple_compile_test_code="int some_variable = 0;"
12004 # Code to be used in simple link tests
12005 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12007 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12014 # If no C compiler was specified, use CC.
12017 # If no C compiler flags were specified, use CFLAGS.
12018 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12020 # Allow CC to be a program name with arguments.
12024 # save warnings/boilerplate of simple test code
12025 ac_outfile=conftest.$ac_objext
12026 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12027 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12028 _lt_compiler_boilerplate=`cat conftest.err`
12031 ac_outfile=conftest.$ac_objext
12032 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12033 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12034 _lt_linker_boilerplate=`cat conftest.err`
12038 # Allow CC to be a program name with arguments.
12043 lt_save_with_gnu_ld=$with_gnu_ld
12044 lt_save_path_LD=$lt_cv_path_LD
12045 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12046 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12048 $as_unset lt_cv_prog_gnu_ld
12050 if test -n "${lt_cv_path_LDCXX+set}"; then
12051 lt_cv_path_LD=$lt_cv_path_LDCXX
12053 $as_unset lt_cv_path_LD
12055 test -z "${LDCXX+set}" || LD=$LDCXX
12059 for cc_temp in $compiler""; do
12061 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12062 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12067 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12070 if test -n "$compiler"; then
12071 # We don't want -fno-exception when compiling C++ code, so set the
12072 # no_builtin_flag separately
12073 if test "$GXX" = yes; then
12074 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12076 lt_prog_compiler_no_builtin_flag_CXX=
12079 if test "$GXX" = yes; then
12080 # Set up default GNU C++ configuration
12084 # Check whether --with-gnu-ld was given.
12085 if test "${with_gnu_ld+set}" = set; then :
12086 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12092 if test "$GCC" = yes; then
12093 # Check if gcc -print-prog-name=ld gives a path.
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12095 $as_echo_n "checking for ld used by $CC... " >&6; }
12098 # gcc leaves a trailing carriage return which upsets mingw
12099 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12101 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12104 # Accept absolute paths.
12106 re_direlt='/[^/][^/]*/\.\./'
12107 # Canonicalize the pathname of ld
12108 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12109 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12110 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12112 test -z "$LD" && LD="$ac_prog"
12115 # If it fails, then pretend we aren't using GCC.
12119 # If it is relative, then search for the first ld in PATH.
12120 with_gnu_ld=unknown
12123 elif test "$with_gnu_ld" = yes; then
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12125 $as_echo_n "checking for GNU ld... " >&6; }
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12128 $as_echo_n "checking for non-GNU ld... " >&6; }
12130 if test "${lt_cv_path_LD+set}" = set; then :
12131 $as_echo_n "(cached) " >&6
12133 if test -z "$LD"; then
12134 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12135 for ac_dir in $PATH; do
12137 test -z "$ac_dir" && ac_dir=.
12138 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12139 lt_cv_path_LD="$ac_dir/$ac_prog"
12140 # Check to see if the program is GNU ld. I'd rather use --version,
12141 # but apparently some variants of GNU ld only accept -v.
12142 # Break only if it was the GNU/non-GNU ld that we prefer.
12143 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12144 *GNU* | *'with BFD'*)
12145 test "$with_gnu_ld" != no && break
12148 test "$with_gnu_ld" != yes && break
12155 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12159 LD="$lt_cv_path_LD"
12160 if test -n "$LD"; then
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12162 $as_echo "$LD" >&6; }
12164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12165 $as_echo "no" >&6; }
12167 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12169 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12170 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12171 $as_echo_n "(cached) " >&6
12173 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12174 case `$LD -v 2>&1 </dev/null` in
12175 *GNU* | *'with BFD'*)
12176 lt_cv_prog_gnu_ld=yes
12179 lt_cv_prog_gnu_ld=no
12183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12184 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12185 with_gnu_ld=$lt_cv_prog_gnu_ld
12193 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12194 # archiving commands below assume that GNU ld is being used.
12195 if test "$with_gnu_ld" = yes; then
12196 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12197 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'
12199 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12200 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12202 # If archive_cmds runs LD, not CC, wlarc should be empty
12203 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12204 # investigate it a little bit more. (MM)
12207 # ancient GNU ld didn't support --whole-archive et. al.
12208 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12209 $GREP 'no-whole-archive' > /dev/null; then
12210 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12212 whole_archive_flag_spec_CXX=
12218 # A generic and very simple default shared library creation
12219 # command for GNU C++ for the case where it uses the native
12220 # linker, instead of GNU ld. If possible, this setting should
12221 # overridden to take advantage of the native linker features on
12222 # the platform it is being used on.
12223 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12226 # Commands to make compiler produce verbose output that lists
12227 # what "hidden" libraries, object files and flags are used when
12228 # linking a shared library.
12229 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12237 # PORTME: fill in a description of your system's C++ link characteristics
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12239 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12243 # FIXME: insert proper C++ library support
12247 if test "$host_cpu" = ia64; then
12248 # On IA64, the linker does run time linking by default, so we don't
12249 # have to do anything special.
12250 aix_use_runtimelinking=no
12251 exp_sym_flag='-Bexport'
12254 aix_use_runtimelinking=no
12256 # Test if we are trying to use run time linking or normal
12257 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12258 # need to do runtime linking.
12259 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12260 for ld_flag in $LDFLAGS; do
12263 aix_use_runtimelinking=yes
12271 exp_sym_flag='-bexport'
12272 no_entry_flag='-bnoentry'
12275 # When large executables or shared objects are built, AIX ld can
12276 # have problems creating the table of contents. If linking a library
12277 # or program results in "error TOC overflow" add -mminimal-toc to
12278 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12279 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12281 archive_cmds_CXX=''
12282 hardcode_direct_CXX=yes
12283 hardcode_direct_absolute_CXX=yes
12284 hardcode_libdir_separator_CXX=':'
12285 link_all_deplibs_CXX=yes
12286 file_list_spec_CXX='${wl}-f,'
12288 if test "$GXX" = yes; then
12289 case $host_os in aix4.[012]|aix4.[012].*)
12290 # We only want to do this on AIX 4.2 and lower, the check
12291 # below for broken collect2 doesn't work under 4.3+
12292 collect2name=`${CC} -print-prog-name=collect2`
12293 if test -f "$collect2name" &&
12294 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12296 # We have reworked collect2
12299 # We have old collect2
12300 hardcode_direct_CXX=unsupported
12301 # It fails to find uninstalled libraries when the uninstalled
12302 # path is not listed in the libpath. Setting hardcode_minus_L
12303 # to unsupported forces relinking
12304 hardcode_minus_L_CXX=yes
12305 hardcode_libdir_flag_spec_CXX='-L$libdir'
12306 hardcode_libdir_separator_CXX=
12309 shared_flag='-shared'
12310 if test "$aix_use_runtimelinking" = yes; then
12311 shared_flag="$shared_flag "'${wl}-G'
12315 if test "$host_cpu" = ia64; then
12316 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12317 # chokes on -Wl,-G. The following line is correct:
12320 if test "$aix_use_runtimelinking" = yes; then
12321 shared_flag='${wl}-G'
12323 shared_flag='${wl}-bM:SRE'
12328 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12329 # It seems that -bexpall does not export symbols beginning with
12330 # underscore (_), so it is better to generate a list of symbols to
12332 always_export_symbols_CXX=yes
12333 if test "$aix_use_runtimelinking" = yes; then
12334 # Warning - without using the other runtime loading flags (-brtl),
12335 # -berok will link without error, but may produce a broken library.
12336 allow_undefined_flag_CXX='-berok'
12337 # Determine the default libpath from the value encoded in an empty
12339 if test x$gcc_no_link = xyes; then
12340 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12343 /* end confdefs.h. */
12353 if ac_fn_cxx_try_link "$LINENO"; then :
12355 lt_aix_libpath_sed='
12356 /Import File Strings/,/^$/ {
12362 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12363 # Check for a 64-bit object if we didn't find anything.
12364 if test -z "$aix_libpath"; then
12365 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12368 rm -f core conftest.err conftest.$ac_objext \
12369 conftest$ac_exeext conftest.$ac_ext
12370 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12372 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12374 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"
12376 if test "$host_cpu" = ia64; then
12377 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12378 allow_undefined_flag_CXX="-z nodefs"
12379 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"
12381 # Determine the default libpath from the value encoded in an
12382 # empty executable.
12383 if test x$gcc_no_link = xyes; then
12384 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12387 /* end confdefs.h. */
12397 if ac_fn_cxx_try_link "$LINENO"; then :
12399 lt_aix_libpath_sed='
12400 /Import File Strings/,/^$/ {
12406 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12407 # Check for a 64-bit object if we didn't find anything.
12408 if test -z "$aix_libpath"; then
12409 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12412 rm -f core conftest.err conftest.$ac_objext \
12413 conftest$ac_exeext conftest.$ac_ext
12414 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12416 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12417 # Warning - without using the other run time loading flags,
12418 # -berok will link without error, but may produce a broken library.
12419 no_undefined_flag_CXX=' ${wl}-bernotok'
12420 allow_undefined_flag_CXX=' ${wl}-berok'
12421 if test "$with_gnu_ld" = yes; then
12422 # We only use this code for GNU lds that support --whole-archive.
12423 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12425 # Exported symbols can be pulled into shared objects from archives
12426 whole_archive_flag_spec_CXX='$convenience'
12428 archive_cmds_need_lc_CXX=yes
12429 # This is similar to how AIX traditionally builds its shared
12431 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'
12437 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12438 allow_undefined_flag_CXX=unsupported
12439 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12440 # support --undefined. This deserves some investigation. FIXME
12441 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12448 case $cc_basename in
12450 # FIXME: insert proper C++ library support
12456 cygwin* | mingw* | pw32* | cegcc*)
12457 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12458 # as there is no search path for DLLs.
12459 hardcode_libdir_flag_spec_CXX='-L$libdir'
12460 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12461 allow_undefined_flag_CXX=unsupported
12462 always_export_symbols_CXX=no
12463 enable_shared_with_static_runtimes_CXX=yes
12465 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12466 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'
12467 # If the export-symbols file already is a .def file (1st line
12468 # is EXPORTS), use it as is; otherwise, prepend...
12469 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12470 cp $export_symbols $output_objdir/$soname.def;
12472 echo EXPORTS > $output_objdir/$soname.def;
12473 cat $export_symbols >> $output_objdir/$soname.def;
12475 $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'
12480 darwin* | rhapsody*)
12483 archive_cmds_need_lc_CXX=no
12484 hardcode_direct_CXX=no
12485 hardcode_automatic_CXX=yes
12486 hardcode_shlibpath_var_CXX=unsupported
12487 if test "$lt_cv_ld_force_load" = "yes"; then
12488 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\"`'
12490 whole_archive_flag_spec_CXX=''
12492 link_all_deplibs_CXX=yes
12493 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12494 case $cc_basename in
12495 ifort*) _lt_dar_can_shared=yes ;;
12496 *) _lt_dar_can_shared=$GCC ;;
12498 if test "$_lt_dar_can_shared" = "yes"; then
12499 output_verbose_link_cmd=func_echo_all
12500 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}"
12501 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12502 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}"
12503 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}"
12504 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12505 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}"
12506 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}"
12516 case $cc_basename in
12518 # FIXME: insert proper C++ library support
12522 # Green Hills C++ Compiler
12523 # FIXME: insert proper C++ library support
12527 # FIXME: insert proper C++ library support
12534 # C++ shared libraries reported to be fairly broken before
12540 archive_cmds_need_lc_CXX=no
12543 freebsd* | dragonfly*)
12544 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12553 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12554 link_all_deplibs_CXX=yes
12558 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12559 hardcode_libdir_separator_CXX=:
12560 export_dynamic_flag_spec_CXX='${wl}-E'
12561 hardcode_direct_CXX=yes
12562 hardcode_minus_L_CXX=yes # Not in the search PATH,
12563 # but as the default
12564 # location of the library.
12566 case $cc_basename in
12568 # FIXME: insert proper C++ library support
12572 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'
12573 # Commands to make compiler produce verbose output that lists
12574 # what "hidden" libraries, object files and flags are used when
12575 # linking a shared library.
12577 # There doesn't appear to be a way to prevent this compiler from
12578 # explicitly linking system object files so we need to strip them
12579 # from the output so that they don't get included in the library
12581 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"'
12584 if test "$GXX" = yes; then
12585 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'
12587 # FIXME: insert proper C++ library support
12595 if test $with_gnu_ld = no; then
12596 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12597 hardcode_libdir_separator_CXX=:
12603 export_dynamic_flag_spec_CXX='${wl}-E'
12609 hardcode_direct_CXX=no
12610 hardcode_shlibpath_var_CXX=no
12613 hardcode_direct_CXX=yes
12614 hardcode_direct_absolute_CXX=yes
12615 hardcode_minus_L_CXX=yes # Not in the search PATH,
12616 # but as the default
12617 # location of the library.
12621 case $cc_basename in
12623 # FIXME: insert proper C++ library support
12629 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12632 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12635 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12638 # Commands to make compiler produce verbose output that lists
12639 # what "hidden" libraries, object files and flags are used when
12640 # linking a shared library.
12642 # There doesn't appear to be a way to prevent this compiler from
12643 # explicitly linking system object files so we need to strip them
12644 # from the output so that they don't get included in the library
12646 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"'
12649 if test "$GXX" = yes; then
12650 if test $with_gnu_ld = no; then
12653 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12656 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12659 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'
12664 # FIXME: insert proper C++ library support
12672 hardcode_direct_CXX=no
12673 hardcode_shlibpath_var_CXX=no
12674 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12675 export_dynamic_flag_spec_CXX='${wl}-E'
12676 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12677 # Instead, shared libraries are loaded at an image base (0x10000000 by
12678 # default) and relocated if they conflict, which is a slow very memory
12679 # consuming and fragmenting process. To avoid this, we pick a random,
12680 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12681 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12682 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'
12683 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'
12686 case $cc_basename in
12689 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'
12691 # Archives containing C++ object files must be created using
12692 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12693 # necessary to make sure instantiated templates are included
12695 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12698 if test "$GXX" = yes; then
12699 if test "$with_gnu_ld" = no; then
12700 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'
12702 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'
12705 link_all_deplibs_CXX=yes
12708 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12709 hardcode_libdir_separator_CXX=:
12710 inherit_rpath_CXX=yes
12713 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12714 case $cc_basename in
12716 # Kuck and Associates, Inc. (KAI) C++ Compiler
12718 # KCC will only create a shared library if the output file
12719 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12720 # to its proper name (with version) after linking.
12721 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'
12722 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'
12723 # Commands to make compiler produce verbose output that lists
12724 # what "hidden" libraries, object files and flags are used when
12725 # linking a shared library.
12727 # There doesn't appear to be a way to prevent this compiler from
12728 # explicitly linking system object files so we need to strip them
12729 # from the output so that they don't get included in the library
12731 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"'
12733 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12734 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12736 # Archives containing C++ object files must be created using
12737 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12738 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12743 # version 8.0 and above of icpc choke on multiply defined symbols
12744 # if we add $predep_objects and $postdep_objects, however 7.1 and
12745 # earlier do not add the objects themselves.
12746 case `$CC -V 2>&1` in
12748 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12749 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'
12751 *) # Version 8.0 or newer
12754 ia64*) tmp_idyn=' -i_dynamic';;
12756 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12757 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'
12760 archive_cmds_need_lc_CXX=no
12761 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12762 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12763 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12766 # Portland Group C++ compiler
12768 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12769 prelink_cmds_CXX='tpldir=Template.dir~
12771 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12772 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12773 old_archive_cmds_CXX='tpldir=Template.dir~
12775 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12776 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12778 archive_cmds_CXX='tpldir=Template.dir~
12780 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12781 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12782 archive_expsym_cmds_CXX='tpldir=Template.dir~
12784 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12785 $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'
12787 *) # Version 6 and above use weak symbols
12788 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12789 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'
12793 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12794 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12795 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'
12799 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12800 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'
12802 runpath_var=LD_RUN_PATH
12803 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12804 hardcode_libdir_separator_CXX=:
12806 # Commands to make compiler produce verbose output that lists
12807 # what "hidden" libraries, object files and flags are used when
12808 # linking a shared library.
12810 # There doesn't appear to be a way to prevent this compiler from
12811 # explicitly linking system object files so we need to strip them
12812 # from the output so that they don't get included in the library
12814 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'
12816 xl* | mpixl* | bgxl*)
12817 # IBM XL 8.0 on PPC, with GNU ld
12818 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12819 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12820 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12821 if test "x$supports_anon_versioning" = xyes; then
12822 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12823 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12824 echo "local: *; };" >> $output_objdir/$libname.ver~
12825 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12829 case `$CC -V 2>&1 | sed 5q` in
12832 no_undefined_flag_CXX=' -zdefs'
12833 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12834 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'
12835 hardcode_libdir_flag_spec_CXX='-R$libdir'
12836 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'
12837 compiler_needs_object_CXX=yes
12839 # Not sure whether something based on
12840 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12842 output_verbose_link_cmd='func_echo_all'
12844 # Archives containing C++ object files must be created using
12845 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12846 # necessary to make sure instantiated templates are included
12848 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12856 # FIXME: insert proper C++ library support
12861 # FIXME: insert proper C++ library support
12866 case $cc_basename in
12868 # FIXME: insert proper C++ library support
12872 # FIXME: insert proper C++ library support
12879 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12880 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12882 hardcode_libdir_flag_spec_CXX='-R$libdir'
12883 hardcode_direct_CXX=yes
12884 hardcode_shlibpath_var_CXX=no
12886 # Workaround some broken pre-1.5 toolchains
12887 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12895 # C++ shared libraries are fairly broken
12900 if test -f /usr/libexec/ld.so; then
12901 hardcode_direct_CXX=yes
12902 hardcode_shlibpath_var_CXX=no
12903 hardcode_direct_absolute_CXX=yes
12904 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12905 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12906 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12907 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12908 export_dynamic_flag_spec_CXX='${wl}-E'
12909 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12911 output_verbose_link_cmd=func_echo_all
12917 osf3* | osf4* | osf5*)
12918 case $cc_basename in
12920 # Kuck and Associates, Inc. (KAI) C++ Compiler
12922 # KCC will only create a shared library if the output file
12923 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12924 # to its proper name (with version) after linking.
12925 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'
12927 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12928 hardcode_libdir_separator_CXX=:
12930 # Archives containing C++ object files must be created using
12931 # the KAI C++ compiler.
12933 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12934 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12938 # Rational C++ 2.4.1
12939 # FIXME: insert proper C++ library support
12945 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12946 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'
12947 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12950 allow_undefined_flag_CXX=' -expect_unresolved \*'
12951 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'
12952 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12953 echo "-hidden">> $lib.exp~
12954 $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~
12956 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12960 hardcode_libdir_separator_CXX=:
12962 # Commands to make compiler produce verbose output that lists
12963 # what "hidden" libraries, object files and flags are used when
12964 # linking a shared library.
12966 # There doesn't appear to be a way to prevent this compiler from
12967 # explicitly linking system object files so we need to strip them
12968 # from the output so that they don't get included in the library
12970 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"'
12973 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12974 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12977 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'
12980 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'
12984 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12985 hardcode_libdir_separator_CXX=:
12987 # Commands to make compiler produce verbose output that lists
12988 # what "hidden" libraries, object files and flags are used when
12989 # linking a shared library.
12990 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12993 # FIXME: insert proper C++ library support
13001 # FIXME: insert proper C++ library support
13006 case $cc_basename in
13009 # FIXME: insert proper C++ library support
13014 # FIXME: insert proper C++ library support
13018 # FIXME: insert proper C++ library support
13025 case $cc_basename in
13027 # Sun C++ 4.2, 5.x and Centerline C++
13028 archive_cmds_need_lc_CXX=yes
13029 no_undefined_flag_CXX=' -zdefs'
13030 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13031 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13032 $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'
13034 hardcode_libdir_flag_spec_CXX='-R$libdir'
13035 hardcode_shlibpath_var_CXX=no
13037 solaris2.[0-5] | solaris2.[0-5].*) ;;
13039 # The compiler driver will combine and reorder linker options,
13040 # but understands `-z linker_flag'.
13041 # Supported since Solaris 2.6 (maybe 2.5.1?)
13042 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13045 link_all_deplibs_CXX=yes
13047 output_verbose_link_cmd='func_echo_all'
13049 # Archives containing C++ object files must be created using
13050 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13051 # necessary to make sure instantiated templates are included
13053 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13056 # Green Hills C++ Compiler
13057 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13059 # The C++ compiler must be used to create the archive.
13060 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13063 # GNU C++ compiler with Solaris linker
13064 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13065 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13066 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13067 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13068 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13069 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13071 # Commands to make compiler produce verbose output that lists
13072 # what "hidden" libraries, object files and flags are used when
13073 # linking a shared library.
13074 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13076 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13078 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13079 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13080 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13082 # Commands to make compiler produce verbose output that lists
13083 # what "hidden" libraries, object files and flags are used when
13084 # linking a shared library.
13085 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13088 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13090 solaris2.[0-5] | solaris2.[0-5].*) ;;
13092 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13100 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13101 no_undefined_flag_CXX='${wl}-z,text'
13102 archive_cmds_need_lc_CXX=no
13103 hardcode_shlibpath_var_CXX=no
13104 runpath_var='LD_RUN_PATH'
13106 case $cc_basename in
13108 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13109 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13112 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13113 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13118 sysv5* | sco3.2v5* | sco5v6*)
13119 # Note: We can NOT use -z defs as we might desire, because we do not
13120 # link with -lc, and that would cause any symbols used from libc to
13121 # always be unresolved, which means just about no library would
13122 # ever link correctly. If we're not using GNU ld we use -z text
13123 # though, which does catch some bad symbols but isn't as heavy-handed
13125 no_undefined_flag_CXX='${wl}-z,text'
13126 allow_undefined_flag_CXX='${wl}-z,nodefs'
13127 archive_cmds_need_lc_CXX=no
13128 hardcode_shlibpath_var_CXX=no
13129 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13130 hardcode_libdir_separator_CXX=':'
13131 link_all_deplibs_CXX=yes
13132 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13133 runpath_var='LD_RUN_PATH'
13135 case $cc_basename in
13137 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13138 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13139 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13140 '"$old_archive_cmds_CXX"
13141 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13142 '"$reload_cmds_CXX"
13145 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13146 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13152 case $cc_basename in
13154 # NonStop-UX NCC 3.20
13155 # FIXME: insert proper C++ library support
13159 # FIXME: insert proper C++ library support
13166 # FIXME: insert proper C++ library support
13171 # FIXME: insert proper C++ library support
13176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13177 $as_echo "$ld_shlibs_CXX" >&6; }
13178 test "$ld_shlibs_CXX" = no && can_build_shared=no
13184 ## There is no encapsulation within the following macros, do not change
13185 ## the running order or otherwise move them around unless you know exactly
13186 ## what you are doing...
13187 # Dependencies to place before and after the object being linked:
13188 predep_objects_CXX=
13189 postdep_objects_CXX=
13192 compiler_lib_search_path_CXX=
13194 cat > conftest.$ac_ext <<_LT_EOF
13198 Foo (void) { a = 0; }
13204 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13205 (eval $ac_compile) 2>&5
13207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13208 test $ac_status = 0; }; then
13209 # Parse the compiler output and extract the necessary
13210 # objects, libraries and library flags.
13212 # Sentinel used to keep track of whether or not we are before
13213 # the conftest object file.
13214 pre_test_object_deps_done=no
13216 for p in `eval "$output_verbose_link_cmd"`; do
13220 # Some compilers place space between "-{L,R}" and the path.
13221 # Remove the space.
13222 if test $p = "-L" ||
13223 test $p = "-R"; then
13230 if test "$pre_test_object_deps_done" = no; then
13233 # Internal compiler library paths should come after those
13234 # provided the user. The postdeps already come after the
13235 # user supplied libs so there is no need to process them.
13236 if test -z "$compiler_lib_search_path_CXX"; then
13237 compiler_lib_search_path_CXX="${prev}${p}"
13239 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13242 # The "-l" case would never come before the object being
13243 # linked, so don't bother handling this case.
13246 if test -z "$postdeps_CXX"; then
13247 postdeps_CXX="${prev}${p}"
13249 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13255 # This assumes that the test object file only shows up
13256 # once in the compiler output.
13257 if test "$p" = "conftest.$objext"; then
13258 pre_test_object_deps_done=yes
13262 if test "$pre_test_object_deps_done" = no; then
13263 if test -z "$predep_objects_CXX"; then
13264 predep_objects_CXX="$p"
13266 predep_objects_CXX="$predep_objects_CXX $p"
13269 if test -z "$postdep_objects_CXX"; then
13270 postdep_objects_CXX="$p"
13272 postdep_objects_CXX="$postdep_objects_CXX $p"
13277 *) ;; # Ignore the rest.
13285 echo "libtool.m4: error: problem compiling CXX test program"
13288 $RM -f confest.$objext
13290 # PORTME: override above test on systems where it is broken
13293 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13294 # hack all around it, let's just trust "g++" to DTRT.
13295 predep_objects_CXX=
13296 postdep_objects_CXX=
13301 case `$CC -V 2>&1 | sed 5q` in
13305 # The more standards-conforming stlport4 library is
13306 # incompatible with the Cstd library. Avoid specifying
13307 # it if it's in CXXFLAGS. Ignore libCrun as
13308 # -library=stlport4 depends on it.
13309 case " $CXX $CXXFLAGS " in
13310 *" -library=stlport4 "*)
13311 solaris_use_stlport4=yes
13315 if test "$solaris_use_stlport4" != yes; then
13316 postdeps_CXX='-library=Cstd -library=Crun'
13323 case $cc_basename in
13325 # The more standards-conforming stlport4 library is
13326 # incompatible with the Cstd library. Avoid specifying
13327 # it if it's in CXXFLAGS. Ignore libCrun as
13328 # -library=stlport4 depends on it.
13329 case " $CXX $CXXFLAGS " in
13330 *" -library=stlport4 "*)
13331 solaris_use_stlport4=yes
13335 # Adding this requires a known-good setup of shared libraries for
13336 # Sun compiler versions before 5.6, else PIC objects from an old
13337 # archive will be linked into the output, leading to subtle bugs.
13338 if test "$solaris_use_stlport4" != yes; then
13339 postdeps_CXX='-library=Cstd -library=Crun'
13347 case " $postdeps_CXX " in
13348 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13350 compiler_lib_search_dirs_CXX=
13351 if test -n "${compiler_lib_search_path_CXX}"; then
13352 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13385 lt_prog_compiler_wl_CXX=
13386 lt_prog_compiler_pic_CXX=
13387 lt_prog_compiler_static_CXX=
13389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13390 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13392 # C++ specific cases for pic, static, wl, etc.
13393 if test "$GXX" = yes; then
13394 lt_prog_compiler_wl_CXX='-Wl,'
13395 lt_prog_compiler_static_CXX='-static'
13399 # All AIX code is PIC.
13400 if test "$host_cpu" = ia64; then
13401 # AIX 5 now supports IA64 processor
13402 lt_prog_compiler_static_CXX='-Bstatic'
13409 # see comment about AmigaOS4 .so support
13410 lt_prog_compiler_pic_CXX='-fPIC'
13413 # FIXME: we need at least 68020 code to build shared libraries, but
13414 # adding the `-m68020' flag to GCC prevents building anything better,
13416 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13421 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13422 # PIC is the default for these OSes.
13424 mingw* | cygwin* | os2* | pw32* | cegcc*)
13425 # This hack is so that the source file can tell whether it is being
13426 # built for inclusion in a dll (and should export symbols for example).
13427 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13428 # (--disable-auto-import) libraries
13429 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13431 darwin* | rhapsody*)
13432 # PIC is the default on this platform
13433 # Common symbols not allowed in MH_DYLIB files
13434 lt_prog_compiler_pic_CXX='-fno-common'
13437 # DJGPP does not support shared libraries at all
13438 lt_prog_compiler_pic_CXX=
13441 # PIC is the default for Haiku.
13442 # The "-static" flag exists, but is broken.
13443 lt_prog_compiler_static_CXX=
13446 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13447 # Instead, we relocate shared libraries at runtime.
13450 if test -d /usr/nec; then
13451 lt_prog_compiler_pic_CXX=-Kconform_pic
13455 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13456 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13457 # sets the default TLS model and affects inlining.
13462 lt_prog_compiler_pic_CXX='-fPIC'
13467 # QNX uses GNU C++, but need to define -shared option too, otherwise
13468 # it will coredump.
13469 lt_prog_compiler_pic_CXX='-fPIC -shared'
13472 lt_prog_compiler_pic_CXX='-fPIC'
13478 # All AIX code is PIC.
13479 if test "$host_cpu" = ia64; then
13480 # AIX 5 now supports IA64 processor
13481 lt_prog_compiler_static_CXX='-Bstatic'
13483 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13487 case $cc_basename in
13489 # Green Hills C++ Compiler
13490 # _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"
13495 case $cc_basename in
13497 lt_prog_compiler_pic_CXX='-KPIC'
13500 # Green Hills C++ Compiler
13501 lt_prog_compiler_pic_CXX='-pic'
13507 freebsd* | dragonfly*)
13508 # FreeBSD uses GNU C++
13510 hpux9* | hpux10* | hpux11*)
13511 case $cc_basename in
13513 lt_prog_compiler_wl_CXX='-Wl,'
13514 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13515 if test "$host_cpu" != ia64; then
13516 lt_prog_compiler_pic_CXX='+Z'
13520 lt_prog_compiler_wl_CXX='-Wl,'
13521 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13527 lt_prog_compiler_pic_CXX='+Z'
13536 # This is c89, which is MS Visual C++ (no shared libs)
13537 # Anyone wants to do a port?
13539 irix5* | irix6* | nonstopux*)
13540 case $cc_basename in
13542 lt_prog_compiler_wl_CXX='-Wl,'
13543 lt_prog_compiler_static_CXX='-non_shared'
13544 # CC pic flag -KPIC is the default.
13550 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13551 case $cc_basename in
13554 lt_prog_compiler_wl_CXX='--backend -Wl,'
13555 lt_prog_compiler_pic_CXX='-fPIC'
13558 # old Intel C++ for x86_64 which still supported -KPIC.
13559 lt_prog_compiler_wl_CXX='-Wl,'
13560 lt_prog_compiler_pic_CXX='-KPIC'
13561 lt_prog_compiler_static_CXX='-static'
13564 # Intel C++, used to be incompatible with GCC.
13565 # ICC 10 doesn't accept -KPIC any more.
13566 lt_prog_compiler_wl_CXX='-Wl,'
13567 lt_prog_compiler_pic_CXX='-fPIC'
13568 lt_prog_compiler_static_CXX='-static'
13571 # Portland Group C++ compiler
13572 lt_prog_compiler_wl_CXX='-Wl,'
13573 lt_prog_compiler_pic_CXX='-fpic'
13574 lt_prog_compiler_static_CXX='-Bstatic'
13578 # Make sure the PIC flag is empty. It appears that all Alpha
13579 # Linux and Compaq Tru64 Unix objects are PIC.
13580 lt_prog_compiler_pic_CXX=
13581 lt_prog_compiler_static_CXX='-non_shared'
13583 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13584 # IBM XL 8.0, 9.0 on PPC and BlueGene
13585 lt_prog_compiler_wl_CXX='-Wl,'
13586 lt_prog_compiler_pic_CXX='-qpic'
13587 lt_prog_compiler_static_CXX='-qstaticlink'
13590 case `$CC -V 2>&1 | sed 5q` in
13593 lt_prog_compiler_pic_CXX='-KPIC'
13594 lt_prog_compiler_static_CXX='-Bstatic'
13595 lt_prog_compiler_wl_CXX='-Qoption ld '
13606 case $cc_basename in
13608 lt_prog_compiler_pic_CXX='-W c,exportall'
13617 # QNX uses GNU C++, but need to define -shared option too, otherwise
13618 # it will coredump.
13619 lt_prog_compiler_pic_CXX='-fPIC -shared'
13621 osf3* | osf4* | osf5*)
13622 case $cc_basename in
13624 lt_prog_compiler_wl_CXX='--backend -Wl,'
13627 # Rational C++ 2.4.1
13628 lt_prog_compiler_pic_CXX='-pic'
13631 # Digital/Compaq C++
13632 lt_prog_compiler_wl_CXX='-Wl,'
13633 # Make sure the PIC flag is empty. It appears that all Alpha
13634 # Linux and Compaq Tru64 Unix objects are PIC.
13635 lt_prog_compiler_pic_CXX=
13636 lt_prog_compiler_static_CXX='-non_shared'
13645 case $cc_basename in
13647 # Sun C++ 4.2, 5.x and Centerline C++
13648 lt_prog_compiler_pic_CXX='-KPIC'
13649 lt_prog_compiler_static_CXX='-Bstatic'
13650 lt_prog_compiler_wl_CXX='-Qoption ld '
13653 # Green Hills C++ Compiler
13654 lt_prog_compiler_pic_CXX='-PIC'
13661 case $cc_basename in
13664 lt_prog_compiler_pic_CXX='-pic'
13665 lt_prog_compiler_static_CXX='-Bstatic'
13669 lt_prog_compiler_pic_CXX='-pic'
13675 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13676 case $cc_basename in
13678 lt_prog_compiler_wl_CXX='-Wl,'
13679 lt_prog_compiler_pic_CXX='-KPIC'
13680 lt_prog_compiler_static_CXX='-Bstatic'
13685 case $cc_basename in
13687 # NonStop-UX NCC 3.20
13688 lt_prog_compiler_pic_CXX='-KPIC'
13697 lt_prog_compiler_can_build_shared_CXX=no
13703 # For platforms which do not support PIC, -DPIC is meaningless:
13705 lt_prog_compiler_pic_CXX=
13708 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13712 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13717 # Check to make sure the PIC flag actually works.
13719 if test -n "$lt_prog_compiler_pic_CXX"; then
13720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13721 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13722 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13723 $as_echo_n "(cached) " >&6
13725 lt_cv_prog_compiler_pic_works_CXX=no
13726 ac_outfile=conftest.$ac_objext
13727 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13728 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13729 # Insert the option either (1) after the last *FLAGS variable, or
13730 # (2) before a word containing "conftest.", or (3) at the end.
13731 # Note that $ac_compile itself does not contain backslashes and begins
13732 # with a dollar sign (not a hyphen), so the echo should work correctly.
13733 # The option is referenced via a variable to avoid confusing sed.
13734 lt_compile=`echo "$ac_compile" | $SED \
13735 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13736 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13737 -e 's:$: $lt_compiler_flag:'`
13738 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13739 (eval "$lt_compile" 2>conftest.err)
13741 cat conftest.err >&5
13742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13743 if (exit $ac_status) && test -s "$ac_outfile"; then
13744 # The compiler can only warn and ignore the option if not recognized
13745 # So say no if there are warnings other than the usual output.
13746 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13747 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13748 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13749 lt_cv_prog_compiler_pic_works_CXX=yes
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13756 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13758 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13759 case $lt_prog_compiler_pic_CXX in
13761 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13764 lt_prog_compiler_pic_CXX=
13765 lt_prog_compiler_can_build_shared_CXX=no
13773 # Check to make sure the static flag actually works.
13775 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13777 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13778 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13779 $as_echo_n "(cached) " >&6
13781 lt_cv_prog_compiler_static_works_CXX=no
13782 save_LDFLAGS="$LDFLAGS"
13783 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13784 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13785 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13786 # The linker can only warn and ignore the option if not recognized
13787 # So say no if there are warnings
13788 if test -s conftest.err; then
13789 # Append any errors to the config.log.
13790 cat conftest.err 1>&5
13791 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13792 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13793 if diff conftest.exp conftest.er2 >/dev/null; then
13794 lt_cv_prog_compiler_static_works_CXX=yes
13797 lt_cv_prog_compiler_static_works_CXX=yes
13801 LDFLAGS="$save_LDFLAGS"
13804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13805 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13807 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13810 lt_prog_compiler_static_CXX=
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13817 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13818 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13819 $as_echo_n "(cached) " >&6
13821 lt_cv_prog_compiler_c_o_CXX=no
13822 $RM -r conftest 2>/dev/null
13826 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13828 lt_compiler_flag="-o out/conftest2.$ac_objext"
13829 # Insert the option either (1) after the last *FLAGS variable, or
13830 # (2) before a word containing "conftest.", or (3) at the end.
13831 # Note that $ac_compile itself does not contain backslashes and begins
13832 # with a dollar sign (not a hyphen), so the echo should work correctly.
13833 lt_compile=`echo "$ac_compile" | $SED \
13834 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13835 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13836 -e 's:$: $lt_compiler_flag:'`
13837 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13838 (eval "$lt_compile" 2>out/conftest.err)
13840 cat out/conftest.err >&5
13841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13842 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13844 # The compiler can only warn and ignore the option if not recognized
13845 # So say no if there are warnings
13846 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13847 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13848 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13849 lt_cv_prog_compiler_c_o_CXX=yes
13854 # SGI C++ compiler will create directory out/ii_files/ for
13855 # template instantiation
13856 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13857 $RM out/* && rmdir out
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13864 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13869 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13870 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13871 $as_echo_n "(cached) " >&6
13873 lt_cv_prog_compiler_c_o_CXX=no
13874 $RM -r conftest 2>/dev/null
13878 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13880 lt_compiler_flag="-o out/conftest2.$ac_objext"
13881 # Insert the option either (1) after the last *FLAGS variable, or
13882 # (2) before a word containing "conftest.", or (3) at the end.
13883 # Note that $ac_compile itself does not contain backslashes and begins
13884 # with a dollar sign (not a hyphen), so the echo should work correctly.
13885 lt_compile=`echo "$ac_compile" | $SED \
13886 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13887 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13888 -e 's:$: $lt_compiler_flag:'`
13889 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13890 (eval "$lt_compile" 2>out/conftest.err)
13892 cat out/conftest.err >&5
13893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13894 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13896 # The compiler can only warn and ignore the option if not recognized
13897 # So say no if there are warnings
13898 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13899 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13900 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13901 lt_cv_prog_compiler_c_o_CXX=yes
13906 # SGI C++ compiler will create directory out/ii_files/ for
13907 # template instantiation
13908 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13909 $RM out/* && rmdir out
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13916 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13921 hard_links="nottested"
13922 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13923 # do not overwrite the value of need_locks provided by the user
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13925 $as_echo_n "checking if we can lock with hard links... " >&6; }
13928 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13930 ln conftest.a conftest.b 2>&5 || hard_links=no
13931 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13933 $as_echo "$hard_links" >&6; }
13934 if test "$hard_links" = no; then
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13936 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13946 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13948 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13951 # If we're using GNU nm, then we don't want the "-C" option.
13952 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13953 # Also, AIX nm treats weak defined symbols like other global defined
13954 # symbols, whereas GNU nm marks them as "W".
13955 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13956 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'
13958 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'
13962 export_symbols_cmds_CXX="$ltdll_cmds"
13964 cygwin* | mingw* | cegcc*)
13965 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'
13968 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13971 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13974 $as_echo "$ld_shlibs_CXX" >&6; }
13975 test "$ld_shlibs_CXX" = no && can_build_shared=no
13977 with_gnu_ld_CXX=$with_gnu_ld
13985 # Do we need to explicitly link libc?
13987 case "x$archive_cmds_need_lc_CXX" in
13989 # Assume -lc should be added
13990 archive_cmds_need_lc_CXX=yes
13992 if test "$enable_shared" = yes && test "$GCC" = yes; then
13993 case $archive_cmds_CXX in
13995 # FIXME: we may have to deal with multi-command sequences.
13998 # Test whether the compiler implicitly links with -lc since on some
13999 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14000 # to ld, don't add -lc before -lgcc.
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14002 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14003 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14004 $as_echo_n "(cached) " >&6
14007 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14009 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14010 (eval $ac_compile) 2>&5
14012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14013 test $ac_status = 0; } 2>conftest.err; then
14016 libobjs=conftest.$ac_objext
14018 wl=$lt_prog_compiler_wl_CXX
14019 pic_flag=$lt_prog_compiler_pic_CXX
14025 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14026 allow_undefined_flag_CXX=
14027 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14028 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14030 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14031 test $ac_status = 0; }
14033 lt_cv_archive_cmds_need_lc_CXX=no
14035 lt_cv_archive_cmds_need_lc_CXX=yes
14037 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14039 cat conftest.err 1>&5
14044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14045 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14046 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14117 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14119 library_names_spec=
14120 libname_spec='lib$name'
14124 postuninstall_cmds=
14128 shlibpath_overrides_runpath=unknown
14130 dynamic_linker="$host_os ld.so"
14131 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14132 need_lib_prefix=unknown
14133 hardcode_into_libs=no
14135 # when you set need_version to no, make sure it does not cause -set_version
14136 # flags to be left without arguments
14137 need_version=unknown
14142 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14143 shlibpath_var=LIBPATH
14145 # AIX 3 has no versioning support, so we append a major version to the name.
14146 soname_spec='${libname}${release}${shared_ext}$major'
14153 hardcode_into_libs=yes
14154 if test "$host_cpu" = ia64; then
14155 # AIX 5 supports IA64
14156 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14157 shlibpath_var=LD_LIBRARY_PATH
14159 # With GCC up to 2.95.x, collect2 would create an import file
14160 # for dependence libraries. The import file would start with
14161 # the line `#! .'. This would cause the generated library to
14162 # depend on `.', always an invalid library. This was fixed in
14163 # development snapshots of GCC prior to 3.0.
14165 aix4 | aix4.[01] | aix4.[01].*)
14166 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14168 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14171 can_build_shared=no
14175 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14176 # soname into executable. Probably we can add versioning support to
14177 # collect2, so additional links can be useful in future.
14178 if test "$aix_use_runtimelinking" = yes; then
14179 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14180 # instead of lib<name>.a to let people know that these are not
14181 # typical AIX shared libraries.
14182 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14184 # We preserve .a as extension for shared libraries through AIX4.2
14185 # and later when we are not doing run time linking.
14186 library_names_spec='${libname}${release}.a $libname.a'
14187 soname_spec='${libname}${release}${shared_ext}$major'
14189 shlibpath_var=LIBPATH
14196 # Since July 2007 AmigaOS4 officially supports .so libraries.
14197 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14198 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14201 library_names_spec='$libname.ixlibrary $libname.a'
14202 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14203 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'
14209 library_names_spec='${libname}${shared_ext}'
14210 dynamic_linker="$host_os ld.so"
14211 shlibpath_var=LIBRARY_PATH
14217 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14218 soname_spec='${libname}${release}${shared_ext}$major'
14219 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14220 shlibpath_var=LD_LIBRARY_PATH
14221 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14222 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14223 # the default ld.so.conf also contains /usr/contrib/lib and
14224 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14225 # libtool to hard-code these into programs
14228 cygwin* | mingw* | pw32* | cegcc*)
14229 version_type=windows
14234 case $GCC,$host_os in
14235 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14236 library_names_spec='$libname.dll.a'
14237 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14238 postinstall_cmds='base_file=`basename \${file}`~
14239 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14240 dldir=$destdir/`dirname \$dlpath`~
14241 test -d \$dldir || mkdir -p \$dldir~
14242 $install_prog $dir/$dlname \$dldir/$dlname~
14243 chmod a+x \$dldir/$dlname~
14244 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14245 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14247 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14248 dlpath=$dir/\$dldll~
14250 shlibpath_overrides_runpath=yes
14254 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14255 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14259 # MinGW DLLs use traditional 'lib' prefix
14260 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14263 # pw32 DLLs use 'pw' prefix rather than 'lib'
14264 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14270 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14273 dynamic_linker='Win32 ld.exe'
14274 # FIXME: first we should search . and the directory the executable is in
14278 darwin* | rhapsody*)
14279 dynamic_linker="$host_os dyld"
14280 version_type=darwin
14283 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14284 soname_spec='${libname}${release}${major}$shared_ext'
14285 shlibpath_overrides_runpath=yes
14286 shlibpath_var=DYLD_LIBRARY_PATH
14287 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14289 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14296 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14297 soname_spec='${libname}${release}${shared_ext}$major'
14298 shlibpath_var=LD_LIBRARY_PATH
14301 freebsd* | dragonfly*)
14302 # DragonFly does not have aout. When/if they implement a new
14303 # versioning mechanism, adjust this.
14304 if test -x /usr/bin/objformat; then
14305 objformat=`/usr/bin/objformat`
14308 freebsd[23].*) objformat=aout ;;
14309 *) objformat=elf ;;
14312 version_type=freebsd-$objformat
14313 case $version_type in
14315 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14320 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14324 shlibpath_var=LD_LIBRARY_PATH
14327 shlibpath_overrides_runpath=yes
14329 freebsd3.[01]* | freebsdelf3.[01]*)
14330 shlibpath_overrides_runpath=yes
14331 hardcode_into_libs=yes
14333 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14334 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14335 shlibpath_overrides_runpath=no
14336 hardcode_into_libs=yes
14338 *) # from 4.6 on, and DragonFly
14339 shlibpath_overrides_runpath=yes
14340 hardcode_into_libs=yes
14349 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14350 soname_spec='${libname}${release}${shared_ext}$major'
14351 shlibpath_var=LD_LIBRARY_PATH
14352 hardcode_into_libs=yes
14359 dynamic_linker="$host_os runtime_loader"
14360 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14361 soname_spec='${libname}${release}${shared_ext}$major'
14362 shlibpath_var=LIBRARY_PATH
14363 shlibpath_overrides_runpath=yes
14364 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14365 hardcode_into_libs=yes
14368 hpux9* | hpux10* | hpux11*)
14369 # Give a soname corresponding to the major version so that dld.sl refuses to
14370 # link against other versions.
14377 hardcode_into_libs=yes
14378 dynamic_linker="$host_os dld.so"
14379 shlibpath_var=LD_LIBRARY_PATH
14380 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14381 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14382 soname_spec='${libname}${release}${shared_ext}$major'
14383 if test "X$HPUX_IA64_MODE" = X32; then
14384 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14386 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14388 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14392 hardcode_into_libs=yes
14393 dynamic_linker="$host_os dld.sl"
14394 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14395 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14396 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14397 soname_spec='${libname}${release}${shared_ext}$major'
14398 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14399 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14403 dynamic_linker="$host_os dld.sl"
14404 shlibpath_var=SHLIB_PATH
14405 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14406 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14407 soname_spec='${libname}${release}${shared_ext}$major'
14410 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14411 postinstall_cmds='chmod 555 $lib'
14412 # or fails outright, so override atomically:
14413 install_override_mode=555
14420 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14421 soname_spec='${libname}${release}${shared_ext}$major'
14422 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14423 shlibpath_var=LD_LIBRARY_PATH
14424 shlibpath_overrides_runpath=no
14425 hardcode_into_libs=yes
14428 irix5* | irix6* | nonstopux*)
14430 nonstopux*) version_type=nonstopux ;;
14432 if test "$lt_cv_prog_gnu_ld" = yes; then
14440 soname_spec='${libname}${release}${shared_ext}$major'
14441 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14443 irix5* | nonstopux*)
14444 libsuff= shlibsuff=
14447 case $LD in # libtool.m4 will add one of these switches to LD
14448 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14449 libsuff= shlibsuff= libmagic=32-bit;;
14450 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14451 libsuff=32 shlibsuff=N32 libmagic=N32;;
14452 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14453 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14454 *) libsuff= shlibsuff= libmagic=never-match;;
14458 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14459 shlibpath_overrides_runpath=no
14460 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14461 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14462 hardcode_into_libs=yes
14465 # No shared lib support for Linux oldld, aout, or coff.
14466 linux*oldld* | linux*aout* | linux*coff*)
14470 # This must be Linux ELF.
14471 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14475 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14476 soname_spec='${libname}${release}${shared_ext}$major'
14477 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14478 shlibpath_var=LD_LIBRARY_PATH
14479 shlibpath_overrides_runpath=no
14481 # Some binutils ld are patched to set DT_RUNPATH
14482 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14483 $as_echo_n "(cached) " >&6
14485 lt_cv_shlibpath_overrides_runpath=no
14486 save_LDFLAGS=$LDFLAGS
14487 save_libdir=$libdir
14488 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14489 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14490 if test x$gcc_no_link = xyes; then
14491 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14494 /* end confdefs.h. */
14504 if ac_fn_cxx_try_link "$LINENO"; then :
14505 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14506 lt_cv_shlibpath_overrides_runpath=yes
14509 rm -f core conftest.err conftest.$ac_objext \
14510 conftest$ac_exeext conftest.$ac_ext
14511 LDFLAGS=$save_LDFLAGS
14512 libdir=$save_libdir
14516 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14518 # This implies no fast_install, which is unacceptable.
14519 # Some rework will be needed to allow for fast_install
14520 # before this can be enabled.
14521 hardcode_into_libs=yes
14523 # Append ld.so.conf contents to the search path
14524 if test -f /etc/ld.so.conf; then
14525 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' ' '`
14526 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14529 # We used to test for /lib/ld.so.1 and disable shared libraries on
14530 # powerpc, because MkLinux only supported shared libraries with the
14531 # GNU dynamic linker. Since this was broken with cross compilers,
14532 # most powerpc-linux boxes support dynamic linking these days and
14533 # people can always --disable-shared, the test was removed, and we
14534 # assume the GNU/Linux dynamic linker is in use.
14535 dynamic_linker='GNU/Linux ld.so'
14542 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14543 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14544 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14545 dynamic_linker='NetBSD (a.out) ld.so'
14547 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14548 soname_spec='${libname}${release}${shared_ext}$major'
14549 dynamic_linker='NetBSD ld.elf_so'
14551 shlibpath_var=LD_LIBRARY_PATH
14552 shlibpath_overrides_runpath=yes
14553 hardcode_into_libs=yes
14558 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14559 shlibpath_var=LD_LIBRARY_PATH
14560 shlibpath_overrides_runpath=yes
14567 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14568 soname_spec='${libname}${release}${shared_ext}$major'
14569 shlibpath_var=LD_LIBRARY_PATH
14570 shlibpath_overrides_runpath=no
14571 hardcode_into_libs=yes
14572 dynamic_linker='ldqnx.so'
14577 sys_lib_dlsearch_path_spec="/usr/lib"
14579 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14581 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14582 *) need_version=no ;;
14584 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14585 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14586 shlibpath_var=LD_LIBRARY_PATH
14587 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14589 openbsd2.[89] | openbsd2.[89].*)
14590 shlibpath_overrides_runpath=no
14593 shlibpath_overrides_runpath=yes
14597 shlibpath_overrides_runpath=yes
14602 libname_spec='$name'
14605 library_names_spec='$libname${shared_ext} $libname.a'
14606 dynamic_linker='OS/2 ld.exe'
14607 shlibpath_var=LIBPATH
14610 osf3* | osf4* | osf5*)
14614 soname_spec='${libname}${release}${shared_ext}$major'
14615 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14616 shlibpath_var=LD_LIBRARY_PATH
14617 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14618 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14629 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14630 soname_spec='${libname}${release}${shared_ext}$major'
14631 shlibpath_var=LD_LIBRARY_PATH
14632 shlibpath_overrides_runpath=yes
14633 hardcode_into_libs=yes
14634 # ldd complains unless libraries are executable
14635 postinstall_cmds='chmod +x $lib'
14640 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14641 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14642 shlibpath_var=LD_LIBRARY_PATH
14643 shlibpath_overrides_runpath=yes
14644 if test "$with_gnu_ld" = yes; then
14652 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14653 soname_spec='${libname}${release}${shared_ext}$major'
14654 shlibpath_var=LD_LIBRARY_PATH
14655 case $host_vendor in
14657 shlibpath_overrides_runpath=no
14659 runpath_var=LD_RUN_PATH
14667 shlibpath_overrides_runpath=no
14668 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14674 if test -d /usr/nec ;then
14676 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14677 soname_spec='$libname${shared_ext}.$major'
14678 shlibpath_var=LD_LIBRARY_PATH
14682 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14683 version_type=freebsd-elf
14686 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14687 soname_spec='${libname}${release}${shared_ext}$major'
14688 shlibpath_var=LD_LIBRARY_PATH
14689 shlibpath_overrides_runpath=yes
14690 hardcode_into_libs=yes
14691 if test "$with_gnu_ld" = yes; then
14692 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14694 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14697 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14701 sys_lib_dlsearch_path_spec='/usr/lib'
14705 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14709 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14710 shlibpath_var=LD_LIBRARY_PATH
14711 shlibpath_overrides_runpath=no
14712 hardcode_into_libs=yes
14717 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14718 soname_spec='${libname}${release}${shared_ext}$major'
14719 shlibpath_var=LD_LIBRARY_PATH
14726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14727 $as_echo "$dynamic_linker" >&6; }
14728 test "$dynamic_linker" = no && can_build_shared=no
14730 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14731 if test "$GCC" = yes; then
14732 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14735 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14736 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14738 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14739 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14780 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14781 hardcode_action_CXX=
14782 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14783 test -n "$runpath_var_CXX" ||
14784 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14786 # We can hardcode non-existent directories.
14787 if test "$hardcode_direct_CXX" != no &&
14788 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14789 # have to relink, otherwise we might link with an installed library
14790 # when we should be linking with a yet-to-be-installed one
14791 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14792 test "$hardcode_minus_L_CXX" != no; then
14793 # Linking always hardcodes the temporary library directory.
14794 hardcode_action_CXX=relink
14796 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14797 hardcode_action_CXX=immediate
14800 # We cannot hardcode anything, or else we can only hardcode existing
14802 hardcode_action_CXX=unsupported
14804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14805 $as_echo "$hardcode_action_CXX" >&6; }
14807 if test "$hardcode_action_CXX" = relink ||
14808 test "$inherit_rpath_CXX" = yes; then
14809 # Fast installation is not supported
14810 enable_fast_install=no
14811 elif test "$shlibpath_overrides_runpath" = yes ||
14812 test "$enable_shared" = no; then
14813 # Fast installation is not necessary
14814 enable_fast_install=needless
14823 fi # test -n "$compiler"
14829 with_gnu_ld=$lt_save_with_gnu_ld
14830 lt_cv_path_LDCXX=$lt_cv_path_LD
14831 lt_cv_path_LD=$lt_save_path_LD
14832 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14833 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14834 fi # test "$_lt_caught_CXX_error" != yes
14837 ac_cpp='$CPP $CPPFLAGS'
14838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14854 ac_config_commands="$ac_config_commands libtool"
14859 # Only expand once:
14866 *-cygwin* | *-mingw*)
14867 # 'host' will be top-level target in the case of a target lib,
14868 # we must compare to with_cross_host to decide if this is a native
14869 # or cross-compiler and select where to install dlls appropriately.
14870 if test -n "$with_cross_host" &&
14871 test x"$with_cross_host" != x"no"; then
14872 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14874 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14887 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14888 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14890 # Possibly disable most of the library.
14891 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14892 ## than just ignoring the results. Faster /and/ more correct, win win.
14894 # Check whether --enable-hosted-libstdcxx was given.
14895 if test "${enable_hosted_libstdcxx+set}" = set; then :
14896 enableval=$enable_hosted_libstdcxx;
14899 arm*-*-symbianelf*)
14900 enable_hosted_libstdcxx=no
14903 enable_hosted_libstdcxx=yes
14908 if test "$enable_hosted_libstdcxx" = no; then
14909 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14910 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14913 enable_abi_check=no
14914 enable_libstdcxx_pch=no
14921 cat >>confdefs.h <<_ACEOF
14922 #define _GLIBCXX_HOSTED $hosted_define
14927 # Enable compiler support that doesn't require linking.
14929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14930 $as_echo_n "checking for exception model to use... " >&6; }
14933 ac_cpp='$CXXCPP $CPPFLAGS'
14934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14938 # Check whether --enable-sjlj-exceptions was given.
14939 if test "${enable_sjlj_exceptions+set}" = set; then :
14940 enableval=$enable_sjlj_exceptions;
14941 case "$enableval" in
14943 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
14947 enable_sjlj_exceptions=auto
14952 if test $enable_sjlj_exceptions = auto; then
14953 # Botheration. Now we've got to detect the exception model. Link tests
14954 # against libgcc.a are problematic since we've not been given proper -L
14955 # bits for single-tree newlib and libgloss.
14957 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
14958 cat > conftest.$ac_ext << EOF
14959 #line 14959 "configure"
14960 struct S { ~S(); };
14968 old_CXXFLAGS="$CXXFLAGS"
14970 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14971 (eval $ac_compile) 2>&5
14973 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14974 test $ac_status = 0; }; then
14975 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14976 enable_sjlj_exceptions=yes
14977 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14978 enable_sjlj_exceptions=no
14979 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14980 enable_sjlj_exceptions=no
14983 CXXFLAGS="$old_CXXFLAGS"
14987 # This is a tad weird, for hysterical raisins. We have to map
14988 # enable/disable to two different models.
14989 case $enable_sjlj_exceptions in
14992 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
14994 ac_exception_model_name=sjlj
14997 ac_exception_model_name="call frame"
15000 as_fn_error "unable to detect exception model" "$LINENO" 5
15004 ac_cpp='$CPP $CPPFLAGS'
15005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15010 $as_echo "$ac_exception_model_name" >&6; }
15013 # Check whether --enable-libstdcxx-pch was given.
15014 if test "${enable_libstdcxx_pch+set}" = set; then :
15015 enableval=$enable_libstdcxx_pch;
15016 case "$enableval" in
15018 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15022 enable_libstdcxx_pch=$is_hosted
15026 if test $enable_libstdcxx_pch = yes; then
15027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15028 $as_echo_n "checking for compiler with PCH support... " >&6; }
15029 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15030 $as_echo_n "(cached) " >&6
15032 ac_save_CXXFLAGS="$CXXFLAGS"
15033 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15036 ac_cpp='$CXXCPP $CPPFLAGS'
15037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15041 echo '#include <math.h>' > conftest.h
15042 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15043 -o conftest.h.gch 1>&5 2>&1 &&
15044 echo '#error "pch failed"' > conftest.h &&
15045 echo '#include "conftest.h"' > conftest.cc &&
15046 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15048 glibcxx_cv_prog_CXX_pch=yes
15050 glibcxx_cv_prog_CXX_pch=no
15053 CXXFLAGS=$ac_save_CXXFLAGS
15055 ac_cpp='$CPP $CPPFLAGS'
15056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15063 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15064 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15068 $as_echo_n "checking for enabled PCH... " >&6; }
15069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15070 $as_echo "$enable_libstdcxx_pch" >&6; }
15073 if test $enable_libstdcxx_pch = yes; then
15074 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15076 glibcxx_PCHFLAGS=""
15081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15082 $as_echo_n "checking for thread model used by GCC... " >&6; }
15083 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15085 $as_echo "$target_thread_file" >&6; }
15090 ac_cpp='$CXXCPP $CPPFLAGS'
15091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15095 old_CXXFLAGS="$CXXFLAGS"
15097 # Do link tests if possible, instead asm tests, limited to some platforms
15098 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15099 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15100 atomic_builtins_link_tests=no
15101 if test x$gcc_no_link != xyes; then
15102 # Can do link tests. Limit to some tested platforms
15104 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15105 atomic_builtins_link_tests=yes
15110 if test x$atomic_builtins_link_tests = xyes; then
15114 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15117 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15118 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15119 $as_echo_n "(cached) " >&6
15122 if test x$gcc_no_link = xyes; then
15123 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15126 /* end confdefs.h. */
15131 typedef bool atomic_type;
15135 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15136 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15138 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15139 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15145 if ac_fn_cxx_try_link "$LINENO"; then :
15146 glibcxx_cv_atomic_bool=yes
15148 glibcxx_cv_atomic_bool=no
15150 rm -f core conftest.err conftest.$ac_objext \
15151 conftest$ac_exeext conftest.$ac_ext
15155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15156 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15159 $as_echo_n "checking for atomic builtins for short... " >&6; }
15160 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15161 $as_echo_n "(cached) " >&6
15164 if test x$gcc_no_link = xyes; then
15165 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15168 /* end confdefs.h. */
15173 typedef short atomic_type;
15177 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15178 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15180 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15181 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15187 if ac_fn_cxx_try_link "$LINENO"; then :
15188 glibcxx_cv_atomic_short=yes
15190 glibcxx_cv_atomic_short=no
15192 rm -f core conftest.err conftest.$ac_objext \
15193 conftest$ac_exeext conftest.$ac_ext
15197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15198 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15201 $as_echo_n "checking for atomic builtins for int... " >&6; }
15202 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15203 $as_echo_n "(cached) " >&6
15206 if test x$gcc_no_link = xyes; then
15207 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15210 /* end confdefs.h. */
15215 typedef int atomic_type;
15219 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15220 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15222 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15223 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15229 if ac_fn_cxx_try_link "$LINENO"; then :
15230 glibcxx_cv_atomic_int=yes
15232 glibcxx_cv_atomic_int=no
15234 rm -f core conftest.err conftest.$ac_objext \
15235 conftest$ac_exeext conftest.$ac_ext
15239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15240 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15243 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15244 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15245 $as_echo_n "(cached) " >&6
15248 if test x$gcc_no_link = xyes; then
15249 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15252 /* end confdefs.h. */
15257 typedef long long atomic_type;
15261 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15262 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15264 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15265 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15271 if ac_fn_cxx_try_link "$LINENO"; then :
15272 glibcxx_cv_atomic_long_long=yes
15274 glibcxx_cv_atomic_long_long=no
15276 rm -f core conftest.err conftest.$ac_objext \
15277 conftest$ac_exeext conftest.$ac_ext
15281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15282 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15288 # Compile unoptimized.
15291 # Fake what AC_TRY_COMPILE does.
15293 cat > conftest.$ac_ext << EOF
15294 #line 15294 "configure"
15297 typedef bool atomic_type;
15301 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15302 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15304 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15305 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15312 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15313 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15314 (eval $ac_compile) 2>&5
15316 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15317 test $ac_status = 0; }; then
15318 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15319 glibcxx_cv_atomic_bool=no
15321 glibcxx_cv_atomic_bool=yes
15324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15325 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15328 cat > conftest.$ac_ext << EOF
15329 #line 15329 "configure"
15332 typedef short atomic_type;
15336 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15337 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15339 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15340 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15347 $as_echo_n "checking for atomic builtins for short... " >&6; }
15348 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15349 (eval $ac_compile) 2>&5
15351 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15352 test $ac_status = 0; }; then
15353 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15354 glibcxx_cv_atomic_short=no
15356 glibcxx_cv_atomic_short=yes
15359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15360 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15363 cat > conftest.$ac_ext << EOF
15364 #line 15364 "configure"
15367 // NB: _Atomic_word not necessarily int.
15368 typedef int atomic_type;
15372 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15373 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15375 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15376 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15383 $as_echo_n "checking for atomic builtins for int... " >&6; }
15384 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15385 (eval $ac_compile) 2>&5
15387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15388 test $ac_status = 0; }; then
15389 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15390 glibcxx_cv_atomic_int=no
15392 glibcxx_cv_atomic_int=yes
15395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15396 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15399 cat > conftest.$ac_ext << EOF
15400 #line 15400 "configure"
15403 typedef long long atomic_type;
15407 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15408 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15410 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15411 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15418 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15419 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15420 (eval $ac_compile) 2>&5
15422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15423 test $ac_status = 0; }; then
15424 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15425 glibcxx_cv_atomic_long_long=no
15427 glibcxx_cv_atomic_long_long=yes
15430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15431 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15436 CXXFLAGS="$old_CXXFLAGS"
15438 ac_cpp='$CPP $CPPFLAGS'
15439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15444 # Set atomicity_dir to builtins if all of above tests pass.
15445 if test $glibcxx_cv_atomic_bool = yes \
15446 && test $glibcxx_cv_atomic_short = yes \
15447 && test $glibcxx_cv_atomic_int = yes \
15448 && test $glibcxx_cv_atomic_long_long = yes ; then
15450 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15452 atomicity_dir=cpu/generic/atomicity_builtins
15455 # If still generic, set to mutex.
15456 if test $atomicity_dir = "cpu/generic" ; then
15457 atomicity_dir=cpu/generic/atomicity_mutex
15458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15459 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15460 if test "x$target_thread_file" = xsingle; then
15461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15462 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15464 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15467 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15469 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15476 # Fake what AC_TRY_COMPILE does, without linking as this is
15477 # unnecessary for this test.
15479 cat > conftest.$ac_ext << EOF
15480 #line 15480 "configure"
15490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15491 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15492 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15493 (eval $ac_compile) 2>&5
15495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15496 test $ac_status = 0; }; then
15498 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15505 $as_echo "$enable_dfp" >&6; }
15512 ac_cpp='$CXXCPP $CPPFLAGS'
15513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15518 # Fake what AC_TRY_COMPILE does, without linking as this is
15519 # unnecessary for this test.
15521 cat > conftest.$ac_ext << EOF
15522 #line 15522 "configure"
15523 template<typename T1, typename T2>
15525 { typedef T2 type; };
15527 template<typename T>
15532 typename same<long, __int128>::type i1;
15533 typename same<long long, __int128>::type i2;
15537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15538 $as_echo_n "checking for __int128... " >&6; }
15539 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15540 (eval $ac_compile) 2>&5
15542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15543 test $ac_status = 0; }; then
15545 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15552 $as_echo "$enable_int128" >&6; }
15555 cat > conftest.$ac_ext << EOF
15556 #line 15556 "configure"
15557 template<typename T1, typename T2>
15559 { typedef T2 type; };
15561 template<typename T>
15566 typename same<double, __float128>::type f1;
15567 typename same<long double, __float128>::type f2;
15571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15572 $as_echo_n "checking for __float128... " >&6; }
15573 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15574 (eval $ac_compile) 2>&5
15576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15577 test $ac_status = 0; }; then
15579 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15581 enable_float128=yes
15585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15586 $as_echo "$enable_float128" >&6; }
15590 ac_cpp='$CPP $CPPFLAGS'
15591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15597 # Checks for compiler support that doesn't require linking.
15599 # All these tests are for C++; save the language and the compiler flags.
15600 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15601 # found in GLIBCXX_CONFIGURE.
15604 ac_cpp='$CXXCPP $CPPFLAGS'
15605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15609 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15610 ac_save_CXXFLAGS="$CXXFLAGS"
15612 # Check for maintainer-mode bits.
15613 if test x"$USE_MAINTAINER_MODE" = xno; then
15619 # Check for -ffunction-sections -fdata-sections
15620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15621 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15622 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15624 /* end confdefs.h. */
15625 int foo; void bar() { };
15634 if ac_fn_cxx_try_compile "$LINENO"; then :
15639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15640 if test "$ac_test_CXXFLAGS" = set; then
15641 CXXFLAGS="$ac_save_CXXFLAGS"
15643 # this is the suspicious part
15646 if test x"$ac_fdsections" = x"yes"; then
15647 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15650 $as_echo "$ac_fdsections" >&6; }
15653 ac_cpp='$CPP $CPPFLAGS'
15654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15662 # Enable all the variable C++ runtime options that don't require linking.
15664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15665 $as_echo_n "checking for underlying I/O to use... " >&6; }
15666 # Check whether --enable-cstdio was given.
15667 if test "${enable_cstdio+set}" = set; then :
15668 enableval=$enable_cstdio;
15669 case "$enableval" in
15671 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15675 enable_cstdio=stdio
15680 # Now that libio has been removed, you can have any color you want as long
15681 # as it's black. This is one big no-op until other packages are added, but
15682 # showing the framework never hurts.
15683 case ${enable_cstdio} in
15685 CSTDIO_H=config/io/c_io_stdio.h
15686 BASIC_FILE_H=config/io/basic_file_stdio.h
15687 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15689 $as_echo "stdio" >&6; }
15698 # Check whether --enable-clocale was given.
15699 if test "${enable_clocale+set}" = set; then :
15700 enableval=$enable_clocale;
15701 case "$enableval" in
15702 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15703 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15707 enable_clocale=auto
15712 # Deal with gettext issues. Default to not using it (=no) until we detect
15713 # support for it later. Let the user turn it off via --e/d, but let that
15714 # default to on for easier handling.
15716 # Check whether --enable-nls was given.
15717 if test "${enable_nls+set}" = set; then :
15718 enableval=$enable_nls;
15724 # Either a known package, or "auto"
15725 if test $enable_clocale = no || test $enable_clocale = yes; then
15726 enable_clocale=auto
15728 enable_clocale_flag=$enable_clocale
15730 # Probe for locale model to use if none specified.
15731 # Default to "generic".
15732 if test $enable_clocale_flag = auto; then
15733 case ${target_os} in
15734 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15735 enable_clocale_flag=gnu
15737 darwin* | freebsd*)
15738 enable_clocale_flag=darwin
15741 if test x"$with_newlib" = x"yes"; then
15742 enable_clocale_flag=newlib
15744 enable_clocale_flag=generic
15750 # Sanity check model, and test for special functionality.
15751 if test $enable_clocale_flag = gnu; then
15752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15753 /* end confdefs.h. */
15755 #include <features.h>
15756 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15761 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15762 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15763 enable_clocale_flag=gnu
15765 enable_clocale_flag=generic
15770 # Set it to scream when it hurts.
15771 ac_save_CFLAGS="$CFLAGS"
15772 CFLAGS="-Wimplicit-function-declaration -Werror"
15774 # Use strxfrm_l if available.
15775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15776 /* end confdefs.h. */
15777 #define _GNU_SOURCE 1
15778 #include <string.h>
15779 #include <locale.h>
15783 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15788 if ac_fn_c_try_compile "$LINENO"; then :
15790 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15795 # Use strerror_l if available.
15796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15797 /* end confdefs.h. */
15798 #define _GNU_SOURCE 1
15799 #include <string.h>
15800 #include <locale.h>
15804 __locale_t loc; strerror_l(5, loc);
15809 if ac_fn_c_try_compile "$LINENO"; then :
15811 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15816 CFLAGS="$ac_save_CFLAGS"
15819 # Perhaps use strerror_r if available, and strerror_l isn't.
15820 ac_save_CFLAGS="$CFLAGS"
15821 CFLAGS="-Wimplicit-function-declaration -Werror"
15822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15823 /* end confdefs.h. */
15824 #define _GNU_SOURCE 1
15825 #include <string.h>
15826 #include <locale.h>
15830 char s[128]; strerror_r(5, s, 128);
15835 if ac_fn_c_try_compile "$LINENO"; then :
15837 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15841 CFLAGS="$ac_save_CFLAGS"
15843 # Set configure bits for specified locale package
15844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15845 $as_echo_n "checking for C locale to use... " >&6; }
15846 case ${enable_clocale_flag} in
15848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15849 $as_echo "generic" >&6; }
15851 CLOCALE_H=config/locale/generic/c_locale.h
15852 CLOCALE_CC=config/locale/generic/c_locale.cc
15853 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15854 CCOLLATE_CC=config/locale/generic/collate_members.cc
15855 CCTYPE_CC=config/locale/generic/ctype_members.cc
15856 CMESSAGES_H=config/locale/generic/messages_members.h
15857 CMESSAGES_CC=config/locale/generic/messages_members.cc
15858 CMONEY_CC=config/locale/generic/monetary_members.cc
15859 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15860 CTIME_H=config/locale/generic/time_members.h
15861 CTIME_CC=config/locale/generic/time_members.cc
15862 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15866 $as_echo "darwin or freebsd" >&6; }
15868 CLOCALE_H=config/locale/generic/c_locale.h
15869 CLOCALE_CC=config/locale/generic/c_locale.cc
15870 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15871 CCOLLATE_CC=config/locale/generic/collate_members.cc
15872 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15873 CMESSAGES_H=config/locale/generic/messages_members.h
15874 CMESSAGES_CC=config/locale/generic/messages_members.cc
15875 CMONEY_CC=config/locale/generic/monetary_members.cc
15876 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15877 CTIME_H=config/locale/generic/time_members.h
15878 CTIME_CC=config/locale/generic/time_members.cc
15879 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15884 $as_echo "gnu" >&6; }
15886 # Declare intention to use gettext, and add support for specific
15888 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15889 ALL_LINGUAS="de fr"
15891 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15892 # Extract the first word of "msgfmt", so it can be a program name with args.
15893 set dummy msgfmt; ac_word=$2
15894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15895 $as_echo_n "checking for $ac_word... " >&6; }
15896 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15897 $as_echo_n "(cached) " >&6
15899 if test -n "$check_msgfmt"; then
15900 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15903 for as_dir in $PATH
15906 test -z "$as_dir" && as_dir=.
15907 for ac_exec_ext in '' $ac_executable_extensions; do
15908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15909 ac_cv_prog_check_msgfmt="yes"
15910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15917 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15920 check_msgfmt=$ac_cv_prog_check_msgfmt
15921 if test -n "$check_msgfmt"; then
15922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15923 $as_echo "$check_msgfmt" >&6; }
15925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15926 $as_echo "no" >&6; }
15930 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15933 # Export the build objects.
15934 for ling in $ALL_LINGUAS; do \
15935 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15936 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15941 CLOCALE_H=config/locale/gnu/c_locale.h
15942 CLOCALE_CC=config/locale/gnu/c_locale.cc
15943 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15944 CCOLLATE_CC=config/locale/gnu/collate_members.cc
15945 CCTYPE_CC=config/locale/gnu/ctype_members.cc
15946 CMESSAGES_H=config/locale/gnu/messages_members.h
15947 CMESSAGES_CC=config/locale/gnu/messages_members.cc
15948 CMONEY_CC=config/locale/gnu/monetary_members.cc
15949 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15950 CTIME_H=config/locale/gnu/time_members.h
15951 CTIME_CC=config/locale/gnu/time_members.cc
15952 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15956 $as_echo "IEEE 1003.1" >&6; }
15958 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15959 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15960 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15961 CCOLLATE_CC=config/locale/generic/collate_members.cc
15962 CCTYPE_CC=config/locale/generic/ctype_members.cc
15963 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15964 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15965 CMONEY_CC=config/locale/generic/monetary_members.cc
15966 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15967 CTIME_H=config/locale/generic/time_members.h
15968 CTIME_CC=config/locale/generic/time_members.cc
15969 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
15973 $as_echo "newlib" >&6; }
15975 CLOCALE_H=config/locale/generic/c_locale.h
15976 CLOCALE_CC=config/locale/generic/c_locale.cc
15977 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15978 CCOLLATE_CC=config/locale/generic/collate_members.cc
15979 CCTYPE_CC=config/locale/newlib/ctype_members.cc
15980 CMESSAGES_H=config/locale/generic/messages_members.h
15981 CMESSAGES_CC=config/locale/generic/messages_members.cc
15982 CMONEY_CC=config/locale/generic/monetary_members.cc
15983 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15984 CTIME_H=config/locale/generic/time_members.h
15985 CTIME_CC=config/locale/generic/time_members.cc
15986 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15990 # This is where the testsuite looks for locale catalogs, using the
15991 # -DLOCALEDIR define during testsuite compilation.
15992 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15995 # A standalone libintl (e.g., GNU libintl) may be in use.
15996 if test $USE_NLS = yes; then
15997 for ac_header in libintl.h
15999 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16000 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16001 cat >>confdefs.h <<_ACEOF
16002 #define HAVE_LIBINTL_H 1
16011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16012 $as_echo_n "checking for library containing gettext... " >&6; }
16013 if test "${ac_cv_search_gettext+set}" = set; then :
16014 $as_echo_n "(cached) " >&6
16016 ac_func_search_save_LIBS=$LIBS
16017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16018 /* end confdefs.h. */
16020 /* Override any GCC internal prototype to avoid an error.
16021 Use char because int might match the return type of a GCC
16022 builtin and then its argument prototype would still apply. */
16035 for ac_lib in '' intl; do
16036 if test -z "$ac_lib"; then
16037 ac_res="none required"
16040 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16042 if test x$gcc_no_link = xyes; then
16043 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16045 if ac_fn_c_try_link "$LINENO"; then :
16046 ac_cv_search_gettext=$ac_res
16048 rm -f core conftest.err conftest.$ac_objext \
16050 if test "${ac_cv_search_gettext+set}" = set; then :
16054 if test "${ac_cv_search_gettext+set}" = set; then :
16057 ac_cv_search_gettext=no
16059 rm conftest.$ac_ext
16060 LIBS=$ac_func_search_save_LIBS
16062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16063 $as_echo "$ac_cv_search_gettext" >&6; }
16064 ac_res=$ac_cv_search_gettext
16065 if test "$ac_res" != no; then :
16066 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16073 if test $USE_NLS = yes; then
16075 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16095 $as_echo_n "checking for std::allocator base class... " >&6; }
16096 # Check whether --enable-libstdcxx-allocator was given.
16097 if test "${enable_libstdcxx_allocator+set}" = set; then :
16098 enableval=$enable_libstdcxx_allocator;
16099 case "$enableval" in
16100 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16101 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16105 enable_libstdcxx_allocator=auto
16110 # If they didn't use this option switch, or if they specified --enable
16111 # with no specific model, we'll have to look for one. If they
16112 # specified --disable (???), do likewise.
16113 if test $enable_libstdcxx_allocator = no ||
16114 test $enable_libstdcxx_allocator = yes;
16116 enable_libstdcxx_allocator=auto
16119 # Either a known package, or "auto". Auto implies the default choice
16120 # for a particular platform.
16121 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16123 # Probe for host-specific support if no specific model is specified.
16124 # Default to "new".
16125 if test $enable_libstdcxx_allocator_flag = auto; then
16126 case ${target_os} in
16127 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16128 enable_libstdcxx_allocator_flag=new
16131 enable_libstdcxx_allocator_flag=new
16135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16136 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16139 # Set configure bits for specified locale package
16140 case ${enable_libstdcxx_allocator_flag} in
16142 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16143 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16146 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16147 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16150 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16151 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16154 ALLOCATOR_H=config/allocator/new_allocator_base.h
16155 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16158 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16159 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16167 # Check whether --enable-cheaders was given.
16168 if test "${enable_cheaders+set}" = set; then :
16169 enableval=$enable_cheaders;
16170 case "$enableval" in
16171 c|c_std|c_global) ;;
16172 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16176 enable_cheaders=$c_model
16180 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16181 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16183 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16185 # Allow overrides to configure.host here.
16186 if test $enable_cheaders = c_global; then
16187 c_compatibility=yes
16196 # Check whether --enable-long-long was given.
16197 if test "${enable_long_long+set}" = set; then :
16198 enableval=$enable_long_long;
16199 case "$enableval" in
16201 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16205 enable_long_long=yes
16209 if test $enable_long_long = yes; then
16211 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16215 $as_echo_n "checking for enabled long long specializations... " >&6; }
16216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16217 $as_echo "$enable_long_long" >&6; }
16220 # Check whether --enable-wchar_t was given.
16221 if test "${enable_wchar_t+set}" = set; then :
16222 enableval=$enable_wchar_t;
16223 case "$enableval" in
16225 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16234 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16235 for ac_header in wchar.h
16237 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16238 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16239 cat >>confdefs.h <<_ACEOF
16240 #define HAVE_WCHAR_H 1
16249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16250 $as_echo_n "checking for mbstate_t... " >&6; }
16251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16252 /* end confdefs.h. */
16257 mbstate_t teststate;
16262 if ac_fn_c_try_compile "$LINENO"; then :
16267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16269 $as_echo "$have_mbstate_t" >&6; }
16270 if test x"$have_mbstate_t" = xyes; then
16272 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16276 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16278 for ac_header in wctype.h
16280 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16281 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16282 cat >>confdefs.h <<_ACEOF
16283 #define HAVE_WCTYPE_H 1
16285 ac_has_wctype_h=yes
16293 if test x"$enable_wchar_t" = x"yes"; then
16297 ac_cpp='$CXXCPP $CPPFLAGS'
16298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16303 if test x"$ac_has_wchar_h" = xyes &&
16304 test x"$ac_has_wctype_h" = xyes; then
16305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16306 /* end confdefs.h. */
16308 #include <stddef.h>
16311 long j = WCHAR_MIN;
16312 long k = WCHAR_MAX;
16377 if ac_fn_cxx_try_compile "$LINENO"; then :
16382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16388 ac_cpp='$CPP $CPPFLAGS'
16389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16395 if test x"$enable_wchar_t" = x"yes"; then
16397 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16402 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16404 $as_echo "$enable_wchar_t" >&6; }
16408 # Check whether --enable-c99 was given.
16409 if test "${enable_c99+set}" = set; then :
16410 enableval=$enable_c99;
16411 case "$enableval" in
16413 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16422 if test x"$enable_c99" = x"yes"; then
16426 ac_cpp='$CXXCPP $CPPFLAGS'
16427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16432 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16433 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16434 # spuriously enabled.
16435 # Long term, -std=c++0x could be even better, could manage to explicitely
16436 # request C99 facilities to the underlying C headers.
16437 ac_save_CXXFLAGS="$CXXFLAGS"
16438 CXXFLAGS="$CXXFLAGS -std=c++98"
16439 ac_save_LIBS="$LIBS"
16440 ac_save_gcc_no_link="$gcc_no_link"
16442 if test x$gcc_no_link != xyes; then
16443 # Use -fno-exceptions to that the C driver can link these tests without
16444 # hitting undefined references to personality routines.
16445 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16447 $as_echo_n "checking for sin in -lm... " >&6; }
16448 if test "${ac_cv_lib_m_sin+set}" = set; then :
16449 $as_echo_n "(cached) " >&6
16451 ac_check_lib_save_LIBS=$LIBS
16453 if test x$gcc_no_link = xyes; then
16454 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16457 /* end confdefs.h. */
16459 /* Override any GCC internal prototype to avoid an error.
16460 Use char because int might match the return type of a GCC
16461 builtin and then its argument prototype would still apply. */
16474 if ac_fn_cxx_try_link "$LINENO"; then :
16475 ac_cv_lib_m_sin=yes
16479 rm -f core conftest.err conftest.$ac_objext \
16480 conftest$ac_exeext conftest.$ac_ext
16481 LIBS=$ac_check_lib_save_LIBS
16483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16484 $as_echo "$ac_cv_lib_m_sin" >&6; }
16485 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16491 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16498 # Check for the existence of <math.h> functions used if C99 is enabled.
16499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16500 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16501 if test "${glibcxx_cv_c99_math+set}" = set; then :
16502 $as_echo_n "(cached) " >&6
16505 if test x$gcc_no_link = xyes; then
16506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16507 /* end confdefs.h. */
16509 volatile double d1, d2;
16514 i = fpclassify(d1);
16520 i = isgreater(d1, d2);
16521 i = isgreaterequal(d1, d2);
16522 i = isless(d1, d2);
16523 i = islessequal(d1, d2);
16524 i = islessgreater(d1, d2);
16525 i = islessgreater(d1, d2);
16526 i = isunordered(d1, d2);
16532 if ac_fn_cxx_try_compile "$LINENO"; then :
16533 glibcxx_cv_c99_math=yes
16535 glibcxx_cv_c99_math=no
16537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16539 if test x$gcc_no_link = xyes; then
16540 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16543 /* end confdefs.h. */
16545 volatile double d1, d2;
16550 i = fpclassify(d1);
16556 i = isgreater(d1, d2);
16557 i = isgreaterequal(d1, d2);
16558 i = isless(d1, d2);
16559 i = islessequal(d1, d2);
16560 i = islessgreater(d1, d2);
16561 i = islessgreater(d1, d2);
16562 i = isunordered(d1, d2);
16568 if ac_fn_cxx_try_link "$LINENO"; then :
16569 glibcxx_cv_c99_math=yes
16571 glibcxx_cv_c99_math=no
16573 rm -f core conftest.err conftest.$ac_objext \
16574 conftest$ac_exeext conftest.$ac_ext
16579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16580 $as_echo "$glibcxx_cv_c99_math" >&6; }
16581 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16583 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16587 # Check for the existence of <complex.h> complex math functions.
16588 # This is necessary even though libstdc++ uses the builtin versions
16589 # of these functions, because if the builtin cannot be used, a reference
16590 # to the library function is emitted.
16591 for ac_header in tgmath.h
16593 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16594 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16595 cat >>confdefs.h <<_ACEOF
16596 #define HAVE_TGMATH_H 1
16598 ac_has_tgmath_h=yes
16605 for ac_header in complex.h
16607 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16608 if test "x$ac_cv_header_complex_h" = x""yes; then :
16609 cat >>confdefs.h <<_ACEOF
16610 #define HAVE_COMPLEX_H 1
16612 ac_has_complex_h=yes
16614 ac_has_complex_h=no
16619 glibcxx_cv_c99_complex=no;
16620 if test x"$ac_has_complex_h" = x"yes"; then
16621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16622 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16623 if test x$gcc_no_link = xyes; then
16624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16625 /* end confdefs.h. */
16626 #include <complex.h>
16627 typedef __complex__ float float_type;
16628 typedef __complex__ double double_type;
16629 typedef __complex__ long double ld_type;
16630 volatile float_type tmpf;
16631 volatile double_type tmpd;
16632 volatile ld_type tmpld;
16635 volatile long double ld;
16641 tmpf = ccosf(tmpf);
16642 tmpf = ccoshf(tmpf);
16643 tmpf = cexpf(tmpf);
16644 tmpf = clogf(tmpf);
16645 tmpf = csinf(tmpf);
16646 tmpf = csinhf(tmpf);
16647 tmpf = csqrtf(tmpf);
16648 tmpf = ctanf(tmpf);
16649 tmpf = ctanhf(tmpf);
16650 tmpf = cpowf(tmpf, tmpf);
16651 tmpf = cprojf(tmpf);
16655 tmpd = ccosh(tmpd);
16659 tmpd = csinh(tmpd);
16660 tmpd = csqrt(tmpd);
16662 tmpd = ctanh(tmpd);
16663 tmpd = cpow(tmpd, tmpd);
16664 tmpd = cproj(tmpd);
16667 tmpld = ccosl(tmpld);
16668 tmpld = ccoshl(tmpld);
16669 tmpld = cexpl(tmpld);
16670 tmpld = clogl(tmpld);
16671 tmpld = csinl(tmpld);
16672 tmpld = csinhl(tmpld);
16673 tmpld = csqrtl(tmpld);
16674 tmpld = ctanl(tmpld);
16675 tmpld = ctanhl(tmpld);
16676 tmpld = cpowl(tmpld, tmpld);
16677 tmpld = cprojl(tmpld);
16683 if ac_fn_cxx_try_compile "$LINENO"; then :
16684 glibcxx_cv_c99_complex=yes
16686 glibcxx_cv_c99_complex=no
16688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16690 if test x$gcc_no_link = xyes; then
16691 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16694 /* end confdefs.h. */
16695 #include <complex.h>
16696 typedef __complex__ float float_type;
16697 typedef __complex__ double double_type;
16698 typedef __complex__ long double ld_type;
16699 volatile float_type tmpf;
16700 volatile double_type tmpd;
16701 volatile ld_type tmpld;
16704 volatile long double ld;
16710 tmpf = ccosf(tmpf);
16711 tmpf = ccoshf(tmpf);
16712 tmpf = cexpf(tmpf);
16713 tmpf = clogf(tmpf);
16714 tmpf = csinf(tmpf);
16715 tmpf = csinhf(tmpf);
16716 tmpf = csqrtf(tmpf);
16717 tmpf = ctanf(tmpf);
16718 tmpf = ctanhf(tmpf);
16719 tmpf = cpowf(tmpf, tmpf);
16720 tmpf = cprojf(tmpf);
16724 tmpd = ccosh(tmpd);
16728 tmpd = csinh(tmpd);
16729 tmpd = csqrt(tmpd);
16731 tmpd = ctanh(tmpd);
16732 tmpd = cpow(tmpd, tmpd);
16733 tmpd = cproj(tmpd);
16736 tmpld = ccosl(tmpld);
16737 tmpld = ccoshl(tmpld);
16738 tmpld = cexpl(tmpld);
16739 tmpld = clogl(tmpld);
16740 tmpld = csinl(tmpld);
16741 tmpld = csinhl(tmpld);
16742 tmpld = csqrtl(tmpld);
16743 tmpld = ctanl(tmpld);
16744 tmpld = ctanhl(tmpld);
16745 tmpld = cpowl(tmpld, tmpld);
16746 tmpld = cprojl(tmpld);
16752 if ac_fn_cxx_try_link "$LINENO"; then :
16753 glibcxx_cv_c99_complex=yes
16755 glibcxx_cv_c99_complex=no
16757 rm -f core conftest.err conftest.$ac_objext \
16758 conftest$ac_exeext conftest.$ac_ext
16761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16762 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16763 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16765 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16769 # Check for the existence in <stdio.h> of vscanf, et. al.
16770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16771 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16772 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16773 $as_echo_n "(cached) " >&6
16776 if test x$gcc_no_link = xyes; then
16777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16778 /* end confdefs.h. */
16780 #include <stdarg.h>
16781 void foo(char* fmt, ...)
16783 va_list args; va_start(args, fmt);
16784 vfscanf(stderr, "%i", args);
16785 vscanf("%i", args);
16786 vsnprintf(fmt, 0, "%i", args);
16787 vsscanf(fmt, "%i", args);
16792 snprintf("12", 0, "%i");
16797 if ac_fn_cxx_try_compile "$LINENO"; then :
16798 glibcxx_cv_c99_stdio=yes
16800 glibcxx_cv_c99_stdio=no
16802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16804 if test x$gcc_no_link = xyes; then
16805 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16808 /* end confdefs.h. */
16810 #include <stdarg.h>
16811 void foo(char* fmt, ...)
16813 va_list args; va_start(args, fmt);
16814 vfscanf(stderr, "%i", args);
16815 vscanf("%i", args);
16816 vsnprintf(fmt, 0, "%i", args);
16817 vsscanf(fmt, "%i", args);
16822 snprintf("12", 0, "%i");
16827 if ac_fn_cxx_try_link "$LINENO"; then :
16828 glibcxx_cv_c99_stdio=yes
16830 glibcxx_cv_c99_stdio=no
16832 rm -f core conftest.err conftest.$ac_objext \
16833 conftest$ac_exeext conftest.$ac_ext
16838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16839 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16841 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16843 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16844 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16845 $as_echo_n "(cached) " >&6
16848 if test x$gcc_no_link = xyes; then
16849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16850 /* end confdefs.h. */
16851 #include <stdlib.h>
16853 volatile long double ld;
16854 volatile unsigned long long ll;
16860 f = strtof("gnu", &tmp);
16861 ld = strtold("gnu", &tmp);
16862 ll = strtoll("gnu", &tmp, 10);
16863 ll = strtoull("gnu", &tmp, 10);
16865 mydivt = lldiv(10,1);
16875 if ac_fn_cxx_try_compile "$LINENO"; then :
16876 glibcxx_cv_c99_stdlib=yes
16878 glibcxx_cv_c99_stdlib=no
16880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16882 if test x$gcc_no_link = xyes; then
16883 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16886 /* end confdefs.h. */
16887 #include <stdlib.h>
16889 volatile long double ld;
16890 volatile unsigned long long ll;
16896 f = strtof("gnu", &tmp);
16897 ld = strtold("gnu", &tmp);
16898 ll = strtoll("gnu", &tmp, 10);
16899 ll = strtoull("gnu", &tmp, 10);
16901 mydivt = lldiv(10,1);
16911 if ac_fn_cxx_try_link "$LINENO"; then :
16912 glibcxx_cv_c99_stdlib=yes
16914 glibcxx_cv_c99_stdlib=no
16916 rm -f core conftest.err conftest.$ac_objext \
16917 conftest$ac_exeext conftest.$ac_ext
16922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16923 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16925 # Check for the existence in <wchar.h> of wcstold, etc.
16926 glibcxx_cv_c99_wchar=no;
16927 if test x"$ac_has_wchar_h" = xyes &&
16928 test x"$ac_has_wctype_h" = xyes; then
16929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16930 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16932 /* end confdefs.h. */
16949 if ac_fn_cxx_try_compile "$LINENO"; then :
16950 glibcxx_cv_c99_wchar=yes
16952 glibcxx_cv_c99_wchar=no
16954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16956 # Checks for wide character functions that may not be present.
16957 # Injection of these is wrapped with guard macros.
16958 # NB: only put functions here, instead of immediately above, if
16959 # absolutely necessary.
16960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16961 /* end confdefs.h. */
16963 namespace test { using ::vfwscanf; }
16972 if ac_fn_cxx_try_compile "$LINENO"; then :
16974 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
16977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16980 /* end confdefs.h. */
16982 namespace test { using ::vswscanf; }
16991 if ac_fn_cxx_try_compile "$LINENO"; then :
16993 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
16996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16999 /* end confdefs.h. */
17001 namespace test { using ::vwscanf; }
17010 if ac_fn_cxx_try_compile "$LINENO"; then :
17012 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17018 /* end confdefs.h. */
17020 namespace test { using ::wcstof; }
17029 if ac_fn_cxx_try_compile "$LINENO"; then :
17031 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17037 /* end confdefs.h. */
17038 #include <wctype.h>
17042 wint_t t; int i = iswblank(t);
17047 if ac_fn_cxx_try_compile "$LINENO"; then :
17049 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17055 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17058 # Option parsed, now set things appropriately.
17059 if test x"$glibcxx_cv_c99_math" = x"no" ||
17060 test x"$glibcxx_cv_c99_complex" = x"no" ||
17061 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17062 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17063 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17067 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17071 gcc_no_link="$ac_save_gcc_no_link"
17072 LIBS="$ac_save_LIBS"
17073 CXXFLAGS="$ac_save_CXXFLAGS"
17075 ac_cpp='$CPP $CPPFLAGS'
17076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17083 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17085 $as_echo "$enable_c99" >&6; }
17088 # Check whether --enable-concept-checks was given.
17089 if test "${enable_concept_checks+set}" = set; then :
17090 enableval=$enable_concept_checks;
17091 case "$enableval" in
17093 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17097 enable_concept_checks=no
17101 if test $enable_concept_checks = yes; then
17103 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17108 # Check whether --enable-libstdcxx-debug-flags was given.
17109 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17110 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17111 xno | x) enable_libstdcxx_debug_flags= ;;
17113 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17116 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17121 # Option parsed, now set things appropriately
17122 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17125 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17126 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17130 $as_echo_n "checking for additional debug build... " >&6; }
17131 # Check whether --enable-libstdcxx-debug was given.
17132 if test "${enable_libstdcxx_debug+set}" = set; then :
17133 enableval=$enable_libstdcxx_debug;
17134 case "$enableval" in
17136 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17140 enable_libstdcxx_debug=no
17144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17145 $as_echo "$enable_libstdcxx_debug" >&6; }
17150 enable_parallel=no;
17152 # See if configured libgomp/omp.h exists. (libgomp may be in
17153 # noconfigdirs but not explicitly disabled.)
17154 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17155 enable_parallel=yes;
17157 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17158 $as_echo "$as_me: target-libgomp not built" >&6;}
17161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17162 $as_echo_n "checking for parallel mode support... " >&6; }
17163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17164 $as_echo "$enable_parallel" >&6; }
17167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17168 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17169 # Check whether --enable-cxx-flags was given.
17170 if test "${enable_cxx_flags+set}" = set; then :
17171 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17172 xno | x) enable_cxx_flags= ;;
17174 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17182 # Run through flags (either default or command-line) and set anything
17183 # extra (e.g., #defines) that must accompany particular g++ options.
17184 if test -n "$enable_cxx_flags"; then
17185 for f in $enable_cxx_flags; do
17189 *) # and we're trying to pass /what/ exactly?
17190 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17195 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17197 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17201 # Check whether --enable-fully-dynamic-string was given.
17202 if test "${enable_fully_dynamic_string+set}" = set; then :
17203 enableval=$enable_fully_dynamic_string;
17204 case "$enableval" in
17206 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17210 enable_fully_dynamic_string=no
17214 if test $enable_fully_dynamic_string = yes; then
17215 enable_fully_dynamic_string_def=1
17217 enable_fully_dynamic_string_def=0
17220 cat >>confdefs.h <<_ACEOF
17221 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17227 # Check whether --enable-extern-template was given.
17228 if test "${enable_extern_template+set}" = set; then :
17229 enableval=$enable_extern_template;
17230 case "$enableval" in
17232 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17236 enable_extern_template=yes
17241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17242 $as_echo_n "checking for extern template support... " >&6; }
17243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17244 $as_echo "$enable_extern_template" >&6; }
17250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17251 $as_echo_n "checking for custom python install directory... " >&6; }
17253 # Check whether --with-python-dir was given.
17254 if test "${with_python_dir+set}" = set; then :
17255 withval=$with_python_dir; with_python_dir=$withval
17257 with_python_dir="no"
17260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17261 $as_echo "${with_python_dir}" >&6; }
17263 # Needed for installing Python modules during make install.
17264 python_mod_dir="${with_python_dir}"
17269 # Checks for operating systems support that doesn't require linking.
17274 ac_cpp='$CXXCPP $CPPFLAGS'
17275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17282 # Solaris 8 FCS only had an overload for double std::abs(double) in
17283 # <iso/math_iso.h>. Patches 111721-04 (SPARC) and 112757-01 (x86)
17284 # introduced the full set also found from Solaris 9 onwards.
17285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float std::abs(float) overload" >&5
17286 $as_echo_n "checking for float std::abs(float) overload... " >&6; }
17287 if test "${glibcxx_cv_abs_float+set}" = set; then :
17288 $as_echo_n "(cached) " >&6
17291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17292 /* end confdefs.h. */
17295 inline float abs(float __x)
17296 { return __builtin_fabsf(__x); }
17300 if ac_fn_cxx_try_compile "$LINENO"; then :
17301 glibcxx_cv_abs_float=no
17303 glibcxx_cv_abs_float=yes
17306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17310 # autoheader cannot handle indented templates.
17314 if test $glibcxx_cv_abs_float = yes; then
17315 $as_echo "#define __CORRECT_ISO_CPP_MATH_H_PROTO1 1" >>confdefs.h
17318 $as_echo "#define __CORRECT_ISO_CPP_MATH_H_PROTO2 1" >>confdefs.h
17321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_abs_float" >&5
17322 $as_echo "$glibcxx_cv_abs_float" >&6; }
17327 ac_cpp='$CPP $CPPFLAGS'
17328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17337 ac_cpp='$CXXCPP $CPPFLAGS'
17338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17345 # Solaris 8 FCS lacked the overloads for long std::abs(long) and
17346 # ldiv_t std::div(long, long) in <iso/stdlib_iso.h>. Patches 109607-02
17347 # (SPARC) and 109608-02 (x86) introduced them.
17348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long std::abs(long) overload" >&5
17349 $as_echo_n "checking for long std::abs(long) overload... " >&6; }
17350 if test "${glibcxx_cv_abs_long+set}" = set; then :
17351 $as_echo_n "(cached) " >&6
17354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17355 /* end confdefs.h. */
17356 #include <stdlib.h>
17359 abs(long __i) { return labs(__i); }
17363 if ac_fn_cxx_try_compile "$LINENO"; then :
17364 glibcxx_cv_abs_long=no
17366 glibcxx_cv_abs_long=yes
17369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17373 # autoheader cannot handle indented templates.
17375 if test $glibcxx_cv_abs_long = yes; then
17376 $as_echo "#define __CORRECT_ISO_CPP_STDLIB_H_PROTO 1" >>confdefs.h
17379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_abs_long" >&5
17380 $as_echo "$glibcxx_cv_abs_long" >&6; }
17385 ac_cpp='$CPP $CPPFLAGS'
17386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17394 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17395 if test "${glibcxx_cv_system_error1+set}" = set; then :
17396 $as_echo_n "(cached) " >&6
17399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17400 /* end confdefs.h. */
17405 int i = EOWNERDEAD;
17410 if ac_fn_c_try_compile "$LINENO"; then :
17411 glibcxx_cv_system_error1=yes
17413 glibcxx_cv_system_error1=no
17415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17420 $as_echo "$glibcxx_cv_system_error1" >&6; }
17421 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17423 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17427 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17428 if test "${glibcxx_cv_system_error2+set}" = set; then :
17429 $as_echo_n "(cached) " >&6
17432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17433 /* end confdefs.h. */
17438 int i = ENOTRECOVERABLE;
17443 if ac_fn_c_try_compile "$LINENO"; then :
17444 glibcxx_cv_system_error2=yes
17446 glibcxx_cv_system_error2=no
17448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17453 $as_echo "$glibcxx_cv_system_error2" >&6; }
17454 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17456 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17460 $as_echo_n "checking for ENOLINK... " >&6; }
17461 if test "${glibcxx_cv_system_error3+set}" = set; then :
17462 $as_echo_n "(cached) " >&6
17465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17466 /* end confdefs.h. */
17476 if ac_fn_c_try_compile "$LINENO"; then :
17477 glibcxx_cv_system_error3=yes
17479 glibcxx_cv_system_error3=no
17481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17486 $as_echo "$glibcxx_cv_system_error3" >&6; }
17487 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17489 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17493 $as_echo_n "checking for EPROTO... " >&6; }
17494 if test "${glibcxx_cv_system_error4+set}" = set; then :
17495 $as_echo_n "(cached) " >&6
17498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17499 /* end confdefs.h. */
17509 if ac_fn_c_try_compile "$LINENO"; then :
17510 glibcxx_cv_system_error4=yes
17512 glibcxx_cv_system_error4=no
17514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17519 $as_echo "$glibcxx_cv_system_error4" >&6; }
17520 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17522 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17526 $as_echo_n "checking for ENODATA... " >&6; }
17527 if test "${glibcxx_cv_system_error5+set}" = set; then :
17528 $as_echo_n "(cached) " >&6
17531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17532 /* end confdefs.h. */
17542 if ac_fn_c_try_compile "$LINENO"; then :
17543 glibcxx_cv_system_error5=yes
17545 glibcxx_cv_system_error5=no
17547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17552 $as_echo "$glibcxx_cv_system_error5" >&6; }
17553 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17555 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17559 $as_echo_n "checking for ENOSR... " >&6; }
17560 if test "${glibcxx_cv_system_error6+set}" = set; then :
17561 $as_echo_n "(cached) " >&6
17564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17565 /* end confdefs.h. */
17575 if ac_fn_c_try_compile "$LINENO"; then :
17576 glibcxx_cv_system_error6=yes
17578 glibcxx_cv_system_error6=no
17580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17585 $as_echo "$glibcxx_cv_system_error6" >&6; }
17586 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17588 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17592 $as_echo_n "checking for ENOSTR... " >&6; }
17593 if test "${glibcxx_cv_system_error7+set}" = set; then :
17594 $as_echo_n "(cached) " >&6
17597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17598 /* end confdefs.h. */
17608 if ac_fn_c_try_compile "$LINENO"; then :
17609 glibcxx_cv_system_error7=yes
17611 glibcxx_cv_system_error7=no
17613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17618 $as_echo "$glibcxx_cv_system_error7" >&6; }
17619 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17621 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17625 $as_echo_n "checking for ETIME... " >&6; }
17626 if test "${glibcxx_cv_system_error8+set}" = set; then :
17627 $as_echo_n "(cached) " >&6
17630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17631 /* end confdefs.h. */
17641 if ac_fn_c_try_compile "$LINENO"; then :
17642 glibcxx_cv_system_error8=yes
17644 glibcxx_cv_system_error8=no
17646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17651 $as_echo "$glibcxx_cv_system_error8" >&6; }
17652 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17654 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17658 $as_echo_n "checking for EBADMSG... " >&6; }
17659 if test "${glibcxx_cv_system_error9+set}" = set; then :
17660 $as_echo_n "(cached) " >&6
17663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17664 /* end confdefs.h. */
17674 if ac_fn_c_try_compile "$LINENO"; then :
17675 glibcxx_cv_system_error9=yes
17677 glibcxx_cv_system_error9=no
17679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17684 $as_echo "$glibcxx_cv_system_error9" >&6; }
17685 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17687 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17691 $as_echo_n "checking for ECANCELED... " >&6; }
17692 if test "${glibcxx_cv_system_error10+set}" = set; then :
17693 $as_echo_n "(cached) " >&6
17696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17697 /* end confdefs.h. */
17707 if ac_fn_c_try_compile "$LINENO"; then :
17708 glibcxx_cv_system_error10=yes
17710 glibcxx_cv_system_error10=no
17712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17717 $as_echo "$glibcxx_cv_system_error10" >&6; }
17718 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17720 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17724 $as_echo_n "checking for EOVERFLOW... " >&6; }
17725 if test "${glibcxx_cv_system_error11+set}" = set; then :
17726 $as_echo_n "(cached) " >&6
17729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17730 /* end confdefs.h. */
17740 if ac_fn_c_try_compile "$LINENO"; then :
17741 glibcxx_cv_system_error11=yes
17743 glibcxx_cv_system_error11=no
17745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17750 $as_echo "$glibcxx_cv_system_error11" >&6; }
17751 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17753 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17757 $as_echo_n "checking for ENOTSUP... " >&6; }
17758 if test "${glibcxx_cv_system_error12+set}" = set; then :
17759 $as_echo_n "(cached) " >&6
17762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17763 /* end confdefs.h. */
17773 if ac_fn_c_try_compile "$LINENO"; then :
17774 glibcxx_cv_system_error12=yes
17776 glibcxx_cv_system_error12=no
17778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17783 $as_echo "$glibcxx_cv_system_error12" >&6; }
17784 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17786 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17790 $as_echo_n "checking for EIDRM... " >&6; }
17791 if test "${glibcxx_cv_system_error13+set}" = set; then :
17792 $as_echo_n "(cached) " >&6
17795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17796 /* end confdefs.h. */
17806 if ac_fn_c_try_compile "$LINENO"; then :
17807 glibcxx_cv_system_error13=yes
17809 glibcxx_cv_system_error13=no
17811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17816 $as_echo "$glibcxx_cv_system_error13" >&6; }
17817 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17819 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17823 $as_echo_n "checking for ETXTBSY... " >&6; }
17824 if test "${glibcxx_cv_system_error14+set}" = set; then :
17825 $as_echo_n "(cached) " >&6
17828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17829 /* end confdefs.h. */
17839 if ac_fn_c_try_compile "$LINENO"; then :
17840 glibcxx_cv_system_error14=yes
17842 glibcxx_cv_system_error14=no
17844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17849 $as_echo "$glibcxx_cv_system_error14" >&6; }
17850 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17852 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17856 $as_echo_n "checking for ECHILD... " >&6; }
17857 if test "${glibcxx_cv_system_error15+set}" = set; then :
17858 $as_echo_n "(cached) " >&6
17861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17862 /* end confdefs.h. */
17872 if ac_fn_c_try_compile "$LINENO"; then :
17873 glibcxx_cv_system_error15=yes
17875 glibcxx_cv_system_error15=no
17877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
17882 $as_echo "$glibcxx_cv_system_error15" >&6; }
17883 if test x"$glibcxx_cv_system_error15" = x"yes"; then
17885 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
17888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
17889 $as_echo_n "checking for ENOSPC... " >&6; }
17890 if test "${glibcxx_cv_system_error16+set}" = set; then :
17891 $as_echo_n "(cached) " >&6
17894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17895 /* end confdefs.h. */
17905 if ac_fn_c_try_compile "$LINENO"; then :
17906 glibcxx_cv_system_error16=yes
17908 glibcxx_cv_system_error16=no
17910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
17915 $as_echo "$glibcxx_cv_system_error16" >&6; }
17916 if test x"$glibcxx_cv_system_error16" = x"yes"; then
17918 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
17921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
17922 $as_echo_n "checking for EPERM... " >&6; }
17923 if test "${glibcxx_cv_system_error17+set}" = set; then :
17924 $as_echo_n "(cached) " >&6
17927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17928 /* end confdefs.h. */
17938 if ac_fn_c_try_compile "$LINENO"; then :
17939 glibcxx_cv_system_error17=yes
17941 glibcxx_cv_system_error17=no
17943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
17948 $as_echo "$glibcxx_cv_system_error17" >&6; }
17949 if test x"$glibcxx_cv_system_error17" = x"yes"; then
17951 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
17954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
17955 $as_echo_n "checking for ETIMEDOUT... " >&6; }
17956 if test "${glibcxx_cv_system_error18+set}" = set; then :
17957 $as_echo_n "(cached) " >&6
17960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17961 /* end confdefs.h. */
17971 if ac_fn_c_try_compile "$LINENO"; then :
17972 glibcxx_cv_system_error18=yes
17974 glibcxx_cv_system_error18=no
17976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
17981 $as_echo "$glibcxx_cv_system_error18" >&6; }
17982 if test x"$glibcxx_cv_system_error18" = x"yes"; then
17984 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
17987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
17988 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
17989 if test "${glibcxx_cv_system_error19+set}" = set; then :
17990 $as_echo_n "(cached) " >&6
17993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17994 /* end confdefs.h. */
17999 int i = EWOULDBLOCK;
18004 if ac_fn_c_try_compile "$LINENO"; then :
18005 glibcxx_cv_system_error19=yes
18007 glibcxx_cv_system_error19=no
18009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18014 $as_echo "$glibcxx_cv_system_error19" >&6; }
18015 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18017 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18023 # For the streamoff typedef.
18028 ac_cpp='$CXXCPP $CPPFLAGS'
18029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18035 $as_echo_n "checking for int64_t... " >&6; }
18036 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18037 $as_echo_n "(cached) " >&6
18040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18041 /* end confdefs.h. */
18042 #include <stdint.h>
18051 if ac_fn_cxx_try_compile "$LINENO"; then :
18052 glibcxx_cv_INT64_T=yes
18054 glibcxx_cv_INT64_T=no
18056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18061 if test $glibcxx_cv_INT64_T = yes; then
18063 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18066 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18069 $as_echo_n "checking for int64_t as long... " >&6; }
18070 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18071 $as_echo_n "(cached) " >&6
18074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18075 /* end confdefs.h. */
18076 #include <stdint.h>
18077 template<typename, typename> struct same { enum { value = -1 }; };
18078 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18079 int array[same<int64_t, long>::value];
18088 if ac_fn_cxx_try_compile "$LINENO"; then :
18089 glibcxx_cv_int64_t_long=yes
18091 glibcxx_cv_int64_t_long=no
18093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18098 if test $glibcxx_cv_int64_t_long = yes; then
18100 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18103 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18107 $as_echo_n "checking for int64_t as long long... " >&6; }
18108 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18109 $as_echo_n "(cached) " >&6
18112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18113 /* end confdefs.h. */
18114 #include <stdint.h>
18115 template<typename, typename> struct same { enum { value = -1 }; };
18116 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18117 int array[same<int64_t, long long>::value];
18126 if ac_fn_cxx_try_compile "$LINENO"; then :
18127 glibcxx_cv_int64_t_long_long=yes
18129 glibcxx_cv_int64_t_long_long=no
18131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18136 if test $glibcxx_cv_int64_t_long_long = yes; then
18138 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18141 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18146 ac_cpp='$CPP $CPPFLAGS'
18147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18157 ac_cpp='$CXXCPP $CPPFLAGS'
18158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18162 ac_save_CXXFLAGS="$CXXFLAGS"
18163 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18165 $as_echo_n "checking for LFS support... " >&6; }
18166 if test "${glibcxx_cv_LFS+set}" = set; then :
18167 $as_echo_n "(cached) " >&6
18170 if test x$gcc_no_link = xyes; then
18171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18172 /* end confdefs.h. */
18173 #include <unistd.h>
18175 #include <sys/stat.h>
18182 fseeko64(fp, 0, SEEK_CUR);
18184 lseek64(1, 0, SEEK_CUR);
18191 if ac_fn_cxx_try_compile "$LINENO"; then :
18196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18198 if test x$gcc_no_link = xyes; then
18199 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18202 /* end confdefs.h. */
18203 #include <unistd.h>
18205 #include <sys/stat.h>
18212 fseeko64(fp, 0, SEEK_CUR);
18214 lseek64(1, 0, SEEK_CUR);
18221 if ac_fn_cxx_try_link "$LINENO"; then :
18226 rm -f core conftest.err conftest.$ac_objext \
18227 conftest$ac_exeext conftest.$ac_ext
18232 if test $glibcxx_cv_LFS = yes; then
18234 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18238 $as_echo "$glibcxx_cv_LFS" >&6; }
18239 CXXFLAGS="$ac_save_CXXFLAGS"
18241 ac_cpp='$CPP $CPPFLAGS'
18242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18248 # For showmanyc_helper().
18249 for ac_header in sys/ioctl.h sys/filio.h
18251 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18252 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18253 eval as_val=\$$as_ac_Header
18254 if test "x$as_val" = x""yes; then :
18255 cat >>confdefs.h <<_ACEOF
18256 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18267 ac_cpp='$CXXCPP $CPPFLAGS'
18268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18272 ac_save_CXXFLAGS="$CXXFLAGS"
18273 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18276 $as_echo_n "checking for poll... " >&6; }
18277 if test "${glibcxx_cv_POLL+set}" = set; then :
18278 $as_echo_n "(cached) " >&6
18281 if test x$gcc_no_link = xyes; then
18282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18283 /* end confdefs.h. */
18288 struct pollfd pfd[1];
18289 pfd[0].events = POLLIN;
18295 if ac_fn_cxx_try_compile "$LINENO"; then :
18296 glibcxx_cv_POLL=yes
18300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18302 if test x$gcc_no_link = xyes; then
18303 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18306 /* end confdefs.h. */
18311 struct pollfd pfd[1];
18312 pfd[0].events = POLLIN;
18318 if ac_fn_cxx_try_link "$LINENO"; then :
18319 glibcxx_cv_POLL=yes
18323 rm -f core conftest.err conftest.$ac_objext \
18324 conftest$ac_exeext conftest.$ac_ext
18329 if test $glibcxx_cv_POLL = yes; then
18331 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18335 $as_echo "$glibcxx_cv_POLL" >&6; }
18337 CXXFLAGS="$ac_save_CXXFLAGS"
18339 ac_cpp='$CPP $CPPFLAGS'
18340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18349 ac_cpp='$CXXCPP $CPPFLAGS'
18350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18354 ac_save_CXXFLAGS="$CXXFLAGS"
18355 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18358 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18359 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18360 $as_echo_n "(cached) " >&6
18363 if test x$gcc_no_link = xyes; then
18364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18365 /* end confdefs.h. */
18366 #include <sys/stat.h>
18370 struct stat buffer;
18372 S_ISREG(buffer.st_mode);
18377 if ac_fn_cxx_try_compile "$LINENO"; then :
18378 glibcxx_cv_S_ISREG=yes
18380 glibcxx_cv_S_ISREG=no
18382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18384 if test x$gcc_no_link = xyes; then
18385 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18388 /* end confdefs.h. */
18389 #include <sys/stat.h>
18393 struct stat buffer;
18395 S_ISREG(buffer.st_mode);
18400 if ac_fn_cxx_try_link "$LINENO"; then :
18401 glibcxx_cv_S_ISREG=yes
18403 glibcxx_cv_S_ISREG=no
18405 rm -f core conftest.err conftest.$ac_objext \
18406 conftest$ac_exeext conftest.$ac_ext
18411 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18412 $as_echo_n "(cached) " >&6
18415 if test x$gcc_no_link = xyes; then
18416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18417 /* end confdefs.h. */
18418 #include <sys/stat.h>
18422 struct stat buffer;
18424 S_IFREG & buffer.st_mode;
18429 if ac_fn_cxx_try_compile "$LINENO"; then :
18430 glibcxx_cv_S_IFREG=yes
18432 glibcxx_cv_S_IFREG=no
18434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18436 if test x$gcc_no_link = xyes; then
18437 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18440 /* end confdefs.h. */
18441 #include <sys/stat.h>
18445 struct stat buffer;
18447 S_IFREG & buffer.st_mode;
18452 if ac_fn_cxx_try_link "$LINENO"; then :
18453 glibcxx_cv_S_IFREG=yes
18455 glibcxx_cv_S_IFREG=no
18457 rm -f core conftest.err conftest.$ac_objext \
18458 conftest$ac_exeext conftest.$ac_ext
18464 if test $glibcxx_cv_S_ISREG = yes; then
18466 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18469 elif test $glibcxx_cv_S_IFREG = yes; then
18471 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18476 $as_echo "$res" >&6; }
18478 CXXFLAGS="$ac_save_CXXFLAGS"
18480 ac_cpp='$CPP $CPPFLAGS'
18481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18488 for ac_header in sys/uio.h
18490 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18491 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18492 cat >>confdefs.h <<_ACEOF
18493 #define HAVE_SYS_UIO_H 1
18504 ac_cpp='$CXXCPP $CPPFLAGS'
18505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18509 ac_save_CXXFLAGS="$CXXFLAGS"
18510 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18513 $as_echo_n "checking for writev... " >&6; }
18514 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18515 $as_echo_n "(cached) " >&6
18518 if test x$gcc_no_link = xyes; then
18519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18520 /* end confdefs.h. */
18521 #include <sys/uio.h>
18525 struct iovec iov[2];
18531 if ac_fn_cxx_try_compile "$LINENO"; then :
18532 glibcxx_cv_WRITEV=yes
18534 glibcxx_cv_WRITEV=no
18536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18538 if test x$gcc_no_link = xyes; then
18539 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18542 /* end confdefs.h. */
18543 #include <sys/uio.h>
18547 struct iovec iov[2];
18553 if ac_fn_cxx_try_link "$LINENO"; then :
18554 glibcxx_cv_WRITEV=yes
18556 glibcxx_cv_WRITEV=no
18558 rm -f core conftest.err conftest.$ac_objext \
18559 conftest$ac_exeext conftest.$ac_ext
18564 if test $glibcxx_cv_WRITEV = yes; then
18566 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18570 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18572 CXXFLAGS="$ac_save_CXXFLAGS"
18574 ac_cpp='$CPP $CPPFLAGS'
18575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18581 # For C99 support to TR1.
18586 ac_cpp='$CXXCPP $CPPFLAGS'
18587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18592 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18593 # undefined and fake C99 facilities may be spuriously enabled.
18594 ac_save_CXXFLAGS="$CXXFLAGS"
18595 CXXFLAGS="$CXXFLAGS -std=c++98"
18597 # Check for the existence of <complex.h> complex math functions used
18599 for ac_header in complex.h
18601 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18602 if test "x$ac_cv_header_complex_h" = x""yes; then :
18603 cat >>confdefs.h <<_ACEOF
18604 #define HAVE_COMPLEX_H 1
18606 ac_has_complex_h=yes
18608 ac_has_complex_h=no
18613 ac_c99_complex_tr1=no;
18614 if test x"$ac_has_complex_h" = x"yes"; then
18615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18616 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18618 /* end confdefs.h. */
18619 #include <complex.h>
18623 typedef __complex__ float float_type; float_type tmpf;
18630 typedef __complex__ double double_type; double_type tmpd;
18637 typedef __complex__ long double ld_type; ld_type tmpld;
18649 if ac_fn_cxx_try_compile "$LINENO"; then :
18650 ac_c99_complex_tr1=yes
18652 ac_c99_complex_tr1=no
18654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18657 $as_echo "$ac_c99_complex_tr1" >&6; }
18658 if test x"$ac_c99_complex_tr1" = x"yes"; then
18660 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18664 # Check for the existence of <ctype.h> functions.
18665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18666 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18667 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18668 $as_echo_n "(cached) " >&6
18671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18672 /* end confdefs.h. */
18685 if ac_fn_cxx_try_compile "$LINENO"; then :
18686 glibcxx_cv_c99_ctype_tr1=yes
18688 glibcxx_cv_c99_ctype_tr1=no
18690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18695 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18696 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18698 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18702 # Check for the existence of <fenv.h> functions.
18703 for ac_header in fenv.h
18705 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18706 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18707 cat >>confdefs.h <<_ACEOF
18708 #define HAVE_FENV_H 1
18717 ac_c99_fenv_tr1=no;
18718 if test x"$ac_has_fenv_h" = x"yes"; then
18719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18720 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18722 /* end confdefs.h. */
18731 ret = feclearexcept(except);
18732 ret = fegetexceptflag(pflag, except);
18733 ret = feraiseexcept(except);
18734 ret = fesetexceptflag(pflag, except);
18735 ret = fetestexcept(except);
18736 ret = fegetround();
18737 ret = fesetround(mode);
18738 ret = fegetenv(penv);
18739 ret = feholdexcept(penv);
18740 ret = fesetenv(penv);
18741 ret = feupdateenv(penv);
18747 if ac_fn_cxx_try_compile "$LINENO"; then :
18748 ac_c99_fenv_tr1=yes
18752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18755 $as_echo "$ac_c99_fenv_tr1" >&6; }
18756 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18758 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18762 # Check for the existence of <stdint.h> types.
18763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18764 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18765 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18766 $as_echo_n "(cached) " >&6
18769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18770 /* end confdefs.h. */
18771 #define __STDC_LIMIT_MACROS
18772 #define __STDC_CONSTANT_MACROS
18773 #include <stdint.h>
18777 typedef int8_t my_int8_t;
18778 my_int8_t i8 = INT8_MIN;
18780 typedef int16_t my_int16_t;
18781 my_int16_t i16 = INT16_MIN;
18783 typedef int32_t my_int32_t;
18784 my_int32_t i32 = INT32_MIN;
18786 typedef int64_t my_int64_t;
18787 my_int64_t i64 = INT64_MIN;
18789 typedef int_fast8_t my_int_fast8_t;
18790 my_int_fast8_t if8 = INT_FAST8_MIN;
18791 if8 = INT_FAST8_MAX;
18792 typedef int_fast16_t my_int_fast16_t;
18793 my_int_fast16_t if16 = INT_FAST16_MIN;
18794 if16 = INT_FAST16_MAX;
18795 typedef int_fast32_t my_int_fast32_t;
18796 my_int_fast32_t if32 = INT_FAST32_MIN;
18797 if32 = INT_FAST32_MAX;
18798 typedef int_fast64_t my_int_fast64_t;
18799 my_int_fast64_t if64 = INT_FAST64_MIN;
18800 if64 = INT_FAST64_MAX;
18801 typedef int_least8_t my_int_least8_t;
18802 my_int_least8_t il8 = INT_LEAST8_MIN;
18803 il8 = INT_LEAST8_MAX;
18804 typedef int_least16_t my_int_least16_t;
18805 my_int_least16_t il16 = INT_LEAST16_MIN;
18806 il16 = INT_LEAST16_MAX;
18807 typedef int_least32_t my_int_least32_t;
18808 my_int_least32_t il32 = INT_LEAST32_MIN;
18809 il32 = INT_LEAST32_MAX;
18810 typedef int_least64_t my_int_least64_t;
18811 my_int_least64_t il64 = INT_LEAST64_MIN;
18812 il64 = INT_LEAST64_MAX;
18813 typedef intmax_t my_intmax_t;
18814 my_intmax_t im = INTMAX_MAX;
18816 typedef intptr_t my_intptr_t;
18817 my_intptr_t ip = INTPTR_MAX;
18819 typedef uint8_t my_uint8_t;
18820 my_uint8_t ui8 = UINT8_MAX;
18822 typedef uint16_t my_uint16_t;
18823 my_uint16_t ui16 = UINT16_MAX;
18825 typedef uint32_t my_uint32_t;
18826 my_uint32_t ui32 = UINT32_MAX;
18828 typedef uint64_t my_uint64_t;
18829 my_uint64_t ui64 = UINT64_MAX;
18831 typedef uint_fast8_t my_uint_fast8_t;
18832 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18833 uif8 = UINT_FAST8_MAX;
18834 typedef uint_fast16_t my_uint_fast16_t;
18835 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18836 uif16 = UINT_FAST16_MAX;
18837 typedef uint_fast32_t my_uint_fast32_t;
18838 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18839 uif32 = UINT_FAST32_MAX;
18840 typedef uint_fast64_t my_uint_fast64_t;
18841 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18842 uif64 = UINT_FAST64_MAX;
18843 typedef uint_least8_t my_uint_least8_t;
18844 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18845 uil8 = UINT_LEAST8_MAX;
18846 typedef uint_least16_t my_uint_least16_t;
18847 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18848 uil16 = UINT_LEAST16_MAX;
18849 typedef uint_least32_t my_uint_least32_t;
18850 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18851 uil32 = UINT_LEAST32_MAX;
18852 typedef uint_least64_t my_uint_least64_t;
18853 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18854 uil64 = UINT_LEAST64_MAX;
18855 typedef uintmax_t my_uintmax_t;
18856 my_uintmax_t uim = UINTMAX_MAX;
18858 typedef uintptr_t my_uintptr_t;
18859 my_uintptr_t uip = UINTPTR_MAX;
18866 if ac_fn_cxx_try_compile "$LINENO"; then :
18867 glibcxx_cv_c99_stdint_tr1=yes
18869 glibcxx_cv_c99_stdint_tr1=no
18871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18876 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18877 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18879 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18883 # Check for the existence of <math.h> functions.
18884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18885 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18886 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18887 $as_echo_n "(cached) " >&6
18890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18891 /* end confdefs.h. */
18896 typedef double_t my_double_t;
18897 typedef float_t my_float_t;
18910 copysign(0.0, 0.0);
18911 copysignf(0.0f, 0.0f);
18912 copysignl(0.0l, 0.0l);
18928 fma(0.0, 0.0, 0.0);
18929 fmaf(0.0f, 0.0f, 0.0f);
18930 fmal(0.0l, 0.0l, 0.0l);
18938 hypotf(0.0f, 0.0f);
18939 hypotl(0.0l, 0.0l);
18973 nextafter(0.0, 0.0);
18974 nextafterf(0.0f, 0.0f);
18975 nextafterl(0.0l, 0.0l);
18976 nexttoward(0.0, 0.0);
18977 nexttowardf(0.0f, 0.0f);
18978 nexttowardl(0.0l, 0.0l);
18979 remainder(0.0, 0.0);
18980 remainderf(0.0f, 0.0f);
18981 remainderl(0.0l, 0.0l);
18982 remquo(0.0, 0.0, 0);
18983 remquof(0.0f, 0.0f, 0);
18984 remquol(0.0l, 0.0l, 0);
18992 scalblnf(0.0f, 0l);
18993 scalblnl(0.0l, 0l);
19008 if ac_fn_cxx_try_compile "$LINENO"; then :
19009 glibcxx_cv_c99_math_tr1=yes
19011 glibcxx_cv_c99_math_tr1=no
19013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19018 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19019 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19021 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19025 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19026 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19027 ac_c99_inttypes_tr1=no;
19028 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19030 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19032 /* end confdefs.h. */
19033 #include <inttypes.h>
19037 intmax_t i, numer, denom, base;
19040 intmax_t ret = imaxabs(i);
19041 imaxdiv_t dret = imaxdiv(numer, denom);
19042 ret = strtoimax(s, endptr, base);
19043 uintmax_t uret = strtoumax(s, endptr, base);
19049 if ac_fn_cxx_try_compile "$LINENO"; then :
19050 ac_c99_inttypes_tr1=yes
19052 ac_c99_inttypes_tr1=no
19054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19057 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19058 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19060 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19064 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19065 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19066 ac_c99_inttypes_wchar_t_tr1=no;
19067 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19069 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19071 /* end confdefs.h. */
19072 #include <inttypes.h>
19079 intmax_t ret = wcstoimax(s, endptr, base);
19080 uintmax_t uret = wcstoumax(s, endptr, base);
19086 if ac_fn_cxx_try_compile "$LINENO"; then :
19087 ac_c99_inttypes_wchar_t_tr1=yes
19089 ac_c99_inttypes_wchar_t_tr1=no
19091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19094 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19095 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19097 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19101 # Check for the existence of the <stdbool.h> header.
19102 for ac_header in stdbool.h
19104 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19105 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19106 cat >>confdefs.h <<_ACEOF
19107 #define HAVE_STDBOOL_H 1
19115 # Check for the existence of the <stdalign.h> header.
19116 for ac_header in stdalign.h
19118 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19119 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19120 cat >>confdefs.h <<_ACEOF
19121 #define HAVE_STDALIGN_H 1
19129 CXXFLAGS="$ac_save_CXXFLAGS"
19131 ac_cpp='$CPP $CPPFLAGS'
19132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19138 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19142 $as_echo_n "checking for the value of EOF... " >&6; }
19143 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19144 $as_echo_n "(cached) " >&6
19147 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19150 as_fn_error "computing EOF failed" "$LINENO" 5
19155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19156 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19158 cat >>confdefs.h <<_ACEOF
19159 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19164 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19165 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19166 $as_echo_n "(cached) " >&6
19169 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19172 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19178 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19180 cat >>confdefs.h <<_ACEOF
19181 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19186 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19187 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19188 $as_echo_n "(cached) " >&6
19191 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19194 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19200 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19202 cat >>confdefs.h <<_ACEOF
19203 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19208 # For gettimeofday support.
19211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19212 $as_echo_n "checking for gettimeofday... " >&6; }
19216 ac_cpp='$CXXCPP $CPPFLAGS'
19217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19221 ac_save_CXXFLAGS="$CXXFLAGS"
19222 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19224 ac_has_gettimeofday=no;
19225 for ac_header in sys/time.h
19227 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19228 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19229 cat >>confdefs.h <<_ACEOF
19230 #define HAVE_SYS_TIME_H 1
19232 ac_has_sys_time_h=yes
19234 ac_has_sys_time_h=no
19239 if test x"$ac_has_sys_time_h" = x"yes"; then
19240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19241 $as_echo_n "checking for gettimeofday... " >&6; }
19242 if test x$gcc_no_link = xyes; then
19243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19244 /* end confdefs.h. */
19245 #include <sys/time.h>
19249 timeval tv; gettimeofday(&tv, 0);
19254 if ac_fn_cxx_try_compile "$LINENO"; then :
19255 ac_has_gettimeofday=yes
19257 ac_has_gettimeofday=no
19259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19261 if test x$gcc_no_link = xyes; then
19262 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19265 /* end confdefs.h. */
19266 #include <sys/time.h>
19270 timeval tv; gettimeofday(&tv, 0);
19275 if ac_fn_cxx_try_link "$LINENO"; then :
19276 ac_has_gettimeofday=yes
19278 ac_has_gettimeofday=no
19280 rm -f core conftest.err conftest.$ac_objext \
19281 conftest$ac_exeext conftest.$ac_ext
19284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19285 $as_echo "$ac_has_gettimeofday" >&6; }
19288 if test x"$ac_has_gettimeofday" = x"yes"; then
19290 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19294 CXXFLAGS="$ac_save_CXXFLAGS"
19296 ac_cpp='$CPP $CPPFLAGS'
19297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19303 # For clock_gettime, nanosleep and sched_yield support.
19304 # NB: The default is [no], because otherwise it requires linking.
19307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
19308 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
19309 # Check whether --enable-libstdcxx-time was given.
19310 if test "${enable_libstdcxx_time+set}" = set; then :
19311 enableval=$enable_libstdcxx_time;
19312 case "$enableval" in
19314 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19318 enable_libstdcxx_time=no
19325 ac_cpp='$CXXCPP $CPPFLAGS'
19326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19330 ac_save_CXXFLAGS="$CXXFLAGS"
19331 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19332 ac_save_LIBS="$LIBS"
19334 ac_has_clock_monotonic=no
19335 ac_has_clock_realtime=no
19336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
19337 $as_echo "$enable_libstdcxx_time" >&6; }
19339 if test x"$enable_libstdcxx_time" != x"no"; then
19341 if test x"$enable_libstdcxx_time" = x"rt"; then
19342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19343 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19344 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19345 $as_echo_n "(cached) " >&6
19347 ac_func_search_save_LIBS=$LIBS
19348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19349 /* end confdefs.h. */
19351 /* Override any GCC internal prototype to avoid an error.
19352 Use char because int might match the return type of a GCC
19353 builtin and then its argument prototype would still apply. */
19357 char clock_gettime ();
19361 return clock_gettime ();
19366 for ac_lib in '' rt posix4; do
19367 if test -z "$ac_lib"; then
19368 ac_res="none required"
19371 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19373 if test x$gcc_no_link = xyes; then
19374 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19376 if ac_fn_cxx_try_link "$LINENO"; then :
19377 ac_cv_search_clock_gettime=$ac_res
19379 rm -f core conftest.err conftest.$ac_objext \
19381 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19385 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19388 ac_cv_search_clock_gettime=no
19390 rm conftest.$ac_ext
19391 LIBS=$ac_func_search_save_LIBS
19393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19394 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19395 ac_res=$ac_cv_search_clock_gettime
19396 if test "$ac_res" != no; then :
19397 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19402 $as_echo_n "checking for library containing nanosleep... " >&6; }
19403 if test "${ac_cv_search_nanosleep+set}" = set; then :
19404 $as_echo_n "(cached) " >&6
19406 ac_func_search_save_LIBS=$LIBS
19407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19408 /* end confdefs.h. */
19410 /* Override any GCC internal prototype to avoid an error.
19411 Use char because int might match the return type of a GCC
19412 builtin and then its argument prototype would still apply. */
19420 return nanosleep ();
19425 for ac_lib in '' rt posix4; do
19426 if test -z "$ac_lib"; then
19427 ac_res="none required"
19430 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19432 if test x$gcc_no_link = xyes; then
19433 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19435 if ac_fn_cxx_try_link "$LINENO"; then :
19436 ac_cv_search_nanosleep=$ac_res
19438 rm -f core conftest.err conftest.$ac_objext \
19440 if test "${ac_cv_search_nanosleep+set}" = set; then :
19444 if test "${ac_cv_search_nanosleep+set}" = set; then :
19447 ac_cv_search_nanosleep=no
19449 rm conftest.$ac_ext
19450 LIBS=$ac_func_search_save_LIBS
19452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19453 $as_echo "$ac_cv_search_nanosleep" >&6; }
19454 ac_res=$ac_cv_search_nanosleep
19455 if test "$ac_res" != no; then :
19456 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19462 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19463 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19464 $as_echo_n "(cached) " >&6
19466 ac_func_search_save_LIBS=$LIBS
19467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19468 /* end confdefs.h. */
19470 /* Override any GCC internal prototype to avoid an error.
19471 Use char because int might match the return type of a GCC
19472 builtin and then its argument prototype would still apply. */
19476 char clock_gettime ();
19480 return clock_gettime ();
19485 for ac_lib in '' posix4; do
19486 if test -z "$ac_lib"; then
19487 ac_res="none required"
19490 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19492 if test x$gcc_no_link = xyes; then
19493 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19495 if ac_fn_cxx_try_link "$LINENO"; then :
19496 ac_cv_search_clock_gettime=$ac_res
19498 rm -f core conftest.err conftest.$ac_objext \
19500 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19504 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19507 ac_cv_search_clock_gettime=no
19509 rm conftest.$ac_ext
19510 LIBS=$ac_func_search_save_LIBS
19512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19513 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19514 ac_res=$ac_cv_search_clock_gettime
19515 if test "$ac_res" != no; then :
19516 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19521 $as_echo_n "checking for library containing nanosleep... " >&6; }
19522 if test "${ac_cv_search_nanosleep+set}" = set; then :
19523 $as_echo_n "(cached) " >&6
19525 ac_func_search_save_LIBS=$LIBS
19526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19527 /* end confdefs.h. */
19529 /* Override any GCC internal prototype to avoid an error.
19530 Use char because int might match the return type of a GCC
19531 builtin and then its argument prototype would still apply. */
19539 return nanosleep ();
19544 for ac_lib in '' posix4; do
19545 if test -z "$ac_lib"; then
19546 ac_res="none required"
19549 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19551 if test x$gcc_no_link = xyes; then
19552 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19554 if ac_fn_cxx_try_link "$LINENO"; then :
19555 ac_cv_search_nanosleep=$ac_res
19557 rm -f core conftest.err conftest.$ac_objext \
19559 if test "${ac_cv_search_nanosleep+set}" = set; then :
19563 if test "${ac_cv_search_nanosleep+set}" = set; then :
19566 ac_cv_search_nanosleep=no
19568 rm conftest.$ac_ext
19569 LIBS=$ac_func_search_save_LIBS
19571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19572 $as_echo "$ac_cv_search_nanosleep" >&6; }
19573 ac_res=$ac_cv_search_nanosleep
19574 if test "$ac_res" != no; then :
19575 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19581 case "$ac_cv_search_clock_gettime" in
19582 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19585 case "$ac_cv_search_nanosleep" in
19586 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19591 $as_echo_n "checking for library containing sched_yield... " >&6; }
19592 if test "${ac_cv_search_sched_yield+set}" = set; then :
19593 $as_echo_n "(cached) " >&6
19595 ac_func_search_save_LIBS=$LIBS
19596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19597 /* end confdefs.h. */
19599 /* Override any GCC internal prototype to avoid an error.
19600 Use char because int might match the return type of a GCC
19601 builtin and then its argument prototype would still apply. */
19605 char sched_yield ();
19609 return sched_yield ();
19614 for ac_lib in '' rt posix4; do
19615 if test -z "$ac_lib"; then
19616 ac_res="none required"
19619 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19621 if test x$gcc_no_link = xyes; then
19622 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19624 if ac_fn_cxx_try_link "$LINENO"; then :
19625 ac_cv_search_sched_yield=$ac_res
19627 rm -f core conftest.err conftest.$ac_objext \
19629 if test "${ac_cv_search_sched_yield+set}" = set; then :
19633 if test "${ac_cv_search_sched_yield+set}" = set; then :
19636 ac_cv_search_sched_yield=no
19638 rm conftest.$ac_ext
19639 LIBS=$ac_func_search_save_LIBS
19641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19642 $as_echo "$ac_cv_search_sched_yield" >&6; }
19643 ac_res=$ac_cv_search_sched_yield
19644 if test "$ac_res" != no; then :
19645 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19650 case "$ac_cv_search_sched_yield" in
19652 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19654 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19658 if test x"$enable_libstdcxx_time" = x"rt"; then
19659 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19661 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19667 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19672 for ac_header in unistd.h
19674 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19675 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19676 cat >>confdefs.h <<_ACEOF
19677 #define HAVE_UNISTD_H 1
19679 ac_has_unistd_h=yes
19687 if test x"$ac_has_unistd_h" = x"yes"; then
19688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19689 $as_echo_n "checking for monotonic clock... " >&6; }
19690 if test x$gcc_no_link = xyes; then
19691 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19694 /* end confdefs.h. */
19695 #include <unistd.h>
19701 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19704 clock_gettime(CLOCK_MONOTONIC, &tp);
19710 if ac_fn_cxx_try_link "$LINENO"; then :
19711 ac_has_clock_monotonic=yes
19713 ac_has_clock_monotonic=no
19715 rm -f core conftest.err conftest.$ac_objext \
19716 conftest$ac_exeext conftest.$ac_ext
19718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19719 $as_echo "$ac_has_clock_monotonic" >&6; }
19721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19722 $as_echo_n "checking for realtime clock... " >&6; }
19723 if test x$gcc_no_link = xyes; then
19724 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19727 /* end confdefs.h. */
19728 #include <unistd.h>
19734 #if _POSIX_TIMERS > 0
19737 clock_gettime(CLOCK_REALTIME, &tp);
19743 if ac_fn_cxx_try_link "$LINENO"; then :
19744 ac_has_clock_realtime=yes
19746 ac_has_clock_realtime=no
19748 rm -f core conftest.err conftest.$ac_objext \
19749 conftest$ac_exeext conftest.$ac_ext
19751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19752 $as_echo "$ac_has_clock_realtime" >&6; }
19754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19755 $as_echo_n "checking for nanosleep... " >&6; }
19756 if test x$gcc_no_link = xyes; then
19757 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19760 /* end confdefs.h. */
19761 #include <unistd.h>
19767 #if _POSIX_TIMERS > 0
19776 if ac_fn_cxx_try_link "$LINENO"; then :
19777 ac_has_nanosleep=yes
19779 ac_has_nanosleep=no
19781 rm -f core conftest.err conftest.$ac_objext \
19782 conftest$ac_exeext conftest.$ac_ext
19784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19785 $as_echo "$ac_has_nanosleep" >&6; }
19789 if test x"$ac_has_clock_monotonic" = x"yes"; then
19791 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19795 if test x"$ac_has_clock_realtime" = x"yes"; then
19797 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19801 if test x"$ac_has_nanosleep" = x"yes"; then
19803 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19809 CXXFLAGS="$ac_save_CXXFLAGS"
19810 LIBS="$ac_save_LIBS"
19812 ac_cpp='$CPP $CPPFLAGS'
19813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19819 # For gthread support
19823 ac_cpp='$CXXCPP $CPPFLAGS'
19824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19829 ac_save_CXXFLAGS="$CXXFLAGS"
19830 CXXFLAGS="$CXXFLAGS -fno-exceptions \
19831 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
19833 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
19834 case $target_thread_file in
19836 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
19839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
19840 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
19842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19843 /* end confdefs.h. */
19844 #include <unistd.h>
19849 // In case of POSIX threads check _POSIX_TIMEOUTS.
19850 #if (defined(_PTHREADS) \
19851 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
19859 if ac_fn_cxx_try_compile "$LINENO"; then :
19860 ac_gthread_use_mutex_timedlock=1
19862 ac_gthread_use_mutex_timedlock=0
19864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19867 cat >>confdefs.h <<_ACEOF
19868 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
19872 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
19873 else res_mutex_timedlock=no ; fi
19874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
19875 $as_echo "$res_mutex_timedlock" >&6; }
19877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
19878 $as_echo_n "checking for gthreads library... " >&6; }
19880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19881 /* end confdefs.h. */
19887 #ifndef __GTHREADS_CXX0X
19895 if ac_fn_cxx_try_compile "$LINENO"; then :
19896 ac_has_gthreads=yes
19900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
19903 $as_echo "$ac_has_gthreads" >&6; }
19905 if test x"$ac_has_gthreads" = x"yes"; then
19907 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
19911 CXXFLAGS="$ac_save_CXXFLAGS"
19913 ac_cpp='$CPP $CPPFLAGS'
19914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19921 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19922 if test "x$ac_cv_header_locale_h" = x""yes; then :
19924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19925 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19926 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19927 $as_echo_n "(cached) " >&6
19929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19930 /* end confdefs.h. */
19931 #include <locale.h>
19940 if ac_fn_c_try_compile "$LINENO"; then :
19941 ac_cv_val_LC_MESSAGES=yes
19943 ac_cv_val_LC_MESSAGES=no
19945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19948 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19949 if test $ac_cv_val_LC_MESSAGES = yes; then
19951 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19960 # For hardware_concurrency
19961 for ac_header in sys/sysinfo.h
19963 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
19964 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
19965 cat >>confdefs.h <<_ACEOF
19966 #define HAVE_SYS_SYSINFO_H 1
19977 ac_cpp='$CXXCPP $CPPFLAGS'
19978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19982 ac_save_CXXFLAGS="$CXXFLAGS"
19983 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
19986 $as_echo_n "checking for get_nprocs... " >&6; }
19987 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
19988 $as_echo_n "(cached) " >&6
19991 if test x$gcc_no_link = xyes; then
19992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19993 /* end confdefs.h. */
19994 #include <sys/sysinfo.h>
19998 int n = get_nprocs();
20003 if ac_fn_cxx_try_compile "$LINENO"; then :
20004 glibcxx_cv_GET_NPROCS=yes
20006 glibcxx_cv_GET_NPROCS=no
20008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20010 if test x$gcc_no_link = xyes; then
20011 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20014 /* end confdefs.h. */
20015 #include <sys/sysinfo.h>
20019 int n = get_nprocs();
20024 if ac_fn_cxx_try_link "$LINENO"; then :
20025 glibcxx_cv_GET_NPROCS=yes
20027 glibcxx_cv_GET_NPROCS=no
20029 rm -f core conftest.err conftest.$ac_objext \
20030 conftest$ac_exeext conftest.$ac_ext
20035 if test $glibcxx_cv_GET_NPROCS = yes; then
20037 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20041 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20043 CXXFLAGS="$ac_save_CXXFLAGS"
20045 ac_cpp='$CPP $CPPFLAGS'
20046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20051 for ac_header in unistd.h
20053 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20054 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20055 cat >>confdefs.h <<_ACEOF
20056 #define HAVE_UNISTD_H 1
20067 ac_cpp='$CXXCPP $CPPFLAGS'
20068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20072 ac_save_CXXFLAGS="$CXXFLAGS"
20073 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20076 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20077 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20078 $as_echo_n "(cached) " >&6
20081 if test x$gcc_no_link = xyes; then
20082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20083 /* end confdefs.h. */
20084 #include <unistd.h>
20088 int n = sysconf(_SC_NPROCESSORS_ONLN);
20093 if ac_fn_cxx_try_compile "$LINENO"; then :
20094 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20096 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20100 if test x$gcc_no_link = xyes; then
20101 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20104 /* end confdefs.h. */
20105 #include <unistd.h>
20109 int n = sysconf(_SC_NPROCESSORS_ONLN);
20114 if ac_fn_cxx_try_link "$LINENO"; then :
20115 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20117 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20119 rm -f core conftest.err conftest.$ac_objext \
20120 conftest$ac_exeext conftest.$ac_ext
20125 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20127 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20131 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20133 CXXFLAGS="$ac_save_CXXFLAGS"
20135 ac_cpp='$CPP $CPPFLAGS'
20136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20145 ac_cpp='$CXXCPP $CPPFLAGS'
20146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20150 ac_save_CXXFLAGS="$CXXFLAGS"
20151 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20154 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20155 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20156 $as_echo_n "(cached) " >&6
20159 if test x$gcc_no_link = xyes; then
20160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20161 /* end confdefs.h. */
20162 #include <unistd.h>
20166 int n = sysconf(_SC_NPROC_ONLN);
20171 if ac_fn_cxx_try_compile "$LINENO"; then :
20172 glibcxx_cv_SC_NPROC_ONLN=yes
20174 glibcxx_cv_SC_NPROC_ONLN=no
20176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20178 if test x$gcc_no_link = xyes; then
20179 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20182 /* end confdefs.h. */
20183 #include <unistd.h>
20187 int n = sysconf(_SC_NPROC_ONLN);
20192 if ac_fn_cxx_try_link "$LINENO"; then :
20193 glibcxx_cv_SC_NPROC_ONLN=yes
20195 glibcxx_cv_SC_NPROC_ONLN=no
20197 rm -f core conftest.err conftest.$ac_objext \
20198 conftest$ac_exeext conftest.$ac_ext
20203 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20205 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20209 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20211 CXXFLAGS="$ac_save_CXXFLAGS"
20213 ac_cpp='$CPP $CPPFLAGS'
20214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20223 ac_cpp='$CXXCPP $CPPFLAGS'
20224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20228 ac_save_CXXFLAGS="$CXXFLAGS"
20229 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20232 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20233 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20234 $as_echo_n "(cached) " >&6
20237 if test x$gcc_no_link = xyes; then
20238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20239 /* end confdefs.h. */
20240 #include <pthread.h>
20244 int n = pthread_num_processors_np();
20249 if ac_fn_cxx_try_compile "$LINENO"; then :
20250 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20252 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20256 if test x$gcc_no_link = xyes; then
20257 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20260 /* end confdefs.h. */
20261 #include <pthread.h>
20265 int n = pthread_num_processors_np();
20270 if ac_fn_cxx_try_link "$LINENO"; then :
20271 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20273 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20275 rm -f core conftest.err conftest.$ac_objext \
20276 conftest$ac_exeext conftest.$ac_ext
20281 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20283 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20287 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20289 CXXFLAGS="$ac_save_CXXFLAGS"
20291 ac_cpp='$CPP $CPPFLAGS'
20292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20301 ac_cpp='$CXXCPP $CPPFLAGS'
20302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20306 ac_save_CXXFLAGS="$CXXFLAGS"
20307 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20310 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20311 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20312 $as_echo_n "(cached) " >&6
20315 if test x$gcc_no_link = xyes; then
20316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20317 /* end confdefs.h. */
20319 #include <stddef.h>
20320 #include <sys/sysctl.h>
20327 size_t size = sizeof(count);
20328 int mib[] = { CTL_HW, HW_NCPU };
20329 sysctl(mib, 2, &count, &size, NULL, 0);
20335 if ac_fn_cxx_try_compile "$LINENO"; then :
20336 glibcxx_cv_SYSCTL_HW_NCPU=yes
20338 glibcxx_cv_SYSCTL_HW_NCPU=no
20340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20342 if test x$gcc_no_link = xyes; then
20343 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20346 /* end confdefs.h. */
20348 #include <stddef.h>
20349 #include <sys/sysctl.h>
20356 size_t size = sizeof(count);
20357 int mib[] = { CTL_HW, HW_NCPU };
20358 sysctl(mib, 2, &count, &size, NULL, 0);
20364 if ac_fn_cxx_try_link "$LINENO"; then :
20365 glibcxx_cv_SYSCTL_HW_NCPU=yes
20367 glibcxx_cv_SYSCTL_HW_NCPU=no
20369 rm -f core conftest.err conftest.$ac_objext \
20370 conftest$ac_exeext conftest.$ac_ext
20375 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20377 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20381 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20383 CXXFLAGS="$ac_save_CXXFLAGS"
20385 ac_cpp='$CPP $CPPFLAGS'
20386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20392 # Check for available headers.
20393 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20394 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20395 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20396 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20399 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20400 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20401 eval as_val=\$$as_ac_Header
20402 if test "x$as_val" = x""yes; then :
20403 cat >>confdefs.h <<_ACEOF
20404 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20412 # Only do link tests if native. Else, hardcode.
20413 if $GLIBCXX_IS_NATIVE; then
20415 # We can do more elaborate tests that assume a working linker.
20420 # Check whether --with-gnu-ld was given.
20421 if test "${with_gnu_ld+set}" = set; then :
20422 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20428 if test "$GCC" = yes; then
20429 # Check if gcc -print-prog-name=ld gives a path.
20430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20431 $as_echo_n "checking for ld used by $CC... " >&6; }
20434 # gcc leaves a trailing carriage return which upsets mingw
20435 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20437 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20440 # Accept absolute paths.
20442 re_direlt='/[^/][^/]*/\.\./'
20443 # Canonicalize the pathname of ld
20444 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20445 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20446 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20448 test -z "$LD" && LD="$ac_prog"
20451 # If it fails, then pretend we aren't using GCC.
20455 # If it is relative, then search for the first ld in PATH.
20456 with_gnu_ld=unknown
20459 elif test "$with_gnu_ld" = yes; then
20460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20461 $as_echo_n "checking for GNU ld... " >&6; }
20463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20464 $as_echo_n "checking for non-GNU ld... " >&6; }
20466 if test "${lt_cv_path_LD+set}" = set; then :
20467 $as_echo_n "(cached) " >&6
20469 if test -z "$LD"; then
20470 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20471 for ac_dir in $PATH; do
20473 test -z "$ac_dir" && ac_dir=.
20474 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20475 lt_cv_path_LD="$ac_dir/$ac_prog"
20476 # Check to see if the program is GNU ld. I'd rather use --version,
20477 # but apparently some variants of GNU ld only accept -v.
20478 # Break only if it was the GNU/non-GNU ld that we prefer.
20479 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20480 *GNU* | *'with BFD'*)
20481 test "$with_gnu_ld" != no && break
20484 test "$with_gnu_ld" != yes && break
20491 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20495 LD="$lt_cv_path_LD"
20496 if test -n "$LD"; then
20497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20498 $as_echo "$LD" >&6; }
20500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20501 $as_echo "no" >&6; }
20503 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20505 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20506 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20507 $as_echo_n "(cached) " >&6
20509 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20510 case `$LD -v 2>&1 </dev/null` in
20511 *GNU* | *'with BFD'*)
20512 lt_cv_prog_gnu_ld=yes
20515 lt_cv_prog_gnu_ld=no
20519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20520 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20521 with_gnu_ld=$lt_cv_prog_gnu_ld
20529 # If we're not using GNU ld, then there's no point in even trying these
20530 # tests. Check for that first. We should have already tested for gld
20531 # by now (in libtool), but require it now just to be safe...
20532 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20533 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20537 # The name set by libtool depends on the version of libtool. Shame on us
20538 # for depending on an impl detail, but c'est la vie. Older versions used
20539 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20540 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20541 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20542 # set (hence we're using an older libtool), then set it.
20543 if test x${with_gnu_ld+set} != xset; then
20544 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20545 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20548 with_gnu_ld=$ac_cv_prog_gnu_ld
20552 # Start by getting the version number. I think the libtool test already
20553 # does some of this, but throws away the result.
20554 glibcxx_ld_is_gold=no
20555 if test x"$with_gnu_ld" = x"yes"; then
20556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20557 $as_echo_n "checking for ld version... " >&6; }
20559 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20560 glibcxx_ld_is_gold=yes
20562 ldver=`$LD --version 2>/dev/null |
20563 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'`
20565 glibcxx_gnu_ld_version=`echo $ldver | \
20566 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20568 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20571 # Set --gc-sections.
20572 glibcxx_have_gc_sections=no
20573 if test "$glibcxx_ld_is_gold" = "yes"; then
20574 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20575 glibcxx_have_gc_sections=yes
20578 glibcxx_gcsections_min_ld=21602
20579 if test x"$with_gnu_ld" = x"yes" &&
20580 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20581 glibcxx_have_gc_sections=yes
20584 if test "$glibcxx_have_gc_sections" = "yes"; then
20585 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20586 # NB: This flag only works reliably after 2.16.1. Configure tests
20587 # for this are difficult, so hard wire a value that should work.
20589 ac_test_CFLAGS="${CFLAGS+set}"
20590 ac_save_CFLAGS="$CFLAGS"
20591 CFLAGS='-Wl,--gc-sections'
20593 # Check for -Wl,--gc-sections
20594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20595 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20596 if test x$gcc_no_link = xyes; then
20597 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20600 /* end confdefs.h. */
20601 int one(void) { return 1; }
20602 int two(void) { return 2; }
20612 if ac_fn_c_try_link "$LINENO"; then :
20617 rm -f core conftest.err conftest.$ac_objext \
20618 conftest$ac_exeext conftest.$ac_ext
20619 if test "$ac_gcsections" = "yes"; then
20622 if $CC -c conftest.c; then
20623 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20624 grep "Warning: gc-sections option ignored" > /dev/null; then
20628 rm -f conftest.c conftest.o conftest
20630 if test "$ac_gcsections" = "yes"; then
20631 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20634 $as_echo "$ac_gcsections" >&6; }
20636 if test "$ac_test_CFLAGS" = set; then
20637 CFLAGS="$ac_save_CFLAGS"
20639 # this is the suspicious part
20645 # Note this is only for shared objects.
20647 if test x"$with_gnu_ld" = x"yes"; then
20648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20649 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20650 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20651 if test -n "$cxx_z_relo"; then
20652 OPT_LDFLAGS="-Wl,-z,relro"
20655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20656 $as_echo "$ac_ld_relro" >&6; }
20659 # Set linker optimization flags.
20660 if test x"$with_gnu_ld" = x"yes"; then
20661 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20668 ac_test_CXXFLAGS="${CXXFLAGS+set}"
20669 ac_save_CXXFLAGS="$CXXFLAGS"
20670 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20673 $as_echo_n "checking for sin in -lm... " >&6; }
20674 if test "${ac_cv_lib_m_sin+set}" = set; then :
20675 $as_echo_n "(cached) " >&6
20677 ac_check_lib_save_LIBS=$LIBS
20679 if test x$gcc_no_link = xyes; then
20680 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20683 /* end confdefs.h. */
20685 /* Override any GCC internal prototype to avoid an error.
20686 Use char because int might match the return type of a GCC
20687 builtin and then its argument prototype would still apply. */
20700 if ac_fn_c_try_link "$LINENO"; then :
20701 ac_cv_lib_m_sin=yes
20705 rm -f core conftest.err conftest.$ac_objext \
20706 conftest$ac_exeext conftest.$ac_ext
20707 LIBS=$ac_check_lib_save_LIBS
20709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20710 $as_echo "$ac_cv_lib_m_sin" >&6; }
20711 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20715 ac_save_LIBS="$LIBS"
20720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20721 $as_echo_n "checking for isinf declaration... " >&6; }
20722 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20723 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20724 $as_echo_n "(cached) " >&6
20729 ac_cpp='$CXXCPP $CPPFLAGS'
20730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20735 /* end confdefs.h. */
20737 #ifdef HAVE_IEEEFP_H
20738 #include <ieeefp.h>
20749 if ac_fn_cxx_try_compile "$LINENO"; then :
20750 glibcxx_cv_func_isinf_use=yes
20752 glibcxx_cv_func_isinf_use=no
20754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20756 ac_cpp='$CPP $CPPFLAGS'
20757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
20766 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
20768 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
20769 for ac_func in isinf
20771 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
20772 if test "x$ac_cv_func_isinf" = x""yes; then :
20773 cat >>confdefs.h <<_ACEOF
20774 #define HAVE_ISINF 1
20782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
20783 $as_echo_n "checking for _isinf declaration... " >&6; }
20784 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
20785 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
20786 $as_echo_n "(cached) " >&6
20791 ac_cpp='$CXXCPP $CPPFLAGS'
20792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20797 /* end confdefs.h. */
20799 #ifdef HAVE_IEEEFP_H
20800 #include <ieeefp.h>
20811 if ac_fn_cxx_try_compile "$LINENO"; then :
20812 glibcxx_cv_func__isinf_use=yes
20814 glibcxx_cv_func__isinf_use=no
20816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20818 ac_cpp='$CPP $CPPFLAGS'
20819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
20828 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
20830 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
20831 for ac_func in _isinf
20833 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
20834 if test "x$ac_cv_func__isinf" = x""yes; then :
20835 cat >>confdefs.h <<_ACEOF
20836 #define HAVE__ISINF 1
20849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
20850 $as_echo_n "checking for isnan declaration... " >&6; }
20851 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
20852 if test "${glibcxx_cv_func_isnan_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. */
20866 #ifdef HAVE_IEEEFP_H
20867 #include <ieeefp.h>
20878 if ac_fn_cxx_try_compile "$LINENO"; then :
20879 glibcxx_cv_func_isnan_use=yes
20881 glibcxx_cv_func_isnan_use=no
20883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20885 ac_cpp='$CPP $CPPFLAGS'
20886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
20895 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
20897 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
20898 for ac_func in isnan
20900 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
20901 if test "x$ac_cv_func_isnan" = x""yes; then :
20902 cat >>confdefs.h <<_ACEOF
20903 #define HAVE_ISNAN 1
20911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
20912 $as_echo_n "checking for _isnan declaration... " >&6; }
20913 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
20914 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
20915 $as_echo_n "(cached) " >&6
20920 ac_cpp='$CXXCPP $CPPFLAGS'
20921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20926 /* end confdefs.h. */
20928 #ifdef HAVE_IEEEFP_H
20929 #include <ieeefp.h>
20940 if ac_fn_cxx_try_compile "$LINENO"; then :
20941 glibcxx_cv_func__isnan_use=yes
20943 glibcxx_cv_func__isnan_use=no
20945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20947 ac_cpp='$CPP $CPPFLAGS'
20948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20957 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20959 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20960 for ac_func in _isnan
20962 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20963 if test "x$ac_cv_func__isnan" = x""yes; then :
20964 cat >>confdefs.h <<_ACEOF
20965 #define HAVE__ISNAN 1
20978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20979 $as_echo_n "checking for finite declaration... " >&6; }
20980 if test x${glibcxx_cv_func_finite_use+set} != xset; then
20981 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20982 $as_echo_n "(cached) " >&6
20987 ac_cpp='$CXXCPP $CPPFLAGS'
20988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20993 /* end confdefs.h. */
20995 #ifdef HAVE_IEEEFP_H
20996 #include <ieeefp.h>
21007 if ac_fn_cxx_try_compile "$LINENO"; then :
21008 glibcxx_cv_func_finite_use=yes
21010 glibcxx_cv_func_finite_use=no
21012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21014 ac_cpp='$CPP $CPPFLAGS'
21015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
21024 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
21026 if test x$glibcxx_cv_func_finite_use = x"yes"; then
21027 for ac_func in finite
21029 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
21030 if test "x$ac_cv_func_finite" = x""yes; then :
21031 cat >>confdefs.h <<_ACEOF
21032 #define HAVE_FINITE 1
21040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21041 $as_echo_n "checking for _finite declaration... " >&6; }
21042 if test x${glibcxx_cv_func__finite_use+set} != xset; then
21043 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21044 $as_echo_n "(cached) " >&6
21049 ac_cpp='$CXXCPP $CPPFLAGS'
21050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21055 /* end confdefs.h. */
21057 #ifdef HAVE_IEEEFP_H
21058 #include <ieeefp.h>
21069 if ac_fn_cxx_try_compile "$LINENO"; then :
21070 glibcxx_cv_func__finite_use=yes
21072 glibcxx_cv_func__finite_use=no
21074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21076 ac_cpp='$CPP $CPPFLAGS'
21077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21086 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21088 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21089 for ac_func in _finite
21091 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21092 if test "x$ac_cv_func__finite" = x""yes; then :
21093 cat >>confdefs.h <<_ACEOF
21094 #define HAVE__FINITE 1
21107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21108 $as_echo_n "checking for sincos declaration... " >&6; }
21109 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21110 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21111 $as_echo_n "(cached) " >&6
21116 ac_cpp='$CXXCPP $CPPFLAGS'
21117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21122 /* end confdefs.h. */
21132 if ac_fn_cxx_try_compile "$LINENO"; then :
21133 glibcxx_cv_func_sincos_use=yes
21135 glibcxx_cv_func_sincos_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_sincos_use" >&5
21149 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21151 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21152 for ac_func in sincos
21154 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21155 if test "x$ac_cv_func_sincos" = x""yes; then :
21156 cat >>confdefs.h <<_ACEOF
21157 #define HAVE_SINCOS 1
21165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21166 $as_echo_n "checking for _sincos declaration... " >&6; }
21167 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21168 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21169 $as_echo_n "(cached) " >&6
21174 ac_cpp='$CXXCPP $CPPFLAGS'
21175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21180 /* end confdefs.h. */
21190 if ac_fn_cxx_try_compile "$LINENO"; then :
21191 glibcxx_cv_func__sincos_use=yes
21193 glibcxx_cv_func__sincos_use=no
21195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21197 ac_cpp='$CPP $CPPFLAGS'
21198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21207 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21209 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21210 for ac_func in _sincos
21212 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21213 if test "x$ac_cv_func__sincos" = x""yes; then :
21214 cat >>confdefs.h <<_ACEOF
21215 #define HAVE__SINCOS 1
21228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21229 $as_echo_n "checking for fpclass declaration... " >&6; }
21230 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21231 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21232 $as_echo_n "(cached) " >&6
21237 ac_cpp='$CXXCPP $CPPFLAGS'
21238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21243 /* end confdefs.h. */
21245 #ifdef HAVE_IEEEFP_H
21246 #include <ieeefp.h>
21257 if ac_fn_cxx_try_compile "$LINENO"; then :
21258 glibcxx_cv_func_fpclass_use=yes
21260 glibcxx_cv_func_fpclass_use=no
21262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21264 ac_cpp='$CPP $CPPFLAGS'
21265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21274 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21276 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21277 for ac_func in fpclass
21279 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21280 if test "x$ac_cv_func_fpclass" = x""yes; then :
21281 cat >>confdefs.h <<_ACEOF
21282 #define HAVE_FPCLASS 1
21290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21291 $as_echo_n "checking for _fpclass declaration... " >&6; }
21292 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21293 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21294 $as_echo_n "(cached) " >&6
21299 ac_cpp='$CXXCPP $CPPFLAGS'
21300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21305 /* end confdefs.h. */
21307 #ifdef HAVE_IEEEFP_H
21308 #include <ieeefp.h>
21319 if ac_fn_cxx_try_compile "$LINENO"; then :
21320 glibcxx_cv_func__fpclass_use=yes
21322 glibcxx_cv_func__fpclass_use=no
21324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21326 ac_cpp='$CPP $CPPFLAGS'
21327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21336 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21338 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21339 for ac_func in _fpclass
21341 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21342 if test "x$ac_cv_func__fpclass" = x""yes; then :
21343 cat >>confdefs.h <<_ACEOF
21344 #define HAVE__FPCLASS 1
21357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21358 $as_echo_n "checking for qfpclass declaration... " >&6; }
21359 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21360 if test "${glibcxx_cv_func_qfpclass_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. */
21374 #ifdef HAVE_IEEEFP_H
21375 #include <ieeefp.h>
21386 if ac_fn_cxx_try_compile "$LINENO"; then :
21387 glibcxx_cv_func_qfpclass_use=yes
21389 glibcxx_cv_func_qfpclass_use=no
21391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21393 ac_cpp='$CPP $CPPFLAGS'
21394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21403 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21405 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21406 for ac_func in qfpclass
21408 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21409 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21410 cat >>confdefs.h <<_ACEOF
21411 #define HAVE_QFPCLASS 1
21419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21420 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21421 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21422 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21423 $as_echo_n "(cached) " >&6
21428 ac_cpp='$CXXCPP $CPPFLAGS'
21429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21434 /* end confdefs.h. */
21436 #ifdef HAVE_IEEEFP_H
21437 #include <ieeefp.h>
21448 if ac_fn_cxx_try_compile "$LINENO"; then :
21449 glibcxx_cv_func__qfpclass_use=yes
21451 glibcxx_cv_func__qfpclass_use=no
21453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21455 ac_cpp='$CPP $CPPFLAGS'
21456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21465 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21467 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21468 for ac_func in _qfpclass
21470 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21471 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21472 cat >>confdefs.h <<_ACEOF
21473 #define HAVE__QFPCLASS 1
21486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21487 $as_echo_n "checking for hypot declaration... " >&6; }
21488 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21489 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21490 $as_echo_n "(cached) " >&6
21495 ac_cpp='$CXXCPP $CPPFLAGS'
21496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21501 /* end confdefs.h. */
21511 if ac_fn_cxx_try_compile "$LINENO"; then :
21512 glibcxx_cv_func_hypot_use=yes
21514 glibcxx_cv_func_hypot_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_hypot_use" >&5
21528 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21530 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21531 for ac_func in hypot
21533 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21534 if test "x$ac_cv_func_hypot" = x""yes; then :
21535 cat >>confdefs.h <<_ACEOF
21536 #define HAVE_HYPOT 1
21544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21545 $as_echo_n "checking for _hypot declaration... " >&6; }
21546 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21547 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21548 $as_echo_n "(cached) " >&6
21553 ac_cpp='$CXXCPP $CPPFLAGS'
21554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21559 /* end confdefs.h. */
21569 if ac_fn_cxx_try_compile "$LINENO"; then :
21570 glibcxx_cv_func__hypot_use=yes
21572 glibcxx_cv_func__hypot_use=no
21574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21576 ac_cpp='$CPP $CPPFLAGS'
21577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21586 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21588 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21589 for ac_func in _hypot
21591 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21592 if test "x$ac_cv_func__hypot" = x""yes; then :
21593 cat >>confdefs.h <<_ACEOF
21594 #define HAVE__HYPOT 1
21607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21608 $as_echo_n "checking for float trig functions... " >&6; }
21609 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21610 $as_echo_n "(cached) " >&6
21615 ac_cpp='$CXXCPP $CPPFLAGS'
21616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21621 /* end confdefs.h. */
21626 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21631 if ac_fn_cxx_try_compile "$LINENO"; then :
21632 glibcxx_cv_func_float_trig_use=yes
21634 glibcxx_cv_func_float_trig_use=no
21636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21638 ac_cpp='$CPP $CPPFLAGS'
21639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21646 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21647 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21648 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21650 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21651 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21652 eval as_val=\$$as_ac_var
21653 if test "x$as_val" = x""yes; then :
21654 cat >>confdefs.h <<_ACEOF
21655 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21663 $as_echo_n "checking for _float trig functions... " >&6; }
21664 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21665 $as_echo_n "(cached) " >&6
21670 ac_cpp='$CXXCPP $CPPFLAGS'
21671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21676 /* end confdefs.h. */
21681 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21686 if ac_fn_cxx_try_compile "$LINENO"; then :
21687 glibcxx_cv_func__float_trig_use=yes
21689 glibcxx_cv_func__float_trig_use=no
21691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21693 ac_cpp='$CPP $CPPFLAGS'
21694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21701 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21702 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21703 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21705 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21706 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21707 eval as_val=\$$as_ac_var
21708 if test "x$as_val" = x""yes; then :
21709 cat >>confdefs.h <<_ACEOF
21710 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21724 $as_echo_n "checking for float round functions... " >&6; }
21725 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21726 $as_echo_n "(cached) " >&6
21731 ac_cpp='$CXXCPP $CPPFLAGS'
21732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21737 /* end confdefs.h. */
21742 ceilf (0); floorf (0);
21747 if ac_fn_cxx_try_compile "$LINENO"; then :
21748 glibcxx_cv_func_float_round_use=yes
21750 glibcxx_cv_func_float_round_use=no
21752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21754 ac_cpp='$CPP $CPPFLAGS'
21755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
21762 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
21763 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21764 for ac_func in ceilf floorf
21766 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21767 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21768 eval as_val=\$$as_ac_var
21769 if test "x$as_val" = x""yes; then :
21770 cat >>confdefs.h <<_ACEOF
21771 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
21779 $as_echo_n "checking for _float round functions... " >&6; }
21780 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
21781 $as_echo_n "(cached) " >&6
21786 ac_cpp='$CXXCPP $CPPFLAGS'
21787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21792 /* end confdefs.h. */
21797 _ceilf (0); _floorf (0);
21802 if ac_fn_cxx_try_compile "$LINENO"; then :
21803 glibcxx_cv_func__float_round_use=yes
21805 glibcxx_cv_func__float_round_use=no
21807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21809 ac_cpp='$CPP $CPPFLAGS'
21810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
21817 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
21818 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21819 for ac_func in _ceilf _floorf
21821 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21822 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21823 eval as_val=\$$as_ac_var
21824 if test "x$as_val" = x""yes; then :
21825 cat >>confdefs.h <<_ACEOF
21826 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
21841 $as_echo_n "checking for expf declaration... " >&6; }
21842 if test x${glibcxx_cv_func_expf_use+set} != xset; then
21843 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
21844 $as_echo_n "(cached) " >&6
21849 ac_cpp='$CXXCPP $CPPFLAGS'
21850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21855 /* end confdefs.h. */
21857 #ifdef HAVE_IEEEFP_H
21858 #include <ieeefp.h>
21869 if ac_fn_cxx_try_compile "$LINENO"; then :
21870 glibcxx_cv_func_expf_use=yes
21872 glibcxx_cv_func_expf_use=no
21874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21876 ac_cpp='$CPP $CPPFLAGS'
21877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
21886 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
21888 if test x$glibcxx_cv_func_expf_use = x"yes"; then
21889 for ac_func in expf
21891 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
21892 if test "x$ac_cv_func_expf" = x""yes; then :
21893 cat >>confdefs.h <<_ACEOF
21894 #define HAVE_EXPF 1
21902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
21903 $as_echo_n "checking for _expf declaration... " >&6; }
21904 if test x${glibcxx_cv_func__expf_use+set} != xset; then
21905 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
21906 $as_echo_n "(cached) " >&6
21911 ac_cpp='$CXXCPP $CPPFLAGS'
21912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21917 /* end confdefs.h. */
21919 #ifdef HAVE_IEEEFP_H
21920 #include <ieeefp.h>
21931 if ac_fn_cxx_try_compile "$LINENO"; then :
21932 glibcxx_cv_func__expf_use=yes
21934 glibcxx_cv_func__expf_use=no
21936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21938 ac_cpp='$CPP $CPPFLAGS'
21939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21948 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21950 if test x$glibcxx_cv_func__expf_use = x"yes"; then
21951 for ac_func in _expf
21953 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21954 if test "x$ac_cv_func__expf" = x""yes; then :
21955 cat >>confdefs.h <<_ACEOF
21956 #define HAVE__EXPF 1
21969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21970 $as_echo_n "checking for isnanf declaration... " >&6; }
21971 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21972 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21973 $as_echo_n "(cached) " >&6
21978 ac_cpp='$CXXCPP $CPPFLAGS'
21979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21984 /* end confdefs.h. */
21986 #ifdef HAVE_IEEEFP_H
21987 #include <ieeefp.h>
21998 if ac_fn_cxx_try_compile "$LINENO"; then :
21999 glibcxx_cv_func_isnanf_use=yes
22001 glibcxx_cv_func_isnanf_use=no
22003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22005 ac_cpp='$CPP $CPPFLAGS'
22006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
22015 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
22017 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22018 for ac_func in isnanf
22020 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
22021 if test "x$ac_cv_func_isnanf" = x""yes; then :
22022 cat >>confdefs.h <<_ACEOF
22023 #define HAVE_ISNANF 1
22031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
22032 $as_echo_n "checking for _isnanf declaration... " >&6; }
22033 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22034 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22035 $as_echo_n "(cached) " >&6
22040 ac_cpp='$CXXCPP $CPPFLAGS'
22041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22046 /* end confdefs.h. */
22048 #ifdef HAVE_IEEEFP_H
22049 #include <ieeefp.h>
22060 if ac_fn_cxx_try_compile "$LINENO"; then :
22061 glibcxx_cv_func__isnanf_use=yes
22063 glibcxx_cv_func__isnanf_use=no
22065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22067 ac_cpp='$CPP $CPPFLAGS'
22068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22077 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22079 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22080 for ac_func in _isnanf
22082 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22083 if test "x$ac_cv_func__isnanf" = x""yes; then :
22084 cat >>confdefs.h <<_ACEOF
22085 #define HAVE__ISNANF 1
22098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22099 $as_echo_n "checking for isinff declaration... " >&6; }
22100 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22101 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22102 $as_echo_n "(cached) " >&6
22107 ac_cpp='$CXXCPP $CPPFLAGS'
22108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22113 /* end confdefs.h. */
22115 #ifdef HAVE_IEEEFP_H
22116 #include <ieeefp.h>
22127 if ac_fn_cxx_try_compile "$LINENO"; then :
22128 glibcxx_cv_func_isinff_use=yes
22130 glibcxx_cv_func_isinff_use=no
22132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22134 ac_cpp='$CPP $CPPFLAGS'
22135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22144 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22146 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22147 for ac_func in isinff
22149 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22150 if test "x$ac_cv_func_isinff" = x""yes; then :
22151 cat >>confdefs.h <<_ACEOF
22152 #define HAVE_ISINFF 1
22160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22161 $as_echo_n "checking for _isinff declaration... " >&6; }
22162 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22163 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22164 $as_echo_n "(cached) " >&6
22169 ac_cpp='$CXXCPP $CPPFLAGS'
22170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22175 /* end confdefs.h. */
22177 #ifdef HAVE_IEEEFP_H
22178 #include <ieeefp.h>
22189 if ac_fn_cxx_try_compile "$LINENO"; then :
22190 glibcxx_cv_func__isinff_use=yes
22192 glibcxx_cv_func__isinff_use=no
22194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22196 ac_cpp='$CPP $CPPFLAGS'
22197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22206 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22208 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22209 for ac_func in _isinff
22211 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22212 if test "x$ac_cv_func__isinff" = x""yes; then :
22213 cat >>confdefs.h <<_ACEOF
22214 #define HAVE__ISINFF 1
22227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22228 $as_echo_n "checking for atan2f declaration... " >&6; }
22229 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22230 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22231 $as_echo_n "(cached) " >&6
22236 ac_cpp='$CXXCPP $CPPFLAGS'
22237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22242 /* end confdefs.h. */
22252 if ac_fn_cxx_try_compile "$LINENO"; then :
22253 glibcxx_cv_func_atan2f_use=yes
22255 glibcxx_cv_func_atan2f_use=no
22257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22259 ac_cpp='$CPP $CPPFLAGS'
22260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22269 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22271 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22272 for ac_func in atan2f
22274 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22275 if test "x$ac_cv_func_atan2f" = x""yes; then :
22276 cat >>confdefs.h <<_ACEOF
22277 #define HAVE_ATAN2F 1
22285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22286 $as_echo_n "checking for _atan2f declaration... " >&6; }
22287 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22288 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22289 $as_echo_n "(cached) " >&6
22294 ac_cpp='$CXXCPP $CPPFLAGS'
22295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22300 /* end confdefs.h. */
22310 if ac_fn_cxx_try_compile "$LINENO"; then :
22311 glibcxx_cv_func__atan2f_use=yes
22313 glibcxx_cv_func__atan2f_use=no
22315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22317 ac_cpp='$CPP $CPPFLAGS'
22318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22327 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22329 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22330 for ac_func in _atan2f
22332 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22333 if test "x$ac_cv_func__atan2f" = x""yes; then :
22334 cat >>confdefs.h <<_ACEOF
22335 #define HAVE__ATAN2F 1
22348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22349 $as_echo_n "checking for fabsf declaration... " >&6; }
22350 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22351 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22352 $as_echo_n "(cached) " >&6
22357 ac_cpp='$CXXCPP $CPPFLAGS'
22358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22363 /* end confdefs.h. */
22365 #ifdef HAVE_IEEEFP_H
22366 #include <ieeefp.h>
22377 if ac_fn_cxx_try_compile "$LINENO"; then :
22378 glibcxx_cv_func_fabsf_use=yes
22380 glibcxx_cv_func_fabsf_use=no
22382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22384 ac_cpp='$CPP $CPPFLAGS'
22385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22394 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22396 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22397 for ac_func in fabsf
22399 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22400 if test "x$ac_cv_func_fabsf" = x""yes; then :
22401 cat >>confdefs.h <<_ACEOF
22402 #define HAVE_FABSF 1
22410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22411 $as_echo_n "checking for _fabsf declaration... " >&6; }
22412 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22413 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22414 $as_echo_n "(cached) " >&6
22419 ac_cpp='$CXXCPP $CPPFLAGS'
22420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22425 /* end confdefs.h. */
22427 #ifdef HAVE_IEEEFP_H
22428 #include <ieeefp.h>
22439 if ac_fn_cxx_try_compile "$LINENO"; then :
22440 glibcxx_cv_func__fabsf_use=yes
22442 glibcxx_cv_func__fabsf_use=no
22444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22446 ac_cpp='$CPP $CPPFLAGS'
22447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22456 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22458 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22459 for ac_func in _fabsf
22461 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22462 if test "x$ac_cv_func__fabsf" = x""yes; then :
22463 cat >>confdefs.h <<_ACEOF
22464 #define HAVE__FABSF 1
22477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22478 $as_echo_n "checking for fmodf declaration... " >&6; }
22479 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22480 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22481 $as_echo_n "(cached) " >&6
22486 ac_cpp='$CXXCPP $CPPFLAGS'
22487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22492 /* end confdefs.h. */
22502 if ac_fn_cxx_try_compile "$LINENO"; then :
22503 glibcxx_cv_func_fmodf_use=yes
22505 glibcxx_cv_func_fmodf_use=no
22507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22509 ac_cpp='$CPP $CPPFLAGS'
22510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22519 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22521 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22522 for ac_func in fmodf
22524 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22525 if test "x$ac_cv_func_fmodf" = x""yes; then :
22526 cat >>confdefs.h <<_ACEOF
22527 #define HAVE_FMODF 1
22535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22536 $as_echo_n "checking for _fmodf declaration... " >&6; }
22537 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22538 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22539 $as_echo_n "(cached) " >&6
22544 ac_cpp='$CXXCPP $CPPFLAGS'
22545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22550 /* end confdefs.h. */
22560 if ac_fn_cxx_try_compile "$LINENO"; then :
22561 glibcxx_cv_func__fmodf_use=yes
22563 glibcxx_cv_func__fmodf_use=no
22565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22567 ac_cpp='$CPP $CPPFLAGS'
22568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22577 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22579 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22580 for ac_func in _fmodf
22582 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22583 if test "x$ac_cv_func__fmodf" = x""yes; then :
22584 cat >>confdefs.h <<_ACEOF
22585 #define HAVE__FMODF 1
22598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22599 $as_echo_n "checking for frexpf declaration... " >&6; }
22600 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22601 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22602 $as_echo_n "(cached) " >&6
22607 ac_cpp='$CXXCPP $CPPFLAGS'
22608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22613 /* end confdefs.h. */
22623 if ac_fn_cxx_try_compile "$LINENO"; then :
22624 glibcxx_cv_func_frexpf_use=yes
22626 glibcxx_cv_func_frexpf_use=no
22628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22630 ac_cpp='$CPP $CPPFLAGS'
22631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22640 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22642 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22643 for ac_func in frexpf
22645 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22646 if test "x$ac_cv_func_frexpf" = x""yes; then :
22647 cat >>confdefs.h <<_ACEOF
22648 #define HAVE_FREXPF 1
22656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22657 $as_echo_n "checking for _frexpf declaration... " >&6; }
22658 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22659 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22660 $as_echo_n "(cached) " >&6
22665 ac_cpp='$CXXCPP $CPPFLAGS'
22666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22671 /* end confdefs.h. */
22681 if ac_fn_cxx_try_compile "$LINENO"; then :
22682 glibcxx_cv_func__frexpf_use=yes
22684 glibcxx_cv_func__frexpf_use=no
22686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22688 ac_cpp='$CPP $CPPFLAGS'
22689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22698 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22700 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22701 for ac_func in _frexpf
22703 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22704 if test "x$ac_cv_func__frexpf" = x""yes; then :
22705 cat >>confdefs.h <<_ACEOF
22706 #define HAVE__FREXPF 1
22719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22720 $as_echo_n "checking for hypotf declaration... " >&6; }
22721 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22722 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22723 $as_echo_n "(cached) " >&6
22728 ac_cpp='$CXXCPP $CPPFLAGS'
22729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22734 /* end confdefs.h. */
22744 if ac_fn_cxx_try_compile "$LINENO"; then :
22745 glibcxx_cv_func_hypotf_use=yes
22747 glibcxx_cv_func_hypotf_use=no
22749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22751 ac_cpp='$CPP $CPPFLAGS'
22752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22761 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
22763 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
22764 for ac_func in hypotf
22766 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
22767 if test "x$ac_cv_func_hypotf" = x""yes; then :
22768 cat >>confdefs.h <<_ACEOF
22769 #define HAVE_HYPOTF 1
22777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
22778 $as_echo_n "checking for _hypotf declaration... " >&6; }
22779 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
22780 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
22781 $as_echo_n "(cached) " >&6
22786 ac_cpp='$CXXCPP $CPPFLAGS'
22787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22792 /* end confdefs.h. */
22802 if ac_fn_cxx_try_compile "$LINENO"; then :
22803 glibcxx_cv_func__hypotf_use=yes
22805 glibcxx_cv_func__hypotf_use=no
22807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22809 ac_cpp='$CPP $CPPFLAGS'
22810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
22819 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
22821 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
22822 for ac_func in _hypotf
22824 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
22825 if test "x$ac_cv_func__hypotf" = x""yes; then :
22826 cat >>confdefs.h <<_ACEOF
22827 #define HAVE__HYPOTF 1
22840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
22841 $as_echo_n "checking for ldexpf declaration... " >&6; }
22842 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
22843 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
22844 $as_echo_n "(cached) " >&6
22849 ac_cpp='$CXXCPP $CPPFLAGS'
22850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22855 /* end confdefs.h. */
22865 if ac_fn_cxx_try_compile "$LINENO"; then :
22866 glibcxx_cv_func_ldexpf_use=yes
22868 glibcxx_cv_func_ldexpf_use=no
22870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22872 ac_cpp='$CPP $CPPFLAGS'
22873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
22882 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
22884 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
22885 for ac_func in ldexpf
22887 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
22888 if test "x$ac_cv_func_ldexpf" = x""yes; then :
22889 cat >>confdefs.h <<_ACEOF
22890 #define HAVE_LDEXPF 1
22898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
22899 $as_echo_n "checking for _ldexpf declaration... " >&6; }
22900 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
22901 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
22902 $as_echo_n "(cached) " >&6
22907 ac_cpp='$CXXCPP $CPPFLAGS'
22908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22913 /* end confdefs.h. */
22923 if ac_fn_cxx_try_compile "$LINENO"; then :
22924 glibcxx_cv_func__ldexpf_use=yes
22926 glibcxx_cv_func__ldexpf_use=no
22928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22930 ac_cpp='$CPP $CPPFLAGS'
22931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22940 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22942 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22943 for ac_func in _ldexpf
22945 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22946 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22947 cat >>confdefs.h <<_ACEOF
22948 #define HAVE__LDEXPF 1
22961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22962 $as_echo_n "checking for logf declaration... " >&6; }
22963 if test x${glibcxx_cv_func_logf_use+set} != xset; then
22964 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22965 $as_echo_n "(cached) " >&6
22970 ac_cpp='$CXXCPP $CPPFLAGS'
22971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22976 /* end confdefs.h. */
22978 #ifdef HAVE_IEEEFP_H
22979 #include <ieeefp.h>
22990 if ac_fn_cxx_try_compile "$LINENO"; then :
22991 glibcxx_cv_func_logf_use=yes
22993 glibcxx_cv_func_logf_use=no
22995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22997 ac_cpp='$CPP $CPPFLAGS'
22998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
23007 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
23009 if test x$glibcxx_cv_func_logf_use = x"yes"; then
23010 for ac_func in logf
23012 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
23013 if test "x$ac_cv_func_logf" = x""yes; then :
23014 cat >>confdefs.h <<_ACEOF
23015 #define HAVE_LOGF 1
23023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
23024 $as_echo_n "checking for _logf declaration... " >&6; }
23025 if test x${glibcxx_cv_func__logf_use+set} != xset; then
23026 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
23027 $as_echo_n "(cached) " >&6
23032 ac_cpp='$CXXCPP $CPPFLAGS'
23033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23038 /* end confdefs.h. */
23040 #ifdef HAVE_IEEEFP_H
23041 #include <ieeefp.h>
23052 if ac_fn_cxx_try_compile "$LINENO"; then :
23053 glibcxx_cv_func__logf_use=yes
23055 glibcxx_cv_func__logf_use=no
23057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23059 ac_cpp='$CPP $CPPFLAGS'
23060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23069 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23071 if test x$glibcxx_cv_func__logf_use = x"yes"; then
23072 for ac_func in _logf
23074 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23075 if test "x$ac_cv_func__logf" = x""yes; then :
23076 cat >>confdefs.h <<_ACEOF
23077 #define HAVE__LOGF 1
23090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23091 $as_echo_n "checking for log10f declaration... " >&6; }
23092 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23093 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23094 $as_echo_n "(cached) " >&6
23099 ac_cpp='$CXXCPP $CPPFLAGS'
23100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23105 /* end confdefs.h. */
23107 #ifdef HAVE_IEEEFP_H
23108 #include <ieeefp.h>
23119 if ac_fn_cxx_try_compile "$LINENO"; then :
23120 glibcxx_cv_func_log10f_use=yes
23122 glibcxx_cv_func_log10f_use=no
23124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23126 ac_cpp='$CPP $CPPFLAGS'
23127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23136 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23138 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23139 for ac_func in log10f
23141 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23142 if test "x$ac_cv_func_log10f" = x""yes; then :
23143 cat >>confdefs.h <<_ACEOF
23144 #define HAVE_LOG10F 1
23152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23153 $as_echo_n "checking for _log10f declaration... " >&6; }
23154 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23155 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23156 $as_echo_n "(cached) " >&6
23161 ac_cpp='$CXXCPP $CPPFLAGS'
23162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23167 /* end confdefs.h. */
23169 #ifdef HAVE_IEEEFP_H
23170 #include <ieeefp.h>
23181 if ac_fn_cxx_try_compile "$LINENO"; then :
23182 glibcxx_cv_func__log10f_use=yes
23184 glibcxx_cv_func__log10f_use=no
23186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23188 ac_cpp='$CPP $CPPFLAGS'
23189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23198 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23200 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23201 for ac_func in _log10f
23203 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23204 if test "x$ac_cv_func__log10f" = x""yes; then :
23205 cat >>confdefs.h <<_ACEOF
23206 #define HAVE__LOG10F 1
23219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23220 $as_echo_n "checking for modff declaration... " >&6; }
23221 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23222 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23223 $as_echo_n "(cached) " >&6
23228 ac_cpp='$CXXCPP $CPPFLAGS'
23229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23234 /* end confdefs.h. */
23244 if ac_fn_cxx_try_compile "$LINENO"; then :
23245 glibcxx_cv_func_modff_use=yes
23247 glibcxx_cv_func_modff_use=no
23249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23251 ac_cpp='$CPP $CPPFLAGS'
23252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23261 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23263 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23264 for ac_func in modff
23266 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23267 if test "x$ac_cv_func_modff" = x""yes; then :
23268 cat >>confdefs.h <<_ACEOF
23269 #define HAVE_MODFF 1
23277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23278 $as_echo_n "checking for _modff declaration... " >&6; }
23279 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23280 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23281 $as_echo_n "(cached) " >&6
23286 ac_cpp='$CXXCPP $CPPFLAGS'
23287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23292 /* end confdefs.h. */
23302 if ac_fn_cxx_try_compile "$LINENO"; then :
23303 glibcxx_cv_func__modff_use=yes
23305 glibcxx_cv_func__modff_use=no
23307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23309 ac_cpp='$CPP $CPPFLAGS'
23310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23319 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23321 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23322 for ac_func in _modff
23324 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23325 if test "x$ac_cv_func__modff" = x""yes; then :
23326 cat >>confdefs.h <<_ACEOF
23327 #define HAVE__MODFF 1
23340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23341 $as_echo_n "checking for modf declaration... " >&6; }
23342 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23343 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23344 $as_echo_n "(cached) " >&6
23349 ac_cpp='$CXXCPP $CPPFLAGS'
23350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23355 /* end confdefs.h. */
23365 if ac_fn_cxx_try_compile "$LINENO"; then :
23366 glibcxx_cv_func_modf_use=yes
23368 glibcxx_cv_func_modf_use=no
23370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23372 ac_cpp='$CPP $CPPFLAGS'
23373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23382 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23384 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23385 for ac_func in modf
23387 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23388 if test "x$ac_cv_func_modf" = x""yes; then :
23389 cat >>confdefs.h <<_ACEOF
23390 #define HAVE_MODF 1
23398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23399 $as_echo_n "checking for _modf declaration... " >&6; }
23400 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23401 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23402 $as_echo_n "(cached) " >&6
23407 ac_cpp='$CXXCPP $CPPFLAGS'
23408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23413 /* end confdefs.h. */
23423 if ac_fn_cxx_try_compile "$LINENO"; then :
23424 glibcxx_cv_func__modf_use=yes
23426 glibcxx_cv_func__modf_use=no
23428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23430 ac_cpp='$CPP $CPPFLAGS'
23431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23440 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23442 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23443 for ac_func in _modf
23445 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23446 if test "x$ac_cv_func__modf" = x""yes; then :
23447 cat >>confdefs.h <<_ACEOF
23448 #define HAVE__MODF 1
23461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23462 $as_echo_n "checking for powf declaration... " >&6; }
23463 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23464 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23465 $as_echo_n "(cached) " >&6
23470 ac_cpp='$CXXCPP $CPPFLAGS'
23471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23476 /* end confdefs.h. */
23486 if ac_fn_cxx_try_compile "$LINENO"; then :
23487 glibcxx_cv_func_powf_use=yes
23489 glibcxx_cv_func_powf_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_powf_use" >&5
23503 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23505 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23506 for ac_func in powf
23508 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23509 if test "x$ac_cv_func_powf" = x""yes; then :
23510 cat >>confdefs.h <<_ACEOF
23511 #define HAVE_POWF 1
23519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23520 $as_echo_n "checking for _powf declaration... " >&6; }
23521 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23522 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23523 $as_echo_n "(cached) " >&6
23528 ac_cpp='$CXXCPP $CPPFLAGS'
23529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23534 /* end confdefs.h. */
23544 if ac_fn_cxx_try_compile "$LINENO"; then :
23545 glibcxx_cv_func__powf_use=yes
23547 glibcxx_cv_func__powf_use=no
23549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23551 ac_cpp='$CPP $CPPFLAGS'
23552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23561 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23563 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23564 for ac_func in _powf
23566 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23567 if test "x$ac_cv_func__powf" = x""yes; then :
23568 cat >>confdefs.h <<_ACEOF
23569 #define HAVE__POWF 1
23582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23583 $as_echo_n "checking for sqrtf declaration... " >&6; }
23584 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23585 if test "${glibcxx_cv_func_sqrtf_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. */
23599 #ifdef HAVE_IEEEFP_H
23600 #include <ieeefp.h>
23611 if ac_fn_cxx_try_compile "$LINENO"; then :
23612 glibcxx_cv_func_sqrtf_use=yes
23614 glibcxx_cv_func_sqrtf_use=no
23616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23618 ac_cpp='$CPP $CPPFLAGS'
23619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23628 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23630 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23631 for ac_func in sqrtf
23633 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23634 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23635 cat >>confdefs.h <<_ACEOF
23636 #define HAVE_SQRTF 1
23644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23645 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23646 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23647 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23648 $as_echo_n "(cached) " >&6
23653 ac_cpp='$CXXCPP $CPPFLAGS'
23654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23659 /* end confdefs.h. */
23661 #ifdef HAVE_IEEEFP_H
23662 #include <ieeefp.h>
23673 if ac_fn_cxx_try_compile "$LINENO"; then :
23674 glibcxx_cv_func__sqrtf_use=yes
23676 glibcxx_cv_func__sqrtf_use=no
23678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23680 ac_cpp='$CPP $CPPFLAGS'
23681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23690 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23692 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23693 for ac_func in _sqrtf
23695 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23696 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23697 cat >>confdefs.h <<_ACEOF
23698 #define HAVE__SQRTF 1
23711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23712 $as_echo_n "checking for sincosf declaration... " >&6; }
23713 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23714 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23715 $as_echo_n "(cached) " >&6
23720 ac_cpp='$CXXCPP $CPPFLAGS'
23721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23726 /* end confdefs.h. */
23736 if ac_fn_cxx_try_compile "$LINENO"; then :
23737 glibcxx_cv_func_sincosf_use=yes
23739 glibcxx_cv_func_sincosf_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_sincosf_use" >&5
23753 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23755 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23756 for ac_func in sincosf
23758 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23759 if test "x$ac_cv_func_sincosf" = x""yes; then :
23760 cat >>confdefs.h <<_ACEOF
23761 #define HAVE_SINCOSF 1
23769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
23770 $as_echo_n "checking for _sincosf declaration... " >&6; }
23771 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
23772 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
23773 $as_echo_n "(cached) " >&6
23778 ac_cpp='$CXXCPP $CPPFLAGS'
23779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23784 /* end confdefs.h. */
23794 if ac_fn_cxx_try_compile "$LINENO"; then :
23795 glibcxx_cv_func__sincosf_use=yes
23797 glibcxx_cv_func__sincosf_use=no
23799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23801 ac_cpp='$CPP $CPPFLAGS'
23802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
23811 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
23813 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
23814 for ac_func in _sincosf
23816 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
23817 if test "x$ac_cv_func__sincosf" = x""yes; then :
23818 cat >>confdefs.h <<_ACEOF
23819 #define HAVE__SINCOSF 1
23832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
23833 $as_echo_n "checking for finitef declaration... " >&6; }
23834 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
23835 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
23836 $as_echo_n "(cached) " >&6
23841 ac_cpp='$CXXCPP $CPPFLAGS'
23842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23847 /* end confdefs.h. */
23849 #ifdef HAVE_IEEEFP_H
23850 #include <ieeefp.h>
23861 if ac_fn_cxx_try_compile "$LINENO"; then :
23862 glibcxx_cv_func_finitef_use=yes
23864 glibcxx_cv_func_finitef_use=no
23866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23868 ac_cpp='$CPP $CPPFLAGS'
23869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
23878 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
23880 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
23881 for ac_func in finitef
23883 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
23884 if test "x$ac_cv_func_finitef" = x""yes; then :
23885 cat >>confdefs.h <<_ACEOF
23886 #define HAVE_FINITEF 1
23894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
23895 $as_echo_n "checking for _finitef declaration... " >&6; }
23896 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
23897 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
23898 $as_echo_n "(cached) " >&6
23903 ac_cpp='$CXXCPP $CPPFLAGS'
23904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23909 /* end confdefs.h. */
23911 #ifdef HAVE_IEEEFP_H
23912 #include <ieeefp.h>
23923 if ac_fn_cxx_try_compile "$LINENO"; then :
23924 glibcxx_cv_func__finitef_use=yes
23926 glibcxx_cv_func__finitef_use=no
23928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23930 ac_cpp='$CPP $CPPFLAGS'
23931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23940 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23942 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23943 for ac_func in _finitef
23945 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23946 if test "x$ac_cv_func__finitef" = x""yes; then :
23947 cat >>confdefs.h <<_ACEOF
23948 #define HAVE__FINITEF 1
23961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23962 $as_echo_n "checking for long double trig functions... " >&6; }
23963 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23964 $as_echo_n "(cached) " >&6
23969 ac_cpp='$CXXCPP $CPPFLAGS'
23970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23975 /* end confdefs.h. */
23980 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23985 if ac_fn_cxx_try_compile "$LINENO"; then :
23986 glibcxx_cv_func_long_double_trig_use=yes
23988 glibcxx_cv_func_long_double_trig_use=no
23990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23992 ac_cpp='$CPP $CPPFLAGS'
23993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
24000 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
24001 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
24002 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
24004 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24005 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24006 eval as_val=\$$as_ac_var
24007 if test "x$as_val" = x""yes; then :
24008 cat >>confdefs.h <<_ACEOF
24009 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
24017 $as_echo_n "checking for _long double trig functions... " >&6; }
24018 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
24019 $as_echo_n "(cached) " >&6
24024 ac_cpp='$CXXCPP $CPPFLAGS'
24025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24030 /* end confdefs.h. */
24035 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24040 if ac_fn_cxx_try_compile "$LINENO"; then :
24041 glibcxx_cv_func__long_double_trig_use=yes
24043 glibcxx_cv_func__long_double_trig_use=no
24045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24047 ac_cpp='$CPP $CPPFLAGS'
24048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24055 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24056 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24057 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24059 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24060 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24061 eval as_val=\$$as_ac_var
24062 if test "x$as_val" = x""yes; then :
24063 cat >>confdefs.h <<_ACEOF
24064 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24078 $as_echo_n "checking for long double round functions... " >&6; }
24079 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24080 $as_echo_n "(cached) " >&6
24085 ac_cpp='$CXXCPP $CPPFLAGS'
24086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24091 /* end confdefs.h. */
24096 ceill (0); floorl (0);
24101 if ac_fn_cxx_try_compile "$LINENO"; then :
24102 glibcxx_cv_func_long_double_round_use=yes
24104 glibcxx_cv_func_long_double_round_use=no
24106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24108 ac_cpp='$CPP $CPPFLAGS'
24109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24116 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24117 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24118 for ac_func in ceill floorl
24120 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24121 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24122 eval as_val=\$$as_ac_var
24123 if test "x$as_val" = x""yes; then :
24124 cat >>confdefs.h <<_ACEOF
24125 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24133 $as_echo_n "checking for _long double round functions... " >&6; }
24134 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24135 $as_echo_n "(cached) " >&6
24140 ac_cpp='$CXXCPP $CPPFLAGS'
24141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24146 /* end confdefs.h. */
24151 _ceill (0); _floorl (0);
24156 if ac_fn_cxx_try_compile "$LINENO"; then :
24157 glibcxx_cv_func__long_double_round_use=yes
24159 glibcxx_cv_func__long_double_round_use=no
24161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24163 ac_cpp='$CPP $CPPFLAGS'
24164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24171 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24172 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24173 for ac_func in _ceill _floorl
24175 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24176 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24177 eval as_val=\$$as_ac_var
24178 if test "x$as_val" = x""yes; then :
24179 cat >>confdefs.h <<_ACEOF
24180 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24195 $as_echo_n "checking for isnanl declaration... " >&6; }
24196 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24197 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24198 $as_echo_n "(cached) " >&6
24203 ac_cpp='$CXXCPP $CPPFLAGS'
24204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24209 /* end confdefs.h. */
24211 #ifdef HAVE_IEEEFP_H
24212 #include <ieeefp.h>
24223 if ac_fn_cxx_try_compile "$LINENO"; then :
24224 glibcxx_cv_func_isnanl_use=yes
24226 glibcxx_cv_func_isnanl_use=no
24228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24230 ac_cpp='$CPP $CPPFLAGS'
24231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24240 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24242 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24243 for ac_func in isnanl
24245 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24246 if test "x$ac_cv_func_isnanl" = x""yes; then :
24247 cat >>confdefs.h <<_ACEOF
24248 #define HAVE_ISNANL 1
24256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24257 $as_echo_n "checking for _isnanl declaration... " >&6; }
24258 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24259 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24260 $as_echo_n "(cached) " >&6
24265 ac_cpp='$CXXCPP $CPPFLAGS'
24266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24271 /* end confdefs.h. */
24273 #ifdef HAVE_IEEEFP_H
24274 #include <ieeefp.h>
24285 if ac_fn_cxx_try_compile "$LINENO"; then :
24286 glibcxx_cv_func__isnanl_use=yes
24288 glibcxx_cv_func__isnanl_use=no
24290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24292 ac_cpp='$CPP $CPPFLAGS'
24293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24302 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24304 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24305 for ac_func in _isnanl
24307 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24308 if test "x$ac_cv_func__isnanl" = x""yes; then :
24309 cat >>confdefs.h <<_ACEOF
24310 #define HAVE__ISNANL 1
24323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24324 $as_echo_n "checking for isinfl declaration... " >&6; }
24325 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24326 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24327 $as_echo_n "(cached) " >&6
24332 ac_cpp='$CXXCPP $CPPFLAGS'
24333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24338 /* end confdefs.h. */
24340 #ifdef HAVE_IEEEFP_H
24341 #include <ieeefp.h>
24352 if ac_fn_cxx_try_compile "$LINENO"; then :
24353 glibcxx_cv_func_isinfl_use=yes
24355 glibcxx_cv_func_isinfl_use=no
24357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24359 ac_cpp='$CPP $CPPFLAGS'
24360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24369 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24371 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24372 for ac_func in isinfl
24374 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24375 if test "x$ac_cv_func_isinfl" = x""yes; then :
24376 cat >>confdefs.h <<_ACEOF
24377 #define HAVE_ISINFL 1
24385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24386 $as_echo_n "checking for _isinfl declaration... " >&6; }
24387 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24388 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24389 $as_echo_n "(cached) " >&6
24394 ac_cpp='$CXXCPP $CPPFLAGS'
24395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24400 /* end confdefs.h. */
24402 #ifdef HAVE_IEEEFP_H
24403 #include <ieeefp.h>
24414 if ac_fn_cxx_try_compile "$LINENO"; then :
24415 glibcxx_cv_func__isinfl_use=yes
24417 glibcxx_cv_func__isinfl_use=no
24419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24421 ac_cpp='$CPP $CPPFLAGS'
24422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24431 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24433 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24434 for ac_func in _isinfl
24436 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24437 if test "x$ac_cv_func__isinfl" = x""yes; then :
24438 cat >>confdefs.h <<_ACEOF
24439 #define HAVE__ISINFL 1
24452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24453 $as_echo_n "checking for atan2l declaration... " >&6; }
24454 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24455 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24456 $as_echo_n "(cached) " >&6
24461 ac_cpp='$CXXCPP $CPPFLAGS'
24462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24467 /* end confdefs.h. */
24477 if ac_fn_cxx_try_compile "$LINENO"; then :
24478 glibcxx_cv_func_atan2l_use=yes
24480 glibcxx_cv_func_atan2l_use=no
24482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24484 ac_cpp='$CPP $CPPFLAGS'
24485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24494 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24496 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24497 for ac_func in atan2l
24499 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24500 if test "x$ac_cv_func_atan2l" = x""yes; then :
24501 cat >>confdefs.h <<_ACEOF
24502 #define HAVE_ATAN2L 1
24510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24511 $as_echo_n "checking for _atan2l declaration... " >&6; }
24512 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24513 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24514 $as_echo_n "(cached) " >&6
24519 ac_cpp='$CXXCPP $CPPFLAGS'
24520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24525 /* end confdefs.h. */
24535 if ac_fn_cxx_try_compile "$LINENO"; then :
24536 glibcxx_cv_func__atan2l_use=yes
24538 glibcxx_cv_func__atan2l_use=no
24540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24542 ac_cpp='$CPP $CPPFLAGS'
24543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24552 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24554 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24555 for ac_func in _atan2l
24557 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24558 if test "x$ac_cv_func__atan2l" = x""yes; then :
24559 cat >>confdefs.h <<_ACEOF
24560 #define HAVE__ATAN2L 1
24573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24574 $as_echo_n "checking for expl declaration... " >&6; }
24575 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24576 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24577 $as_echo_n "(cached) " >&6
24582 ac_cpp='$CXXCPP $CPPFLAGS'
24583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24588 /* end confdefs.h. */
24590 #ifdef HAVE_IEEEFP_H
24591 #include <ieeefp.h>
24602 if ac_fn_cxx_try_compile "$LINENO"; then :
24603 glibcxx_cv_func_expl_use=yes
24605 glibcxx_cv_func_expl_use=no
24607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24609 ac_cpp='$CPP $CPPFLAGS'
24610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24619 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24621 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24622 for ac_func in expl
24624 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24625 if test "x$ac_cv_func_expl" = x""yes; then :
24626 cat >>confdefs.h <<_ACEOF
24627 #define HAVE_EXPL 1
24635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24636 $as_echo_n "checking for _expl declaration... " >&6; }
24637 if test x${glibcxx_cv_func__expl_use+set} != xset; then
24638 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24639 $as_echo_n "(cached) " >&6
24644 ac_cpp='$CXXCPP $CPPFLAGS'
24645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24650 /* end confdefs.h. */
24652 #ifdef HAVE_IEEEFP_H
24653 #include <ieeefp.h>
24664 if ac_fn_cxx_try_compile "$LINENO"; then :
24665 glibcxx_cv_func__expl_use=yes
24667 glibcxx_cv_func__expl_use=no
24669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24671 ac_cpp='$CPP $CPPFLAGS'
24672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
24681 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
24683 if test x$glibcxx_cv_func__expl_use = x"yes"; then
24684 for ac_func in _expl
24686 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24687 if test "x$ac_cv_func__expl" = x""yes; then :
24688 cat >>confdefs.h <<_ACEOF
24689 #define HAVE__EXPL 1
24702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24703 $as_echo_n "checking for fabsl declaration... " >&6; }
24704 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24705 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24706 $as_echo_n "(cached) " >&6
24711 ac_cpp='$CXXCPP $CPPFLAGS'
24712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24717 /* end confdefs.h. */
24719 #ifdef HAVE_IEEEFP_H
24720 #include <ieeefp.h>
24731 if ac_fn_cxx_try_compile "$LINENO"; then :
24732 glibcxx_cv_func_fabsl_use=yes
24734 glibcxx_cv_func_fabsl_use=no
24736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24738 ac_cpp='$CPP $CPPFLAGS'
24739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
24748 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24750 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24751 for ac_func in fabsl
24753 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24754 if test "x$ac_cv_func_fabsl" = x""yes; then :
24755 cat >>confdefs.h <<_ACEOF
24756 #define HAVE_FABSL 1
24764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
24765 $as_echo_n "checking for _fabsl declaration... " >&6; }
24766 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
24767 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
24768 $as_echo_n "(cached) " >&6
24773 ac_cpp='$CXXCPP $CPPFLAGS'
24774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24779 /* end confdefs.h. */
24781 #ifdef HAVE_IEEEFP_H
24782 #include <ieeefp.h>
24793 if ac_fn_cxx_try_compile "$LINENO"; then :
24794 glibcxx_cv_func__fabsl_use=yes
24796 glibcxx_cv_func__fabsl_use=no
24798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24800 ac_cpp='$CPP $CPPFLAGS'
24801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
24810 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
24812 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
24813 for ac_func in _fabsl
24815 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
24816 if test "x$ac_cv_func__fabsl" = x""yes; then :
24817 cat >>confdefs.h <<_ACEOF
24818 #define HAVE__FABSL 1
24831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
24832 $as_echo_n "checking for fmodl declaration... " >&6; }
24833 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
24834 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
24835 $as_echo_n "(cached) " >&6
24840 ac_cpp='$CXXCPP $CPPFLAGS'
24841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24846 /* end confdefs.h. */
24856 if ac_fn_cxx_try_compile "$LINENO"; then :
24857 glibcxx_cv_func_fmodl_use=yes
24859 glibcxx_cv_func_fmodl_use=no
24861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24863 ac_cpp='$CPP $CPPFLAGS'
24864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
24873 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
24875 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
24876 for ac_func in fmodl
24878 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
24879 if test "x$ac_cv_func_fmodl" = x""yes; then :
24880 cat >>confdefs.h <<_ACEOF
24881 #define HAVE_FMODL 1
24889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
24890 $as_echo_n "checking for _fmodl declaration... " >&6; }
24891 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
24892 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
24893 $as_echo_n "(cached) " >&6
24898 ac_cpp='$CXXCPP $CPPFLAGS'
24899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24904 /* end confdefs.h. */
24914 if ac_fn_cxx_try_compile "$LINENO"; then :
24915 glibcxx_cv_func__fmodl_use=yes
24917 glibcxx_cv_func__fmodl_use=no
24919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24921 ac_cpp='$CPP $CPPFLAGS'
24922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24931 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24933 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24934 for ac_func in _fmodl
24936 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24937 if test "x$ac_cv_func__fmodl" = x""yes; then :
24938 cat >>confdefs.h <<_ACEOF
24939 #define HAVE__FMODL 1
24952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24953 $as_echo_n "checking for frexpl declaration... " >&6; }
24954 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24955 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24956 $as_echo_n "(cached) " >&6
24961 ac_cpp='$CXXCPP $CPPFLAGS'
24962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24967 /* end confdefs.h. */
24977 if ac_fn_cxx_try_compile "$LINENO"; then :
24978 glibcxx_cv_func_frexpl_use=yes
24980 glibcxx_cv_func_frexpl_use=no
24982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24984 ac_cpp='$CPP $CPPFLAGS'
24985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24994 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24996 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24997 for ac_func in frexpl
24999 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
25000 if test "x$ac_cv_func_frexpl" = x""yes; then :
25001 cat >>confdefs.h <<_ACEOF
25002 #define HAVE_FREXPL 1
25010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
25011 $as_echo_n "checking for _frexpl declaration... " >&6; }
25012 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
25013 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
25014 $as_echo_n "(cached) " >&6
25019 ac_cpp='$CXXCPP $CPPFLAGS'
25020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25025 /* end confdefs.h. */
25035 if ac_fn_cxx_try_compile "$LINENO"; then :
25036 glibcxx_cv_func__frexpl_use=yes
25038 glibcxx_cv_func__frexpl_use=no
25040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25042 ac_cpp='$CPP $CPPFLAGS'
25043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25052 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25054 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25055 for ac_func in _frexpl
25057 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25058 if test "x$ac_cv_func__frexpl" = x""yes; then :
25059 cat >>confdefs.h <<_ACEOF
25060 #define HAVE__FREXPL 1
25073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25074 $as_echo_n "checking for hypotl declaration... " >&6; }
25075 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25076 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25077 $as_echo_n "(cached) " >&6
25082 ac_cpp='$CXXCPP $CPPFLAGS'
25083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25088 /* end confdefs.h. */
25098 if ac_fn_cxx_try_compile "$LINENO"; then :
25099 glibcxx_cv_func_hypotl_use=yes
25101 glibcxx_cv_func_hypotl_use=no
25103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25105 ac_cpp='$CPP $CPPFLAGS'
25106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25115 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25117 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25118 for ac_func in hypotl
25120 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25121 if test "x$ac_cv_func_hypotl" = x""yes; then :
25122 cat >>confdefs.h <<_ACEOF
25123 #define HAVE_HYPOTL 1
25131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25132 $as_echo_n "checking for _hypotl declaration... " >&6; }
25133 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25134 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25135 $as_echo_n "(cached) " >&6
25140 ac_cpp='$CXXCPP $CPPFLAGS'
25141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25146 /* end confdefs.h. */
25156 if ac_fn_cxx_try_compile "$LINENO"; then :
25157 glibcxx_cv_func__hypotl_use=yes
25159 glibcxx_cv_func__hypotl_use=no
25161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25163 ac_cpp='$CPP $CPPFLAGS'
25164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25173 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25175 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25176 for ac_func in _hypotl
25178 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25179 if test "x$ac_cv_func__hypotl" = x""yes; then :
25180 cat >>confdefs.h <<_ACEOF
25181 #define HAVE__HYPOTL 1
25194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25195 $as_echo_n "checking for ldexpl declaration... " >&6; }
25196 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25197 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25198 $as_echo_n "(cached) " >&6
25203 ac_cpp='$CXXCPP $CPPFLAGS'
25204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25209 /* end confdefs.h. */
25219 if ac_fn_cxx_try_compile "$LINENO"; then :
25220 glibcxx_cv_func_ldexpl_use=yes
25222 glibcxx_cv_func_ldexpl_use=no
25224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25226 ac_cpp='$CPP $CPPFLAGS'
25227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25236 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25238 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25239 for ac_func in ldexpl
25241 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25242 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25243 cat >>confdefs.h <<_ACEOF
25244 #define HAVE_LDEXPL 1
25252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25253 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25254 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25255 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25256 $as_echo_n "(cached) " >&6
25261 ac_cpp='$CXXCPP $CPPFLAGS'
25262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25267 /* end confdefs.h. */
25277 if ac_fn_cxx_try_compile "$LINENO"; then :
25278 glibcxx_cv_func__ldexpl_use=yes
25280 glibcxx_cv_func__ldexpl_use=no
25282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25284 ac_cpp='$CPP $CPPFLAGS'
25285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25294 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25296 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25297 for ac_func in _ldexpl
25299 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25300 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25301 cat >>confdefs.h <<_ACEOF
25302 #define HAVE__LDEXPL 1
25315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25316 $as_echo_n "checking for logl declaration... " >&6; }
25317 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25318 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25319 $as_echo_n "(cached) " >&6
25324 ac_cpp='$CXXCPP $CPPFLAGS'
25325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25330 /* end confdefs.h. */
25332 #ifdef HAVE_IEEEFP_H
25333 #include <ieeefp.h>
25344 if ac_fn_cxx_try_compile "$LINENO"; then :
25345 glibcxx_cv_func_logl_use=yes
25347 glibcxx_cv_func_logl_use=no
25349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25351 ac_cpp='$CPP $CPPFLAGS'
25352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25361 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25363 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25364 for ac_func in logl
25366 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25367 if test "x$ac_cv_func_logl" = x""yes; then :
25368 cat >>confdefs.h <<_ACEOF
25369 #define HAVE_LOGL 1
25377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25378 $as_echo_n "checking for _logl declaration... " >&6; }
25379 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25380 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25381 $as_echo_n "(cached) " >&6
25386 ac_cpp='$CXXCPP $CPPFLAGS'
25387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25392 /* end confdefs.h. */
25394 #ifdef HAVE_IEEEFP_H
25395 #include <ieeefp.h>
25406 if ac_fn_cxx_try_compile "$LINENO"; then :
25407 glibcxx_cv_func__logl_use=yes
25409 glibcxx_cv_func__logl_use=no
25411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25413 ac_cpp='$CPP $CPPFLAGS'
25414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25423 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25425 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25426 for ac_func in _logl
25428 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25429 if test "x$ac_cv_func__logl" = x""yes; then :
25430 cat >>confdefs.h <<_ACEOF
25431 #define HAVE__LOGL 1
25444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25445 $as_echo_n "checking for log10l declaration... " >&6; }
25446 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25447 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25448 $as_echo_n "(cached) " >&6
25453 ac_cpp='$CXXCPP $CPPFLAGS'
25454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25459 /* end confdefs.h. */
25461 #ifdef HAVE_IEEEFP_H
25462 #include <ieeefp.h>
25473 if ac_fn_cxx_try_compile "$LINENO"; then :
25474 glibcxx_cv_func_log10l_use=yes
25476 glibcxx_cv_func_log10l_use=no
25478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25480 ac_cpp='$CPP $CPPFLAGS'
25481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25490 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25492 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25493 for ac_func in log10l
25495 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25496 if test "x$ac_cv_func_log10l" = x""yes; then :
25497 cat >>confdefs.h <<_ACEOF
25498 #define HAVE_LOG10L 1
25506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25507 $as_echo_n "checking for _log10l declaration... " >&6; }
25508 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25509 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25510 $as_echo_n "(cached) " >&6
25515 ac_cpp='$CXXCPP $CPPFLAGS'
25516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25521 /* end confdefs.h. */
25523 #ifdef HAVE_IEEEFP_H
25524 #include <ieeefp.h>
25535 if ac_fn_cxx_try_compile "$LINENO"; then :
25536 glibcxx_cv_func__log10l_use=yes
25538 glibcxx_cv_func__log10l_use=no
25540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25542 ac_cpp='$CPP $CPPFLAGS'
25543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25552 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25554 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25555 for ac_func in _log10l
25557 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25558 if test "x$ac_cv_func__log10l" = x""yes; then :
25559 cat >>confdefs.h <<_ACEOF
25560 #define HAVE__LOG10L 1
25573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25574 $as_echo_n "checking for modfl declaration... " >&6; }
25575 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25576 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25577 $as_echo_n "(cached) " >&6
25582 ac_cpp='$CXXCPP $CPPFLAGS'
25583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25588 /* end confdefs.h. */
25598 if ac_fn_cxx_try_compile "$LINENO"; then :
25599 glibcxx_cv_func_modfl_use=yes
25601 glibcxx_cv_func_modfl_use=no
25603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25605 ac_cpp='$CPP $CPPFLAGS'
25606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25615 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25617 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25618 for ac_func in modfl
25620 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25621 if test "x$ac_cv_func_modfl" = x""yes; then :
25622 cat >>confdefs.h <<_ACEOF
25623 #define HAVE_MODFL 1
25631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25632 $as_echo_n "checking for _modfl declaration... " >&6; }
25633 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25634 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25635 $as_echo_n "(cached) " >&6
25640 ac_cpp='$CXXCPP $CPPFLAGS'
25641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25646 /* end confdefs.h. */
25656 if ac_fn_cxx_try_compile "$LINENO"; then :
25657 glibcxx_cv_func__modfl_use=yes
25659 glibcxx_cv_func__modfl_use=no
25661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25663 ac_cpp='$CPP $CPPFLAGS'
25664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
25673 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
25675 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25676 for ac_func in _modfl
25678 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
25679 if test "x$ac_cv_func__modfl" = x""yes; then :
25680 cat >>confdefs.h <<_ACEOF
25681 #define HAVE__MODFL 1
25694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25695 $as_echo_n "checking for powl declaration... " >&6; }
25696 if test x${glibcxx_cv_func_powl_use+set} != xset; then
25697 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25698 $as_echo_n "(cached) " >&6
25703 ac_cpp='$CXXCPP $CPPFLAGS'
25704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25709 /* end confdefs.h. */
25719 if ac_fn_cxx_try_compile "$LINENO"; then :
25720 glibcxx_cv_func_powl_use=yes
25722 glibcxx_cv_func_powl_use=no
25724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25726 ac_cpp='$CPP $CPPFLAGS'
25727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25736 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25738 if test x$glibcxx_cv_func_powl_use = x"yes"; then
25739 for ac_func in powl
25741 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25742 if test "x$ac_cv_func_powl" = x""yes; then :
25743 cat >>confdefs.h <<_ACEOF
25744 #define HAVE_POWL 1
25752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25753 $as_echo_n "checking for _powl declaration... " >&6; }
25754 if test x${glibcxx_cv_func__powl_use+set} != xset; then
25755 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
25756 $as_echo_n "(cached) " >&6
25761 ac_cpp='$CXXCPP $CPPFLAGS'
25762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25767 /* end confdefs.h. */
25777 if ac_fn_cxx_try_compile "$LINENO"; then :
25778 glibcxx_cv_func__powl_use=yes
25780 glibcxx_cv_func__powl_use=no
25782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25784 ac_cpp='$CPP $CPPFLAGS'
25785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
25794 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
25796 if test x$glibcxx_cv_func__powl_use = x"yes"; then
25797 for ac_func in _powl
25799 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
25800 if test "x$ac_cv_func__powl" = x""yes; then :
25801 cat >>confdefs.h <<_ACEOF
25802 #define HAVE__POWL 1
25815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
25816 $as_echo_n "checking for sqrtl declaration... " >&6; }
25817 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
25818 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
25819 $as_echo_n "(cached) " >&6
25824 ac_cpp='$CXXCPP $CPPFLAGS'
25825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25830 /* end confdefs.h. */
25832 #ifdef HAVE_IEEEFP_H
25833 #include <ieeefp.h>
25844 if ac_fn_cxx_try_compile "$LINENO"; then :
25845 glibcxx_cv_func_sqrtl_use=yes
25847 glibcxx_cv_func_sqrtl_use=no
25849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25851 ac_cpp='$CPP $CPPFLAGS'
25852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
25861 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
25863 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
25864 for ac_func in sqrtl
25866 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
25867 if test "x$ac_cv_func_sqrtl" = x""yes; then :
25868 cat >>confdefs.h <<_ACEOF
25869 #define HAVE_SQRTL 1
25877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
25878 $as_echo_n "checking for _sqrtl declaration... " >&6; }
25879 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25880 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
25881 $as_echo_n "(cached) " >&6
25886 ac_cpp='$CXXCPP $CPPFLAGS'
25887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25892 /* end confdefs.h. */
25894 #ifdef HAVE_IEEEFP_H
25895 #include <ieeefp.h>
25906 if ac_fn_cxx_try_compile "$LINENO"; then :
25907 glibcxx_cv_func__sqrtl_use=yes
25909 glibcxx_cv_func__sqrtl_use=no
25911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25913 ac_cpp='$CPP $CPPFLAGS'
25914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
25923 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
25925 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25926 for ac_func in _sqrtl
25928 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25929 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25930 cat >>confdefs.h <<_ACEOF
25931 #define HAVE__SQRTL 1
25944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25945 $as_echo_n "checking for sincosl declaration... " >&6; }
25946 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25947 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25948 $as_echo_n "(cached) " >&6
25953 ac_cpp='$CXXCPP $CPPFLAGS'
25954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25959 /* end confdefs.h. */
25969 if ac_fn_cxx_try_compile "$LINENO"; then :
25970 glibcxx_cv_func_sincosl_use=yes
25972 glibcxx_cv_func_sincosl_use=no
25974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25976 ac_cpp='$CPP $CPPFLAGS'
25977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25986 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25988 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25989 for ac_func in sincosl
25991 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25992 if test "x$ac_cv_func_sincosl" = x""yes; then :
25993 cat >>confdefs.h <<_ACEOF
25994 #define HAVE_SINCOSL 1
26002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
26003 $as_echo_n "checking for _sincosl declaration... " >&6; }
26004 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
26005 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
26006 $as_echo_n "(cached) " >&6
26011 ac_cpp='$CXXCPP $CPPFLAGS'
26012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26017 /* end confdefs.h. */
26027 if ac_fn_cxx_try_compile "$LINENO"; then :
26028 glibcxx_cv_func__sincosl_use=yes
26030 glibcxx_cv_func__sincosl_use=no
26032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26034 ac_cpp='$CPP $CPPFLAGS'
26035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26044 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26046 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26047 for ac_func in _sincosl
26049 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26050 if test "x$ac_cv_func__sincosl" = x""yes; then :
26051 cat >>confdefs.h <<_ACEOF
26052 #define HAVE__SINCOSL 1
26065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26066 $as_echo_n "checking for finitel declaration... " >&6; }
26067 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26068 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26069 $as_echo_n "(cached) " >&6
26074 ac_cpp='$CXXCPP $CPPFLAGS'
26075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26080 /* end confdefs.h. */
26082 #ifdef HAVE_IEEEFP_H
26083 #include <ieeefp.h>
26094 if ac_fn_cxx_try_compile "$LINENO"; then :
26095 glibcxx_cv_func_finitel_use=yes
26097 glibcxx_cv_func_finitel_use=no
26099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26101 ac_cpp='$CPP $CPPFLAGS'
26102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26111 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26113 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26114 for ac_func in finitel
26116 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26117 if test "x$ac_cv_func_finitel" = x""yes; then :
26118 cat >>confdefs.h <<_ACEOF
26119 #define HAVE_FINITEL 1
26127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26128 $as_echo_n "checking for _finitel declaration... " >&6; }
26129 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26130 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26131 $as_echo_n "(cached) " >&6
26136 ac_cpp='$CXXCPP $CPPFLAGS'
26137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26142 /* end confdefs.h. */
26144 #ifdef HAVE_IEEEFP_H
26145 #include <ieeefp.h>
26156 if ac_fn_cxx_try_compile "$LINENO"; then :
26157 glibcxx_cv_func__finitel_use=yes
26159 glibcxx_cv_func__finitel_use=no
26161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26163 ac_cpp='$CPP $CPPFLAGS'
26164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26173 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26175 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26176 for ac_func in _finitel
26178 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26179 if test "x$ac_cv_func__finitel" = x""yes; then :
26180 cat >>confdefs.h <<_ACEOF
26181 #define HAVE__FINITEL 1
26193 LIBS="$ac_save_LIBS"
26194 CXXFLAGS="$ac_save_CXXFLAGS"
26197 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26198 ac_save_CXXFLAGS="$CXXFLAGS"
26199 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26203 $as_echo_n "checking for strtold declaration... " >&6; }
26204 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26205 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26206 $as_echo_n "(cached) " >&6
26211 ac_cpp='$CXXCPP $CPPFLAGS'
26212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26217 /* end confdefs.h. */
26218 #include <stdlib.h>
26227 if ac_fn_cxx_try_compile "$LINENO"; then :
26228 glibcxx_cv_func_strtold_use=yes
26230 glibcxx_cv_func_strtold_use=no
26232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26234 ac_cpp='$CPP $CPPFLAGS'
26235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26244 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26245 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26246 for ac_func in strtold
26248 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26249 if test "x$ac_cv_func_strtold" = x""yes; then :
26250 cat >>confdefs.h <<_ACEOF
26251 #define HAVE_STRTOLD 1
26262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26263 $as_echo_n "checking for strtof declaration... " >&6; }
26264 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26265 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26266 $as_echo_n "(cached) " >&6
26271 ac_cpp='$CXXCPP $CPPFLAGS'
26272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26277 /* end confdefs.h. */
26278 #include <stdlib.h>
26287 if ac_fn_cxx_try_compile "$LINENO"; then :
26288 glibcxx_cv_func_strtof_use=yes
26290 glibcxx_cv_func_strtof_use=no
26292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26294 ac_cpp='$CPP $CPPFLAGS'
26295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26304 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26305 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26306 for ac_func in strtof
26308 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26309 if test "x$ac_cv_func_strtof" = x""yes; then :
26310 cat >>confdefs.h <<_ACEOF
26311 #define HAVE_STRTOF 1
26322 CXXFLAGS="$ac_save_CXXFLAGS"
26325 # For /dev/random and /dev/urandom for TR1.
26328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26329 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26330 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26331 $as_echo_n "(cached) " >&6
26334 if test -r /dev/random && test -r /dev/urandom; then
26335 glibcxx_cv_random_tr1=yes;
26337 glibcxx_cv_random_tr1=no;
26342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26343 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26345 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26347 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26356 # Check whether --enable-tls was given.
26357 if test "${enable_tls+set}" = set; then :
26358 enableval=$enable_tls;
26359 case "$enableval" in
26361 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26370 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26371 if test "${gcc_cv_have_tls+set}" = set; then :
26372 $as_echo_n "(cached) " >&6
26375 if test "$cross_compiling" = yes; then :
26376 if test x$gcc_no_link = xyes; then
26377 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26380 /* end confdefs.h. */
26381 __thread int a; int b; int main() { return a = b; }
26383 if ac_fn_c_try_link "$LINENO"; then :
26384 chktls_save_LDFLAGS="$LDFLAGS"
26387 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26390 chktls_save_CFLAGS="$CFLAGS"
26391 CFLAGS="-fPIC $CFLAGS"
26392 if test x$gcc_no_link = xyes; then
26393 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26396 /* end confdefs.h. */
26397 int f() { return 0; }
26399 if ac_fn_c_try_link "$LINENO"; then :
26400 if test x$gcc_no_link = xyes; then
26401 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26404 /* end confdefs.h. */
26405 __thread int a; int b; int f() { return a = b; }
26407 if ac_fn_c_try_link "$LINENO"; then :
26408 gcc_cv_have_tls=yes
26412 rm -f core conftest.err conftest.$ac_objext \
26413 conftest$ac_exeext conftest.$ac_ext
26415 gcc_cv_have_tls=yes
26417 rm -f core conftest.err conftest.$ac_objext \
26418 conftest$ac_exeext conftest.$ac_ext
26419 CFLAGS="$chktls_save_CFLAGS"
26420 LDFLAGS="$chktls_save_LDFLAGS"
26424 rm -f core conftest.err conftest.$ac_objext \
26425 conftest$ac_exeext conftest.$ac_ext
26429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26430 /* end confdefs.h. */
26431 __thread int a; int b; int main() { return a = b; }
26433 if ac_fn_c_try_run "$LINENO"; then :
26434 chktls_save_LDFLAGS="$LDFLAGS"
26435 LDFLAGS="-static $LDFLAGS"
26436 if test x$gcc_no_link = xyes; then
26437 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26440 /* end confdefs.h. */
26441 int main() { return 0; }
26443 if ac_fn_c_try_link "$LINENO"; then :
26444 if test "$cross_compiling" = yes; then :
26445 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26446 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26447 as_fn_error "cannot run test program while cross compiling
26448 See \`config.log' for more details." "$LINENO" 5; }
26450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26451 /* end confdefs.h. */
26452 __thread int a; int b; int main() { return a = b; }
26454 if ac_fn_c_try_run "$LINENO"; then :
26455 gcc_cv_have_tls=yes
26459 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26460 conftest.$ac_objext conftest.beam conftest.$ac_ext
26464 gcc_cv_have_tls=yes
26466 rm -f core conftest.err conftest.$ac_objext \
26467 conftest$ac_exeext conftest.$ac_ext
26468 LDFLAGS="$chktls_save_LDFLAGS"
26469 if test $gcc_cv_have_tls = yes; then
26470 chktls_save_CFLAGS="$CFLAGS"
26471 thread_CFLAGS=failed
26472 for flag in '' '-pthread' '-lpthread'; do
26473 CFLAGS="$flag $chktls_save_CFLAGS"
26474 if test x$gcc_no_link = xyes; then
26475 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26478 /* end confdefs.h. */
26479 #include <pthread.h>
26480 void *g(void *d) { return NULL; }
26484 pthread_t t; pthread_create(&t,NULL,g,NULL);
26489 if ac_fn_c_try_link "$LINENO"; then :
26490 thread_CFLAGS="$flag"
26492 rm -f core conftest.err conftest.$ac_objext \
26493 conftest$ac_exeext conftest.$ac_ext
26494 if test "X$thread_CFLAGS" != Xfailed; then
26498 CFLAGS="$chktls_save_CFLAGS"
26499 if test "X$thread_CFLAGS" != Xfailed; then
26500 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26501 if test "$cross_compiling" = yes; then :
26502 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26503 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26504 as_fn_error "cannot run test program while cross compiling
26505 See \`config.log' for more details." "$LINENO" 5; }
26507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26508 /* end confdefs.h. */
26509 #include <pthread.h>
26511 static int *volatile a_in_other_thread;
26513 thread_func (void *arg)
26515 a_in_other_thread = &a;
26522 void *thread_retval;
26523 int *volatile a_in_main_thread;
26524 a_in_main_thread = &a;
26525 if (pthread_create (&thread, (pthread_attr_t *)0,
26526 thread_func, (void *)0))
26528 if (pthread_join (thread, &thread_retval))
26530 return (a_in_other_thread == a_in_main_thread);
26535 if ac_fn_c_try_run "$LINENO"; then :
26536 gcc_cv_have_tls=yes
26540 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26541 conftest.$ac_objext conftest.beam conftest.$ac_ext
26544 CFLAGS="$chktls_save_CFLAGS"
26550 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26551 conftest.$ac_objext conftest.beam conftest.$ac_ext
26555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
26556 $as_echo "$gcc_cv_have_tls" >&6; }
26557 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
26559 $as_echo "#define HAVE_TLS 1" >>confdefs.h
26563 # For iconv support.
26565 if test "X$prefix" = "XNONE"; then
26566 acl_final_prefix="$ac_default_prefix"
26568 acl_final_prefix="$prefix"
26570 if test "X$exec_prefix" = "XNONE"; then
26571 acl_final_exec_prefix='${prefix}'
26573 acl_final_exec_prefix="$exec_prefix"
26575 acl_save_prefix="$prefix"
26576 prefix="$acl_final_prefix"
26577 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
26578 prefix="$acl_save_prefix"
26581 # Check whether --with-gnu-ld was given.
26582 if test "${with_gnu_ld+set}" = set; then :
26583 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
26588 # Prepare PATH_SEPARATOR.
26589 # The user is always right.
26590 if test "${PATH_SEPARATOR+set}" != set; then
26591 echo "#! /bin/sh" >conf$$.sh
26592 echo "exit 0" >>conf$$.sh
26594 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26602 if test "$GCC" = yes; then
26603 # Check if gcc -print-prog-name=ld gives a path.
26604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
26605 $as_echo_n "checking for ld used by GCC... " >&6; }
26608 # gcc leaves a trailing carriage return which upsets mingw
26609 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
26611 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
26614 # Accept absolute paths.
26615 [\\/]* | [A-Za-z]:[\\/]*)
26616 re_direlt='/[^/][^/]*/\.\./'
26617 # Canonicalize the path of ld
26618 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
26619 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
26620 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
26622 test -z "$LD" && LD="$ac_prog"
26625 # If it fails, then pretend we aren't using GCC.
26629 # If it is relative, then search for the first ld in PATH.
26630 with_gnu_ld=unknown
26633 elif test "$with_gnu_ld" = yes; then
26634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
26635 $as_echo_n "checking for GNU ld... " >&6; }
26637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
26638 $as_echo_n "checking for non-GNU ld... " >&6; }
26640 if test "${acl_cv_path_LD+set}" = set; then :
26641 $as_echo_n "(cached) " >&6
26643 if test -z "$LD"; then
26644 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
26645 for ac_dir in $PATH; do
26646 test -z "$ac_dir" && ac_dir=.
26647 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
26648 acl_cv_path_LD="$ac_dir/$ac_prog"
26649 # Check to see if the program is GNU ld. I'd rather use --version,
26650 # but apparently some GNU ld's only accept -v.
26651 # Break only if it was the GNU/non-GNU ld that we prefer.
26652 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
26653 test "$with_gnu_ld" != no && break
26655 test "$with_gnu_ld" != yes && break
26661 acl_cv_path_LD="$LD" # Let the user override the test with a path.
26665 LD="$acl_cv_path_LD"
26666 if test -n "$LD"; then
26667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
26668 $as_echo "$LD" >&6; }
26670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26671 $as_echo "no" >&6; }
26673 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
26674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
26675 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
26676 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
26677 $as_echo_n "(cached) " >&6
26679 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
26680 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
26681 acl_cv_prog_gnu_ld=yes
26683 acl_cv_prog_gnu_ld=no
26686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
26687 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
26688 with_gnu_ld=$acl_cv_prog_gnu_ld
26692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
26693 $as_echo_n "checking for shared library run path origin... " >&6; }
26694 if test "${acl_cv_rpath+set}" = set; then :
26695 $as_echo_n "(cached) " >&6
26698 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
26699 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
26701 rm -f ./conftest.sh
26705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
26706 $as_echo "$acl_cv_rpath" >&6; }
26708 libext="$acl_cv_libext"
26709 shlibext="$acl_cv_shlibext"
26710 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
26711 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
26712 hardcode_direct="$acl_cv_hardcode_direct"
26713 hardcode_minus_L="$acl_cv_hardcode_minus_L"
26714 # Check whether --enable-rpath was given.
26715 if test "${enable_rpath+set}" = set; then :
26716 enableval=$enable_rpath; :
26730 acl_save_prefix="$prefix"
26731 prefix="$acl_final_prefix"
26732 acl_save_exec_prefix="$exec_prefix"
26733 exec_prefix="$acl_final_exec_prefix"
26735 eval additional_includedir=\"$includedir\"
26736 eval additional_libdir=\"$libdir\"
26738 exec_prefix="$acl_save_exec_prefix"
26739 prefix="$acl_save_prefix"
26742 # Check whether --with-libiconv-prefix was given.
26743 if test "${with_libiconv_prefix+set}" = set; then :
26744 withval=$with_libiconv_prefix;
26745 if test "X$withval" = "Xno"; then
26748 if test "X$withval" = "X"; then
26750 acl_save_prefix="$prefix"
26751 prefix="$acl_final_prefix"
26752 acl_save_exec_prefix="$exec_prefix"
26753 exec_prefix="$acl_final_exec_prefix"
26755 eval additional_includedir=\"$includedir\"
26756 eval additional_libdir=\"$libdir\"
26758 exec_prefix="$acl_save_exec_prefix"
26759 prefix="$acl_save_prefix"
26762 additional_includedir="$withval/include"
26763 additional_libdir="$withval/lib"
26774 names_already_handled=
26775 names_next_round='iconv '
26776 while test -n "$names_next_round"; do
26777 names_this_round="$names_next_round"
26779 for name in $names_this_round; do
26781 for n in $names_already_handled; do
26782 if test "$n" = "$name"; then
26783 already_handled=yes
26787 if test -z "$already_handled"; then
26788 names_already_handled="$names_already_handled $name"
26789 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
26790 eval value=\"\$HAVE_LIB$uppername\"
26791 if test -n "$value"; then
26792 if test "$value" = yes; then
26793 eval value=\"\$LIB$uppername\"
26794 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
26795 eval value=\"\$LTLIB$uppername\"
26796 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
26805 if test $use_additional = yes; then
26806 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
26807 found_dir="$additional_libdir"
26808 found_so="$additional_libdir/lib$name.$shlibext"
26809 if test -f "$additional_libdir/lib$name.la"; then
26810 found_la="$additional_libdir/lib$name.la"
26813 if test -f "$additional_libdir/lib$name.$libext"; then
26814 found_dir="$additional_libdir"
26815 found_a="$additional_libdir/lib$name.$libext"
26816 if test -f "$additional_libdir/lib$name.la"; then
26817 found_la="$additional_libdir/lib$name.la"
26822 if test "X$found_dir" = "X"; then
26823 for x in $LDFLAGS $LTLIBICONV; do
26825 acl_save_prefix="$prefix"
26826 prefix="$acl_final_prefix"
26827 acl_save_exec_prefix="$exec_prefix"
26828 exec_prefix="$acl_final_exec_prefix"
26830 exec_prefix="$acl_save_exec_prefix"
26831 prefix="$acl_save_prefix"
26835 dir=`echo "X$x" | sed -e 's/^X-L//'`
26836 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
26838 found_so="$dir/lib$name.$shlibext"
26839 if test -f "$dir/lib$name.la"; then
26840 found_la="$dir/lib$name.la"
26843 if test -f "$dir/lib$name.$libext"; then
26845 found_a="$dir/lib$name.$libext"
26846 if test -f "$dir/lib$name.la"; then
26847 found_la="$dir/lib$name.la"
26853 if test "X$found_dir" != "X"; then
26858 if test "X$found_dir" != "X"; then
26859 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
26860 if test "X$found_so" != "X"; then
26861 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
26862 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26865 for x in $ltrpathdirs; do
26866 if test "X$x" = "X$found_dir"; then
26871 if test -z "$haveit"; then
26872 ltrpathdirs="$ltrpathdirs $found_dir"
26874 if test "$hardcode_direct" = yes; then
26875 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26877 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
26878 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26880 for x in $rpathdirs; do
26881 if test "X$x" = "X$found_dir"; then
26886 if test -z "$haveit"; then
26887 rpathdirs="$rpathdirs $found_dir"
26891 for x in $LDFLAGS $LIBICONV; do
26893 acl_save_prefix="$prefix"
26894 prefix="$acl_final_prefix"
26895 acl_save_exec_prefix="$exec_prefix"
26896 exec_prefix="$acl_final_exec_prefix"
26898 exec_prefix="$acl_save_exec_prefix"
26899 prefix="$acl_save_prefix"
26901 if test "X$x" = "X-L$found_dir"; then
26906 if test -z "$haveit"; then
26907 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
26909 if test "$hardcode_minus_L" != no; then
26910 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26912 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26918 if test "X$found_a" != "X"; then
26919 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
26921 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
26924 additional_includedir=
26925 case "$found_dir" in
26927 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26928 additional_includedir="$basedir/include"
26931 if test "X$additional_includedir" != "X"; then
26932 if test "X$additional_includedir" != "X/usr/include"; then
26934 if test "X$additional_includedir" = "X/usr/local/include"; then
26935 if test -n "$GCC"; then
26937 linux*) haveit=yes;;
26941 if test -z "$haveit"; then
26942 for x in $CPPFLAGS $INCICONV; do
26944 acl_save_prefix="$prefix"
26945 prefix="$acl_final_prefix"
26946 acl_save_exec_prefix="$exec_prefix"
26947 exec_prefix="$acl_final_exec_prefix"
26949 exec_prefix="$acl_save_exec_prefix"
26950 prefix="$acl_save_prefix"
26952 if test "X$x" = "X-I$additional_includedir"; then
26957 if test -z "$haveit"; then
26958 if test -d "$additional_includedir"; then
26959 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26965 if test -n "$found_la"; then
26966 save_libdir="$libdir"
26967 case "$found_la" in
26968 */* | *\\*) . "$found_la" ;;
26969 *) . "./$found_la" ;;
26971 libdir="$save_libdir"
26972 for dep in $dependency_libs; do
26975 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26976 if test "X$additional_libdir" != "X/usr/lib"; then
26978 if test "X$additional_libdir" = "X/usr/local/lib"; then
26979 if test -n "$GCC"; then
26981 linux*) haveit=yes;;
26985 if test -z "$haveit"; then
26987 for x in $LDFLAGS $LIBICONV; do
26989 acl_save_prefix="$prefix"
26990 prefix="$acl_final_prefix"
26991 acl_save_exec_prefix="$exec_prefix"
26992 exec_prefix="$acl_final_exec_prefix"
26994 exec_prefix="$acl_save_exec_prefix"
26995 prefix="$acl_save_prefix"
26997 if test "X$x" = "X-L$additional_libdir"; then
27002 if test -z "$haveit"; then
27003 if test -d "$additional_libdir"; then
27004 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
27008 for x in $LDFLAGS $LTLIBICONV; do
27010 acl_save_prefix="$prefix"
27011 prefix="$acl_final_prefix"
27012 acl_save_exec_prefix="$exec_prefix"
27013 exec_prefix="$acl_final_exec_prefix"
27015 exec_prefix="$acl_save_exec_prefix"
27016 prefix="$acl_save_prefix"
27018 if test "X$x" = "X-L$additional_libdir"; then
27023 if test -z "$haveit"; then
27024 if test -d "$additional_libdir"; then
27025 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
27032 dir=`echo "X$dep" | sed -e 's/^X-R//'`
27033 if test "$enable_rpath" != no; then
27035 for x in $rpathdirs; do
27036 if test "X$x" = "X$dir"; then
27041 if test -z "$haveit"; then
27042 rpathdirs="$rpathdirs $dir"
27045 for x in $ltrpathdirs; do
27046 if test "X$x" = "X$dir"; then
27051 if test -z "$haveit"; then
27052 ltrpathdirs="$ltrpathdirs $dir"
27057 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27060 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27063 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27064 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27070 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27071 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27077 if test "X$rpathdirs" != "X"; then
27078 if test -n "$hardcode_libdir_separator"; then
27080 for found_dir in $rpathdirs; do
27081 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27083 acl_save_libdir="$libdir"
27085 eval flag=\"$hardcode_libdir_flag_spec\"
27086 libdir="$acl_save_libdir"
27087 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27089 for found_dir in $rpathdirs; do
27090 acl_save_libdir="$libdir"
27091 libdir="$found_dir"
27092 eval flag=\"$hardcode_libdir_flag_spec\"
27093 libdir="$acl_save_libdir"
27094 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27098 if test "X$ltrpathdirs" != "X"; then
27099 for found_dir in $ltrpathdirs; do
27100 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27110 am_save_CPPFLAGS="$CPPFLAGS"
27112 for element in $INCICONV; do
27114 for x in $CPPFLAGS; do
27116 acl_save_prefix="$prefix"
27117 prefix="$acl_final_prefix"
27118 acl_save_exec_prefix="$exec_prefix"
27119 exec_prefix="$acl_final_exec_prefix"
27121 exec_prefix="$acl_save_exec_prefix"
27122 prefix="$acl_save_prefix"
27124 if test "X$x" = "X$element"; then
27129 if test -z "$haveit"; then
27130 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27136 $as_echo_n "checking for iconv... " >&6; }
27137 if test "${am_cv_func_iconv+set}" = set; then :
27138 $as_echo_n "(cached) " >&6
27141 am_cv_func_iconv="no, consider installing GNU libiconv"
27143 if test x$gcc_no_link = xyes; then
27144 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27147 /* end confdefs.h. */
27148 #include <stdlib.h>
27153 iconv_t cd = iconv_open("","");
27154 iconv(cd,NULL,NULL,NULL,NULL);
27160 if ac_fn_c_try_link "$LINENO"; then :
27161 am_cv_func_iconv=yes
27163 rm -f core conftest.err conftest.$ac_objext \
27164 conftest$ac_exeext conftest.$ac_ext
27165 if test "$am_cv_func_iconv" != yes; then
27166 am_save_LIBS="$LIBS"
27167 LIBS="$LIBS $LIBICONV"
27168 if test x$gcc_no_link = xyes; then
27169 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27172 /* end confdefs.h. */
27173 #include <stdlib.h>
27178 iconv_t cd = iconv_open("","");
27179 iconv(cd,NULL,NULL,NULL,NULL);
27185 if ac_fn_c_try_link "$LINENO"; then :
27186 am_cv_lib_iconv=yes
27187 am_cv_func_iconv=yes
27189 rm -f core conftest.err conftest.$ac_objext \
27190 conftest$ac_exeext conftest.$ac_ext
27191 LIBS="$am_save_LIBS"
27195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27196 $as_echo "$am_cv_func_iconv" >&6; }
27197 if test "$am_cv_func_iconv" = yes; then
27199 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27202 if test "$am_cv_lib_iconv" = yes; then
27203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27204 $as_echo_n "checking how to link with libiconv... " >&6; }
27205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27206 $as_echo "$LIBICONV" >&6; }
27208 CPPFLAGS="$am_save_CPPFLAGS"
27215 if test "$am_cv_func_iconv" = yes; then
27216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27217 $as_echo_n "checking for iconv declaration... " >&6; }
27218 if test "${am_cv_proto_iconv+set}" = set; then :
27219 $as_echo_n "(cached) " >&6
27222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27223 /* end confdefs.h. */
27225 #include <stdlib.h>
27231 #if defined(__STDC__) || defined(__cplusplus)
27232 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27245 if ac_fn_c_try_compile "$LINENO"; then :
27246 am_cv_proto_iconv_arg1=""
27248 am_cv_proto_iconv_arg1="const"
27250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27251 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);"
27254 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27256 }$am_cv_proto_iconv" >&5
27258 }$am_cv_proto_iconv" >&6; }
27260 cat >>confdefs.h <<_ACEOF
27261 #define ICONV_CONST $am_cv_proto_iconv_arg1
27269 # This lets us hard-code the functionality we know we'll have in the cross
27270 # target environment. "Let" is a sugar-coated word placed on an especially
27271 # dull and tedious hack, actually.
27273 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27274 # that involve linking, can't be used:
27275 # "cannot open sim-crt0.o"
27276 # "cannot open crt0.o"
27277 # etc. All this is because there currently exists no unified, consistent
27278 # way for top level CC information to be passed down to target directories:
27279 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27280 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27281 # crosses can be removed.
27283 # If Canadian cross, then don't pick up tools from the build directory.
27284 # Used only in GLIBCXX_EXPORT_INCLUDES.
27285 if test -n "$with_cross_host" &&
27286 test x"$build_alias" != x"$with_cross_host" &&
27287 test x"$build" != x"$target";
27294 # Construct crosses by hand, eliminating bits that need ld...
27295 # GLIBCXX_CHECK_MATH_SUPPORT
27297 # First, test for "known" system libraries. We may be using newlib even
27298 # on a hosted environment.
27299 if test "x${with_newlib}" = "xyes"; then
27300 os_include_dir="os/newlib"
27301 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27304 # GLIBCXX_CHECK_STDLIB_SUPPORT
27305 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27308 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27310 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27312 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27314 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27316 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27318 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27320 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27322 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27324 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27326 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27328 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27330 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27332 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27334 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27336 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27338 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27340 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27342 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27344 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27346 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27348 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27350 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27353 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27357 # Base decisions on target environment.
27359 arm*-*-symbianelf*)
27360 # This is a freestanding configuration; there is nothing to do here.
27364 # These definitions are for the SDE C library rather than newlib.
27365 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27368 # All these tests are for C++; save the language and the compiler flags.
27369 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27370 # found in GLIBCXX_CONFIGURE.
27373 ac_cpp='$CXXCPP $CPPFLAGS'
27374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27378 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27379 ac_save_CXXFLAGS="$CXXFLAGS"
27381 # Check for maintainer-mode bits.
27382 if test x"$USE_MAINTAINER_MODE" = xno; then
27388 # Check for -ffunction-sections -fdata-sections
27389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27390 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27391 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27393 /* end confdefs.h. */
27394 int foo; void bar() { };
27403 if ac_fn_cxx_try_compile "$LINENO"; then :
27408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27409 if test "$ac_test_CXXFLAGS" = set; then
27410 CXXFLAGS="$ac_save_CXXFLAGS"
27412 # this is the suspicious part
27415 if test x"$ac_fdsections" = x"yes"; then
27416 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27419 $as_echo "$ac_fdsections" >&6; }
27422 ac_cpp='$CPP $CPPFLAGS'
27423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27431 # If we're not using GNU ld, then there's no point in even trying these
27432 # tests. Check for that first. We should have already tested for gld
27433 # by now (in libtool), but require it now just to be safe...
27434 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27435 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27439 # The name set by libtool depends on the version of libtool. Shame on us
27440 # for depending on an impl detail, but c'est la vie. Older versions used
27441 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27442 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27443 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27444 # set (hence we're using an older libtool), then set it.
27445 if test x${with_gnu_ld+set} != xset; then
27446 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27447 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27450 with_gnu_ld=$ac_cv_prog_gnu_ld
27454 # Start by getting the version number. I think the libtool test already
27455 # does some of this, but throws away the result.
27456 glibcxx_ld_is_gold=no
27457 if test x"$with_gnu_ld" = x"yes"; then
27458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27459 $as_echo_n "checking for ld version... " >&6; }
27461 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27462 glibcxx_ld_is_gold=yes
27464 ldver=`$LD --version 2>/dev/null |
27465 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'`
27467 glibcxx_gnu_ld_version=`echo $ldver | \
27468 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27470 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27473 # Set --gc-sections.
27474 glibcxx_have_gc_sections=no
27475 if test "$glibcxx_ld_is_gold" = "yes"; then
27476 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27477 glibcxx_have_gc_sections=yes
27480 glibcxx_gcsections_min_ld=21602
27481 if test x"$with_gnu_ld" = x"yes" &&
27482 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27483 glibcxx_have_gc_sections=yes
27486 if test "$glibcxx_have_gc_sections" = "yes"; then
27487 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27488 # NB: This flag only works reliably after 2.16.1. Configure tests
27489 # for this are difficult, so hard wire a value that should work.
27491 ac_test_CFLAGS="${CFLAGS+set}"
27492 ac_save_CFLAGS="$CFLAGS"
27493 CFLAGS='-Wl,--gc-sections'
27495 # Check for -Wl,--gc-sections
27496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27497 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27498 if test x$gcc_no_link = xyes; then
27499 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27502 /* end confdefs.h. */
27503 int one(void) { return 1; }
27504 int two(void) { return 2; }
27514 if ac_fn_c_try_link "$LINENO"; then :
27519 rm -f core conftest.err conftest.$ac_objext \
27520 conftest$ac_exeext conftest.$ac_ext
27521 if test "$ac_gcsections" = "yes"; then
27524 if $CC -c conftest.c; then
27525 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27526 grep "Warning: gc-sections option ignored" > /dev/null; then
27530 rm -f conftest.c conftest.o conftest
27532 if test "$ac_gcsections" = "yes"; then
27533 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
27535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
27536 $as_echo "$ac_gcsections" >&6; }
27538 if test "$ac_test_CFLAGS" = set; then
27539 CFLAGS="$ac_save_CFLAGS"
27541 # this is the suspicious part
27547 # Note this is only for shared objects.
27549 if test x"$with_gnu_ld" = x"yes"; then
27550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
27551 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
27552 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
27553 if test -n "$cxx_z_relo"; then
27554 OPT_LDFLAGS="-Wl,-z,relro"
27557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
27558 $as_echo "$ac_ld_relro" >&6; }
27561 # Set linker optimization flags.
27562 if test x"$with_gnu_ld" = x"yes"; then
27563 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
27570 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27571 ac_save_CXXFLAGS="$CXXFLAGS"
27572 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
27575 $as_echo_n "checking for sin in -lm... " >&6; }
27576 if test "${ac_cv_lib_m_sin+set}" = set; then :
27577 $as_echo_n "(cached) " >&6
27579 ac_check_lib_save_LIBS=$LIBS
27581 if test x$gcc_no_link = xyes; then
27582 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27585 /* end confdefs.h. */
27587 /* Override any GCC internal prototype to avoid an error.
27588 Use char because int might match the return type of a GCC
27589 builtin and then its argument prototype would still apply. */
27602 if ac_fn_c_try_link "$LINENO"; then :
27603 ac_cv_lib_m_sin=yes
27607 rm -f core conftest.err conftest.$ac_objext \
27608 conftest$ac_exeext conftest.$ac_ext
27609 LIBS=$ac_check_lib_save_LIBS
27611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
27612 $as_echo "$ac_cv_lib_m_sin" >&6; }
27613 if test "x$ac_cv_lib_m_sin" = x""yes; then :
27617 ac_save_LIBS="$LIBS"
27622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
27623 $as_echo_n "checking for isinf declaration... " >&6; }
27624 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27625 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
27626 $as_echo_n "(cached) " >&6
27631 ac_cpp='$CXXCPP $CPPFLAGS'
27632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27637 /* end confdefs.h. */
27639 #ifdef HAVE_IEEEFP_H
27640 #include <ieeefp.h>
27651 if ac_fn_cxx_try_compile "$LINENO"; then :
27652 glibcxx_cv_func_isinf_use=yes
27654 glibcxx_cv_func_isinf_use=no
27656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27658 ac_cpp='$CPP $CPPFLAGS'
27659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
27668 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
27670 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27671 for ac_func in isinf
27673 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
27674 if test "x$ac_cv_func_isinf" = x""yes; then :
27675 cat >>confdefs.h <<_ACEOF
27676 #define HAVE_ISINF 1
27684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
27685 $as_echo_n "checking for _isinf declaration... " >&6; }
27686 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
27687 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
27688 $as_echo_n "(cached) " >&6
27693 ac_cpp='$CXXCPP $CPPFLAGS'
27694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27699 /* end confdefs.h. */
27701 #ifdef HAVE_IEEEFP_H
27702 #include <ieeefp.h>
27713 if ac_fn_cxx_try_compile "$LINENO"; then :
27714 glibcxx_cv_func__isinf_use=yes
27716 glibcxx_cv_func__isinf_use=no
27718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27720 ac_cpp='$CPP $CPPFLAGS'
27721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
27730 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
27732 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
27733 for ac_func in _isinf
27735 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
27736 if test "x$ac_cv_func__isinf" = x""yes; then :
27737 cat >>confdefs.h <<_ACEOF
27738 #define HAVE__ISINF 1
27751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
27752 $as_echo_n "checking for isnan declaration... " >&6; }
27753 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
27754 if test "${glibcxx_cv_func_isnan_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. */
27768 #ifdef HAVE_IEEEFP_H
27769 #include <ieeefp.h>
27780 if ac_fn_cxx_try_compile "$LINENO"; then :
27781 glibcxx_cv_func_isnan_use=yes
27783 glibcxx_cv_func_isnan_use=no
27785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27787 ac_cpp='$CPP $CPPFLAGS'
27788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
27797 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
27799 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
27800 for ac_func in isnan
27802 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
27803 if test "x$ac_cv_func_isnan" = x""yes; then :
27804 cat >>confdefs.h <<_ACEOF
27805 #define HAVE_ISNAN 1
27813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
27814 $as_echo_n "checking for _isnan declaration... " >&6; }
27815 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
27816 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
27817 $as_echo_n "(cached) " >&6
27822 ac_cpp='$CXXCPP $CPPFLAGS'
27823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27828 /* end confdefs.h. */
27830 #ifdef HAVE_IEEEFP_H
27831 #include <ieeefp.h>
27842 if ac_fn_cxx_try_compile "$LINENO"; then :
27843 glibcxx_cv_func__isnan_use=yes
27845 glibcxx_cv_func__isnan_use=no
27847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27849 ac_cpp='$CPP $CPPFLAGS'
27850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
27859 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
27861 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
27862 for ac_func in _isnan
27864 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
27865 if test "x$ac_cv_func__isnan" = x""yes; then :
27866 cat >>confdefs.h <<_ACEOF
27867 #define HAVE__ISNAN 1
27880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
27881 $as_echo_n "checking for finite declaration... " >&6; }
27882 if test x${glibcxx_cv_func_finite_use+set} != xset; then
27883 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
27884 $as_echo_n "(cached) " >&6
27889 ac_cpp='$CXXCPP $CPPFLAGS'
27890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27895 /* end confdefs.h. */
27897 #ifdef HAVE_IEEEFP_H
27898 #include <ieeefp.h>
27909 if ac_fn_cxx_try_compile "$LINENO"; then :
27910 glibcxx_cv_func_finite_use=yes
27912 glibcxx_cv_func_finite_use=no
27914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27916 ac_cpp='$CPP $CPPFLAGS'
27917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
27926 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27928 if test x$glibcxx_cv_func_finite_use = x"yes"; then
27929 for ac_func in finite
27931 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27932 if test "x$ac_cv_func_finite" = x""yes; then :
27933 cat >>confdefs.h <<_ACEOF
27934 #define HAVE_FINITE 1
27942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27943 $as_echo_n "checking for _finite declaration... " >&6; }
27944 if test x${glibcxx_cv_func__finite_use+set} != xset; then
27945 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27946 $as_echo_n "(cached) " >&6
27951 ac_cpp='$CXXCPP $CPPFLAGS'
27952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27957 /* end confdefs.h. */
27959 #ifdef HAVE_IEEEFP_H
27960 #include <ieeefp.h>
27971 if ac_fn_cxx_try_compile "$LINENO"; then :
27972 glibcxx_cv_func__finite_use=yes
27974 glibcxx_cv_func__finite_use=no
27976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27978 ac_cpp='$CPP $CPPFLAGS'
27979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27988 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27990 if test x$glibcxx_cv_func__finite_use = x"yes"; then
27991 for ac_func in _finite
27993 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27994 if test "x$ac_cv_func__finite" = x""yes; then :
27995 cat >>confdefs.h <<_ACEOF
27996 #define HAVE__FINITE 1
28009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
28010 $as_echo_n "checking for sincos declaration... " >&6; }
28011 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28012 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
28013 $as_echo_n "(cached) " >&6
28018 ac_cpp='$CXXCPP $CPPFLAGS'
28019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28024 /* end confdefs.h. */
28034 if ac_fn_cxx_try_compile "$LINENO"; then :
28035 glibcxx_cv_func_sincos_use=yes
28037 glibcxx_cv_func_sincos_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_sincos_use" >&5
28051 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28053 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28054 for ac_func in sincos
28056 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28057 if test "x$ac_cv_func_sincos" = x""yes; then :
28058 cat >>confdefs.h <<_ACEOF
28059 #define HAVE_SINCOS 1
28067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28068 $as_echo_n "checking for _sincos declaration... " >&6; }
28069 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28070 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28071 $as_echo_n "(cached) " >&6
28076 ac_cpp='$CXXCPP $CPPFLAGS'
28077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28082 /* end confdefs.h. */
28092 if ac_fn_cxx_try_compile "$LINENO"; then :
28093 glibcxx_cv_func__sincos_use=yes
28095 glibcxx_cv_func__sincos_use=no
28097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28099 ac_cpp='$CPP $CPPFLAGS'
28100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28109 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28111 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28112 for ac_func in _sincos
28114 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28115 if test "x$ac_cv_func__sincos" = x""yes; then :
28116 cat >>confdefs.h <<_ACEOF
28117 #define HAVE__SINCOS 1
28130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28131 $as_echo_n "checking for fpclass declaration... " >&6; }
28132 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28133 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28134 $as_echo_n "(cached) " >&6
28139 ac_cpp='$CXXCPP $CPPFLAGS'
28140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28145 /* end confdefs.h. */
28147 #ifdef HAVE_IEEEFP_H
28148 #include <ieeefp.h>
28159 if ac_fn_cxx_try_compile "$LINENO"; then :
28160 glibcxx_cv_func_fpclass_use=yes
28162 glibcxx_cv_func_fpclass_use=no
28164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28166 ac_cpp='$CPP $CPPFLAGS'
28167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28176 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28178 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28179 for ac_func in fpclass
28181 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28182 if test "x$ac_cv_func_fpclass" = x""yes; then :
28183 cat >>confdefs.h <<_ACEOF
28184 #define HAVE_FPCLASS 1
28192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28193 $as_echo_n "checking for _fpclass declaration... " >&6; }
28194 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28195 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28196 $as_echo_n "(cached) " >&6
28201 ac_cpp='$CXXCPP $CPPFLAGS'
28202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28207 /* end confdefs.h. */
28209 #ifdef HAVE_IEEEFP_H
28210 #include <ieeefp.h>
28221 if ac_fn_cxx_try_compile "$LINENO"; then :
28222 glibcxx_cv_func__fpclass_use=yes
28224 glibcxx_cv_func__fpclass_use=no
28226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28228 ac_cpp='$CPP $CPPFLAGS'
28229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28238 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28240 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28241 for ac_func in _fpclass
28243 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28244 if test "x$ac_cv_func__fpclass" = x""yes; then :
28245 cat >>confdefs.h <<_ACEOF
28246 #define HAVE__FPCLASS 1
28259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28260 $as_echo_n "checking for qfpclass declaration... " >&6; }
28261 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28262 if test "${glibcxx_cv_func_qfpclass_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. */
28276 #ifdef HAVE_IEEEFP_H
28277 #include <ieeefp.h>
28288 if ac_fn_cxx_try_compile "$LINENO"; then :
28289 glibcxx_cv_func_qfpclass_use=yes
28291 glibcxx_cv_func_qfpclass_use=no
28293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28295 ac_cpp='$CPP $CPPFLAGS'
28296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28305 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28307 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28308 for ac_func in qfpclass
28310 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28311 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28312 cat >>confdefs.h <<_ACEOF
28313 #define HAVE_QFPCLASS 1
28321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28322 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28323 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28324 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28325 $as_echo_n "(cached) " >&6
28330 ac_cpp='$CXXCPP $CPPFLAGS'
28331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28336 /* end confdefs.h. */
28338 #ifdef HAVE_IEEEFP_H
28339 #include <ieeefp.h>
28350 if ac_fn_cxx_try_compile "$LINENO"; then :
28351 glibcxx_cv_func__qfpclass_use=yes
28353 glibcxx_cv_func__qfpclass_use=no
28355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28357 ac_cpp='$CPP $CPPFLAGS'
28358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28367 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28369 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28370 for ac_func in _qfpclass
28372 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28373 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28374 cat >>confdefs.h <<_ACEOF
28375 #define HAVE__QFPCLASS 1
28388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28389 $as_echo_n "checking for hypot declaration... " >&6; }
28390 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28391 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28392 $as_echo_n "(cached) " >&6
28397 ac_cpp='$CXXCPP $CPPFLAGS'
28398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28403 /* end confdefs.h. */
28413 if ac_fn_cxx_try_compile "$LINENO"; then :
28414 glibcxx_cv_func_hypot_use=yes
28416 glibcxx_cv_func_hypot_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_hypot_use" >&5
28430 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28432 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28433 for ac_func in hypot
28435 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28436 if test "x$ac_cv_func_hypot" = x""yes; then :
28437 cat >>confdefs.h <<_ACEOF
28438 #define HAVE_HYPOT 1
28446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28447 $as_echo_n "checking for _hypot declaration... " >&6; }
28448 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28449 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28450 $as_echo_n "(cached) " >&6
28455 ac_cpp='$CXXCPP $CPPFLAGS'
28456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28461 /* end confdefs.h. */
28471 if ac_fn_cxx_try_compile "$LINENO"; then :
28472 glibcxx_cv_func__hypot_use=yes
28474 glibcxx_cv_func__hypot_use=no
28476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28478 ac_cpp='$CPP $CPPFLAGS'
28479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28488 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28490 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28491 for ac_func in _hypot
28493 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28494 if test "x$ac_cv_func__hypot" = x""yes; then :
28495 cat >>confdefs.h <<_ACEOF
28496 #define HAVE__HYPOT 1
28509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28510 $as_echo_n "checking for float trig functions... " >&6; }
28511 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28512 $as_echo_n "(cached) " >&6
28517 ac_cpp='$CXXCPP $CPPFLAGS'
28518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28523 /* end confdefs.h. */
28528 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28533 if ac_fn_cxx_try_compile "$LINENO"; then :
28534 glibcxx_cv_func_float_trig_use=yes
28536 glibcxx_cv_func_float_trig_use=no
28538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28540 ac_cpp='$CPP $CPPFLAGS'
28541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
28548 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
28549 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
28550 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
28552 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28553 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28554 eval as_val=\$$as_ac_var
28555 if test "x$as_val" = x""yes; then :
28556 cat >>confdefs.h <<_ACEOF
28557 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
28565 $as_echo_n "checking for _float trig functions... " >&6; }
28566 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
28567 $as_echo_n "(cached) " >&6
28572 ac_cpp='$CXXCPP $CPPFLAGS'
28573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28578 /* end confdefs.h. */
28583 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
28588 if ac_fn_cxx_try_compile "$LINENO"; then :
28589 glibcxx_cv_func__float_trig_use=yes
28591 glibcxx_cv_func__float_trig_use=no
28593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28595 ac_cpp='$CPP $CPPFLAGS'
28596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
28603 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
28604 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
28605 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
28607 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28608 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28609 eval as_val=\$$as_ac_var
28610 if test "x$as_val" = x""yes; then :
28611 cat >>confdefs.h <<_ACEOF
28612 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
28626 $as_echo_n "checking for float round functions... " >&6; }
28627 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
28628 $as_echo_n "(cached) " >&6
28633 ac_cpp='$CXXCPP $CPPFLAGS'
28634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28639 /* end confdefs.h. */
28644 ceilf (0); floorf (0);
28649 if ac_fn_cxx_try_compile "$LINENO"; then :
28650 glibcxx_cv_func_float_round_use=yes
28652 glibcxx_cv_func_float_round_use=no
28654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28656 ac_cpp='$CPP $CPPFLAGS'
28657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
28664 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
28665 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
28666 for ac_func in ceilf floorf
28668 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28669 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28670 eval as_val=\$$as_ac_var
28671 if test "x$as_val" = x""yes; then :
28672 cat >>confdefs.h <<_ACEOF
28673 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
28681 $as_echo_n "checking for _float round functions... " >&6; }
28682 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
28683 $as_echo_n "(cached) " >&6
28688 ac_cpp='$CXXCPP $CPPFLAGS'
28689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28694 /* end confdefs.h. */
28699 _ceilf (0); _floorf (0);
28704 if ac_fn_cxx_try_compile "$LINENO"; then :
28705 glibcxx_cv_func__float_round_use=yes
28707 glibcxx_cv_func__float_round_use=no
28709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28711 ac_cpp='$CPP $CPPFLAGS'
28712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
28719 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
28720 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
28721 for ac_func in _ceilf _floorf
28723 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28724 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28725 eval as_val=\$$as_ac_var
28726 if test "x$as_val" = x""yes; then :
28727 cat >>confdefs.h <<_ACEOF
28728 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
28743 $as_echo_n "checking for expf declaration... " >&6; }
28744 if test x${glibcxx_cv_func_expf_use+set} != xset; then
28745 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
28746 $as_echo_n "(cached) " >&6
28751 ac_cpp='$CXXCPP $CPPFLAGS'
28752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28757 /* end confdefs.h. */
28759 #ifdef HAVE_IEEEFP_H
28760 #include <ieeefp.h>
28771 if ac_fn_cxx_try_compile "$LINENO"; then :
28772 glibcxx_cv_func_expf_use=yes
28774 glibcxx_cv_func_expf_use=no
28776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28778 ac_cpp='$CPP $CPPFLAGS'
28779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
28788 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
28790 if test x$glibcxx_cv_func_expf_use = x"yes"; then
28791 for ac_func in expf
28793 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
28794 if test "x$ac_cv_func_expf" = x""yes; then :
28795 cat >>confdefs.h <<_ACEOF
28796 #define HAVE_EXPF 1
28804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
28805 $as_echo_n "checking for _expf declaration... " >&6; }
28806 if test x${glibcxx_cv_func__expf_use+set} != xset; then
28807 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
28808 $as_echo_n "(cached) " >&6
28813 ac_cpp='$CXXCPP $CPPFLAGS'
28814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28819 /* end confdefs.h. */
28821 #ifdef HAVE_IEEEFP_H
28822 #include <ieeefp.h>
28833 if ac_fn_cxx_try_compile "$LINENO"; then :
28834 glibcxx_cv_func__expf_use=yes
28836 glibcxx_cv_func__expf_use=no
28838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28840 ac_cpp='$CPP $CPPFLAGS'
28841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
28850 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
28852 if test x$glibcxx_cv_func__expf_use = x"yes"; then
28853 for ac_func in _expf
28855 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
28856 if test "x$ac_cv_func__expf" = x""yes; then :
28857 cat >>confdefs.h <<_ACEOF
28858 #define HAVE__EXPF 1
28871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
28872 $as_echo_n "checking for isnanf declaration... " >&6; }
28873 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
28874 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
28875 $as_echo_n "(cached) " >&6
28880 ac_cpp='$CXXCPP $CPPFLAGS'
28881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28886 /* end confdefs.h. */
28888 #ifdef HAVE_IEEEFP_H
28889 #include <ieeefp.h>
28900 if ac_fn_cxx_try_compile "$LINENO"; then :
28901 glibcxx_cv_func_isnanf_use=yes
28903 glibcxx_cv_func_isnanf_use=no
28905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28907 ac_cpp='$CPP $CPPFLAGS'
28908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
28917 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
28919 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
28920 for ac_func in isnanf
28922 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
28923 if test "x$ac_cv_func_isnanf" = x""yes; then :
28924 cat >>confdefs.h <<_ACEOF
28925 #define HAVE_ISNANF 1
28933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28934 $as_echo_n "checking for _isnanf declaration... " >&6; }
28935 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28936 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28937 $as_echo_n "(cached) " >&6
28942 ac_cpp='$CXXCPP $CPPFLAGS'
28943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28948 /* end confdefs.h. */
28950 #ifdef HAVE_IEEEFP_H
28951 #include <ieeefp.h>
28962 if ac_fn_cxx_try_compile "$LINENO"; then :
28963 glibcxx_cv_func__isnanf_use=yes
28965 glibcxx_cv_func__isnanf_use=no
28967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28969 ac_cpp='$CPP $CPPFLAGS'
28970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28979 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28981 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28982 for ac_func in _isnanf
28984 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28985 if test "x$ac_cv_func__isnanf" = x""yes; then :
28986 cat >>confdefs.h <<_ACEOF
28987 #define HAVE__ISNANF 1
29000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
29001 $as_echo_n "checking for isinff declaration... " >&6; }
29002 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
29003 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
29004 $as_echo_n "(cached) " >&6
29009 ac_cpp='$CXXCPP $CPPFLAGS'
29010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29015 /* end confdefs.h. */
29017 #ifdef HAVE_IEEEFP_H
29018 #include <ieeefp.h>
29029 if ac_fn_cxx_try_compile "$LINENO"; then :
29030 glibcxx_cv_func_isinff_use=yes
29032 glibcxx_cv_func_isinff_use=no
29034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29036 ac_cpp='$CPP $CPPFLAGS'
29037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29046 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29048 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29049 for ac_func in isinff
29051 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29052 if test "x$ac_cv_func_isinff" = x""yes; then :
29053 cat >>confdefs.h <<_ACEOF
29054 #define HAVE_ISINFF 1
29062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29063 $as_echo_n "checking for _isinff declaration... " >&6; }
29064 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29065 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29066 $as_echo_n "(cached) " >&6
29071 ac_cpp='$CXXCPP $CPPFLAGS'
29072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29077 /* end confdefs.h. */
29079 #ifdef HAVE_IEEEFP_H
29080 #include <ieeefp.h>
29091 if ac_fn_cxx_try_compile "$LINENO"; then :
29092 glibcxx_cv_func__isinff_use=yes
29094 glibcxx_cv_func__isinff_use=no
29096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29098 ac_cpp='$CPP $CPPFLAGS'
29099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29108 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29110 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29111 for ac_func in _isinff
29113 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29114 if test "x$ac_cv_func__isinff" = x""yes; then :
29115 cat >>confdefs.h <<_ACEOF
29116 #define HAVE__ISINFF 1
29129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29130 $as_echo_n "checking for atan2f declaration... " >&6; }
29131 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29132 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29133 $as_echo_n "(cached) " >&6
29138 ac_cpp='$CXXCPP $CPPFLAGS'
29139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29144 /* end confdefs.h. */
29154 if ac_fn_cxx_try_compile "$LINENO"; then :
29155 glibcxx_cv_func_atan2f_use=yes
29157 glibcxx_cv_func_atan2f_use=no
29159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29161 ac_cpp='$CPP $CPPFLAGS'
29162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29171 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29173 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29174 for ac_func in atan2f
29176 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29177 if test "x$ac_cv_func_atan2f" = x""yes; then :
29178 cat >>confdefs.h <<_ACEOF
29179 #define HAVE_ATAN2F 1
29187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29188 $as_echo_n "checking for _atan2f declaration... " >&6; }
29189 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29190 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29191 $as_echo_n "(cached) " >&6
29196 ac_cpp='$CXXCPP $CPPFLAGS'
29197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29202 /* end confdefs.h. */
29212 if ac_fn_cxx_try_compile "$LINENO"; then :
29213 glibcxx_cv_func__atan2f_use=yes
29215 glibcxx_cv_func__atan2f_use=no
29217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29219 ac_cpp='$CPP $CPPFLAGS'
29220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29229 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29231 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29232 for ac_func in _atan2f
29234 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29235 if test "x$ac_cv_func__atan2f" = x""yes; then :
29236 cat >>confdefs.h <<_ACEOF
29237 #define HAVE__ATAN2F 1
29250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29251 $as_echo_n "checking for fabsf declaration... " >&6; }
29252 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29253 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29254 $as_echo_n "(cached) " >&6
29259 ac_cpp='$CXXCPP $CPPFLAGS'
29260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29265 /* end confdefs.h. */
29267 #ifdef HAVE_IEEEFP_H
29268 #include <ieeefp.h>
29279 if ac_fn_cxx_try_compile "$LINENO"; then :
29280 glibcxx_cv_func_fabsf_use=yes
29282 glibcxx_cv_func_fabsf_use=no
29284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29286 ac_cpp='$CPP $CPPFLAGS'
29287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29296 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29298 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29299 for ac_func in fabsf
29301 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29302 if test "x$ac_cv_func_fabsf" = x""yes; then :
29303 cat >>confdefs.h <<_ACEOF
29304 #define HAVE_FABSF 1
29312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29313 $as_echo_n "checking for _fabsf declaration... " >&6; }
29314 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29315 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29316 $as_echo_n "(cached) " >&6
29321 ac_cpp='$CXXCPP $CPPFLAGS'
29322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29327 /* end confdefs.h. */
29329 #ifdef HAVE_IEEEFP_H
29330 #include <ieeefp.h>
29341 if ac_fn_cxx_try_compile "$LINENO"; then :
29342 glibcxx_cv_func__fabsf_use=yes
29344 glibcxx_cv_func__fabsf_use=no
29346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29348 ac_cpp='$CPP $CPPFLAGS'
29349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29358 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29360 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29361 for ac_func in _fabsf
29363 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29364 if test "x$ac_cv_func__fabsf" = x""yes; then :
29365 cat >>confdefs.h <<_ACEOF
29366 #define HAVE__FABSF 1
29379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29380 $as_echo_n "checking for fmodf declaration... " >&6; }
29381 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29382 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29383 $as_echo_n "(cached) " >&6
29388 ac_cpp='$CXXCPP $CPPFLAGS'
29389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29394 /* end confdefs.h. */
29404 if ac_fn_cxx_try_compile "$LINENO"; then :
29405 glibcxx_cv_func_fmodf_use=yes
29407 glibcxx_cv_func_fmodf_use=no
29409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29411 ac_cpp='$CPP $CPPFLAGS'
29412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29421 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29423 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29424 for ac_func in fmodf
29426 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29427 if test "x$ac_cv_func_fmodf" = x""yes; then :
29428 cat >>confdefs.h <<_ACEOF
29429 #define HAVE_FMODF 1
29437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29438 $as_echo_n "checking for _fmodf declaration... " >&6; }
29439 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29440 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29441 $as_echo_n "(cached) " >&6
29446 ac_cpp='$CXXCPP $CPPFLAGS'
29447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29452 /* end confdefs.h. */
29462 if ac_fn_cxx_try_compile "$LINENO"; then :
29463 glibcxx_cv_func__fmodf_use=yes
29465 glibcxx_cv_func__fmodf_use=no
29467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29469 ac_cpp='$CPP $CPPFLAGS'
29470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29479 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29481 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29482 for ac_func in _fmodf
29484 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29485 if test "x$ac_cv_func__fmodf" = x""yes; then :
29486 cat >>confdefs.h <<_ACEOF
29487 #define HAVE__FMODF 1
29500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29501 $as_echo_n "checking for frexpf declaration... " >&6; }
29502 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29503 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29504 $as_echo_n "(cached) " >&6
29509 ac_cpp='$CXXCPP $CPPFLAGS'
29510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29515 /* end confdefs.h. */
29525 if ac_fn_cxx_try_compile "$LINENO"; then :
29526 glibcxx_cv_func_frexpf_use=yes
29528 glibcxx_cv_func_frexpf_use=no
29530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29532 ac_cpp='$CPP $CPPFLAGS'
29533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
29542 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
29544 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29545 for ac_func in frexpf
29547 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
29548 if test "x$ac_cv_func_frexpf" = x""yes; then :
29549 cat >>confdefs.h <<_ACEOF
29550 #define HAVE_FREXPF 1
29558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
29559 $as_echo_n "checking for _frexpf declaration... " >&6; }
29560 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29561 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
29562 $as_echo_n "(cached) " >&6
29567 ac_cpp='$CXXCPP $CPPFLAGS'
29568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29573 /* end confdefs.h. */
29583 if ac_fn_cxx_try_compile "$LINENO"; then :
29584 glibcxx_cv_func__frexpf_use=yes
29586 glibcxx_cv_func__frexpf_use=no
29588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29590 ac_cpp='$CPP $CPPFLAGS'
29591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
29600 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
29602 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29603 for ac_func in _frexpf
29605 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
29606 if test "x$ac_cv_func__frexpf" = x""yes; then :
29607 cat >>confdefs.h <<_ACEOF
29608 #define HAVE__FREXPF 1
29621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
29622 $as_echo_n "checking for hypotf declaration... " >&6; }
29623 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29624 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
29625 $as_echo_n "(cached) " >&6
29630 ac_cpp='$CXXCPP $CPPFLAGS'
29631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29636 /* end confdefs.h. */
29646 if ac_fn_cxx_try_compile "$LINENO"; then :
29647 glibcxx_cv_func_hypotf_use=yes
29649 glibcxx_cv_func_hypotf_use=no
29651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29653 ac_cpp='$CPP $CPPFLAGS'
29654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
29663 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
29665 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29666 for ac_func in hypotf
29668 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
29669 if test "x$ac_cv_func_hypotf" = x""yes; then :
29670 cat >>confdefs.h <<_ACEOF
29671 #define HAVE_HYPOTF 1
29679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
29680 $as_echo_n "checking for _hypotf declaration... " >&6; }
29681 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
29682 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
29683 $as_echo_n "(cached) " >&6
29688 ac_cpp='$CXXCPP $CPPFLAGS'
29689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29694 /* end confdefs.h. */
29704 if ac_fn_cxx_try_compile "$LINENO"; then :
29705 glibcxx_cv_func__hypotf_use=yes
29707 glibcxx_cv_func__hypotf_use=no
29709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29711 ac_cpp='$CPP $CPPFLAGS'
29712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
29721 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
29723 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
29724 for ac_func in _hypotf
29726 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
29727 if test "x$ac_cv_func__hypotf" = x""yes; then :
29728 cat >>confdefs.h <<_ACEOF
29729 #define HAVE__HYPOTF 1
29742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
29743 $as_echo_n "checking for ldexpf declaration... " >&6; }
29744 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
29745 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
29746 $as_echo_n "(cached) " >&6
29751 ac_cpp='$CXXCPP $CPPFLAGS'
29752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29757 /* end confdefs.h. */
29767 if ac_fn_cxx_try_compile "$LINENO"; then :
29768 glibcxx_cv_func_ldexpf_use=yes
29770 glibcxx_cv_func_ldexpf_use=no
29772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29774 ac_cpp='$CPP $CPPFLAGS'
29775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
29784 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
29786 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
29787 for ac_func in ldexpf
29789 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
29790 if test "x$ac_cv_func_ldexpf" = x""yes; then :
29791 cat >>confdefs.h <<_ACEOF
29792 #define HAVE_LDEXPF 1
29800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
29801 $as_echo_n "checking for _ldexpf declaration... " >&6; }
29802 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
29803 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
29804 $as_echo_n "(cached) " >&6
29809 ac_cpp='$CXXCPP $CPPFLAGS'
29810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29815 /* end confdefs.h. */
29825 if ac_fn_cxx_try_compile "$LINENO"; then :
29826 glibcxx_cv_func__ldexpf_use=yes
29828 glibcxx_cv_func__ldexpf_use=no
29830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29832 ac_cpp='$CPP $CPPFLAGS'
29833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
29842 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
29844 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
29845 for ac_func in _ldexpf
29847 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
29848 if test "x$ac_cv_func__ldexpf" = x""yes; then :
29849 cat >>confdefs.h <<_ACEOF
29850 #define HAVE__LDEXPF 1
29863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
29864 $as_echo_n "checking for logf declaration... " >&6; }
29865 if test x${glibcxx_cv_func_logf_use+set} != xset; then
29866 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
29867 $as_echo_n "(cached) " >&6
29872 ac_cpp='$CXXCPP $CPPFLAGS'
29873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29878 /* end confdefs.h. */
29880 #ifdef HAVE_IEEEFP_H
29881 #include <ieeefp.h>
29892 if ac_fn_cxx_try_compile "$LINENO"; then :
29893 glibcxx_cv_func_logf_use=yes
29895 glibcxx_cv_func_logf_use=no
29897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29899 ac_cpp='$CPP $CPPFLAGS'
29900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
29909 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
29911 if test x$glibcxx_cv_func_logf_use = x"yes"; then
29912 for ac_func in logf
29914 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
29915 if test "x$ac_cv_func_logf" = x""yes; then :
29916 cat >>confdefs.h <<_ACEOF
29917 #define HAVE_LOGF 1
29925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
29926 $as_echo_n "checking for _logf declaration... " >&6; }
29927 if test x${glibcxx_cv_func__logf_use+set} != xset; then
29928 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
29929 $as_echo_n "(cached) " >&6
29934 ac_cpp='$CXXCPP $CPPFLAGS'
29935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29940 /* end confdefs.h. */
29942 #ifdef HAVE_IEEEFP_H
29943 #include <ieeefp.h>
29954 if ac_fn_cxx_try_compile "$LINENO"; then :
29955 glibcxx_cv_func__logf_use=yes
29957 glibcxx_cv_func__logf_use=no
29959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29961 ac_cpp='$CPP $CPPFLAGS'
29962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29971 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29973 if test x$glibcxx_cv_func__logf_use = x"yes"; then
29974 for ac_func in _logf
29976 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29977 if test "x$ac_cv_func__logf" = x""yes; then :
29978 cat >>confdefs.h <<_ACEOF
29979 #define HAVE__LOGF 1
29992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29993 $as_echo_n "checking for log10f declaration... " >&6; }
29994 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29995 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29996 $as_echo_n "(cached) " >&6
30001 ac_cpp='$CXXCPP $CPPFLAGS'
30002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30007 /* end confdefs.h. */
30009 #ifdef HAVE_IEEEFP_H
30010 #include <ieeefp.h>
30021 if ac_fn_cxx_try_compile "$LINENO"; then :
30022 glibcxx_cv_func_log10f_use=yes
30024 glibcxx_cv_func_log10f_use=no
30026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30028 ac_cpp='$CPP $CPPFLAGS'
30029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30038 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30040 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30041 for ac_func in log10f
30043 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30044 if test "x$ac_cv_func_log10f" = x""yes; then :
30045 cat >>confdefs.h <<_ACEOF
30046 #define HAVE_LOG10F 1
30054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30055 $as_echo_n "checking for _log10f declaration... " >&6; }
30056 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30057 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30058 $as_echo_n "(cached) " >&6
30063 ac_cpp='$CXXCPP $CPPFLAGS'
30064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30069 /* end confdefs.h. */
30071 #ifdef HAVE_IEEEFP_H
30072 #include <ieeefp.h>
30083 if ac_fn_cxx_try_compile "$LINENO"; then :
30084 glibcxx_cv_func__log10f_use=yes
30086 glibcxx_cv_func__log10f_use=no
30088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30090 ac_cpp='$CPP $CPPFLAGS'
30091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30100 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30102 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30103 for ac_func in _log10f
30105 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30106 if test "x$ac_cv_func__log10f" = x""yes; then :
30107 cat >>confdefs.h <<_ACEOF
30108 #define HAVE__LOG10F 1
30121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30122 $as_echo_n "checking for modff declaration... " >&6; }
30123 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30124 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30125 $as_echo_n "(cached) " >&6
30130 ac_cpp='$CXXCPP $CPPFLAGS'
30131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30136 /* end confdefs.h. */
30146 if ac_fn_cxx_try_compile "$LINENO"; then :
30147 glibcxx_cv_func_modff_use=yes
30149 glibcxx_cv_func_modff_use=no
30151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30153 ac_cpp='$CPP $CPPFLAGS'
30154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30163 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30165 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30166 for ac_func in modff
30168 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30169 if test "x$ac_cv_func_modff" = x""yes; then :
30170 cat >>confdefs.h <<_ACEOF
30171 #define HAVE_MODFF 1
30179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30180 $as_echo_n "checking for _modff declaration... " >&6; }
30181 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30182 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30183 $as_echo_n "(cached) " >&6
30188 ac_cpp='$CXXCPP $CPPFLAGS'
30189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30194 /* end confdefs.h. */
30204 if ac_fn_cxx_try_compile "$LINENO"; then :
30205 glibcxx_cv_func__modff_use=yes
30207 glibcxx_cv_func__modff_use=no
30209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30211 ac_cpp='$CPP $CPPFLAGS'
30212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30221 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30223 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30224 for ac_func in _modff
30226 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30227 if test "x$ac_cv_func__modff" = x""yes; then :
30228 cat >>confdefs.h <<_ACEOF
30229 #define HAVE__MODFF 1
30242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30243 $as_echo_n "checking for modf declaration... " >&6; }
30244 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30245 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30246 $as_echo_n "(cached) " >&6
30251 ac_cpp='$CXXCPP $CPPFLAGS'
30252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30257 /* end confdefs.h. */
30267 if ac_fn_cxx_try_compile "$LINENO"; then :
30268 glibcxx_cv_func_modf_use=yes
30270 glibcxx_cv_func_modf_use=no
30272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30274 ac_cpp='$CPP $CPPFLAGS'
30275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30284 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30286 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30287 for ac_func in modf
30289 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30290 if test "x$ac_cv_func_modf" = x""yes; then :
30291 cat >>confdefs.h <<_ACEOF
30292 #define HAVE_MODF 1
30300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30301 $as_echo_n "checking for _modf declaration... " >&6; }
30302 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30303 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30304 $as_echo_n "(cached) " >&6
30309 ac_cpp='$CXXCPP $CPPFLAGS'
30310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30315 /* end confdefs.h. */
30325 if ac_fn_cxx_try_compile "$LINENO"; then :
30326 glibcxx_cv_func__modf_use=yes
30328 glibcxx_cv_func__modf_use=no
30330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30332 ac_cpp='$CPP $CPPFLAGS'
30333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30342 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30344 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30345 for ac_func in _modf
30347 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30348 if test "x$ac_cv_func__modf" = x""yes; then :
30349 cat >>confdefs.h <<_ACEOF
30350 #define HAVE__MODF 1
30363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30364 $as_echo_n "checking for powf declaration... " >&6; }
30365 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30366 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30367 $as_echo_n "(cached) " >&6
30372 ac_cpp='$CXXCPP $CPPFLAGS'
30373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30378 /* end confdefs.h. */
30388 if ac_fn_cxx_try_compile "$LINENO"; then :
30389 glibcxx_cv_func_powf_use=yes
30391 glibcxx_cv_func_powf_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_powf_use" >&5
30405 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30407 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30408 for ac_func in powf
30410 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30411 if test "x$ac_cv_func_powf" = x""yes; then :
30412 cat >>confdefs.h <<_ACEOF
30413 #define HAVE_POWF 1
30421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30422 $as_echo_n "checking for _powf declaration... " >&6; }
30423 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30424 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30425 $as_echo_n "(cached) " >&6
30430 ac_cpp='$CXXCPP $CPPFLAGS'
30431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30436 /* end confdefs.h. */
30446 if ac_fn_cxx_try_compile "$LINENO"; then :
30447 glibcxx_cv_func__powf_use=yes
30449 glibcxx_cv_func__powf_use=no
30451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30453 ac_cpp='$CPP $CPPFLAGS'
30454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30463 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30465 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30466 for ac_func in _powf
30468 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30469 if test "x$ac_cv_func__powf" = x""yes; then :
30470 cat >>confdefs.h <<_ACEOF
30471 #define HAVE__POWF 1
30484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30485 $as_echo_n "checking for sqrtf declaration... " >&6; }
30486 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30487 if test "${glibcxx_cv_func_sqrtf_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. */
30501 #ifdef HAVE_IEEEFP_H
30502 #include <ieeefp.h>
30513 if ac_fn_cxx_try_compile "$LINENO"; then :
30514 glibcxx_cv_func_sqrtf_use=yes
30516 glibcxx_cv_func_sqrtf_use=no
30518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30520 ac_cpp='$CPP $CPPFLAGS'
30521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30530 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30532 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30533 for ac_func in sqrtf
30535 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
30536 if test "x$ac_cv_func_sqrtf" = x""yes; then :
30537 cat >>confdefs.h <<_ACEOF
30538 #define HAVE_SQRTF 1
30546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
30547 $as_echo_n "checking for _sqrtf declaration... " >&6; }
30548 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
30549 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
30550 $as_echo_n "(cached) " >&6
30555 ac_cpp='$CXXCPP $CPPFLAGS'
30556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30561 /* end confdefs.h. */
30563 #ifdef HAVE_IEEEFP_H
30564 #include <ieeefp.h>
30575 if ac_fn_cxx_try_compile "$LINENO"; then :
30576 glibcxx_cv_func__sqrtf_use=yes
30578 glibcxx_cv_func__sqrtf_use=no
30580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30582 ac_cpp='$CPP $CPPFLAGS'
30583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
30592 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
30594 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
30595 for ac_func in _sqrtf
30597 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
30598 if test "x$ac_cv_func__sqrtf" = x""yes; then :
30599 cat >>confdefs.h <<_ACEOF
30600 #define HAVE__SQRTF 1
30613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
30614 $as_echo_n "checking for sincosf declaration... " >&6; }
30615 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
30616 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
30617 $as_echo_n "(cached) " >&6
30622 ac_cpp='$CXXCPP $CPPFLAGS'
30623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30628 /* end confdefs.h. */
30638 if ac_fn_cxx_try_compile "$LINENO"; then :
30639 glibcxx_cv_func_sincosf_use=yes
30641 glibcxx_cv_func_sincosf_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_sincosf_use" >&5
30655 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
30657 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
30658 for ac_func in sincosf
30660 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
30661 if test "x$ac_cv_func_sincosf" = x""yes; then :
30662 cat >>confdefs.h <<_ACEOF
30663 #define HAVE_SINCOSF 1
30671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
30672 $as_echo_n "checking for _sincosf declaration... " >&6; }
30673 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
30674 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
30675 $as_echo_n "(cached) " >&6
30680 ac_cpp='$CXXCPP $CPPFLAGS'
30681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30686 /* end confdefs.h. */
30696 if ac_fn_cxx_try_compile "$LINENO"; then :
30697 glibcxx_cv_func__sincosf_use=yes
30699 glibcxx_cv_func__sincosf_use=no
30701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30703 ac_cpp='$CPP $CPPFLAGS'
30704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
30713 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
30715 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
30716 for ac_func in _sincosf
30718 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
30719 if test "x$ac_cv_func__sincosf" = x""yes; then :
30720 cat >>confdefs.h <<_ACEOF
30721 #define HAVE__SINCOSF 1
30734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
30735 $as_echo_n "checking for finitef declaration... " >&6; }
30736 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
30737 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
30738 $as_echo_n "(cached) " >&6
30743 ac_cpp='$CXXCPP $CPPFLAGS'
30744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30749 /* end confdefs.h. */
30751 #ifdef HAVE_IEEEFP_H
30752 #include <ieeefp.h>
30763 if ac_fn_cxx_try_compile "$LINENO"; then :
30764 glibcxx_cv_func_finitef_use=yes
30766 glibcxx_cv_func_finitef_use=no
30768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30770 ac_cpp='$CPP $CPPFLAGS'
30771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
30780 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
30782 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
30783 for ac_func in finitef
30785 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
30786 if test "x$ac_cv_func_finitef" = x""yes; then :
30787 cat >>confdefs.h <<_ACEOF
30788 #define HAVE_FINITEF 1
30796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
30797 $as_echo_n "checking for _finitef declaration... " >&6; }
30798 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
30799 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
30800 $as_echo_n "(cached) " >&6
30805 ac_cpp='$CXXCPP $CPPFLAGS'
30806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30811 /* end confdefs.h. */
30813 #ifdef HAVE_IEEEFP_H
30814 #include <ieeefp.h>
30825 if ac_fn_cxx_try_compile "$LINENO"; then :
30826 glibcxx_cv_func__finitef_use=yes
30828 glibcxx_cv_func__finitef_use=no
30830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30832 ac_cpp='$CPP $CPPFLAGS'
30833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
30842 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
30844 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
30845 for ac_func in _finitef
30847 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
30848 if test "x$ac_cv_func__finitef" = x""yes; then :
30849 cat >>confdefs.h <<_ACEOF
30850 #define HAVE__FINITEF 1
30863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
30864 $as_echo_n "checking for long double trig functions... " >&6; }
30865 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
30866 $as_echo_n "(cached) " >&6
30871 ac_cpp='$CXXCPP $CPPFLAGS'
30872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30877 /* end confdefs.h. */
30882 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
30887 if ac_fn_cxx_try_compile "$LINENO"; then :
30888 glibcxx_cv_func_long_double_trig_use=yes
30890 glibcxx_cv_func_long_double_trig_use=no
30892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30894 ac_cpp='$CPP $CPPFLAGS'
30895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
30902 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
30903 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
30904 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
30906 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30907 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30908 eval as_val=\$$as_ac_var
30909 if test "x$as_val" = x""yes; then :
30910 cat >>confdefs.h <<_ACEOF
30911 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
30919 $as_echo_n "checking for _long double trig functions... " >&6; }
30920 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
30921 $as_echo_n "(cached) " >&6
30926 ac_cpp='$CXXCPP $CPPFLAGS'
30927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30932 /* end confdefs.h. */
30937 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30942 if ac_fn_cxx_try_compile "$LINENO"; then :
30943 glibcxx_cv_func__long_double_trig_use=yes
30945 glibcxx_cv_func__long_double_trig_use=no
30947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30949 ac_cpp='$CPP $CPPFLAGS'
30950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30957 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30958 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30959 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30961 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30962 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30963 eval as_val=\$$as_ac_var
30964 if test "x$as_val" = x""yes; then :
30965 cat >>confdefs.h <<_ACEOF
30966 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30980 $as_echo_n "checking for long double round functions... " >&6; }
30981 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30982 $as_echo_n "(cached) " >&6
30987 ac_cpp='$CXXCPP $CPPFLAGS'
30988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30993 /* end confdefs.h. */
30998 ceill (0); floorl (0);
31003 if ac_fn_cxx_try_compile "$LINENO"; then :
31004 glibcxx_cv_func_long_double_round_use=yes
31006 glibcxx_cv_func_long_double_round_use=no
31008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31010 ac_cpp='$CPP $CPPFLAGS'
31011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
31018 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
31019 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
31020 for ac_func in ceill floorl
31022 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31023 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31024 eval as_val=\$$as_ac_var
31025 if test "x$as_val" = x""yes; then :
31026 cat >>confdefs.h <<_ACEOF
31027 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31035 $as_echo_n "checking for _long double round functions... " >&6; }
31036 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31037 $as_echo_n "(cached) " >&6
31042 ac_cpp='$CXXCPP $CPPFLAGS'
31043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31048 /* end confdefs.h. */
31053 _ceill (0); _floorl (0);
31058 if ac_fn_cxx_try_compile "$LINENO"; then :
31059 glibcxx_cv_func__long_double_round_use=yes
31061 glibcxx_cv_func__long_double_round_use=no
31063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31065 ac_cpp='$CPP $CPPFLAGS'
31066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31073 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31074 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31075 for ac_func in _ceill _floorl
31077 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31078 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31079 eval as_val=\$$as_ac_var
31080 if test "x$as_val" = x""yes; then :
31081 cat >>confdefs.h <<_ACEOF
31082 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31097 $as_echo_n "checking for isnanl declaration... " >&6; }
31098 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31099 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31100 $as_echo_n "(cached) " >&6
31105 ac_cpp='$CXXCPP $CPPFLAGS'
31106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31111 /* end confdefs.h. */
31113 #ifdef HAVE_IEEEFP_H
31114 #include <ieeefp.h>
31125 if ac_fn_cxx_try_compile "$LINENO"; then :
31126 glibcxx_cv_func_isnanl_use=yes
31128 glibcxx_cv_func_isnanl_use=no
31130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31132 ac_cpp='$CPP $CPPFLAGS'
31133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31142 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31144 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31145 for ac_func in isnanl
31147 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31148 if test "x$ac_cv_func_isnanl" = x""yes; then :
31149 cat >>confdefs.h <<_ACEOF
31150 #define HAVE_ISNANL 1
31158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31159 $as_echo_n "checking for _isnanl declaration... " >&6; }
31160 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31161 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31162 $as_echo_n "(cached) " >&6
31167 ac_cpp='$CXXCPP $CPPFLAGS'
31168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31173 /* end confdefs.h. */
31175 #ifdef HAVE_IEEEFP_H
31176 #include <ieeefp.h>
31187 if ac_fn_cxx_try_compile "$LINENO"; then :
31188 glibcxx_cv_func__isnanl_use=yes
31190 glibcxx_cv_func__isnanl_use=no
31192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31194 ac_cpp='$CPP $CPPFLAGS'
31195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31204 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31206 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31207 for ac_func in _isnanl
31209 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31210 if test "x$ac_cv_func__isnanl" = x""yes; then :
31211 cat >>confdefs.h <<_ACEOF
31212 #define HAVE__ISNANL 1
31225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31226 $as_echo_n "checking for isinfl declaration... " >&6; }
31227 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31228 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31229 $as_echo_n "(cached) " >&6
31234 ac_cpp='$CXXCPP $CPPFLAGS'
31235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31240 /* end confdefs.h. */
31242 #ifdef HAVE_IEEEFP_H
31243 #include <ieeefp.h>
31254 if ac_fn_cxx_try_compile "$LINENO"; then :
31255 glibcxx_cv_func_isinfl_use=yes
31257 glibcxx_cv_func_isinfl_use=no
31259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31261 ac_cpp='$CPP $CPPFLAGS'
31262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31271 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31273 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31274 for ac_func in isinfl
31276 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31277 if test "x$ac_cv_func_isinfl" = x""yes; then :
31278 cat >>confdefs.h <<_ACEOF
31279 #define HAVE_ISINFL 1
31287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31288 $as_echo_n "checking for _isinfl declaration... " >&6; }
31289 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31290 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31291 $as_echo_n "(cached) " >&6
31296 ac_cpp='$CXXCPP $CPPFLAGS'
31297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31302 /* end confdefs.h. */
31304 #ifdef HAVE_IEEEFP_H
31305 #include <ieeefp.h>
31316 if ac_fn_cxx_try_compile "$LINENO"; then :
31317 glibcxx_cv_func__isinfl_use=yes
31319 glibcxx_cv_func__isinfl_use=no
31321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31323 ac_cpp='$CPP $CPPFLAGS'
31324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31333 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31335 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31336 for ac_func in _isinfl
31338 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31339 if test "x$ac_cv_func__isinfl" = x""yes; then :
31340 cat >>confdefs.h <<_ACEOF
31341 #define HAVE__ISINFL 1
31354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31355 $as_echo_n "checking for atan2l declaration... " >&6; }
31356 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31357 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31358 $as_echo_n "(cached) " >&6
31363 ac_cpp='$CXXCPP $CPPFLAGS'
31364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31369 /* end confdefs.h. */
31379 if ac_fn_cxx_try_compile "$LINENO"; then :
31380 glibcxx_cv_func_atan2l_use=yes
31382 glibcxx_cv_func_atan2l_use=no
31384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31386 ac_cpp='$CPP $CPPFLAGS'
31387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31396 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31398 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31399 for ac_func in atan2l
31401 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31402 if test "x$ac_cv_func_atan2l" = x""yes; then :
31403 cat >>confdefs.h <<_ACEOF
31404 #define HAVE_ATAN2L 1
31412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31413 $as_echo_n "checking for _atan2l declaration... " >&6; }
31414 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31415 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31416 $as_echo_n "(cached) " >&6
31421 ac_cpp='$CXXCPP $CPPFLAGS'
31422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31427 /* end confdefs.h. */
31437 if ac_fn_cxx_try_compile "$LINENO"; then :
31438 glibcxx_cv_func__atan2l_use=yes
31440 glibcxx_cv_func__atan2l_use=no
31442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31444 ac_cpp='$CPP $CPPFLAGS'
31445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31454 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31456 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31457 for ac_func in _atan2l
31459 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31460 if test "x$ac_cv_func__atan2l" = x""yes; then :
31461 cat >>confdefs.h <<_ACEOF
31462 #define HAVE__ATAN2L 1
31475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31476 $as_echo_n "checking for expl declaration... " >&6; }
31477 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31478 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31479 $as_echo_n "(cached) " >&6
31484 ac_cpp='$CXXCPP $CPPFLAGS'
31485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31490 /* end confdefs.h. */
31492 #ifdef HAVE_IEEEFP_H
31493 #include <ieeefp.h>
31504 if ac_fn_cxx_try_compile "$LINENO"; then :
31505 glibcxx_cv_func_expl_use=yes
31507 glibcxx_cv_func_expl_use=no
31509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31511 ac_cpp='$CPP $CPPFLAGS'
31512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31521 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31523 if test x$glibcxx_cv_func_expl_use = x"yes"; then
31524 for ac_func in expl
31526 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31527 if test "x$ac_cv_func_expl" = x""yes; then :
31528 cat >>confdefs.h <<_ACEOF
31529 #define HAVE_EXPL 1
31537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
31538 $as_echo_n "checking for _expl declaration... " >&6; }
31539 if test x${glibcxx_cv_func__expl_use+set} != xset; then
31540 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
31541 $as_echo_n "(cached) " >&6
31546 ac_cpp='$CXXCPP $CPPFLAGS'
31547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31552 /* end confdefs.h. */
31554 #ifdef HAVE_IEEEFP_H
31555 #include <ieeefp.h>
31566 if ac_fn_cxx_try_compile "$LINENO"; then :
31567 glibcxx_cv_func__expl_use=yes
31569 glibcxx_cv_func__expl_use=no
31571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31573 ac_cpp='$CPP $CPPFLAGS'
31574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
31583 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
31585 if test x$glibcxx_cv_func__expl_use = x"yes"; then
31586 for ac_func in _expl
31588 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
31589 if test "x$ac_cv_func__expl" = x""yes; then :
31590 cat >>confdefs.h <<_ACEOF
31591 #define HAVE__EXPL 1
31604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
31605 $as_echo_n "checking for fabsl declaration... " >&6; }
31606 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31607 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
31608 $as_echo_n "(cached) " >&6
31613 ac_cpp='$CXXCPP $CPPFLAGS'
31614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31619 /* end confdefs.h. */
31621 #ifdef HAVE_IEEEFP_H
31622 #include <ieeefp.h>
31633 if ac_fn_cxx_try_compile "$LINENO"; then :
31634 glibcxx_cv_func_fabsl_use=yes
31636 glibcxx_cv_func_fabsl_use=no
31638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31640 ac_cpp='$CPP $CPPFLAGS'
31641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
31650 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
31652 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31653 for ac_func in fabsl
31655 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
31656 if test "x$ac_cv_func_fabsl" = x""yes; then :
31657 cat >>confdefs.h <<_ACEOF
31658 #define HAVE_FABSL 1
31666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
31667 $as_echo_n "checking for _fabsl declaration... " >&6; }
31668 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31669 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
31670 $as_echo_n "(cached) " >&6
31675 ac_cpp='$CXXCPP $CPPFLAGS'
31676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31681 /* end confdefs.h. */
31683 #ifdef HAVE_IEEEFP_H
31684 #include <ieeefp.h>
31695 if ac_fn_cxx_try_compile "$LINENO"; then :
31696 glibcxx_cv_func__fabsl_use=yes
31698 glibcxx_cv_func__fabsl_use=no
31700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31702 ac_cpp='$CPP $CPPFLAGS'
31703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
31712 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
31714 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31715 for ac_func in _fabsl
31717 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
31718 if test "x$ac_cv_func__fabsl" = x""yes; then :
31719 cat >>confdefs.h <<_ACEOF
31720 #define HAVE__FABSL 1
31733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
31734 $as_echo_n "checking for fmodl declaration... " >&6; }
31735 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31736 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
31737 $as_echo_n "(cached) " >&6
31742 ac_cpp='$CXXCPP $CPPFLAGS'
31743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31748 /* end confdefs.h. */
31758 if ac_fn_cxx_try_compile "$LINENO"; then :
31759 glibcxx_cv_func_fmodl_use=yes
31761 glibcxx_cv_func_fmodl_use=no
31763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31765 ac_cpp='$CPP $CPPFLAGS'
31766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
31775 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
31777 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
31778 for ac_func in fmodl
31780 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
31781 if test "x$ac_cv_func_fmodl" = x""yes; then :
31782 cat >>confdefs.h <<_ACEOF
31783 #define HAVE_FMODL 1
31791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
31792 $as_echo_n "checking for _fmodl declaration... " >&6; }
31793 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
31794 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
31795 $as_echo_n "(cached) " >&6
31800 ac_cpp='$CXXCPP $CPPFLAGS'
31801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31806 /* end confdefs.h. */
31816 if ac_fn_cxx_try_compile "$LINENO"; then :
31817 glibcxx_cv_func__fmodl_use=yes
31819 glibcxx_cv_func__fmodl_use=no
31821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31823 ac_cpp='$CPP $CPPFLAGS'
31824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
31833 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
31835 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
31836 for ac_func in _fmodl
31838 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
31839 if test "x$ac_cv_func__fmodl" = x""yes; then :
31840 cat >>confdefs.h <<_ACEOF
31841 #define HAVE__FMODL 1
31854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
31855 $as_echo_n "checking for frexpl declaration... " >&6; }
31856 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
31857 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
31858 $as_echo_n "(cached) " >&6
31863 ac_cpp='$CXXCPP $CPPFLAGS'
31864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31869 /* end confdefs.h. */
31879 if ac_fn_cxx_try_compile "$LINENO"; then :
31880 glibcxx_cv_func_frexpl_use=yes
31882 glibcxx_cv_func_frexpl_use=no
31884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31886 ac_cpp='$CPP $CPPFLAGS'
31887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
31896 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
31898 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
31899 for ac_func in frexpl
31901 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
31902 if test "x$ac_cv_func_frexpl" = x""yes; then :
31903 cat >>confdefs.h <<_ACEOF
31904 #define HAVE_FREXPL 1
31912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
31913 $as_echo_n "checking for _frexpl declaration... " >&6; }
31914 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31915 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
31916 $as_echo_n "(cached) " >&6
31921 ac_cpp='$CXXCPP $CPPFLAGS'
31922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31927 /* end confdefs.h. */
31937 if ac_fn_cxx_try_compile "$LINENO"; then :
31938 glibcxx_cv_func__frexpl_use=yes
31940 glibcxx_cv_func__frexpl_use=no
31942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31944 ac_cpp='$CPP $CPPFLAGS'
31945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31954 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31956 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31957 for ac_func in _frexpl
31959 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31960 if test "x$ac_cv_func__frexpl" = x""yes; then :
31961 cat >>confdefs.h <<_ACEOF
31962 #define HAVE__FREXPL 1
31975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31976 $as_echo_n "checking for hypotl declaration... " >&6; }
31977 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31978 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31979 $as_echo_n "(cached) " >&6
31984 ac_cpp='$CXXCPP $CPPFLAGS'
31985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31990 /* end confdefs.h. */
32000 if ac_fn_cxx_try_compile "$LINENO"; then :
32001 glibcxx_cv_func_hypotl_use=yes
32003 glibcxx_cv_func_hypotl_use=no
32005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32007 ac_cpp='$CPP $CPPFLAGS'
32008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
32017 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
32019 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32020 for ac_func in hypotl
32022 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
32023 if test "x$ac_cv_func_hypotl" = x""yes; then :
32024 cat >>confdefs.h <<_ACEOF
32025 #define HAVE_HYPOTL 1
32033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
32034 $as_echo_n "checking for _hypotl declaration... " >&6; }
32035 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32036 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32037 $as_echo_n "(cached) " >&6
32042 ac_cpp='$CXXCPP $CPPFLAGS'
32043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32048 /* end confdefs.h. */
32058 if ac_fn_cxx_try_compile "$LINENO"; then :
32059 glibcxx_cv_func__hypotl_use=yes
32061 glibcxx_cv_func__hypotl_use=no
32063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32065 ac_cpp='$CPP $CPPFLAGS'
32066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32075 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32077 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32078 for ac_func in _hypotl
32080 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32081 if test "x$ac_cv_func__hypotl" = x""yes; then :
32082 cat >>confdefs.h <<_ACEOF
32083 #define HAVE__HYPOTL 1
32096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32097 $as_echo_n "checking for ldexpl declaration... " >&6; }
32098 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32099 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32100 $as_echo_n "(cached) " >&6
32105 ac_cpp='$CXXCPP $CPPFLAGS'
32106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32111 /* end confdefs.h. */
32121 if ac_fn_cxx_try_compile "$LINENO"; then :
32122 glibcxx_cv_func_ldexpl_use=yes
32124 glibcxx_cv_func_ldexpl_use=no
32126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32128 ac_cpp='$CPP $CPPFLAGS'
32129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32138 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32140 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32141 for ac_func in ldexpl
32143 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32144 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32145 cat >>confdefs.h <<_ACEOF
32146 #define HAVE_LDEXPL 1
32154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32155 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32156 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32157 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32158 $as_echo_n "(cached) " >&6
32163 ac_cpp='$CXXCPP $CPPFLAGS'
32164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32169 /* end confdefs.h. */
32179 if ac_fn_cxx_try_compile "$LINENO"; then :
32180 glibcxx_cv_func__ldexpl_use=yes
32182 glibcxx_cv_func__ldexpl_use=no
32184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32186 ac_cpp='$CPP $CPPFLAGS'
32187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32196 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32198 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32199 for ac_func in _ldexpl
32201 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32202 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32203 cat >>confdefs.h <<_ACEOF
32204 #define HAVE__LDEXPL 1
32217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32218 $as_echo_n "checking for logl declaration... " >&6; }
32219 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32220 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32221 $as_echo_n "(cached) " >&6
32226 ac_cpp='$CXXCPP $CPPFLAGS'
32227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32232 /* end confdefs.h. */
32234 #ifdef HAVE_IEEEFP_H
32235 #include <ieeefp.h>
32246 if ac_fn_cxx_try_compile "$LINENO"; then :
32247 glibcxx_cv_func_logl_use=yes
32249 glibcxx_cv_func_logl_use=no
32251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32253 ac_cpp='$CPP $CPPFLAGS'
32254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32263 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32265 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32266 for ac_func in logl
32268 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32269 if test "x$ac_cv_func_logl" = x""yes; then :
32270 cat >>confdefs.h <<_ACEOF
32271 #define HAVE_LOGL 1
32279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32280 $as_echo_n "checking for _logl declaration... " >&6; }
32281 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32282 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32283 $as_echo_n "(cached) " >&6
32288 ac_cpp='$CXXCPP $CPPFLAGS'
32289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32294 /* end confdefs.h. */
32296 #ifdef HAVE_IEEEFP_H
32297 #include <ieeefp.h>
32308 if ac_fn_cxx_try_compile "$LINENO"; then :
32309 glibcxx_cv_func__logl_use=yes
32311 glibcxx_cv_func__logl_use=no
32313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32315 ac_cpp='$CPP $CPPFLAGS'
32316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32325 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32327 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32328 for ac_func in _logl
32330 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32331 if test "x$ac_cv_func__logl" = x""yes; then :
32332 cat >>confdefs.h <<_ACEOF
32333 #define HAVE__LOGL 1
32346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32347 $as_echo_n "checking for log10l declaration... " >&6; }
32348 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32349 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32350 $as_echo_n "(cached) " >&6
32355 ac_cpp='$CXXCPP $CPPFLAGS'
32356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32361 /* end confdefs.h. */
32363 #ifdef HAVE_IEEEFP_H
32364 #include <ieeefp.h>
32375 if ac_fn_cxx_try_compile "$LINENO"; then :
32376 glibcxx_cv_func_log10l_use=yes
32378 glibcxx_cv_func_log10l_use=no
32380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32382 ac_cpp='$CPP $CPPFLAGS'
32383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32392 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32394 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32395 for ac_func in log10l
32397 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32398 if test "x$ac_cv_func_log10l" = x""yes; then :
32399 cat >>confdefs.h <<_ACEOF
32400 #define HAVE_LOG10L 1
32408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32409 $as_echo_n "checking for _log10l declaration... " >&6; }
32410 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32411 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32412 $as_echo_n "(cached) " >&6
32417 ac_cpp='$CXXCPP $CPPFLAGS'
32418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32423 /* end confdefs.h. */
32425 #ifdef HAVE_IEEEFP_H
32426 #include <ieeefp.h>
32437 if ac_fn_cxx_try_compile "$LINENO"; then :
32438 glibcxx_cv_func__log10l_use=yes
32440 glibcxx_cv_func__log10l_use=no
32442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32444 ac_cpp='$CPP $CPPFLAGS'
32445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32454 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32456 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32457 for ac_func in _log10l
32459 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32460 if test "x$ac_cv_func__log10l" = x""yes; then :
32461 cat >>confdefs.h <<_ACEOF
32462 #define HAVE__LOG10L 1
32475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32476 $as_echo_n "checking for modfl declaration... " >&6; }
32477 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32478 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32479 $as_echo_n "(cached) " >&6
32484 ac_cpp='$CXXCPP $CPPFLAGS'
32485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32490 /* end confdefs.h. */
32500 if ac_fn_cxx_try_compile "$LINENO"; then :
32501 glibcxx_cv_func_modfl_use=yes
32503 glibcxx_cv_func_modfl_use=no
32505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32507 ac_cpp='$CPP $CPPFLAGS'
32508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32517 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32519 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32520 for ac_func in modfl
32522 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32523 if test "x$ac_cv_func_modfl" = x""yes; then :
32524 cat >>confdefs.h <<_ACEOF
32525 #define HAVE_MODFL 1
32533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32534 $as_echo_n "checking for _modfl declaration... " >&6; }
32535 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32536 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
32537 $as_echo_n "(cached) " >&6
32542 ac_cpp='$CXXCPP $CPPFLAGS'
32543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32548 /* end confdefs.h. */
32558 if ac_fn_cxx_try_compile "$LINENO"; then :
32559 glibcxx_cv_func__modfl_use=yes
32561 glibcxx_cv_func__modfl_use=no
32563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32565 ac_cpp='$CPP $CPPFLAGS'
32566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
32575 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
32577 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32578 for ac_func in _modfl
32580 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
32581 if test "x$ac_cv_func__modfl" = x""yes; then :
32582 cat >>confdefs.h <<_ACEOF
32583 #define HAVE__MODFL 1
32596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
32597 $as_echo_n "checking for powl declaration... " >&6; }
32598 if test x${glibcxx_cv_func_powl_use+set} != xset; then
32599 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
32600 $as_echo_n "(cached) " >&6
32605 ac_cpp='$CXXCPP $CPPFLAGS'
32606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32611 /* end confdefs.h. */
32621 if ac_fn_cxx_try_compile "$LINENO"; then :
32622 glibcxx_cv_func_powl_use=yes
32624 glibcxx_cv_func_powl_use=no
32626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32628 ac_cpp='$CPP $CPPFLAGS'
32629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
32638 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
32640 if test x$glibcxx_cv_func_powl_use = x"yes"; then
32641 for ac_func in powl
32643 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
32644 if test "x$ac_cv_func_powl" = x""yes; then :
32645 cat >>confdefs.h <<_ACEOF
32646 #define HAVE_POWL 1
32654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
32655 $as_echo_n "checking for _powl declaration... " >&6; }
32656 if test x${glibcxx_cv_func__powl_use+set} != xset; then
32657 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
32658 $as_echo_n "(cached) " >&6
32663 ac_cpp='$CXXCPP $CPPFLAGS'
32664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32669 /* end confdefs.h. */
32679 if ac_fn_cxx_try_compile "$LINENO"; then :
32680 glibcxx_cv_func__powl_use=yes
32682 glibcxx_cv_func__powl_use=no
32684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32686 ac_cpp='$CPP $CPPFLAGS'
32687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
32696 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
32698 if test x$glibcxx_cv_func__powl_use = x"yes"; then
32699 for ac_func in _powl
32701 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
32702 if test "x$ac_cv_func__powl" = x""yes; then :
32703 cat >>confdefs.h <<_ACEOF
32704 #define HAVE__POWL 1
32717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
32718 $as_echo_n "checking for sqrtl declaration... " >&6; }
32719 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
32720 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
32721 $as_echo_n "(cached) " >&6
32726 ac_cpp='$CXXCPP $CPPFLAGS'
32727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32732 /* end confdefs.h. */
32734 #ifdef HAVE_IEEEFP_H
32735 #include <ieeefp.h>
32746 if ac_fn_cxx_try_compile "$LINENO"; then :
32747 glibcxx_cv_func_sqrtl_use=yes
32749 glibcxx_cv_func_sqrtl_use=no
32751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32753 ac_cpp='$CPP $CPPFLAGS'
32754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
32763 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
32765 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
32766 for ac_func in sqrtl
32768 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
32769 if test "x$ac_cv_func_sqrtl" = x""yes; then :
32770 cat >>confdefs.h <<_ACEOF
32771 #define HAVE_SQRTL 1
32779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
32780 $as_echo_n "checking for _sqrtl declaration... " >&6; }
32781 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
32782 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
32783 $as_echo_n "(cached) " >&6
32788 ac_cpp='$CXXCPP $CPPFLAGS'
32789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32794 /* end confdefs.h. */
32796 #ifdef HAVE_IEEEFP_H
32797 #include <ieeefp.h>
32808 if ac_fn_cxx_try_compile "$LINENO"; then :
32809 glibcxx_cv_func__sqrtl_use=yes
32811 glibcxx_cv_func__sqrtl_use=no
32813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32815 ac_cpp='$CPP $CPPFLAGS'
32816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
32825 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
32827 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
32828 for ac_func in _sqrtl
32830 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
32831 if test "x$ac_cv_func__sqrtl" = x""yes; then :
32832 cat >>confdefs.h <<_ACEOF
32833 #define HAVE__SQRTL 1
32846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
32847 $as_echo_n "checking for sincosl declaration... " >&6; }
32848 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
32849 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
32850 $as_echo_n "(cached) " >&6
32855 ac_cpp='$CXXCPP $CPPFLAGS'
32856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32861 /* end confdefs.h. */
32871 if ac_fn_cxx_try_compile "$LINENO"; then :
32872 glibcxx_cv_func_sincosl_use=yes
32874 glibcxx_cv_func_sincosl_use=no
32876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32878 ac_cpp='$CPP $CPPFLAGS'
32879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
32888 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
32890 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
32891 for ac_func in sincosl
32893 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
32894 if test "x$ac_cv_func_sincosl" = x""yes; then :
32895 cat >>confdefs.h <<_ACEOF
32896 #define HAVE_SINCOSL 1
32904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
32905 $as_echo_n "checking for _sincosl declaration... " >&6; }
32906 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
32907 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
32908 $as_echo_n "(cached) " >&6
32913 ac_cpp='$CXXCPP $CPPFLAGS'
32914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32919 /* end confdefs.h. */
32929 if ac_fn_cxx_try_compile "$LINENO"; then :
32930 glibcxx_cv_func__sincosl_use=yes
32932 glibcxx_cv_func__sincosl_use=no
32934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32936 ac_cpp='$CPP $CPPFLAGS'
32937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32946 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32948 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32949 for ac_func in _sincosl
32951 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32952 if test "x$ac_cv_func__sincosl" = x""yes; then :
32953 cat >>confdefs.h <<_ACEOF
32954 #define HAVE__SINCOSL 1
32967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32968 $as_echo_n "checking for finitel declaration... " >&6; }
32969 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32970 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32971 $as_echo_n "(cached) " >&6
32976 ac_cpp='$CXXCPP $CPPFLAGS'
32977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32982 /* end confdefs.h. */
32984 #ifdef HAVE_IEEEFP_H
32985 #include <ieeefp.h>
32996 if ac_fn_cxx_try_compile "$LINENO"; then :
32997 glibcxx_cv_func_finitel_use=yes
32999 glibcxx_cv_func_finitel_use=no
33001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33003 ac_cpp='$CPP $CPPFLAGS'
33004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
33013 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
33015 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
33016 for ac_func in finitel
33018 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
33019 if test "x$ac_cv_func_finitel" = x""yes; then :
33020 cat >>confdefs.h <<_ACEOF
33021 #define HAVE_FINITEL 1
33029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
33030 $as_echo_n "checking for _finitel declaration... " >&6; }
33031 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
33032 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
33033 $as_echo_n "(cached) " >&6
33038 ac_cpp='$CXXCPP $CPPFLAGS'
33039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33044 /* end confdefs.h. */
33046 #ifdef HAVE_IEEEFP_H
33047 #include <ieeefp.h>
33058 if ac_fn_cxx_try_compile "$LINENO"; then :
33059 glibcxx_cv_func__finitel_use=yes
33061 glibcxx_cv_func__finitel_use=no
33063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33065 ac_cpp='$CPP $CPPFLAGS'
33066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33075 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33077 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33078 for ac_func in _finitel
33080 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33081 if test "x$ac_cv_func__finitel" = x""yes; then :
33082 cat >>confdefs.h <<_ACEOF
33083 #define HAVE__FINITEL 1
33095 LIBS="$ac_save_LIBS"
33096 CXXFLAGS="$ac_save_CXXFLAGS"
33099 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33100 ac_save_CXXFLAGS="$CXXFLAGS"
33101 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33105 $as_echo_n "checking for strtold declaration... " >&6; }
33106 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33107 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33108 $as_echo_n "(cached) " >&6
33113 ac_cpp='$CXXCPP $CPPFLAGS'
33114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33119 /* end confdefs.h. */
33120 #include <stdlib.h>
33129 if ac_fn_cxx_try_compile "$LINENO"; then :
33130 glibcxx_cv_func_strtold_use=yes
33132 glibcxx_cv_func_strtold_use=no
33134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33136 ac_cpp='$CPP $CPPFLAGS'
33137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33146 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33147 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33148 for ac_func in strtold
33150 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33151 if test "x$ac_cv_func_strtold" = x""yes; then :
33152 cat >>confdefs.h <<_ACEOF
33153 #define HAVE_STRTOLD 1
33164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33165 $as_echo_n "checking for strtof declaration... " >&6; }
33166 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33167 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33168 $as_echo_n "(cached) " >&6
33173 ac_cpp='$CXXCPP $CPPFLAGS'
33174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33179 /* end confdefs.h. */
33180 #include <stdlib.h>
33189 if ac_fn_cxx_try_compile "$LINENO"; then :
33190 glibcxx_cv_func_strtof_use=yes
33192 glibcxx_cv_func_strtof_use=no
33194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33196 ac_cpp='$CPP $CPPFLAGS'
33197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33206 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33207 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33208 for ac_func in strtof
33210 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33211 if test "x$ac_cv_func_strtof" = x""yes; then :
33212 cat >>confdefs.h <<_ACEOF
33213 #define HAVE_STRTOF 1
33224 CXXFLAGS="$ac_save_CXXFLAGS"
33227 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33229 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33231 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33233 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33236 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33238 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33240 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33246 # If we're not using GNU ld, then there's no point in even trying these
33247 # tests. Check for that first. We should have already tested for gld
33248 # by now (in libtool), but require it now just to be safe...
33249 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33250 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33254 # The name set by libtool depends on the version of libtool. Shame on us
33255 # for depending on an impl detail, but c'est la vie. Older versions used
33256 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33257 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33258 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33259 # set (hence we're using an older libtool), then set it.
33260 if test x${with_gnu_ld+set} != xset; then
33261 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33262 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33265 with_gnu_ld=$ac_cv_prog_gnu_ld
33269 # Start by getting the version number. I think the libtool test already
33270 # does some of this, but throws away the result.
33271 glibcxx_ld_is_gold=no
33272 if test x"$with_gnu_ld" = x"yes"; then
33273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33274 $as_echo_n "checking for ld version... " >&6; }
33276 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33277 glibcxx_ld_is_gold=yes
33279 ldver=`$LD --version 2>/dev/null |
33280 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'`
33282 glibcxx_gnu_ld_version=`echo $ldver | \
33283 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33285 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33288 # Set --gc-sections.
33289 glibcxx_have_gc_sections=no
33290 if test "$glibcxx_ld_is_gold" = "yes"; then
33291 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33292 glibcxx_have_gc_sections=yes
33295 glibcxx_gcsections_min_ld=21602
33296 if test x"$with_gnu_ld" = x"yes" &&
33297 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33298 glibcxx_have_gc_sections=yes
33301 if test "$glibcxx_have_gc_sections" = "yes"; then
33302 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33303 # NB: This flag only works reliably after 2.16.1. Configure tests
33304 # for this are difficult, so hard wire a value that should work.
33306 ac_test_CFLAGS="${CFLAGS+set}"
33307 ac_save_CFLAGS="$CFLAGS"
33308 CFLAGS='-Wl,--gc-sections'
33310 # Check for -Wl,--gc-sections
33311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33312 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33313 if test x$gcc_no_link = xyes; then
33314 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33317 /* end confdefs.h. */
33318 int one(void) { return 1; }
33319 int two(void) { return 2; }
33329 if ac_fn_c_try_link "$LINENO"; then :
33334 rm -f core conftest.err conftest.$ac_objext \
33335 conftest$ac_exeext conftest.$ac_ext
33336 if test "$ac_gcsections" = "yes"; then
33339 if $CC -c conftest.c; then
33340 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33341 grep "Warning: gc-sections option ignored" > /dev/null; then
33345 rm -f conftest.c conftest.o conftest
33347 if test "$ac_gcsections" = "yes"; then
33348 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33351 $as_echo "$ac_gcsections" >&6; }
33353 if test "$ac_test_CFLAGS" = set; then
33354 CFLAGS="$ac_save_CFLAGS"
33356 # this is the suspicious part
33362 # Note this is only for shared objects.
33364 if test x"$with_gnu_ld" = x"yes"; then
33365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
33366 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
33367 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
33368 if test -n "$cxx_z_relo"; then
33369 OPT_LDFLAGS="-Wl,-z,relro"
33372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
33373 $as_echo "$ac_ld_relro" >&6; }
33376 # Set linker optimization flags.
33377 if test x"$with_gnu_ld" = x"yes"; then
33378 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
33385 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33386 ac_save_CXXFLAGS="$CXXFLAGS"
33387 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
33390 $as_echo_n "checking for sin in -lm... " >&6; }
33391 if test "${ac_cv_lib_m_sin+set}" = set; then :
33392 $as_echo_n "(cached) " >&6
33394 ac_check_lib_save_LIBS=$LIBS
33396 if test x$gcc_no_link = xyes; then
33397 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33400 /* end confdefs.h. */
33402 /* Override any GCC internal prototype to avoid an error.
33403 Use char because int might match the return type of a GCC
33404 builtin and then its argument prototype would still apply. */
33417 if ac_fn_c_try_link "$LINENO"; then :
33418 ac_cv_lib_m_sin=yes
33422 rm -f core conftest.err conftest.$ac_objext \
33423 conftest$ac_exeext conftest.$ac_ext
33424 LIBS=$ac_check_lib_save_LIBS
33426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
33427 $as_echo "$ac_cv_lib_m_sin" >&6; }
33428 if test "x$ac_cv_lib_m_sin" = x""yes; then :
33432 ac_save_LIBS="$LIBS"
33437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
33438 $as_echo_n "checking for isinf declaration... " >&6; }
33439 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33440 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
33441 $as_echo_n "(cached) " >&6
33446 ac_cpp='$CXXCPP $CPPFLAGS'
33447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33452 /* end confdefs.h. */
33454 #ifdef HAVE_IEEEFP_H
33455 #include <ieeefp.h>
33466 if ac_fn_cxx_try_compile "$LINENO"; then :
33467 glibcxx_cv_func_isinf_use=yes
33469 glibcxx_cv_func_isinf_use=no
33471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33473 ac_cpp='$CPP $CPPFLAGS'
33474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
33483 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
33485 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33486 for ac_func in isinf
33488 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
33489 if test "x$ac_cv_func_isinf" = x""yes; then :
33490 cat >>confdefs.h <<_ACEOF
33491 #define HAVE_ISINF 1
33499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
33500 $as_echo_n "checking for _isinf declaration... " >&6; }
33501 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33502 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
33503 $as_echo_n "(cached) " >&6
33508 ac_cpp='$CXXCPP $CPPFLAGS'
33509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33514 /* end confdefs.h. */
33516 #ifdef HAVE_IEEEFP_H
33517 #include <ieeefp.h>
33528 if ac_fn_cxx_try_compile "$LINENO"; then :
33529 glibcxx_cv_func__isinf_use=yes
33531 glibcxx_cv_func__isinf_use=no
33533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33535 ac_cpp='$CPP $CPPFLAGS'
33536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
33545 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
33547 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33548 for ac_func in _isinf
33550 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
33551 if test "x$ac_cv_func__isinf" = x""yes; then :
33552 cat >>confdefs.h <<_ACEOF
33553 #define HAVE__ISINF 1
33566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
33567 $as_echo_n "checking for isnan declaration... " >&6; }
33568 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33569 if test "${glibcxx_cv_func_isnan_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. */
33583 #ifdef HAVE_IEEEFP_H
33584 #include <ieeefp.h>
33595 if ac_fn_cxx_try_compile "$LINENO"; then :
33596 glibcxx_cv_func_isnan_use=yes
33598 glibcxx_cv_func_isnan_use=no
33600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33602 ac_cpp='$CPP $CPPFLAGS'
33603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
33612 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
33614 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33615 for ac_func in isnan
33617 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
33618 if test "x$ac_cv_func_isnan" = x""yes; then :
33619 cat >>confdefs.h <<_ACEOF
33620 #define HAVE_ISNAN 1
33628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
33629 $as_echo_n "checking for _isnan declaration... " >&6; }
33630 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33631 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
33632 $as_echo_n "(cached) " >&6
33637 ac_cpp='$CXXCPP $CPPFLAGS'
33638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33643 /* end confdefs.h. */
33645 #ifdef HAVE_IEEEFP_H
33646 #include <ieeefp.h>
33657 if ac_fn_cxx_try_compile "$LINENO"; then :
33658 glibcxx_cv_func__isnan_use=yes
33660 glibcxx_cv_func__isnan_use=no
33662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33664 ac_cpp='$CPP $CPPFLAGS'
33665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
33674 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
33676 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33677 for ac_func in _isnan
33679 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
33680 if test "x$ac_cv_func__isnan" = x""yes; then :
33681 cat >>confdefs.h <<_ACEOF
33682 #define HAVE__ISNAN 1
33695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
33696 $as_echo_n "checking for finite declaration... " >&6; }
33697 if test x${glibcxx_cv_func_finite_use+set} != xset; then
33698 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
33699 $as_echo_n "(cached) " >&6
33704 ac_cpp='$CXXCPP $CPPFLAGS'
33705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33710 /* end confdefs.h. */
33712 #ifdef HAVE_IEEEFP_H
33713 #include <ieeefp.h>
33724 if ac_fn_cxx_try_compile "$LINENO"; then :
33725 glibcxx_cv_func_finite_use=yes
33727 glibcxx_cv_func_finite_use=no
33729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33731 ac_cpp='$CPP $CPPFLAGS'
33732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
33741 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
33743 if test x$glibcxx_cv_func_finite_use = x"yes"; then
33744 for ac_func in finite
33746 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
33747 if test "x$ac_cv_func_finite" = x""yes; then :
33748 cat >>confdefs.h <<_ACEOF
33749 #define HAVE_FINITE 1
33757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
33758 $as_echo_n "checking for _finite declaration... " >&6; }
33759 if test x${glibcxx_cv_func__finite_use+set} != xset; then
33760 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
33761 $as_echo_n "(cached) " >&6
33766 ac_cpp='$CXXCPP $CPPFLAGS'
33767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33772 /* end confdefs.h. */
33774 #ifdef HAVE_IEEEFP_H
33775 #include <ieeefp.h>
33786 if ac_fn_cxx_try_compile "$LINENO"; then :
33787 glibcxx_cv_func__finite_use=yes
33789 glibcxx_cv_func__finite_use=no
33791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33793 ac_cpp='$CPP $CPPFLAGS'
33794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
33803 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
33805 if test x$glibcxx_cv_func__finite_use = x"yes"; then
33806 for ac_func in _finite
33808 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
33809 if test "x$ac_cv_func__finite" = x""yes; then :
33810 cat >>confdefs.h <<_ACEOF
33811 #define HAVE__FINITE 1
33824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
33825 $as_echo_n "checking for sincos declaration... " >&6; }
33826 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
33827 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
33828 $as_echo_n "(cached) " >&6
33833 ac_cpp='$CXXCPP $CPPFLAGS'
33834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33839 /* end confdefs.h. */
33849 if ac_fn_cxx_try_compile "$LINENO"; then :
33850 glibcxx_cv_func_sincos_use=yes
33852 glibcxx_cv_func_sincos_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_sincos_use" >&5
33866 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
33868 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33869 for ac_func in sincos
33871 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
33872 if test "x$ac_cv_func_sincos" = x""yes; then :
33873 cat >>confdefs.h <<_ACEOF
33874 #define HAVE_SINCOS 1
33882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
33883 $as_echo_n "checking for _sincos declaration... " >&6; }
33884 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33885 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
33886 $as_echo_n "(cached) " >&6
33891 ac_cpp='$CXXCPP $CPPFLAGS'
33892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33897 /* end confdefs.h. */
33907 if ac_fn_cxx_try_compile "$LINENO"; then :
33908 glibcxx_cv_func__sincos_use=yes
33910 glibcxx_cv_func__sincos_use=no
33912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33914 ac_cpp='$CPP $CPPFLAGS'
33915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
33924 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
33926 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33927 for ac_func in _sincos
33929 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33930 if test "x$ac_cv_func__sincos" = x""yes; then :
33931 cat >>confdefs.h <<_ACEOF
33932 #define HAVE__SINCOS 1
33945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33946 $as_echo_n "checking for fpclass declaration... " >&6; }
33947 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33948 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33949 $as_echo_n "(cached) " >&6
33954 ac_cpp='$CXXCPP $CPPFLAGS'
33955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33960 /* end confdefs.h. */
33962 #ifdef HAVE_IEEEFP_H
33963 #include <ieeefp.h>
33974 if ac_fn_cxx_try_compile "$LINENO"; then :
33975 glibcxx_cv_func_fpclass_use=yes
33977 glibcxx_cv_func_fpclass_use=no
33979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33981 ac_cpp='$CPP $CPPFLAGS'
33982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33991 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33993 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33994 for ac_func in fpclass
33996 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33997 if test "x$ac_cv_func_fpclass" = x""yes; then :
33998 cat >>confdefs.h <<_ACEOF
33999 #define HAVE_FPCLASS 1
34007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
34008 $as_echo_n "checking for _fpclass declaration... " >&6; }
34009 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34010 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
34011 $as_echo_n "(cached) " >&6
34016 ac_cpp='$CXXCPP $CPPFLAGS'
34017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34022 /* end confdefs.h. */
34024 #ifdef HAVE_IEEEFP_H
34025 #include <ieeefp.h>
34036 if ac_fn_cxx_try_compile "$LINENO"; then :
34037 glibcxx_cv_func__fpclass_use=yes
34039 glibcxx_cv_func__fpclass_use=no
34041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34043 ac_cpp='$CPP $CPPFLAGS'
34044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34053 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34055 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34056 for ac_func in _fpclass
34058 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34059 if test "x$ac_cv_func__fpclass" = x""yes; then :
34060 cat >>confdefs.h <<_ACEOF
34061 #define HAVE__FPCLASS 1
34074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34075 $as_echo_n "checking for qfpclass declaration... " >&6; }
34076 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34077 if test "${glibcxx_cv_func_qfpclass_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. */
34091 #ifdef HAVE_IEEEFP_H
34092 #include <ieeefp.h>
34103 if ac_fn_cxx_try_compile "$LINENO"; then :
34104 glibcxx_cv_func_qfpclass_use=yes
34106 glibcxx_cv_func_qfpclass_use=no
34108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34110 ac_cpp='$CPP $CPPFLAGS'
34111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34120 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34122 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34123 for ac_func in qfpclass
34125 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34126 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34127 cat >>confdefs.h <<_ACEOF
34128 #define HAVE_QFPCLASS 1
34136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34137 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34138 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34139 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34140 $as_echo_n "(cached) " >&6
34145 ac_cpp='$CXXCPP $CPPFLAGS'
34146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34151 /* end confdefs.h. */
34153 #ifdef HAVE_IEEEFP_H
34154 #include <ieeefp.h>
34165 if ac_fn_cxx_try_compile "$LINENO"; then :
34166 glibcxx_cv_func__qfpclass_use=yes
34168 glibcxx_cv_func__qfpclass_use=no
34170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34172 ac_cpp='$CPP $CPPFLAGS'
34173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34182 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34184 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34185 for ac_func in _qfpclass
34187 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34188 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34189 cat >>confdefs.h <<_ACEOF
34190 #define HAVE__QFPCLASS 1
34203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34204 $as_echo_n "checking for hypot declaration... " >&6; }
34205 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34206 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34207 $as_echo_n "(cached) " >&6
34212 ac_cpp='$CXXCPP $CPPFLAGS'
34213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34218 /* end confdefs.h. */
34228 if ac_fn_cxx_try_compile "$LINENO"; then :
34229 glibcxx_cv_func_hypot_use=yes
34231 glibcxx_cv_func_hypot_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_hypot_use" >&5
34245 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34247 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34248 for ac_func in hypot
34250 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34251 if test "x$ac_cv_func_hypot" = x""yes; then :
34252 cat >>confdefs.h <<_ACEOF
34253 #define HAVE_HYPOT 1
34261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34262 $as_echo_n "checking for _hypot declaration... " >&6; }
34263 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34264 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34265 $as_echo_n "(cached) " >&6
34270 ac_cpp='$CXXCPP $CPPFLAGS'
34271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34276 /* end confdefs.h. */
34286 if ac_fn_cxx_try_compile "$LINENO"; then :
34287 glibcxx_cv_func__hypot_use=yes
34289 glibcxx_cv_func__hypot_use=no
34291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34293 ac_cpp='$CPP $CPPFLAGS'
34294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34303 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34305 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34306 for ac_func in _hypot
34308 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34309 if test "x$ac_cv_func__hypot" = x""yes; then :
34310 cat >>confdefs.h <<_ACEOF
34311 #define HAVE__HYPOT 1
34324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34325 $as_echo_n "checking for float trig functions... " >&6; }
34326 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34327 $as_echo_n "(cached) " >&6
34332 ac_cpp='$CXXCPP $CPPFLAGS'
34333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34338 /* end confdefs.h. */
34343 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34348 if ac_fn_cxx_try_compile "$LINENO"; then :
34349 glibcxx_cv_func_float_trig_use=yes
34351 glibcxx_cv_func_float_trig_use=no
34353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34355 ac_cpp='$CPP $CPPFLAGS'
34356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
34363 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
34364 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34365 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34367 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34368 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34369 eval as_val=\$$as_ac_var
34370 if test "x$as_val" = x""yes; then :
34371 cat >>confdefs.h <<_ACEOF
34372 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
34380 $as_echo_n "checking for _float trig functions... " >&6; }
34381 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
34382 $as_echo_n "(cached) " >&6
34387 ac_cpp='$CXXCPP $CPPFLAGS'
34388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34393 /* end confdefs.h. */
34398 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34403 if ac_fn_cxx_try_compile "$LINENO"; then :
34404 glibcxx_cv_func__float_trig_use=yes
34406 glibcxx_cv_func__float_trig_use=no
34408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34410 ac_cpp='$CPP $CPPFLAGS'
34411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
34418 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
34419 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34420 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34422 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34423 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34424 eval as_val=\$$as_ac_var
34425 if test "x$as_val" = x""yes; then :
34426 cat >>confdefs.h <<_ACEOF
34427 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
34441 $as_echo_n "checking for float round functions... " >&6; }
34442 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
34443 $as_echo_n "(cached) " >&6
34448 ac_cpp='$CXXCPP $CPPFLAGS'
34449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34454 /* end confdefs.h. */
34459 ceilf (0); floorf (0);
34464 if ac_fn_cxx_try_compile "$LINENO"; then :
34465 glibcxx_cv_func_float_round_use=yes
34467 glibcxx_cv_func_float_round_use=no
34469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34471 ac_cpp='$CPP $CPPFLAGS'
34472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
34479 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
34480 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34481 for ac_func in ceilf floorf
34483 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34484 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34485 eval as_val=\$$as_ac_var
34486 if test "x$as_val" = x""yes; then :
34487 cat >>confdefs.h <<_ACEOF
34488 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
34496 $as_echo_n "checking for _float round functions... " >&6; }
34497 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
34498 $as_echo_n "(cached) " >&6
34503 ac_cpp='$CXXCPP $CPPFLAGS'
34504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34509 /* end confdefs.h. */
34514 _ceilf (0); _floorf (0);
34519 if ac_fn_cxx_try_compile "$LINENO"; then :
34520 glibcxx_cv_func__float_round_use=yes
34522 glibcxx_cv_func__float_round_use=no
34524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34526 ac_cpp='$CPP $CPPFLAGS'
34527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
34534 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
34535 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34536 for ac_func in _ceilf _floorf
34538 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34539 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34540 eval as_val=\$$as_ac_var
34541 if test "x$as_val" = x""yes; then :
34542 cat >>confdefs.h <<_ACEOF
34543 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
34558 $as_echo_n "checking for expf declaration... " >&6; }
34559 if test x${glibcxx_cv_func_expf_use+set} != xset; then
34560 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
34561 $as_echo_n "(cached) " >&6
34566 ac_cpp='$CXXCPP $CPPFLAGS'
34567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34572 /* end confdefs.h. */
34574 #ifdef HAVE_IEEEFP_H
34575 #include <ieeefp.h>
34586 if ac_fn_cxx_try_compile "$LINENO"; then :
34587 glibcxx_cv_func_expf_use=yes
34589 glibcxx_cv_func_expf_use=no
34591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34593 ac_cpp='$CPP $CPPFLAGS'
34594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
34603 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
34605 if test x$glibcxx_cv_func_expf_use = x"yes"; then
34606 for ac_func in expf
34608 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
34609 if test "x$ac_cv_func_expf" = x""yes; then :
34610 cat >>confdefs.h <<_ACEOF
34611 #define HAVE_EXPF 1
34619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
34620 $as_echo_n "checking for _expf declaration... " >&6; }
34621 if test x${glibcxx_cv_func__expf_use+set} != xset; then
34622 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
34623 $as_echo_n "(cached) " >&6
34628 ac_cpp='$CXXCPP $CPPFLAGS'
34629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34634 /* end confdefs.h. */
34636 #ifdef HAVE_IEEEFP_H
34637 #include <ieeefp.h>
34648 if ac_fn_cxx_try_compile "$LINENO"; then :
34649 glibcxx_cv_func__expf_use=yes
34651 glibcxx_cv_func__expf_use=no
34653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34655 ac_cpp='$CPP $CPPFLAGS'
34656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
34665 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
34667 if test x$glibcxx_cv_func__expf_use = x"yes"; then
34668 for ac_func in _expf
34670 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
34671 if test "x$ac_cv_func__expf" = x""yes; then :
34672 cat >>confdefs.h <<_ACEOF
34673 #define HAVE__EXPF 1
34686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
34687 $as_echo_n "checking for isnanf declaration... " >&6; }
34688 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
34689 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
34690 $as_echo_n "(cached) " >&6
34695 ac_cpp='$CXXCPP $CPPFLAGS'
34696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34701 /* end confdefs.h. */
34703 #ifdef HAVE_IEEEFP_H
34704 #include <ieeefp.h>
34715 if ac_fn_cxx_try_compile "$LINENO"; then :
34716 glibcxx_cv_func_isnanf_use=yes
34718 glibcxx_cv_func_isnanf_use=no
34720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34722 ac_cpp='$CPP $CPPFLAGS'
34723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
34732 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
34734 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
34735 for ac_func in isnanf
34737 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
34738 if test "x$ac_cv_func_isnanf" = x""yes; then :
34739 cat >>confdefs.h <<_ACEOF
34740 #define HAVE_ISNANF 1
34748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
34749 $as_echo_n "checking for _isnanf declaration... " >&6; }
34750 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
34751 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
34752 $as_echo_n "(cached) " >&6
34757 ac_cpp='$CXXCPP $CPPFLAGS'
34758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34763 /* end confdefs.h. */
34765 #ifdef HAVE_IEEEFP_H
34766 #include <ieeefp.h>
34777 if ac_fn_cxx_try_compile "$LINENO"; then :
34778 glibcxx_cv_func__isnanf_use=yes
34780 glibcxx_cv_func__isnanf_use=no
34782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34784 ac_cpp='$CPP $CPPFLAGS'
34785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
34794 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
34796 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
34797 for ac_func in _isnanf
34799 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
34800 if test "x$ac_cv_func__isnanf" = x""yes; then :
34801 cat >>confdefs.h <<_ACEOF
34802 #define HAVE__ISNANF 1
34815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
34816 $as_echo_n "checking for isinff declaration... " >&6; }
34817 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
34818 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
34819 $as_echo_n "(cached) " >&6
34824 ac_cpp='$CXXCPP $CPPFLAGS'
34825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34830 /* end confdefs.h. */
34832 #ifdef HAVE_IEEEFP_H
34833 #include <ieeefp.h>
34844 if ac_fn_cxx_try_compile "$LINENO"; then :
34845 glibcxx_cv_func_isinff_use=yes
34847 glibcxx_cv_func_isinff_use=no
34849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34851 ac_cpp='$CPP $CPPFLAGS'
34852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
34861 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
34863 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
34864 for ac_func in isinff
34866 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
34867 if test "x$ac_cv_func_isinff" = x""yes; then :
34868 cat >>confdefs.h <<_ACEOF
34869 #define HAVE_ISINFF 1
34877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
34878 $as_echo_n "checking for _isinff declaration... " >&6; }
34879 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
34880 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
34881 $as_echo_n "(cached) " >&6
34886 ac_cpp='$CXXCPP $CPPFLAGS'
34887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34892 /* end confdefs.h. */
34894 #ifdef HAVE_IEEEFP_H
34895 #include <ieeefp.h>
34906 if ac_fn_cxx_try_compile "$LINENO"; then :
34907 glibcxx_cv_func__isinff_use=yes
34909 glibcxx_cv_func__isinff_use=no
34911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34913 ac_cpp='$CPP $CPPFLAGS'
34914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
34923 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
34925 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34926 for ac_func in _isinff
34928 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34929 if test "x$ac_cv_func__isinff" = x""yes; then :
34930 cat >>confdefs.h <<_ACEOF
34931 #define HAVE__ISINFF 1
34944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34945 $as_echo_n "checking for atan2f declaration... " >&6; }
34946 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34947 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34948 $as_echo_n "(cached) " >&6
34953 ac_cpp='$CXXCPP $CPPFLAGS'
34954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34959 /* end confdefs.h. */
34969 if ac_fn_cxx_try_compile "$LINENO"; then :
34970 glibcxx_cv_func_atan2f_use=yes
34972 glibcxx_cv_func_atan2f_use=no
34974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34976 ac_cpp='$CPP $CPPFLAGS'
34977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34986 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34988 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34989 for ac_func in atan2f
34991 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34992 if test "x$ac_cv_func_atan2f" = x""yes; then :
34993 cat >>confdefs.h <<_ACEOF
34994 #define HAVE_ATAN2F 1
35002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
35003 $as_echo_n "checking for _atan2f declaration... " >&6; }
35004 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35005 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
35006 $as_echo_n "(cached) " >&6
35011 ac_cpp='$CXXCPP $CPPFLAGS'
35012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35017 /* end confdefs.h. */
35027 if ac_fn_cxx_try_compile "$LINENO"; then :
35028 glibcxx_cv_func__atan2f_use=yes
35030 glibcxx_cv_func__atan2f_use=no
35032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35034 ac_cpp='$CPP $CPPFLAGS'
35035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35044 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35046 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35047 for ac_func in _atan2f
35049 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35050 if test "x$ac_cv_func__atan2f" = x""yes; then :
35051 cat >>confdefs.h <<_ACEOF
35052 #define HAVE__ATAN2F 1
35065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35066 $as_echo_n "checking for fabsf declaration... " >&6; }
35067 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35068 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35069 $as_echo_n "(cached) " >&6
35074 ac_cpp='$CXXCPP $CPPFLAGS'
35075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35080 /* end confdefs.h. */
35082 #ifdef HAVE_IEEEFP_H
35083 #include <ieeefp.h>
35094 if ac_fn_cxx_try_compile "$LINENO"; then :
35095 glibcxx_cv_func_fabsf_use=yes
35097 glibcxx_cv_func_fabsf_use=no
35099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35101 ac_cpp='$CPP $CPPFLAGS'
35102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35111 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35113 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35114 for ac_func in fabsf
35116 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35117 if test "x$ac_cv_func_fabsf" = x""yes; then :
35118 cat >>confdefs.h <<_ACEOF
35119 #define HAVE_FABSF 1
35127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35128 $as_echo_n "checking for _fabsf declaration... " >&6; }
35129 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35130 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35131 $as_echo_n "(cached) " >&6
35136 ac_cpp='$CXXCPP $CPPFLAGS'
35137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35142 /* end confdefs.h. */
35144 #ifdef HAVE_IEEEFP_H
35145 #include <ieeefp.h>
35156 if ac_fn_cxx_try_compile "$LINENO"; then :
35157 glibcxx_cv_func__fabsf_use=yes
35159 glibcxx_cv_func__fabsf_use=no
35161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35163 ac_cpp='$CPP $CPPFLAGS'
35164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35173 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35175 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35176 for ac_func in _fabsf
35178 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35179 if test "x$ac_cv_func__fabsf" = x""yes; then :
35180 cat >>confdefs.h <<_ACEOF
35181 #define HAVE__FABSF 1
35194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35195 $as_echo_n "checking for fmodf declaration... " >&6; }
35196 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35197 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35198 $as_echo_n "(cached) " >&6
35203 ac_cpp='$CXXCPP $CPPFLAGS'
35204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35209 /* end confdefs.h. */
35219 if ac_fn_cxx_try_compile "$LINENO"; then :
35220 glibcxx_cv_func_fmodf_use=yes
35222 glibcxx_cv_func_fmodf_use=no
35224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35226 ac_cpp='$CPP $CPPFLAGS'
35227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35236 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35238 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35239 for ac_func in fmodf
35241 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35242 if test "x$ac_cv_func_fmodf" = x""yes; then :
35243 cat >>confdefs.h <<_ACEOF
35244 #define HAVE_FMODF 1
35252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35253 $as_echo_n "checking for _fmodf declaration... " >&6; }
35254 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35255 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35256 $as_echo_n "(cached) " >&6
35261 ac_cpp='$CXXCPP $CPPFLAGS'
35262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35267 /* end confdefs.h. */
35277 if ac_fn_cxx_try_compile "$LINENO"; then :
35278 glibcxx_cv_func__fmodf_use=yes
35280 glibcxx_cv_func__fmodf_use=no
35282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35284 ac_cpp='$CPP $CPPFLAGS'
35285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35294 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35296 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35297 for ac_func in _fmodf
35299 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35300 if test "x$ac_cv_func__fmodf" = x""yes; then :
35301 cat >>confdefs.h <<_ACEOF
35302 #define HAVE__FMODF 1
35315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35316 $as_echo_n "checking for frexpf declaration... " >&6; }
35317 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35318 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35319 $as_echo_n "(cached) " >&6
35324 ac_cpp='$CXXCPP $CPPFLAGS'
35325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35330 /* end confdefs.h. */
35340 if ac_fn_cxx_try_compile "$LINENO"; then :
35341 glibcxx_cv_func_frexpf_use=yes
35343 glibcxx_cv_func_frexpf_use=no
35345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35347 ac_cpp='$CPP $CPPFLAGS'
35348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
35357 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
35359 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
35360 for ac_func in frexpf
35362 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
35363 if test "x$ac_cv_func_frexpf" = x""yes; then :
35364 cat >>confdefs.h <<_ACEOF
35365 #define HAVE_FREXPF 1
35373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
35374 $as_echo_n "checking for _frexpf declaration... " >&6; }
35375 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
35376 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
35377 $as_echo_n "(cached) " >&6
35382 ac_cpp='$CXXCPP $CPPFLAGS'
35383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35388 /* end confdefs.h. */
35398 if ac_fn_cxx_try_compile "$LINENO"; then :
35399 glibcxx_cv_func__frexpf_use=yes
35401 glibcxx_cv_func__frexpf_use=no
35403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35405 ac_cpp='$CPP $CPPFLAGS'
35406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
35415 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
35417 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
35418 for ac_func in _frexpf
35420 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
35421 if test "x$ac_cv_func__frexpf" = x""yes; then :
35422 cat >>confdefs.h <<_ACEOF
35423 #define HAVE__FREXPF 1
35436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
35437 $as_echo_n "checking for hypotf declaration... " >&6; }
35438 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
35439 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
35440 $as_echo_n "(cached) " >&6
35445 ac_cpp='$CXXCPP $CPPFLAGS'
35446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35451 /* end confdefs.h. */
35461 if ac_fn_cxx_try_compile "$LINENO"; then :
35462 glibcxx_cv_func_hypotf_use=yes
35464 glibcxx_cv_func_hypotf_use=no
35466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35468 ac_cpp='$CPP $CPPFLAGS'
35469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
35478 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
35480 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
35481 for ac_func in hypotf
35483 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
35484 if test "x$ac_cv_func_hypotf" = x""yes; then :
35485 cat >>confdefs.h <<_ACEOF
35486 #define HAVE_HYPOTF 1
35494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
35495 $as_echo_n "checking for _hypotf declaration... " >&6; }
35496 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
35497 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
35498 $as_echo_n "(cached) " >&6
35503 ac_cpp='$CXXCPP $CPPFLAGS'
35504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35509 /* end confdefs.h. */
35519 if ac_fn_cxx_try_compile "$LINENO"; then :
35520 glibcxx_cv_func__hypotf_use=yes
35522 glibcxx_cv_func__hypotf_use=no
35524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35526 ac_cpp='$CPP $CPPFLAGS'
35527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
35536 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
35538 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
35539 for ac_func in _hypotf
35541 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
35542 if test "x$ac_cv_func__hypotf" = x""yes; then :
35543 cat >>confdefs.h <<_ACEOF
35544 #define HAVE__HYPOTF 1
35557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
35558 $as_echo_n "checking for ldexpf declaration... " >&6; }
35559 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
35560 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
35561 $as_echo_n "(cached) " >&6
35566 ac_cpp='$CXXCPP $CPPFLAGS'
35567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35572 /* end confdefs.h. */
35582 if ac_fn_cxx_try_compile "$LINENO"; then :
35583 glibcxx_cv_func_ldexpf_use=yes
35585 glibcxx_cv_func_ldexpf_use=no
35587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35589 ac_cpp='$CPP $CPPFLAGS'
35590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
35599 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
35601 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
35602 for ac_func in ldexpf
35604 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
35605 if test "x$ac_cv_func_ldexpf" = x""yes; then :
35606 cat >>confdefs.h <<_ACEOF
35607 #define HAVE_LDEXPF 1
35615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
35616 $as_echo_n "checking for _ldexpf declaration... " >&6; }
35617 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
35618 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
35619 $as_echo_n "(cached) " >&6
35624 ac_cpp='$CXXCPP $CPPFLAGS'
35625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35630 /* end confdefs.h. */
35640 if ac_fn_cxx_try_compile "$LINENO"; then :
35641 glibcxx_cv_func__ldexpf_use=yes
35643 glibcxx_cv_func__ldexpf_use=no
35645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35647 ac_cpp='$CPP $CPPFLAGS'
35648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
35657 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
35659 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
35660 for ac_func in _ldexpf
35662 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
35663 if test "x$ac_cv_func__ldexpf" = x""yes; then :
35664 cat >>confdefs.h <<_ACEOF
35665 #define HAVE__LDEXPF 1
35678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
35679 $as_echo_n "checking for logf declaration... " >&6; }
35680 if test x${glibcxx_cv_func_logf_use+set} != xset; then
35681 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
35682 $as_echo_n "(cached) " >&6
35687 ac_cpp='$CXXCPP $CPPFLAGS'
35688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35693 /* end confdefs.h. */
35695 #ifdef HAVE_IEEEFP_H
35696 #include <ieeefp.h>
35707 if ac_fn_cxx_try_compile "$LINENO"; then :
35708 glibcxx_cv_func_logf_use=yes
35710 glibcxx_cv_func_logf_use=no
35712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35714 ac_cpp='$CPP $CPPFLAGS'
35715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
35724 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
35726 if test x$glibcxx_cv_func_logf_use = x"yes"; then
35727 for ac_func in logf
35729 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
35730 if test "x$ac_cv_func_logf" = x""yes; then :
35731 cat >>confdefs.h <<_ACEOF
35732 #define HAVE_LOGF 1
35740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
35741 $as_echo_n "checking for _logf declaration... " >&6; }
35742 if test x${glibcxx_cv_func__logf_use+set} != xset; then
35743 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
35744 $as_echo_n "(cached) " >&6
35749 ac_cpp='$CXXCPP $CPPFLAGS'
35750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35755 /* end confdefs.h. */
35757 #ifdef HAVE_IEEEFP_H
35758 #include <ieeefp.h>
35769 if ac_fn_cxx_try_compile "$LINENO"; then :
35770 glibcxx_cv_func__logf_use=yes
35772 glibcxx_cv_func__logf_use=no
35774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35776 ac_cpp='$CPP $CPPFLAGS'
35777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
35786 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
35788 if test x$glibcxx_cv_func__logf_use = x"yes"; then
35789 for ac_func in _logf
35791 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
35792 if test "x$ac_cv_func__logf" = x""yes; then :
35793 cat >>confdefs.h <<_ACEOF
35794 #define HAVE__LOGF 1
35807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
35808 $as_echo_n "checking for log10f declaration... " >&6; }
35809 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
35810 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
35811 $as_echo_n "(cached) " >&6
35816 ac_cpp='$CXXCPP $CPPFLAGS'
35817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35822 /* end confdefs.h. */
35824 #ifdef HAVE_IEEEFP_H
35825 #include <ieeefp.h>
35836 if ac_fn_cxx_try_compile "$LINENO"; then :
35837 glibcxx_cv_func_log10f_use=yes
35839 glibcxx_cv_func_log10f_use=no
35841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35843 ac_cpp='$CPP $CPPFLAGS'
35844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
35853 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
35855 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
35856 for ac_func in log10f
35858 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
35859 if test "x$ac_cv_func_log10f" = x""yes; then :
35860 cat >>confdefs.h <<_ACEOF
35861 #define HAVE_LOG10F 1
35869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
35870 $as_echo_n "checking for _log10f declaration... " >&6; }
35871 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
35872 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
35873 $as_echo_n "(cached) " >&6
35878 ac_cpp='$CXXCPP $CPPFLAGS'
35879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35884 /* end confdefs.h. */
35886 #ifdef HAVE_IEEEFP_H
35887 #include <ieeefp.h>
35898 if ac_fn_cxx_try_compile "$LINENO"; then :
35899 glibcxx_cv_func__log10f_use=yes
35901 glibcxx_cv_func__log10f_use=no
35903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35905 ac_cpp='$CPP $CPPFLAGS'
35906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
35915 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
35917 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
35918 for ac_func in _log10f
35920 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
35921 if test "x$ac_cv_func__log10f" = x""yes; then :
35922 cat >>confdefs.h <<_ACEOF
35923 #define HAVE__LOG10F 1
35936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35937 $as_echo_n "checking for modff declaration... " >&6; }
35938 if test x${glibcxx_cv_func_modff_use+set} != xset; then
35939 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35940 $as_echo_n "(cached) " >&6
35945 ac_cpp='$CXXCPP $CPPFLAGS'
35946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35951 /* end confdefs.h. */
35961 if ac_fn_cxx_try_compile "$LINENO"; then :
35962 glibcxx_cv_func_modff_use=yes
35964 glibcxx_cv_func_modff_use=no
35966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35968 ac_cpp='$CPP $CPPFLAGS'
35969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35978 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35980 if test x$glibcxx_cv_func_modff_use = x"yes"; then
35981 for ac_func in modff
35983 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35984 if test "x$ac_cv_func_modff" = x""yes; then :
35985 cat >>confdefs.h <<_ACEOF
35986 #define HAVE_MODFF 1
35994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35995 $as_echo_n "checking for _modff declaration... " >&6; }
35996 if test x${glibcxx_cv_func__modff_use+set} != xset; then
35997 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35998 $as_echo_n "(cached) " >&6
36003 ac_cpp='$CXXCPP $CPPFLAGS'
36004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36009 /* end confdefs.h. */
36019 if ac_fn_cxx_try_compile "$LINENO"; then :
36020 glibcxx_cv_func__modff_use=yes
36022 glibcxx_cv_func__modff_use=no
36024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36026 ac_cpp='$CPP $CPPFLAGS'
36027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36036 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36038 if test x$glibcxx_cv_func__modff_use = x"yes"; then
36039 for ac_func in _modff
36041 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36042 if test "x$ac_cv_func__modff" = x""yes; then :
36043 cat >>confdefs.h <<_ACEOF
36044 #define HAVE__MODFF 1
36057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36058 $as_echo_n "checking for modf declaration... " >&6; }
36059 if test x${glibcxx_cv_func_modf_use+set} != xset; then
36060 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36061 $as_echo_n "(cached) " >&6
36066 ac_cpp='$CXXCPP $CPPFLAGS'
36067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36072 /* end confdefs.h. */
36082 if ac_fn_cxx_try_compile "$LINENO"; then :
36083 glibcxx_cv_func_modf_use=yes
36085 glibcxx_cv_func_modf_use=no
36087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36089 ac_cpp='$CPP $CPPFLAGS'
36090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36099 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36101 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36102 for ac_func in modf
36104 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36105 if test "x$ac_cv_func_modf" = x""yes; then :
36106 cat >>confdefs.h <<_ACEOF
36107 #define HAVE_MODF 1
36115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36116 $as_echo_n "checking for _modf declaration... " >&6; }
36117 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36118 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36119 $as_echo_n "(cached) " >&6
36124 ac_cpp='$CXXCPP $CPPFLAGS'
36125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36130 /* end confdefs.h. */
36140 if ac_fn_cxx_try_compile "$LINENO"; then :
36141 glibcxx_cv_func__modf_use=yes
36143 glibcxx_cv_func__modf_use=no
36145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36147 ac_cpp='$CPP $CPPFLAGS'
36148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36157 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36159 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36160 for ac_func in _modf
36162 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36163 if test "x$ac_cv_func__modf" = x""yes; then :
36164 cat >>confdefs.h <<_ACEOF
36165 #define HAVE__MODF 1
36178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36179 $as_echo_n "checking for powf declaration... " >&6; }
36180 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36181 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36182 $as_echo_n "(cached) " >&6
36187 ac_cpp='$CXXCPP $CPPFLAGS'
36188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36193 /* end confdefs.h. */
36203 if ac_fn_cxx_try_compile "$LINENO"; then :
36204 glibcxx_cv_func_powf_use=yes
36206 glibcxx_cv_func_powf_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_powf_use" >&5
36220 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36222 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36223 for ac_func in powf
36225 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36226 if test "x$ac_cv_func_powf" = x""yes; then :
36227 cat >>confdefs.h <<_ACEOF
36228 #define HAVE_POWF 1
36236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36237 $as_echo_n "checking for _powf declaration... " >&6; }
36238 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36239 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36240 $as_echo_n "(cached) " >&6
36245 ac_cpp='$CXXCPP $CPPFLAGS'
36246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36251 /* end confdefs.h. */
36261 if ac_fn_cxx_try_compile "$LINENO"; then :
36262 glibcxx_cv_func__powf_use=yes
36264 glibcxx_cv_func__powf_use=no
36266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36268 ac_cpp='$CPP $CPPFLAGS'
36269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36278 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36280 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36281 for ac_func in _powf
36283 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36284 if test "x$ac_cv_func__powf" = x""yes; then :
36285 cat >>confdefs.h <<_ACEOF
36286 #define HAVE__POWF 1
36299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36300 $as_echo_n "checking for sqrtf declaration... " >&6; }
36301 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36302 if test "${glibcxx_cv_func_sqrtf_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. */
36316 #ifdef HAVE_IEEEFP_H
36317 #include <ieeefp.h>
36328 if ac_fn_cxx_try_compile "$LINENO"; then :
36329 glibcxx_cv_func_sqrtf_use=yes
36331 glibcxx_cv_func_sqrtf_use=no
36333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36335 ac_cpp='$CPP $CPPFLAGS'
36336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36345 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36347 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36348 for ac_func in sqrtf
36350 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36351 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36352 cat >>confdefs.h <<_ACEOF
36353 #define HAVE_SQRTF 1
36361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
36362 $as_echo_n "checking for _sqrtf declaration... " >&6; }
36363 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
36364 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
36365 $as_echo_n "(cached) " >&6
36370 ac_cpp='$CXXCPP $CPPFLAGS'
36371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36376 /* end confdefs.h. */
36378 #ifdef HAVE_IEEEFP_H
36379 #include <ieeefp.h>
36390 if ac_fn_cxx_try_compile "$LINENO"; then :
36391 glibcxx_cv_func__sqrtf_use=yes
36393 glibcxx_cv_func__sqrtf_use=no
36395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36397 ac_cpp='$CPP $CPPFLAGS'
36398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
36407 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
36409 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
36410 for ac_func in _sqrtf
36412 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
36413 if test "x$ac_cv_func__sqrtf" = x""yes; then :
36414 cat >>confdefs.h <<_ACEOF
36415 #define HAVE__SQRTF 1
36428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
36429 $as_echo_n "checking for sincosf declaration... " >&6; }
36430 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
36431 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
36432 $as_echo_n "(cached) " >&6
36437 ac_cpp='$CXXCPP $CPPFLAGS'
36438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36443 /* end confdefs.h. */
36453 if ac_fn_cxx_try_compile "$LINENO"; then :
36454 glibcxx_cv_func_sincosf_use=yes
36456 glibcxx_cv_func_sincosf_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_sincosf_use" >&5
36470 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
36472 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
36473 for ac_func in sincosf
36475 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
36476 if test "x$ac_cv_func_sincosf" = x""yes; then :
36477 cat >>confdefs.h <<_ACEOF
36478 #define HAVE_SINCOSF 1
36486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
36487 $as_echo_n "checking for _sincosf declaration... " >&6; }
36488 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
36489 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
36490 $as_echo_n "(cached) " >&6
36495 ac_cpp='$CXXCPP $CPPFLAGS'
36496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36501 /* end confdefs.h. */
36511 if ac_fn_cxx_try_compile "$LINENO"; then :
36512 glibcxx_cv_func__sincosf_use=yes
36514 glibcxx_cv_func__sincosf_use=no
36516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36518 ac_cpp='$CPP $CPPFLAGS'
36519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
36528 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
36530 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
36531 for ac_func in _sincosf
36533 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
36534 if test "x$ac_cv_func__sincosf" = x""yes; then :
36535 cat >>confdefs.h <<_ACEOF
36536 #define HAVE__SINCOSF 1
36549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
36550 $as_echo_n "checking for finitef declaration... " >&6; }
36551 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
36552 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
36553 $as_echo_n "(cached) " >&6
36558 ac_cpp='$CXXCPP $CPPFLAGS'
36559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36564 /* end confdefs.h. */
36566 #ifdef HAVE_IEEEFP_H
36567 #include <ieeefp.h>
36578 if ac_fn_cxx_try_compile "$LINENO"; then :
36579 glibcxx_cv_func_finitef_use=yes
36581 glibcxx_cv_func_finitef_use=no
36583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36585 ac_cpp='$CPP $CPPFLAGS'
36586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
36595 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
36597 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
36598 for ac_func in finitef
36600 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
36601 if test "x$ac_cv_func_finitef" = x""yes; then :
36602 cat >>confdefs.h <<_ACEOF
36603 #define HAVE_FINITEF 1
36611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
36612 $as_echo_n "checking for _finitef declaration... " >&6; }
36613 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
36614 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
36615 $as_echo_n "(cached) " >&6
36620 ac_cpp='$CXXCPP $CPPFLAGS'
36621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36626 /* end confdefs.h. */
36628 #ifdef HAVE_IEEEFP_H
36629 #include <ieeefp.h>
36640 if ac_fn_cxx_try_compile "$LINENO"; then :
36641 glibcxx_cv_func__finitef_use=yes
36643 glibcxx_cv_func__finitef_use=no
36645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36647 ac_cpp='$CPP $CPPFLAGS'
36648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
36657 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
36659 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
36660 for ac_func in _finitef
36662 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
36663 if test "x$ac_cv_func__finitef" = x""yes; then :
36664 cat >>confdefs.h <<_ACEOF
36665 #define HAVE__FINITEF 1
36678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
36679 $as_echo_n "checking for long double trig functions... " >&6; }
36680 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
36681 $as_echo_n "(cached) " >&6
36686 ac_cpp='$CXXCPP $CPPFLAGS'
36687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36692 /* end confdefs.h. */
36697 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
36702 if ac_fn_cxx_try_compile "$LINENO"; then :
36703 glibcxx_cv_func_long_double_trig_use=yes
36705 glibcxx_cv_func_long_double_trig_use=no
36707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36709 ac_cpp='$CPP $CPPFLAGS'
36710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
36717 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
36718 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
36719 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
36721 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36722 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36723 eval as_val=\$$as_ac_var
36724 if test "x$as_val" = x""yes; then :
36725 cat >>confdefs.h <<_ACEOF
36726 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
36734 $as_echo_n "checking for _long double trig functions... " >&6; }
36735 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
36736 $as_echo_n "(cached) " >&6
36741 ac_cpp='$CXXCPP $CPPFLAGS'
36742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36747 /* end confdefs.h. */
36752 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
36757 if ac_fn_cxx_try_compile "$LINENO"; then :
36758 glibcxx_cv_func__long_double_trig_use=yes
36760 glibcxx_cv_func__long_double_trig_use=no
36762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36764 ac_cpp='$CPP $CPPFLAGS'
36765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
36772 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
36773 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
36774 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
36776 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36777 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36778 eval as_val=\$$as_ac_var
36779 if test "x$as_val" = x""yes; then :
36780 cat >>confdefs.h <<_ACEOF
36781 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
36795 $as_echo_n "checking for long double round functions... " >&6; }
36796 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
36797 $as_echo_n "(cached) " >&6
36802 ac_cpp='$CXXCPP $CPPFLAGS'
36803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36808 /* end confdefs.h. */
36813 ceill (0); floorl (0);
36818 if ac_fn_cxx_try_compile "$LINENO"; then :
36819 glibcxx_cv_func_long_double_round_use=yes
36821 glibcxx_cv_func_long_double_round_use=no
36823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36825 ac_cpp='$CPP $CPPFLAGS'
36826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
36833 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
36834 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
36835 for ac_func in ceill floorl
36837 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36838 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36839 eval as_val=\$$as_ac_var
36840 if test "x$as_val" = x""yes; then :
36841 cat >>confdefs.h <<_ACEOF
36842 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
36850 $as_echo_n "checking for _long double round functions... " >&6; }
36851 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
36852 $as_echo_n "(cached) " >&6
36857 ac_cpp='$CXXCPP $CPPFLAGS'
36858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36863 /* end confdefs.h. */
36868 _ceill (0); _floorl (0);
36873 if ac_fn_cxx_try_compile "$LINENO"; then :
36874 glibcxx_cv_func__long_double_round_use=yes
36876 glibcxx_cv_func__long_double_round_use=no
36878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36880 ac_cpp='$CPP $CPPFLAGS'
36881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
36888 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
36889 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
36890 for ac_func in _ceill _floorl
36892 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36893 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36894 eval as_val=\$$as_ac_var
36895 if test "x$as_val" = x""yes; then :
36896 cat >>confdefs.h <<_ACEOF
36897 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
36912 $as_echo_n "checking for isnanl declaration... " >&6; }
36913 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36914 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
36915 $as_echo_n "(cached) " >&6
36920 ac_cpp='$CXXCPP $CPPFLAGS'
36921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36926 /* end confdefs.h. */
36928 #ifdef HAVE_IEEEFP_H
36929 #include <ieeefp.h>
36940 if ac_fn_cxx_try_compile "$LINENO"; then :
36941 glibcxx_cv_func_isnanl_use=yes
36943 glibcxx_cv_func_isnanl_use=no
36945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36947 ac_cpp='$CPP $CPPFLAGS'
36948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36957 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36959 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36960 for ac_func in isnanl
36962 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36963 if test "x$ac_cv_func_isnanl" = x""yes; then :
36964 cat >>confdefs.h <<_ACEOF
36965 #define HAVE_ISNANL 1
36973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36974 $as_echo_n "checking for _isnanl declaration... " >&6; }
36975 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36976 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36977 $as_echo_n "(cached) " >&6
36982 ac_cpp='$CXXCPP $CPPFLAGS'
36983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36988 /* end confdefs.h. */
36990 #ifdef HAVE_IEEEFP_H
36991 #include <ieeefp.h>
37002 if ac_fn_cxx_try_compile "$LINENO"; then :
37003 glibcxx_cv_func__isnanl_use=yes
37005 glibcxx_cv_func__isnanl_use=no
37007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37009 ac_cpp='$CPP $CPPFLAGS'
37010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
37019 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
37021 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
37022 for ac_func in _isnanl
37024 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
37025 if test "x$ac_cv_func__isnanl" = x""yes; then :
37026 cat >>confdefs.h <<_ACEOF
37027 #define HAVE__ISNANL 1
37040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37041 $as_echo_n "checking for isinfl declaration... " >&6; }
37042 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37043 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37044 $as_echo_n "(cached) " >&6
37049 ac_cpp='$CXXCPP $CPPFLAGS'
37050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37055 /* end confdefs.h. */
37057 #ifdef HAVE_IEEEFP_H
37058 #include <ieeefp.h>
37069 if ac_fn_cxx_try_compile "$LINENO"; then :
37070 glibcxx_cv_func_isinfl_use=yes
37072 glibcxx_cv_func_isinfl_use=no
37074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37076 ac_cpp='$CPP $CPPFLAGS'
37077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37086 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37088 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37089 for ac_func in isinfl
37091 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37092 if test "x$ac_cv_func_isinfl" = x""yes; then :
37093 cat >>confdefs.h <<_ACEOF
37094 #define HAVE_ISINFL 1
37102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37103 $as_echo_n "checking for _isinfl declaration... " >&6; }
37104 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37105 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37106 $as_echo_n "(cached) " >&6
37111 ac_cpp='$CXXCPP $CPPFLAGS'
37112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37117 /* end confdefs.h. */
37119 #ifdef HAVE_IEEEFP_H
37120 #include <ieeefp.h>
37131 if ac_fn_cxx_try_compile "$LINENO"; then :
37132 glibcxx_cv_func__isinfl_use=yes
37134 glibcxx_cv_func__isinfl_use=no
37136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37138 ac_cpp='$CPP $CPPFLAGS'
37139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37148 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37150 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37151 for ac_func in _isinfl
37153 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37154 if test "x$ac_cv_func__isinfl" = x""yes; then :
37155 cat >>confdefs.h <<_ACEOF
37156 #define HAVE__ISINFL 1
37169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37170 $as_echo_n "checking for atan2l declaration... " >&6; }
37171 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37172 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37173 $as_echo_n "(cached) " >&6
37178 ac_cpp='$CXXCPP $CPPFLAGS'
37179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37184 /* end confdefs.h. */
37194 if ac_fn_cxx_try_compile "$LINENO"; then :
37195 glibcxx_cv_func_atan2l_use=yes
37197 glibcxx_cv_func_atan2l_use=no
37199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37201 ac_cpp='$CPP $CPPFLAGS'
37202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37211 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37213 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37214 for ac_func in atan2l
37216 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37217 if test "x$ac_cv_func_atan2l" = x""yes; then :
37218 cat >>confdefs.h <<_ACEOF
37219 #define HAVE_ATAN2L 1
37227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37228 $as_echo_n "checking for _atan2l declaration... " >&6; }
37229 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37230 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37231 $as_echo_n "(cached) " >&6
37236 ac_cpp='$CXXCPP $CPPFLAGS'
37237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37242 /* end confdefs.h. */
37252 if ac_fn_cxx_try_compile "$LINENO"; then :
37253 glibcxx_cv_func__atan2l_use=yes
37255 glibcxx_cv_func__atan2l_use=no
37257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37259 ac_cpp='$CPP $CPPFLAGS'
37260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37269 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37271 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37272 for ac_func in _atan2l
37274 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37275 if test "x$ac_cv_func__atan2l" = x""yes; then :
37276 cat >>confdefs.h <<_ACEOF
37277 #define HAVE__ATAN2L 1
37290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37291 $as_echo_n "checking for expl declaration... " >&6; }
37292 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37293 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37294 $as_echo_n "(cached) " >&6
37299 ac_cpp='$CXXCPP $CPPFLAGS'
37300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37305 /* end confdefs.h. */
37307 #ifdef HAVE_IEEEFP_H
37308 #include <ieeefp.h>
37319 if ac_fn_cxx_try_compile "$LINENO"; then :
37320 glibcxx_cv_func_expl_use=yes
37322 glibcxx_cv_func_expl_use=no
37324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37326 ac_cpp='$CPP $CPPFLAGS'
37327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37336 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37338 if test x$glibcxx_cv_func_expl_use = x"yes"; then
37339 for ac_func in expl
37341 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37342 if test "x$ac_cv_func_expl" = x""yes; then :
37343 cat >>confdefs.h <<_ACEOF
37344 #define HAVE_EXPL 1
37352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37353 $as_echo_n "checking for _expl declaration... " >&6; }
37354 if test x${glibcxx_cv_func__expl_use+set} != xset; then
37355 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
37356 $as_echo_n "(cached) " >&6
37361 ac_cpp='$CXXCPP $CPPFLAGS'
37362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37367 /* end confdefs.h. */
37369 #ifdef HAVE_IEEEFP_H
37370 #include <ieeefp.h>
37381 if ac_fn_cxx_try_compile "$LINENO"; then :
37382 glibcxx_cv_func__expl_use=yes
37384 glibcxx_cv_func__expl_use=no
37386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37388 ac_cpp='$CPP $CPPFLAGS'
37389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
37398 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
37400 if test x$glibcxx_cv_func__expl_use = x"yes"; then
37401 for ac_func in _expl
37403 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
37404 if test "x$ac_cv_func__expl" = x""yes; then :
37405 cat >>confdefs.h <<_ACEOF
37406 #define HAVE__EXPL 1
37419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
37420 $as_echo_n "checking for fabsl declaration... " >&6; }
37421 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37422 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
37423 $as_echo_n "(cached) " >&6
37428 ac_cpp='$CXXCPP $CPPFLAGS'
37429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37434 /* end confdefs.h. */
37436 #ifdef HAVE_IEEEFP_H
37437 #include <ieeefp.h>
37448 if ac_fn_cxx_try_compile "$LINENO"; then :
37449 glibcxx_cv_func_fabsl_use=yes
37451 glibcxx_cv_func_fabsl_use=no
37453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37455 ac_cpp='$CPP $CPPFLAGS'
37456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
37465 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
37467 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37468 for ac_func in fabsl
37470 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
37471 if test "x$ac_cv_func_fabsl" = x""yes; then :
37472 cat >>confdefs.h <<_ACEOF
37473 #define HAVE_FABSL 1
37481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
37482 $as_echo_n "checking for _fabsl declaration... " >&6; }
37483 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37484 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
37485 $as_echo_n "(cached) " >&6
37490 ac_cpp='$CXXCPP $CPPFLAGS'
37491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37496 /* end confdefs.h. */
37498 #ifdef HAVE_IEEEFP_H
37499 #include <ieeefp.h>
37510 if ac_fn_cxx_try_compile "$LINENO"; then :
37511 glibcxx_cv_func__fabsl_use=yes
37513 glibcxx_cv_func__fabsl_use=no
37515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37517 ac_cpp='$CPP $CPPFLAGS'
37518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
37527 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
37529 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
37530 for ac_func in _fabsl
37532 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
37533 if test "x$ac_cv_func__fabsl" = x""yes; then :
37534 cat >>confdefs.h <<_ACEOF
37535 #define HAVE__FABSL 1
37548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
37549 $as_echo_n "checking for fmodl declaration... " >&6; }
37550 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
37551 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
37552 $as_echo_n "(cached) " >&6
37557 ac_cpp='$CXXCPP $CPPFLAGS'
37558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37563 /* end confdefs.h. */
37573 if ac_fn_cxx_try_compile "$LINENO"; then :
37574 glibcxx_cv_func_fmodl_use=yes
37576 glibcxx_cv_func_fmodl_use=no
37578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37580 ac_cpp='$CPP $CPPFLAGS'
37581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
37590 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
37592 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
37593 for ac_func in fmodl
37595 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
37596 if test "x$ac_cv_func_fmodl" = x""yes; then :
37597 cat >>confdefs.h <<_ACEOF
37598 #define HAVE_FMODL 1
37606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
37607 $as_echo_n "checking for _fmodl declaration... " >&6; }
37608 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
37609 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
37610 $as_echo_n "(cached) " >&6
37615 ac_cpp='$CXXCPP $CPPFLAGS'
37616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37621 /* end confdefs.h. */
37631 if ac_fn_cxx_try_compile "$LINENO"; then :
37632 glibcxx_cv_func__fmodl_use=yes
37634 glibcxx_cv_func__fmodl_use=no
37636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37638 ac_cpp='$CPP $CPPFLAGS'
37639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
37648 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
37650 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
37651 for ac_func in _fmodl
37653 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
37654 if test "x$ac_cv_func__fmodl" = x""yes; then :
37655 cat >>confdefs.h <<_ACEOF
37656 #define HAVE__FMODL 1
37669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
37670 $as_echo_n "checking for frexpl declaration... " >&6; }
37671 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
37672 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
37673 $as_echo_n "(cached) " >&6
37678 ac_cpp='$CXXCPP $CPPFLAGS'
37679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37684 /* end confdefs.h. */
37694 if ac_fn_cxx_try_compile "$LINENO"; then :
37695 glibcxx_cv_func_frexpl_use=yes
37697 glibcxx_cv_func_frexpl_use=no
37699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37701 ac_cpp='$CPP $CPPFLAGS'
37702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
37711 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
37713 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
37714 for ac_func in frexpl
37716 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
37717 if test "x$ac_cv_func_frexpl" = x""yes; then :
37718 cat >>confdefs.h <<_ACEOF
37719 #define HAVE_FREXPL 1
37727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
37728 $as_echo_n "checking for _frexpl declaration... " >&6; }
37729 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
37730 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
37731 $as_echo_n "(cached) " >&6
37736 ac_cpp='$CXXCPP $CPPFLAGS'
37737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37742 /* end confdefs.h. */
37752 if ac_fn_cxx_try_compile "$LINENO"; then :
37753 glibcxx_cv_func__frexpl_use=yes
37755 glibcxx_cv_func__frexpl_use=no
37757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37759 ac_cpp='$CPP $CPPFLAGS'
37760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
37769 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
37771 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
37772 for ac_func in _frexpl
37774 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
37775 if test "x$ac_cv_func__frexpl" = x""yes; then :
37776 cat >>confdefs.h <<_ACEOF
37777 #define HAVE__FREXPL 1
37790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
37791 $as_echo_n "checking for hypotl declaration... " >&6; }
37792 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
37793 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
37794 $as_echo_n "(cached) " >&6
37799 ac_cpp='$CXXCPP $CPPFLAGS'
37800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37805 /* end confdefs.h. */
37815 if ac_fn_cxx_try_compile "$LINENO"; then :
37816 glibcxx_cv_func_hypotl_use=yes
37818 glibcxx_cv_func_hypotl_use=no
37820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37822 ac_cpp='$CPP $CPPFLAGS'
37823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
37832 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
37834 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
37835 for ac_func in hypotl
37837 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
37838 if test "x$ac_cv_func_hypotl" = x""yes; then :
37839 cat >>confdefs.h <<_ACEOF
37840 #define HAVE_HYPOTL 1
37848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
37849 $as_echo_n "checking for _hypotl declaration... " >&6; }
37850 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
37851 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
37852 $as_echo_n "(cached) " >&6
37857 ac_cpp='$CXXCPP $CPPFLAGS'
37858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37863 /* end confdefs.h. */
37873 if ac_fn_cxx_try_compile "$LINENO"; then :
37874 glibcxx_cv_func__hypotl_use=yes
37876 glibcxx_cv_func__hypotl_use=no
37878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37880 ac_cpp='$CPP $CPPFLAGS'
37881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
37890 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
37892 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37893 for ac_func in _hypotl
37895 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
37896 if test "x$ac_cv_func__hypotl" = x""yes; then :
37897 cat >>confdefs.h <<_ACEOF
37898 #define HAVE__HYPOTL 1
37911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
37912 $as_echo_n "checking for ldexpl declaration... " >&6; }
37913 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37914 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
37915 $as_echo_n "(cached) " >&6
37920 ac_cpp='$CXXCPP $CPPFLAGS'
37921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37926 /* end confdefs.h. */
37936 if ac_fn_cxx_try_compile "$LINENO"; then :
37937 glibcxx_cv_func_ldexpl_use=yes
37939 glibcxx_cv_func_ldexpl_use=no
37941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37943 ac_cpp='$CPP $CPPFLAGS'
37944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37953 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37955 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37956 for ac_func in ldexpl
37958 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37959 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37960 cat >>confdefs.h <<_ACEOF
37961 #define HAVE_LDEXPL 1
37969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37970 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37971 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37972 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37973 $as_echo_n "(cached) " >&6
37978 ac_cpp='$CXXCPP $CPPFLAGS'
37979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37984 /* end confdefs.h. */
37994 if ac_fn_cxx_try_compile "$LINENO"; then :
37995 glibcxx_cv_func__ldexpl_use=yes
37997 glibcxx_cv_func__ldexpl_use=no
37999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38001 ac_cpp='$CPP $CPPFLAGS'
38002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
38011 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
38013 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38014 for ac_func in _ldexpl
38016 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
38017 if test "x$ac_cv_func__ldexpl" = x""yes; then :
38018 cat >>confdefs.h <<_ACEOF
38019 #define HAVE__LDEXPL 1
38032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
38033 $as_echo_n "checking for logl declaration... " >&6; }
38034 if test x${glibcxx_cv_func_logl_use+set} != xset; then
38035 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38036 $as_echo_n "(cached) " >&6
38041 ac_cpp='$CXXCPP $CPPFLAGS'
38042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38047 /* end confdefs.h. */
38049 #ifdef HAVE_IEEEFP_H
38050 #include <ieeefp.h>
38061 if ac_fn_cxx_try_compile "$LINENO"; then :
38062 glibcxx_cv_func_logl_use=yes
38064 glibcxx_cv_func_logl_use=no
38066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38068 ac_cpp='$CPP $CPPFLAGS'
38069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38078 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38080 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38081 for ac_func in logl
38083 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38084 if test "x$ac_cv_func_logl" = x""yes; then :
38085 cat >>confdefs.h <<_ACEOF
38086 #define HAVE_LOGL 1
38094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38095 $as_echo_n "checking for _logl declaration... " >&6; }
38096 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38097 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38098 $as_echo_n "(cached) " >&6
38103 ac_cpp='$CXXCPP $CPPFLAGS'
38104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38109 /* end confdefs.h. */
38111 #ifdef HAVE_IEEEFP_H
38112 #include <ieeefp.h>
38123 if ac_fn_cxx_try_compile "$LINENO"; then :
38124 glibcxx_cv_func__logl_use=yes
38126 glibcxx_cv_func__logl_use=no
38128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38130 ac_cpp='$CPP $CPPFLAGS'
38131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38140 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38142 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38143 for ac_func in _logl
38145 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38146 if test "x$ac_cv_func__logl" = x""yes; then :
38147 cat >>confdefs.h <<_ACEOF
38148 #define HAVE__LOGL 1
38161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38162 $as_echo_n "checking for log10l declaration... " >&6; }
38163 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38164 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38165 $as_echo_n "(cached) " >&6
38170 ac_cpp='$CXXCPP $CPPFLAGS'
38171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38176 /* end confdefs.h. */
38178 #ifdef HAVE_IEEEFP_H
38179 #include <ieeefp.h>
38190 if ac_fn_cxx_try_compile "$LINENO"; then :
38191 glibcxx_cv_func_log10l_use=yes
38193 glibcxx_cv_func_log10l_use=no
38195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38197 ac_cpp='$CPP $CPPFLAGS'
38198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38207 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38209 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38210 for ac_func in log10l
38212 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38213 if test "x$ac_cv_func_log10l" = x""yes; then :
38214 cat >>confdefs.h <<_ACEOF
38215 #define HAVE_LOG10L 1
38223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38224 $as_echo_n "checking for _log10l declaration... " >&6; }
38225 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38226 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38227 $as_echo_n "(cached) " >&6
38232 ac_cpp='$CXXCPP $CPPFLAGS'
38233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38238 /* end confdefs.h. */
38240 #ifdef HAVE_IEEEFP_H
38241 #include <ieeefp.h>
38252 if ac_fn_cxx_try_compile "$LINENO"; then :
38253 glibcxx_cv_func__log10l_use=yes
38255 glibcxx_cv_func__log10l_use=no
38257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38259 ac_cpp='$CPP $CPPFLAGS'
38260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38269 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38271 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38272 for ac_func in _log10l
38274 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38275 if test "x$ac_cv_func__log10l" = x""yes; then :
38276 cat >>confdefs.h <<_ACEOF
38277 #define HAVE__LOG10L 1
38290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38291 $as_echo_n "checking for modfl declaration... " >&6; }
38292 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38293 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38294 $as_echo_n "(cached) " >&6
38299 ac_cpp='$CXXCPP $CPPFLAGS'
38300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38305 /* end confdefs.h. */
38315 if ac_fn_cxx_try_compile "$LINENO"; then :
38316 glibcxx_cv_func_modfl_use=yes
38318 glibcxx_cv_func_modfl_use=no
38320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38322 ac_cpp='$CPP $CPPFLAGS'
38323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38332 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38334 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38335 for ac_func in modfl
38337 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38338 if test "x$ac_cv_func_modfl" = x""yes; then :
38339 cat >>confdefs.h <<_ACEOF
38340 #define HAVE_MODFL 1
38348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38349 $as_echo_n "checking for _modfl declaration... " >&6; }
38350 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38351 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
38352 $as_echo_n "(cached) " >&6
38357 ac_cpp='$CXXCPP $CPPFLAGS'
38358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38363 /* end confdefs.h. */
38373 if ac_fn_cxx_try_compile "$LINENO"; then :
38374 glibcxx_cv_func__modfl_use=yes
38376 glibcxx_cv_func__modfl_use=no
38378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38380 ac_cpp='$CPP $CPPFLAGS'
38381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
38390 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
38392 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38393 for ac_func in _modfl
38395 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
38396 if test "x$ac_cv_func__modfl" = x""yes; then :
38397 cat >>confdefs.h <<_ACEOF
38398 #define HAVE__MODFL 1
38411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
38412 $as_echo_n "checking for powl declaration... " >&6; }
38413 if test x${glibcxx_cv_func_powl_use+set} != xset; then
38414 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
38415 $as_echo_n "(cached) " >&6
38420 ac_cpp='$CXXCPP $CPPFLAGS'
38421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38426 /* end confdefs.h. */
38436 if ac_fn_cxx_try_compile "$LINENO"; then :
38437 glibcxx_cv_func_powl_use=yes
38439 glibcxx_cv_func_powl_use=no
38441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38443 ac_cpp='$CPP $CPPFLAGS'
38444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
38453 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
38455 if test x$glibcxx_cv_func_powl_use = x"yes"; then
38456 for ac_func in powl
38458 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
38459 if test "x$ac_cv_func_powl" = x""yes; then :
38460 cat >>confdefs.h <<_ACEOF
38461 #define HAVE_POWL 1
38469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
38470 $as_echo_n "checking for _powl declaration... " >&6; }
38471 if test x${glibcxx_cv_func__powl_use+set} != xset; then
38472 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
38473 $as_echo_n "(cached) " >&6
38478 ac_cpp='$CXXCPP $CPPFLAGS'
38479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38484 /* end confdefs.h. */
38494 if ac_fn_cxx_try_compile "$LINENO"; then :
38495 glibcxx_cv_func__powl_use=yes
38497 glibcxx_cv_func__powl_use=no
38499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38501 ac_cpp='$CPP $CPPFLAGS'
38502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
38511 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
38513 if test x$glibcxx_cv_func__powl_use = x"yes"; then
38514 for ac_func in _powl
38516 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
38517 if test "x$ac_cv_func__powl" = x""yes; then :
38518 cat >>confdefs.h <<_ACEOF
38519 #define HAVE__POWL 1
38532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
38533 $as_echo_n "checking for sqrtl declaration... " >&6; }
38534 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
38535 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
38536 $as_echo_n "(cached) " >&6
38541 ac_cpp='$CXXCPP $CPPFLAGS'
38542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38547 /* end confdefs.h. */
38549 #ifdef HAVE_IEEEFP_H
38550 #include <ieeefp.h>
38561 if ac_fn_cxx_try_compile "$LINENO"; then :
38562 glibcxx_cv_func_sqrtl_use=yes
38564 glibcxx_cv_func_sqrtl_use=no
38566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38568 ac_cpp='$CPP $CPPFLAGS'
38569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
38578 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
38580 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
38581 for ac_func in sqrtl
38583 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
38584 if test "x$ac_cv_func_sqrtl" = x""yes; then :
38585 cat >>confdefs.h <<_ACEOF
38586 #define HAVE_SQRTL 1
38594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
38595 $as_echo_n "checking for _sqrtl declaration... " >&6; }
38596 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
38597 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
38598 $as_echo_n "(cached) " >&6
38603 ac_cpp='$CXXCPP $CPPFLAGS'
38604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38609 /* end confdefs.h. */
38611 #ifdef HAVE_IEEEFP_H
38612 #include <ieeefp.h>
38623 if ac_fn_cxx_try_compile "$LINENO"; then :
38624 glibcxx_cv_func__sqrtl_use=yes
38626 glibcxx_cv_func__sqrtl_use=no
38628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38630 ac_cpp='$CPP $CPPFLAGS'
38631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
38640 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
38642 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
38643 for ac_func in _sqrtl
38645 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
38646 if test "x$ac_cv_func__sqrtl" = x""yes; then :
38647 cat >>confdefs.h <<_ACEOF
38648 #define HAVE__SQRTL 1
38661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
38662 $as_echo_n "checking for sincosl declaration... " >&6; }
38663 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
38664 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
38665 $as_echo_n "(cached) " >&6
38670 ac_cpp='$CXXCPP $CPPFLAGS'
38671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38676 /* end confdefs.h. */
38686 if ac_fn_cxx_try_compile "$LINENO"; then :
38687 glibcxx_cv_func_sincosl_use=yes
38689 glibcxx_cv_func_sincosl_use=no
38691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38693 ac_cpp='$CPP $CPPFLAGS'
38694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
38703 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
38705 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
38706 for ac_func in sincosl
38708 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
38709 if test "x$ac_cv_func_sincosl" = x""yes; then :
38710 cat >>confdefs.h <<_ACEOF
38711 #define HAVE_SINCOSL 1
38719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
38720 $as_echo_n "checking for _sincosl declaration... " >&6; }
38721 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
38722 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
38723 $as_echo_n "(cached) " >&6
38728 ac_cpp='$CXXCPP $CPPFLAGS'
38729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38734 /* end confdefs.h. */
38744 if ac_fn_cxx_try_compile "$LINENO"; then :
38745 glibcxx_cv_func__sincosl_use=yes
38747 glibcxx_cv_func__sincosl_use=no
38749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38751 ac_cpp='$CPP $CPPFLAGS'
38752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
38761 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
38763 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
38764 for ac_func in _sincosl
38766 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
38767 if test "x$ac_cv_func__sincosl" = x""yes; then :
38768 cat >>confdefs.h <<_ACEOF
38769 #define HAVE__SINCOSL 1
38782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
38783 $as_echo_n "checking for finitel declaration... " >&6; }
38784 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
38785 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
38786 $as_echo_n "(cached) " >&6
38791 ac_cpp='$CXXCPP $CPPFLAGS'
38792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38797 /* end confdefs.h. */
38799 #ifdef HAVE_IEEEFP_H
38800 #include <ieeefp.h>
38811 if ac_fn_cxx_try_compile "$LINENO"; then :
38812 glibcxx_cv_func_finitel_use=yes
38814 glibcxx_cv_func_finitel_use=no
38816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38818 ac_cpp='$CPP $CPPFLAGS'
38819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
38828 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
38830 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
38831 for ac_func in finitel
38833 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
38834 if test "x$ac_cv_func_finitel" = x""yes; then :
38835 cat >>confdefs.h <<_ACEOF
38836 #define HAVE_FINITEL 1
38844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
38845 $as_echo_n "checking for _finitel declaration... " >&6; }
38846 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
38847 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
38848 $as_echo_n "(cached) " >&6
38853 ac_cpp='$CXXCPP $CPPFLAGS'
38854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38859 /* end confdefs.h. */
38861 #ifdef HAVE_IEEEFP_H
38862 #include <ieeefp.h>
38873 if ac_fn_cxx_try_compile "$LINENO"; then :
38874 glibcxx_cv_func__finitel_use=yes
38876 glibcxx_cv_func__finitel_use=no
38878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38880 ac_cpp='$CPP $CPPFLAGS'
38881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
38890 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
38892 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
38893 for ac_func in _finitel
38895 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
38896 if test "x$ac_cv_func__finitel" = x""yes; then :
38897 cat >>confdefs.h <<_ACEOF
38898 #define HAVE__FINITEL 1
38910 LIBS="$ac_save_LIBS"
38911 CXXFLAGS="$ac_save_CXXFLAGS"
38914 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38915 ac_save_CXXFLAGS="$CXXFLAGS"
38916 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
38920 $as_echo_n "checking for strtold declaration... " >&6; }
38921 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38922 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
38923 $as_echo_n "(cached) " >&6
38928 ac_cpp='$CXXCPP $CPPFLAGS'
38929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38934 /* end confdefs.h. */
38935 #include <stdlib.h>
38944 if ac_fn_cxx_try_compile "$LINENO"; then :
38945 glibcxx_cv_func_strtold_use=yes
38947 glibcxx_cv_func_strtold_use=no
38949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38951 ac_cpp='$CPP $CPPFLAGS'
38952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38961 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38962 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38963 for ac_func in strtold
38965 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38966 if test "x$ac_cv_func_strtold" = x""yes; then :
38967 cat >>confdefs.h <<_ACEOF
38968 #define HAVE_STRTOLD 1
38979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38980 $as_echo_n "checking for strtof declaration... " >&6; }
38981 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38982 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38983 $as_echo_n "(cached) " >&6
38988 ac_cpp='$CXXCPP $CPPFLAGS'
38989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38994 /* end confdefs.h. */
38995 #include <stdlib.h>
39004 if ac_fn_cxx_try_compile "$LINENO"; then :
39005 glibcxx_cv_func_strtof_use=yes
39007 glibcxx_cv_func_strtof_use=no
39009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39011 ac_cpp='$CPP $CPPFLAGS'
39012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
39021 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
39022 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39023 for ac_func in strtof
39025 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
39026 if test "x$ac_cv_func_strtof" = x""yes; then :
39027 cat >>confdefs.h <<_ACEOF
39028 #define HAVE_STRTOF 1
39039 CXXFLAGS="$ac_save_CXXFLAGS"
39041 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
39043 # We don't yet support AIX's TLS ABI.
39050 am_save_CPPFLAGS="$CPPFLAGS"
39052 for element in $INCICONV; do
39054 for x in $CPPFLAGS; do
39056 acl_save_prefix="$prefix"
39057 prefix="$acl_final_prefix"
39058 acl_save_exec_prefix="$exec_prefix"
39059 exec_prefix="$acl_final_exec_prefix"
39061 exec_prefix="$acl_save_exec_prefix"
39062 prefix="$acl_save_prefix"
39064 if test "X$x" = "X$element"; then
39069 if test -z "$haveit"; then
39070 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39076 $as_echo_n "checking for iconv... " >&6; }
39077 if test "${am_cv_func_iconv+set}" = set; then :
39078 $as_echo_n "(cached) " >&6
39081 am_cv_func_iconv="no, consider installing GNU libiconv"
39083 if test x$gcc_no_link = xyes; then
39084 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39087 /* end confdefs.h. */
39088 #include <stdlib.h>
39093 iconv_t cd = iconv_open("","");
39094 iconv(cd,NULL,NULL,NULL,NULL);
39100 if ac_fn_c_try_link "$LINENO"; then :
39101 am_cv_func_iconv=yes
39103 rm -f core conftest.err conftest.$ac_objext \
39104 conftest$ac_exeext conftest.$ac_ext
39105 if test "$am_cv_func_iconv" != yes; then
39106 am_save_LIBS="$LIBS"
39107 LIBS="$LIBS $LIBICONV"
39108 if test x$gcc_no_link = xyes; then
39109 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39112 /* end confdefs.h. */
39113 #include <stdlib.h>
39118 iconv_t cd = iconv_open("","");
39119 iconv(cd,NULL,NULL,NULL,NULL);
39125 if ac_fn_c_try_link "$LINENO"; then :
39126 am_cv_lib_iconv=yes
39127 am_cv_func_iconv=yes
39129 rm -f core conftest.err conftest.$ac_objext \
39130 conftest$ac_exeext conftest.$ac_ext
39131 LIBS="$am_save_LIBS"
39135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39136 $as_echo "$am_cv_func_iconv" >&6; }
39137 if test "$am_cv_func_iconv" = yes; then
39139 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39142 if test "$am_cv_lib_iconv" = yes; then
39143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39144 $as_echo_n "checking how to link with libiconv... " >&6; }
39145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39146 $as_echo "$LIBICONV" >&6; }
39148 CPPFLAGS="$am_save_CPPFLAGS"
39155 if test "$am_cv_func_iconv" = yes; then
39156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39157 $as_echo_n "checking for iconv declaration... " >&6; }
39158 if test "${am_cv_proto_iconv+set}" = set; then :
39159 $as_echo_n "(cached) " >&6
39162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39163 /* end confdefs.h. */
39165 #include <stdlib.h>
39171 #if defined(__STDC__) || defined(__cplusplus)
39172 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39185 if ac_fn_c_try_compile "$LINENO"; then :
39186 am_cv_proto_iconv_arg1=""
39188 am_cv_proto_iconv_arg1="const"
39190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39191 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);"
39194 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39196 }$am_cv_proto_iconv" >&5
39198 }$am_cv_proto_iconv" >&6; }
39200 cat >>confdefs.h <<_ACEOF
39201 #define ICONV_CONST $am_cv_proto_iconv_arg1
39209 # Darwin versions vary, but the linker should work in a cross environment,
39210 # so we just check for all the features here.
39211 # Check for available headers.
39213 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
39215 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39216 ac_save_CXXFLAGS="$CXXFLAGS"
39217 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
39220 $as_echo_n "checking for sin in -lm... " >&6; }
39221 if test "${ac_cv_lib_m_sin+set}" = set; then :
39222 $as_echo_n "(cached) " >&6
39224 ac_check_lib_save_LIBS=$LIBS
39226 if test x$gcc_no_link = xyes; then
39227 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39230 /* end confdefs.h. */
39232 /* Override any GCC internal prototype to avoid an error.
39233 Use char because int might match the return type of a GCC
39234 builtin and then its argument prototype would still apply. */
39247 if ac_fn_c_try_link "$LINENO"; then :
39248 ac_cv_lib_m_sin=yes
39252 rm -f core conftest.err conftest.$ac_objext \
39253 conftest$ac_exeext conftest.$ac_ext
39254 LIBS=$ac_check_lib_save_LIBS
39256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
39257 $as_echo "$ac_cv_lib_m_sin" >&6; }
39258 if test "x$ac_cv_lib_m_sin" = x""yes; then :
39262 ac_save_LIBS="$LIBS"
39267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
39268 $as_echo_n "checking for isinf declaration... " >&6; }
39269 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
39270 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
39271 $as_echo_n "(cached) " >&6
39276 ac_cpp='$CXXCPP $CPPFLAGS'
39277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39282 /* end confdefs.h. */
39284 #ifdef HAVE_IEEEFP_H
39285 #include <ieeefp.h>
39296 if ac_fn_cxx_try_compile "$LINENO"; then :
39297 glibcxx_cv_func_isinf_use=yes
39299 glibcxx_cv_func_isinf_use=no
39301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39303 ac_cpp='$CPP $CPPFLAGS'
39304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
39313 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
39315 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
39316 for ac_func in isinf
39318 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
39319 if test "x$ac_cv_func_isinf" = x""yes; then :
39320 cat >>confdefs.h <<_ACEOF
39321 #define HAVE_ISINF 1
39329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
39330 $as_echo_n "checking for _isinf declaration... " >&6; }
39331 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
39332 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
39333 $as_echo_n "(cached) " >&6
39338 ac_cpp='$CXXCPP $CPPFLAGS'
39339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39344 /* end confdefs.h. */
39346 #ifdef HAVE_IEEEFP_H
39347 #include <ieeefp.h>
39358 if ac_fn_cxx_try_compile "$LINENO"; then :
39359 glibcxx_cv_func__isinf_use=yes
39361 glibcxx_cv_func__isinf_use=no
39363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39365 ac_cpp='$CPP $CPPFLAGS'
39366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
39375 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
39377 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
39378 for ac_func in _isinf
39380 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
39381 if test "x$ac_cv_func__isinf" = x""yes; then :
39382 cat >>confdefs.h <<_ACEOF
39383 #define HAVE__ISINF 1
39396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
39397 $as_echo_n "checking for isnan declaration... " >&6; }
39398 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
39399 if test "${glibcxx_cv_func_isnan_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. */
39413 #ifdef HAVE_IEEEFP_H
39414 #include <ieeefp.h>
39425 if ac_fn_cxx_try_compile "$LINENO"; then :
39426 glibcxx_cv_func_isnan_use=yes
39428 glibcxx_cv_func_isnan_use=no
39430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39432 ac_cpp='$CPP $CPPFLAGS'
39433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
39442 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
39444 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
39445 for ac_func in isnan
39447 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
39448 if test "x$ac_cv_func_isnan" = x""yes; then :
39449 cat >>confdefs.h <<_ACEOF
39450 #define HAVE_ISNAN 1
39458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
39459 $as_echo_n "checking for _isnan declaration... " >&6; }
39460 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
39461 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
39462 $as_echo_n "(cached) " >&6
39467 ac_cpp='$CXXCPP $CPPFLAGS'
39468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39473 /* end confdefs.h. */
39475 #ifdef HAVE_IEEEFP_H
39476 #include <ieeefp.h>
39487 if ac_fn_cxx_try_compile "$LINENO"; then :
39488 glibcxx_cv_func__isnan_use=yes
39490 glibcxx_cv_func__isnan_use=no
39492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39494 ac_cpp='$CPP $CPPFLAGS'
39495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
39504 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
39506 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
39507 for ac_func in _isnan
39509 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
39510 if test "x$ac_cv_func__isnan" = x""yes; then :
39511 cat >>confdefs.h <<_ACEOF
39512 #define HAVE__ISNAN 1
39525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
39526 $as_echo_n "checking for finite declaration... " >&6; }
39527 if test x${glibcxx_cv_func_finite_use+set} != xset; then
39528 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
39529 $as_echo_n "(cached) " >&6
39534 ac_cpp='$CXXCPP $CPPFLAGS'
39535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39540 /* end confdefs.h. */
39542 #ifdef HAVE_IEEEFP_H
39543 #include <ieeefp.h>
39554 if ac_fn_cxx_try_compile "$LINENO"; then :
39555 glibcxx_cv_func_finite_use=yes
39557 glibcxx_cv_func_finite_use=no
39559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39561 ac_cpp='$CPP $CPPFLAGS'
39562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
39571 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
39573 if test x$glibcxx_cv_func_finite_use = x"yes"; then
39574 for ac_func in finite
39576 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
39577 if test "x$ac_cv_func_finite" = x""yes; then :
39578 cat >>confdefs.h <<_ACEOF
39579 #define HAVE_FINITE 1
39587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
39588 $as_echo_n "checking for _finite declaration... " >&6; }
39589 if test x${glibcxx_cv_func__finite_use+set} != xset; then
39590 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
39591 $as_echo_n "(cached) " >&6
39596 ac_cpp='$CXXCPP $CPPFLAGS'
39597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39602 /* end confdefs.h. */
39604 #ifdef HAVE_IEEEFP_H
39605 #include <ieeefp.h>
39616 if ac_fn_cxx_try_compile "$LINENO"; then :
39617 glibcxx_cv_func__finite_use=yes
39619 glibcxx_cv_func__finite_use=no
39621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39623 ac_cpp='$CPP $CPPFLAGS'
39624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
39633 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
39635 if test x$glibcxx_cv_func__finite_use = x"yes"; then
39636 for ac_func in _finite
39638 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
39639 if test "x$ac_cv_func__finite" = x""yes; then :
39640 cat >>confdefs.h <<_ACEOF
39641 #define HAVE__FINITE 1
39654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
39655 $as_echo_n "checking for sincos declaration... " >&6; }
39656 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
39657 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
39658 $as_echo_n "(cached) " >&6
39663 ac_cpp='$CXXCPP $CPPFLAGS'
39664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39669 /* end confdefs.h. */
39679 if ac_fn_cxx_try_compile "$LINENO"; then :
39680 glibcxx_cv_func_sincos_use=yes
39682 glibcxx_cv_func_sincos_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_sincos_use" >&5
39696 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
39698 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
39699 for ac_func in sincos
39701 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
39702 if test "x$ac_cv_func_sincos" = x""yes; then :
39703 cat >>confdefs.h <<_ACEOF
39704 #define HAVE_SINCOS 1
39712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
39713 $as_echo_n "checking for _sincos declaration... " >&6; }
39714 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
39715 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
39716 $as_echo_n "(cached) " >&6
39721 ac_cpp='$CXXCPP $CPPFLAGS'
39722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39727 /* end confdefs.h. */
39737 if ac_fn_cxx_try_compile "$LINENO"; then :
39738 glibcxx_cv_func__sincos_use=yes
39740 glibcxx_cv_func__sincos_use=no
39742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39744 ac_cpp='$CPP $CPPFLAGS'
39745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
39754 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
39756 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
39757 for ac_func in _sincos
39759 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
39760 if test "x$ac_cv_func__sincos" = x""yes; then :
39761 cat >>confdefs.h <<_ACEOF
39762 #define HAVE__SINCOS 1
39775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
39776 $as_echo_n "checking for fpclass declaration... " >&6; }
39777 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
39778 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
39779 $as_echo_n "(cached) " >&6
39784 ac_cpp='$CXXCPP $CPPFLAGS'
39785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39790 /* end confdefs.h. */
39792 #ifdef HAVE_IEEEFP_H
39793 #include <ieeefp.h>
39804 if ac_fn_cxx_try_compile "$LINENO"; then :
39805 glibcxx_cv_func_fpclass_use=yes
39807 glibcxx_cv_func_fpclass_use=no
39809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39811 ac_cpp='$CPP $CPPFLAGS'
39812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
39821 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
39823 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
39824 for ac_func in fpclass
39826 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
39827 if test "x$ac_cv_func_fpclass" = x""yes; then :
39828 cat >>confdefs.h <<_ACEOF
39829 #define HAVE_FPCLASS 1
39837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
39838 $as_echo_n "checking for _fpclass declaration... " >&6; }
39839 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
39840 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
39841 $as_echo_n "(cached) " >&6
39846 ac_cpp='$CXXCPP $CPPFLAGS'
39847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39852 /* end confdefs.h. */
39854 #ifdef HAVE_IEEEFP_H
39855 #include <ieeefp.h>
39866 if ac_fn_cxx_try_compile "$LINENO"; then :
39867 glibcxx_cv_func__fpclass_use=yes
39869 glibcxx_cv_func__fpclass_use=no
39871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39873 ac_cpp='$CPP $CPPFLAGS'
39874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
39883 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
39885 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
39886 for ac_func in _fpclass
39888 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
39889 if test "x$ac_cv_func__fpclass" = x""yes; then :
39890 cat >>confdefs.h <<_ACEOF
39891 #define HAVE__FPCLASS 1
39904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
39905 $as_echo_n "checking for qfpclass declaration... " >&6; }
39906 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
39907 if test "${glibcxx_cv_func_qfpclass_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. */
39921 #ifdef HAVE_IEEEFP_H
39922 #include <ieeefp.h>
39933 if ac_fn_cxx_try_compile "$LINENO"; then :
39934 glibcxx_cv_func_qfpclass_use=yes
39936 glibcxx_cv_func_qfpclass_use=no
39938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39940 ac_cpp='$CPP $CPPFLAGS'
39941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39950 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39952 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39953 for ac_func in qfpclass
39955 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39956 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39957 cat >>confdefs.h <<_ACEOF
39958 #define HAVE_QFPCLASS 1
39966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39967 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39968 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39969 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39970 $as_echo_n "(cached) " >&6
39975 ac_cpp='$CXXCPP $CPPFLAGS'
39976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39981 /* end confdefs.h. */
39983 #ifdef HAVE_IEEEFP_H
39984 #include <ieeefp.h>
39995 if ac_fn_cxx_try_compile "$LINENO"; then :
39996 glibcxx_cv_func__qfpclass_use=yes
39998 glibcxx_cv_func__qfpclass_use=no
40000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40002 ac_cpp='$CPP $CPPFLAGS'
40003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
40012 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
40014 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
40015 for ac_func in _qfpclass
40017 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
40018 if test "x$ac_cv_func__qfpclass" = x""yes; then :
40019 cat >>confdefs.h <<_ACEOF
40020 #define HAVE__QFPCLASS 1
40033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
40034 $as_echo_n "checking for hypot declaration... " >&6; }
40035 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
40036 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
40037 $as_echo_n "(cached) " >&6
40042 ac_cpp='$CXXCPP $CPPFLAGS'
40043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40048 /* end confdefs.h. */
40058 if ac_fn_cxx_try_compile "$LINENO"; then :
40059 glibcxx_cv_func_hypot_use=yes
40061 glibcxx_cv_func_hypot_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_hypot_use" >&5
40075 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
40077 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
40078 for ac_func in hypot
40080 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
40081 if test "x$ac_cv_func_hypot" = x""yes; then :
40082 cat >>confdefs.h <<_ACEOF
40083 #define HAVE_HYPOT 1
40091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
40092 $as_echo_n "checking for _hypot declaration... " >&6; }
40093 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
40094 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
40095 $as_echo_n "(cached) " >&6
40100 ac_cpp='$CXXCPP $CPPFLAGS'
40101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40106 /* end confdefs.h. */
40116 if ac_fn_cxx_try_compile "$LINENO"; then :
40117 glibcxx_cv_func__hypot_use=yes
40119 glibcxx_cv_func__hypot_use=no
40121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40123 ac_cpp='$CPP $CPPFLAGS'
40124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
40133 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
40135 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
40136 for ac_func in _hypot
40138 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
40139 if test "x$ac_cv_func__hypot" = x""yes; then :
40140 cat >>confdefs.h <<_ACEOF
40141 #define HAVE__HYPOT 1
40154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
40155 $as_echo_n "checking for float trig functions... " >&6; }
40156 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
40157 $as_echo_n "(cached) " >&6
40162 ac_cpp='$CXXCPP $CPPFLAGS'
40163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40168 /* end confdefs.h. */
40173 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
40178 if ac_fn_cxx_try_compile "$LINENO"; then :
40179 glibcxx_cv_func_float_trig_use=yes
40181 glibcxx_cv_func_float_trig_use=no
40183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40185 ac_cpp='$CPP $CPPFLAGS'
40186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
40193 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
40194 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
40195 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
40197 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40198 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40199 eval as_val=\$$as_ac_var
40200 if test "x$as_val" = x""yes; then :
40201 cat >>confdefs.h <<_ACEOF
40202 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
40210 $as_echo_n "checking for _float trig functions... " >&6; }
40211 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
40212 $as_echo_n "(cached) " >&6
40217 ac_cpp='$CXXCPP $CPPFLAGS'
40218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40223 /* end confdefs.h. */
40228 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
40233 if ac_fn_cxx_try_compile "$LINENO"; then :
40234 glibcxx_cv_func__float_trig_use=yes
40236 glibcxx_cv_func__float_trig_use=no
40238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40240 ac_cpp='$CPP $CPPFLAGS'
40241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
40248 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
40249 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
40250 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
40252 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40253 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40254 eval as_val=\$$as_ac_var
40255 if test "x$as_val" = x""yes; then :
40256 cat >>confdefs.h <<_ACEOF
40257 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
40271 $as_echo_n "checking for float round functions... " >&6; }
40272 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
40273 $as_echo_n "(cached) " >&6
40278 ac_cpp='$CXXCPP $CPPFLAGS'
40279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40284 /* end confdefs.h. */
40289 ceilf (0); floorf (0);
40294 if ac_fn_cxx_try_compile "$LINENO"; then :
40295 glibcxx_cv_func_float_round_use=yes
40297 glibcxx_cv_func_float_round_use=no
40299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40301 ac_cpp='$CPP $CPPFLAGS'
40302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
40309 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
40310 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
40311 for ac_func in ceilf floorf
40313 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40314 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40315 eval as_val=\$$as_ac_var
40316 if test "x$as_val" = x""yes; then :
40317 cat >>confdefs.h <<_ACEOF
40318 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
40326 $as_echo_n "checking for _float round functions... " >&6; }
40327 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
40328 $as_echo_n "(cached) " >&6
40333 ac_cpp='$CXXCPP $CPPFLAGS'
40334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40339 /* end confdefs.h. */
40344 _ceilf (0); _floorf (0);
40349 if ac_fn_cxx_try_compile "$LINENO"; then :
40350 glibcxx_cv_func__float_round_use=yes
40352 glibcxx_cv_func__float_round_use=no
40354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40356 ac_cpp='$CPP $CPPFLAGS'
40357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
40364 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
40365 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
40366 for ac_func in _ceilf _floorf
40368 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40369 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40370 eval as_val=\$$as_ac_var
40371 if test "x$as_val" = x""yes; then :
40372 cat >>confdefs.h <<_ACEOF
40373 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
40388 $as_echo_n "checking for expf declaration... " >&6; }
40389 if test x${glibcxx_cv_func_expf_use+set} != xset; then
40390 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
40391 $as_echo_n "(cached) " >&6
40396 ac_cpp='$CXXCPP $CPPFLAGS'
40397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40402 /* end confdefs.h. */
40404 #ifdef HAVE_IEEEFP_H
40405 #include <ieeefp.h>
40416 if ac_fn_cxx_try_compile "$LINENO"; then :
40417 glibcxx_cv_func_expf_use=yes
40419 glibcxx_cv_func_expf_use=no
40421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40423 ac_cpp='$CPP $CPPFLAGS'
40424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
40433 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
40435 if test x$glibcxx_cv_func_expf_use = x"yes"; then
40436 for ac_func in expf
40438 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
40439 if test "x$ac_cv_func_expf" = x""yes; then :
40440 cat >>confdefs.h <<_ACEOF
40441 #define HAVE_EXPF 1
40449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
40450 $as_echo_n "checking for _expf declaration... " >&6; }
40451 if test x${glibcxx_cv_func__expf_use+set} != xset; then
40452 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
40453 $as_echo_n "(cached) " >&6
40458 ac_cpp='$CXXCPP $CPPFLAGS'
40459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40464 /* end confdefs.h. */
40466 #ifdef HAVE_IEEEFP_H
40467 #include <ieeefp.h>
40478 if ac_fn_cxx_try_compile "$LINENO"; then :
40479 glibcxx_cv_func__expf_use=yes
40481 glibcxx_cv_func__expf_use=no
40483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40485 ac_cpp='$CPP $CPPFLAGS'
40486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
40495 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
40497 if test x$glibcxx_cv_func__expf_use = x"yes"; then
40498 for ac_func in _expf
40500 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
40501 if test "x$ac_cv_func__expf" = x""yes; then :
40502 cat >>confdefs.h <<_ACEOF
40503 #define HAVE__EXPF 1
40516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
40517 $as_echo_n "checking for isnanf declaration... " >&6; }
40518 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
40519 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
40520 $as_echo_n "(cached) " >&6
40525 ac_cpp='$CXXCPP $CPPFLAGS'
40526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40531 /* end confdefs.h. */
40533 #ifdef HAVE_IEEEFP_H
40534 #include <ieeefp.h>
40545 if ac_fn_cxx_try_compile "$LINENO"; then :
40546 glibcxx_cv_func_isnanf_use=yes
40548 glibcxx_cv_func_isnanf_use=no
40550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40552 ac_cpp='$CPP $CPPFLAGS'
40553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
40562 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
40564 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
40565 for ac_func in isnanf
40567 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
40568 if test "x$ac_cv_func_isnanf" = x""yes; then :
40569 cat >>confdefs.h <<_ACEOF
40570 #define HAVE_ISNANF 1
40578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
40579 $as_echo_n "checking for _isnanf declaration... " >&6; }
40580 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
40581 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
40582 $as_echo_n "(cached) " >&6
40587 ac_cpp='$CXXCPP $CPPFLAGS'
40588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40593 /* end confdefs.h. */
40595 #ifdef HAVE_IEEEFP_H
40596 #include <ieeefp.h>
40607 if ac_fn_cxx_try_compile "$LINENO"; then :
40608 glibcxx_cv_func__isnanf_use=yes
40610 glibcxx_cv_func__isnanf_use=no
40612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40614 ac_cpp='$CPP $CPPFLAGS'
40615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
40624 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
40626 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
40627 for ac_func in _isnanf
40629 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
40630 if test "x$ac_cv_func__isnanf" = x""yes; then :
40631 cat >>confdefs.h <<_ACEOF
40632 #define HAVE__ISNANF 1
40645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
40646 $as_echo_n "checking for isinff declaration... " >&6; }
40647 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
40648 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
40649 $as_echo_n "(cached) " >&6
40654 ac_cpp='$CXXCPP $CPPFLAGS'
40655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40660 /* end confdefs.h. */
40662 #ifdef HAVE_IEEEFP_H
40663 #include <ieeefp.h>
40674 if ac_fn_cxx_try_compile "$LINENO"; then :
40675 glibcxx_cv_func_isinff_use=yes
40677 glibcxx_cv_func_isinff_use=no
40679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40681 ac_cpp='$CPP $CPPFLAGS'
40682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
40691 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
40693 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
40694 for ac_func in isinff
40696 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
40697 if test "x$ac_cv_func_isinff" = x""yes; then :
40698 cat >>confdefs.h <<_ACEOF
40699 #define HAVE_ISINFF 1
40707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
40708 $as_echo_n "checking for _isinff declaration... " >&6; }
40709 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
40710 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
40711 $as_echo_n "(cached) " >&6
40716 ac_cpp='$CXXCPP $CPPFLAGS'
40717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40722 /* end confdefs.h. */
40724 #ifdef HAVE_IEEEFP_H
40725 #include <ieeefp.h>
40736 if ac_fn_cxx_try_compile "$LINENO"; then :
40737 glibcxx_cv_func__isinff_use=yes
40739 glibcxx_cv_func__isinff_use=no
40741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40743 ac_cpp='$CPP $CPPFLAGS'
40744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
40753 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
40755 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
40756 for ac_func in _isinff
40758 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
40759 if test "x$ac_cv_func__isinff" = x""yes; then :
40760 cat >>confdefs.h <<_ACEOF
40761 #define HAVE__ISINFF 1
40774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
40775 $as_echo_n "checking for atan2f declaration... " >&6; }
40776 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
40777 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
40778 $as_echo_n "(cached) " >&6
40783 ac_cpp='$CXXCPP $CPPFLAGS'
40784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40789 /* end confdefs.h. */
40799 if ac_fn_cxx_try_compile "$LINENO"; then :
40800 glibcxx_cv_func_atan2f_use=yes
40802 glibcxx_cv_func_atan2f_use=no
40804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40806 ac_cpp='$CPP $CPPFLAGS'
40807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
40816 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
40818 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
40819 for ac_func in atan2f
40821 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
40822 if test "x$ac_cv_func_atan2f" = x""yes; then :
40823 cat >>confdefs.h <<_ACEOF
40824 #define HAVE_ATAN2F 1
40832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
40833 $as_echo_n "checking for _atan2f declaration... " >&6; }
40834 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
40835 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
40836 $as_echo_n "(cached) " >&6
40841 ac_cpp='$CXXCPP $CPPFLAGS'
40842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40847 /* end confdefs.h. */
40857 if ac_fn_cxx_try_compile "$LINENO"; then :
40858 glibcxx_cv_func__atan2f_use=yes
40860 glibcxx_cv_func__atan2f_use=no
40862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40864 ac_cpp='$CPP $CPPFLAGS'
40865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
40874 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
40876 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
40877 for ac_func in _atan2f
40879 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
40880 if test "x$ac_cv_func__atan2f" = x""yes; then :
40881 cat >>confdefs.h <<_ACEOF
40882 #define HAVE__ATAN2F 1
40895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
40896 $as_echo_n "checking for fabsf declaration... " >&6; }
40897 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
40898 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
40899 $as_echo_n "(cached) " >&6
40904 ac_cpp='$CXXCPP $CPPFLAGS'
40905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40910 /* end confdefs.h. */
40912 #ifdef HAVE_IEEEFP_H
40913 #include <ieeefp.h>
40924 if ac_fn_cxx_try_compile "$LINENO"; then :
40925 glibcxx_cv_func_fabsf_use=yes
40927 glibcxx_cv_func_fabsf_use=no
40929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40931 ac_cpp='$CPP $CPPFLAGS'
40932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40941 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40943 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40944 for ac_func in fabsf
40946 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40947 if test "x$ac_cv_func_fabsf" = x""yes; then :
40948 cat >>confdefs.h <<_ACEOF
40949 #define HAVE_FABSF 1
40957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40958 $as_echo_n "checking for _fabsf declaration... " >&6; }
40959 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40960 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40961 $as_echo_n "(cached) " >&6
40966 ac_cpp='$CXXCPP $CPPFLAGS'
40967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40972 /* end confdefs.h. */
40974 #ifdef HAVE_IEEEFP_H
40975 #include <ieeefp.h>
40986 if ac_fn_cxx_try_compile "$LINENO"; then :
40987 glibcxx_cv_func__fabsf_use=yes
40989 glibcxx_cv_func__fabsf_use=no
40991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40993 ac_cpp='$CPP $CPPFLAGS'
40994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
41003 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
41005 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
41006 for ac_func in _fabsf
41008 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
41009 if test "x$ac_cv_func__fabsf" = x""yes; then :
41010 cat >>confdefs.h <<_ACEOF
41011 #define HAVE__FABSF 1
41024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
41025 $as_echo_n "checking for fmodf declaration... " >&6; }
41026 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
41027 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
41028 $as_echo_n "(cached) " >&6
41033 ac_cpp='$CXXCPP $CPPFLAGS'
41034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41039 /* end confdefs.h. */
41049 if ac_fn_cxx_try_compile "$LINENO"; then :
41050 glibcxx_cv_func_fmodf_use=yes
41052 glibcxx_cv_func_fmodf_use=no
41054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41056 ac_cpp='$CPP $CPPFLAGS'
41057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
41066 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
41068 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
41069 for ac_func in fmodf
41071 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
41072 if test "x$ac_cv_func_fmodf" = x""yes; then :
41073 cat >>confdefs.h <<_ACEOF
41074 #define HAVE_FMODF 1
41082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
41083 $as_echo_n "checking for _fmodf declaration... " >&6; }
41084 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
41085 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
41086 $as_echo_n "(cached) " >&6
41091 ac_cpp='$CXXCPP $CPPFLAGS'
41092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41097 /* end confdefs.h. */
41107 if ac_fn_cxx_try_compile "$LINENO"; then :
41108 glibcxx_cv_func__fmodf_use=yes
41110 glibcxx_cv_func__fmodf_use=no
41112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41114 ac_cpp='$CPP $CPPFLAGS'
41115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
41124 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
41126 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
41127 for ac_func in _fmodf
41129 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
41130 if test "x$ac_cv_func__fmodf" = x""yes; then :
41131 cat >>confdefs.h <<_ACEOF
41132 #define HAVE__FMODF 1
41145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
41146 $as_echo_n "checking for frexpf declaration... " >&6; }
41147 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
41148 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
41149 $as_echo_n "(cached) " >&6
41154 ac_cpp='$CXXCPP $CPPFLAGS'
41155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41160 /* end confdefs.h. */
41170 if ac_fn_cxx_try_compile "$LINENO"; then :
41171 glibcxx_cv_func_frexpf_use=yes
41173 glibcxx_cv_func_frexpf_use=no
41175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41177 ac_cpp='$CPP $CPPFLAGS'
41178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
41187 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
41189 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
41190 for ac_func in frexpf
41192 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
41193 if test "x$ac_cv_func_frexpf" = x""yes; then :
41194 cat >>confdefs.h <<_ACEOF
41195 #define HAVE_FREXPF 1
41203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
41204 $as_echo_n "checking for _frexpf declaration... " >&6; }
41205 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
41206 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
41207 $as_echo_n "(cached) " >&6
41212 ac_cpp='$CXXCPP $CPPFLAGS'
41213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41218 /* end confdefs.h. */
41228 if ac_fn_cxx_try_compile "$LINENO"; then :
41229 glibcxx_cv_func__frexpf_use=yes
41231 glibcxx_cv_func__frexpf_use=no
41233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41235 ac_cpp='$CPP $CPPFLAGS'
41236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
41245 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
41247 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
41248 for ac_func in _frexpf
41250 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
41251 if test "x$ac_cv_func__frexpf" = x""yes; then :
41252 cat >>confdefs.h <<_ACEOF
41253 #define HAVE__FREXPF 1
41266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
41267 $as_echo_n "checking for hypotf declaration... " >&6; }
41268 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
41269 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
41270 $as_echo_n "(cached) " >&6
41275 ac_cpp='$CXXCPP $CPPFLAGS'
41276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41281 /* end confdefs.h. */
41291 if ac_fn_cxx_try_compile "$LINENO"; then :
41292 glibcxx_cv_func_hypotf_use=yes
41294 glibcxx_cv_func_hypotf_use=no
41296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41298 ac_cpp='$CPP $CPPFLAGS'
41299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
41308 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
41310 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
41311 for ac_func in hypotf
41313 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
41314 if test "x$ac_cv_func_hypotf" = x""yes; then :
41315 cat >>confdefs.h <<_ACEOF
41316 #define HAVE_HYPOTF 1
41324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
41325 $as_echo_n "checking for _hypotf declaration... " >&6; }
41326 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
41327 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
41328 $as_echo_n "(cached) " >&6
41333 ac_cpp='$CXXCPP $CPPFLAGS'
41334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41339 /* end confdefs.h. */
41349 if ac_fn_cxx_try_compile "$LINENO"; then :
41350 glibcxx_cv_func__hypotf_use=yes
41352 glibcxx_cv_func__hypotf_use=no
41354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41356 ac_cpp='$CPP $CPPFLAGS'
41357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
41366 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
41368 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
41369 for ac_func in _hypotf
41371 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
41372 if test "x$ac_cv_func__hypotf" = x""yes; then :
41373 cat >>confdefs.h <<_ACEOF
41374 #define HAVE__HYPOTF 1
41387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
41388 $as_echo_n "checking for ldexpf declaration... " >&6; }
41389 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
41390 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
41391 $as_echo_n "(cached) " >&6
41396 ac_cpp='$CXXCPP $CPPFLAGS'
41397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41402 /* end confdefs.h. */
41412 if ac_fn_cxx_try_compile "$LINENO"; then :
41413 glibcxx_cv_func_ldexpf_use=yes
41415 glibcxx_cv_func_ldexpf_use=no
41417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41419 ac_cpp='$CPP $CPPFLAGS'
41420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
41429 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
41431 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
41432 for ac_func in ldexpf
41434 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
41435 if test "x$ac_cv_func_ldexpf" = x""yes; then :
41436 cat >>confdefs.h <<_ACEOF
41437 #define HAVE_LDEXPF 1
41445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
41446 $as_echo_n "checking for _ldexpf declaration... " >&6; }
41447 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
41448 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
41449 $as_echo_n "(cached) " >&6
41454 ac_cpp='$CXXCPP $CPPFLAGS'
41455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41460 /* end confdefs.h. */
41470 if ac_fn_cxx_try_compile "$LINENO"; then :
41471 glibcxx_cv_func__ldexpf_use=yes
41473 glibcxx_cv_func__ldexpf_use=no
41475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41477 ac_cpp='$CPP $CPPFLAGS'
41478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
41487 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
41489 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
41490 for ac_func in _ldexpf
41492 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
41493 if test "x$ac_cv_func__ldexpf" = x""yes; then :
41494 cat >>confdefs.h <<_ACEOF
41495 #define HAVE__LDEXPF 1
41508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
41509 $as_echo_n "checking for logf declaration... " >&6; }
41510 if test x${glibcxx_cv_func_logf_use+set} != xset; then
41511 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
41512 $as_echo_n "(cached) " >&6
41517 ac_cpp='$CXXCPP $CPPFLAGS'
41518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41523 /* end confdefs.h. */
41525 #ifdef HAVE_IEEEFP_H
41526 #include <ieeefp.h>
41537 if ac_fn_cxx_try_compile "$LINENO"; then :
41538 glibcxx_cv_func_logf_use=yes
41540 glibcxx_cv_func_logf_use=no
41542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41544 ac_cpp='$CPP $CPPFLAGS'
41545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
41554 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
41556 if test x$glibcxx_cv_func_logf_use = x"yes"; then
41557 for ac_func in logf
41559 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
41560 if test "x$ac_cv_func_logf" = x""yes; then :
41561 cat >>confdefs.h <<_ACEOF
41562 #define HAVE_LOGF 1
41570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
41571 $as_echo_n "checking for _logf declaration... " >&6; }
41572 if test x${glibcxx_cv_func__logf_use+set} != xset; then
41573 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
41574 $as_echo_n "(cached) " >&6
41579 ac_cpp='$CXXCPP $CPPFLAGS'
41580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41585 /* end confdefs.h. */
41587 #ifdef HAVE_IEEEFP_H
41588 #include <ieeefp.h>
41599 if ac_fn_cxx_try_compile "$LINENO"; then :
41600 glibcxx_cv_func__logf_use=yes
41602 glibcxx_cv_func__logf_use=no
41604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41606 ac_cpp='$CPP $CPPFLAGS'
41607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
41616 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
41618 if test x$glibcxx_cv_func__logf_use = x"yes"; then
41619 for ac_func in _logf
41621 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
41622 if test "x$ac_cv_func__logf" = x""yes; then :
41623 cat >>confdefs.h <<_ACEOF
41624 #define HAVE__LOGF 1
41637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
41638 $as_echo_n "checking for log10f declaration... " >&6; }
41639 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
41640 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
41641 $as_echo_n "(cached) " >&6
41646 ac_cpp='$CXXCPP $CPPFLAGS'
41647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41652 /* end confdefs.h. */
41654 #ifdef HAVE_IEEEFP_H
41655 #include <ieeefp.h>
41666 if ac_fn_cxx_try_compile "$LINENO"; then :
41667 glibcxx_cv_func_log10f_use=yes
41669 glibcxx_cv_func_log10f_use=no
41671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41673 ac_cpp='$CPP $CPPFLAGS'
41674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
41683 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
41685 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
41686 for ac_func in log10f
41688 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
41689 if test "x$ac_cv_func_log10f" = x""yes; then :
41690 cat >>confdefs.h <<_ACEOF
41691 #define HAVE_LOG10F 1
41699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
41700 $as_echo_n "checking for _log10f declaration... " >&6; }
41701 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
41702 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
41703 $as_echo_n "(cached) " >&6
41708 ac_cpp='$CXXCPP $CPPFLAGS'
41709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41714 /* end confdefs.h. */
41716 #ifdef HAVE_IEEEFP_H
41717 #include <ieeefp.h>
41728 if ac_fn_cxx_try_compile "$LINENO"; then :
41729 glibcxx_cv_func__log10f_use=yes
41731 glibcxx_cv_func__log10f_use=no
41733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41735 ac_cpp='$CPP $CPPFLAGS'
41736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
41745 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
41747 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
41748 for ac_func in _log10f
41750 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
41751 if test "x$ac_cv_func__log10f" = x""yes; then :
41752 cat >>confdefs.h <<_ACEOF
41753 #define HAVE__LOG10F 1
41766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
41767 $as_echo_n "checking for modff declaration... " >&6; }
41768 if test x${glibcxx_cv_func_modff_use+set} != xset; then
41769 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
41770 $as_echo_n "(cached) " >&6
41775 ac_cpp='$CXXCPP $CPPFLAGS'
41776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41781 /* end confdefs.h. */
41791 if ac_fn_cxx_try_compile "$LINENO"; then :
41792 glibcxx_cv_func_modff_use=yes
41794 glibcxx_cv_func_modff_use=no
41796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41798 ac_cpp='$CPP $CPPFLAGS'
41799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
41808 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
41810 if test x$glibcxx_cv_func_modff_use = x"yes"; then
41811 for ac_func in modff
41813 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
41814 if test "x$ac_cv_func_modff" = x""yes; then :
41815 cat >>confdefs.h <<_ACEOF
41816 #define HAVE_MODFF 1
41824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
41825 $as_echo_n "checking for _modff declaration... " >&6; }
41826 if test x${glibcxx_cv_func__modff_use+set} != xset; then
41827 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
41828 $as_echo_n "(cached) " >&6
41833 ac_cpp='$CXXCPP $CPPFLAGS'
41834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41839 /* end confdefs.h. */
41849 if ac_fn_cxx_try_compile "$LINENO"; then :
41850 glibcxx_cv_func__modff_use=yes
41852 glibcxx_cv_func__modff_use=no
41854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41856 ac_cpp='$CPP $CPPFLAGS'
41857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
41866 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
41868 if test x$glibcxx_cv_func__modff_use = x"yes"; then
41869 for ac_func in _modff
41871 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
41872 if test "x$ac_cv_func__modff" = x""yes; then :
41873 cat >>confdefs.h <<_ACEOF
41874 #define HAVE__MODFF 1
41887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
41888 $as_echo_n "checking for modf declaration... " >&6; }
41889 if test x${glibcxx_cv_func_modf_use+set} != xset; then
41890 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
41891 $as_echo_n "(cached) " >&6
41896 ac_cpp='$CXXCPP $CPPFLAGS'
41897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41902 /* end confdefs.h. */
41912 if ac_fn_cxx_try_compile "$LINENO"; then :
41913 glibcxx_cv_func_modf_use=yes
41915 glibcxx_cv_func_modf_use=no
41917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41919 ac_cpp='$CPP $CPPFLAGS'
41920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
41929 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41931 if test x$glibcxx_cv_func_modf_use = x"yes"; then
41932 for ac_func in modf
41934 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41935 if test "x$ac_cv_func_modf" = x""yes; then :
41936 cat >>confdefs.h <<_ACEOF
41937 #define HAVE_MODF 1
41945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41946 $as_echo_n "checking for _modf declaration... " >&6; }
41947 if test x${glibcxx_cv_func__modf_use+set} != xset; then
41948 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41949 $as_echo_n "(cached) " >&6
41954 ac_cpp='$CXXCPP $CPPFLAGS'
41955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41960 /* end confdefs.h. */
41970 if ac_fn_cxx_try_compile "$LINENO"; then :
41971 glibcxx_cv_func__modf_use=yes
41973 glibcxx_cv_func__modf_use=no
41975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41977 ac_cpp='$CPP $CPPFLAGS'
41978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41987 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41989 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41990 for ac_func in _modf
41992 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41993 if test "x$ac_cv_func__modf" = x""yes; then :
41994 cat >>confdefs.h <<_ACEOF
41995 #define HAVE__MODF 1
42008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
42009 $as_echo_n "checking for powf declaration... " >&6; }
42010 if test x${glibcxx_cv_func_powf_use+set} != xset; then
42011 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
42012 $as_echo_n "(cached) " >&6
42017 ac_cpp='$CXXCPP $CPPFLAGS'
42018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42023 /* end confdefs.h. */
42033 if ac_fn_cxx_try_compile "$LINENO"; then :
42034 glibcxx_cv_func_powf_use=yes
42036 glibcxx_cv_func_powf_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_powf_use" >&5
42050 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
42052 if test x$glibcxx_cv_func_powf_use = x"yes"; then
42053 for ac_func in powf
42055 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
42056 if test "x$ac_cv_func_powf" = x""yes; then :
42057 cat >>confdefs.h <<_ACEOF
42058 #define HAVE_POWF 1
42066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
42067 $as_echo_n "checking for _powf declaration... " >&6; }
42068 if test x${glibcxx_cv_func__powf_use+set} != xset; then
42069 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
42070 $as_echo_n "(cached) " >&6
42075 ac_cpp='$CXXCPP $CPPFLAGS'
42076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42081 /* end confdefs.h. */
42091 if ac_fn_cxx_try_compile "$LINENO"; then :
42092 glibcxx_cv_func__powf_use=yes
42094 glibcxx_cv_func__powf_use=no
42096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42098 ac_cpp='$CPP $CPPFLAGS'
42099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
42108 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
42110 if test x$glibcxx_cv_func__powf_use = x"yes"; then
42111 for ac_func in _powf
42113 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
42114 if test "x$ac_cv_func__powf" = x""yes; then :
42115 cat >>confdefs.h <<_ACEOF
42116 #define HAVE__POWF 1
42129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
42130 $as_echo_n "checking for sqrtf declaration... " >&6; }
42131 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
42132 if test "${glibcxx_cv_func_sqrtf_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. */
42146 #ifdef HAVE_IEEEFP_H
42147 #include <ieeefp.h>
42158 if ac_fn_cxx_try_compile "$LINENO"; then :
42159 glibcxx_cv_func_sqrtf_use=yes
42161 glibcxx_cv_func_sqrtf_use=no
42163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42165 ac_cpp='$CPP $CPPFLAGS'
42166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
42175 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
42177 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
42178 for ac_func in sqrtf
42180 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
42181 if test "x$ac_cv_func_sqrtf" = x""yes; then :
42182 cat >>confdefs.h <<_ACEOF
42183 #define HAVE_SQRTF 1
42191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
42192 $as_echo_n "checking for _sqrtf declaration... " >&6; }
42193 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42194 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
42195 $as_echo_n "(cached) " >&6
42200 ac_cpp='$CXXCPP $CPPFLAGS'
42201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42206 /* end confdefs.h. */
42208 #ifdef HAVE_IEEEFP_H
42209 #include <ieeefp.h>
42220 if ac_fn_cxx_try_compile "$LINENO"; then :
42221 glibcxx_cv_func__sqrtf_use=yes
42223 glibcxx_cv_func__sqrtf_use=no
42225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42227 ac_cpp='$CPP $CPPFLAGS'
42228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
42237 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
42239 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42240 for ac_func in _sqrtf
42242 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
42243 if test "x$ac_cv_func__sqrtf" = x""yes; then :
42244 cat >>confdefs.h <<_ACEOF
42245 #define HAVE__SQRTF 1
42258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
42259 $as_echo_n "checking for sincosf declaration... " >&6; }
42260 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42261 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
42262 $as_echo_n "(cached) " >&6
42267 ac_cpp='$CXXCPP $CPPFLAGS'
42268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42273 /* end confdefs.h. */
42283 if ac_fn_cxx_try_compile "$LINENO"; then :
42284 glibcxx_cv_func_sincosf_use=yes
42286 glibcxx_cv_func_sincosf_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_sincosf_use" >&5
42300 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
42302 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42303 for ac_func in sincosf
42305 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
42306 if test "x$ac_cv_func_sincosf" = x""yes; then :
42307 cat >>confdefs.h <<_ACEOF
42308 #define HAVE_SINCOSF 1
42316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
42317 $as_echo_n "checking for _sincosf declaration... " >&6; }
42318 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42319 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
42320 $as_echo_n "(cached) " >&6
42325 ac_cpp='$CXXCPP $CPPFLAGS'
42326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42331 /* end confdefs.h. */
42341 if ac_fn_cxx_try_compile "$LINENO"; then :
42342 glibcxx_cv_func__sincosf_use=yes
42344 glibcxx_cv_func__sincosf_use=no
42346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42348 ac_cpp='$CPP $CPPFLAGS'
42349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
42358 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
42360 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42361 for ac_func in _sincosf
42363 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
42364 if test "x$ac_cv_func__sincosf" = x""yes; then :
42365 cat >>confdefs.h <<_ACEOF
42366 #define HAVE__SINCOSF 1
42379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
42380 $as_echo_n "checking for finitef declaration... " >&6; }
42381 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42382 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
42383 $as_echo_n "(cached) " >&6
42388 ac_cpp='$CXXCPP $CPPFLAGS'
42389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42394 /* end confdefs.h. */
42396 #ifdef HAVE_IEEEFP_H
42397 #include <ieeefp.h>
42408 if ac_fn_cxx_try_compile "$LINENO"; then :
42409 glibcxx_cv_func_finitef_use=yes
42411 glibcxx_cv_func_finitef_use=no
42413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42415 ac_cpp='$CPP $CPPFLAGS'
42416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
42425 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
42427 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42428 for ac_func in finitef
42430 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
42431 if test "x$ac_cv_func_finitef" = x""yes; then :
42432 cat >>confdefs.h <<_ACEOF
42433 #define HAVE_FINITEF 1
42441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
42442 $as_echo_n "checking for _finitef declaration... " >&6; }
42443 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42444 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
42445 $as_echo_n "(cached) " >&6
42450 ac_cpp='$CXXCPP $CPPFLAGS'
42451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42456 /* end confdefs.h. */
42458 #ifdef HAVE_IEEEFP_H
42459 #include <ieeefp.h>
42470 if ac_fn_cxx_try_compile "$LINENO"; then :
42471 glibcxx_cv_func__finitef_use=yes
42473 glibcxx_cv_func__finitef_use=no
42475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42477 ac_cpp='$CPP $CPPFLAGS'
42478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
42487 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
42489 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42490 for ac_func in _finitef
42492 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
42493 if test "x$ac_cv_func__finitef" = x""yes; then :
42494 cat >>confdefs.h <<_ACEOF
42495 #define HAVE__FINITEF 1
42508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
42509 $as_echo_n "checking for long double trig functions... " >&6; }
42510 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
42511 $as_echo_n "(cached) " >&6
42516 ac_cpp='$CXXCPP $CPPFLAGS'
42517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42522 /* end confdefs.h. */
42527 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
42532 if ac_fn_cxx_try_compile "$LINENO"; then :
42533 glibcxx_cv_func_long_double_trig_use=yes
42535 glibcxx_cv_func_long_double_trig_use=no
42537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42539 ac_cpp='$CPP $CPPFLAGS'
42540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
42547 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
42548 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
42549 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
42551 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42552 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42553 eval as_val=\$$as_ac_var
42554 if test "x$as_val" = x""yes; then :
42555 cat >>confdefs.h <<_ACEOF
42556 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
42564 $as_echo_n "checking for _long double trig functions... " >&6; }
42565 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
42566 $as_echo_n "(cached) " >&6
42571 ac_cpp='$CXXCPP $CPPFLAGS'
42572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42577 /* end confdefs.h. */
42582 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
42587 if ac_fn_cxx_try_compile "$LINENO"; then :
42588 glibcxx_cv_func__long_double_trig_use=yes
42590 glibcxx_cv_func__long_double_trig_use=no
42592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42594 ac_cpp='$CPP $CPPFLAGS'
42595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
42602 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
42603 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
42604 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
42606 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42607 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42608 eval as_val=\$$as_ac_var
42609 if test "x$as_val" = x""yes; then :
42610 cat >>confdefs.h <<_ACEOF
42611 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
42625 $as_echo_n "checking for long double round functions... " >&6; }
42626 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
42627 $as_echo_n "(cached) " >&6
42632 ac_cpp='$CXXCPP $CPPFLAGS'
42633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42638 /* end confdefs.h. */
42643 ceill (0); floorl (0);
42648 if ac_fn_cxx_try_compile "$LINENO"; then :
42649 glibcxx_cv_func_long_double_round_use=yes
42651 glibcxx_cv_func_long_double_round_use=no
42653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42655 ac_cpp='$CPP $CPPFLAGS'
42656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
42663 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
42664 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
42665 for ac_func in ceill floorl
42667 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42668 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42669 eval as_val=\$$as_ac_var
42670 if test "x$as_val" = x""yes; then :
42671 cat >>confdefs.h <<_ACEOF
42672 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
42680 $as_echo_n "checking for _long double round functions... " >&6; }
42681 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
42682 $as_echo_n "(cached) " >&6
42687 ac_cpp='$CXXCPP $CPPFLAGS'
42688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42693 /* end confdefs.h. */
42698 _ceill (0); _floorl (0);
42703 if ac_fn_cxx_try_compile "$LINENO"; then :
42704 glibcxx_cv_func__long_double_round_use=yes
42706 glibcxx_cv_func__long_double_round_use=no
42708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42710 ac_cpp='$CPP $CPPFLAGS'
42711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
42718 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
42719 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42720 for ac_func in _ceill _floorl
42722 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42723 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42724 eval as_val=\$$as_ac_var
42725 if test "x$as_val" = x""yes; then :
42726 cat >>confdefs.h <<_ACEOF
42727 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
42742 $as_echo_n "checking for isnanl declaration... " >&6; }
42743 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42744 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
42745 $as_echo_n "(cached) " >&6
42750 ac_cpp='$CXXCPP $CPPFLAGS'
42751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42756 /* end confdefs.h. */
42758 #ifdef HAVE_IEEEFP_H
42759 #include <ieeefp.h>
42770 if ac_fn_cxx_try_compile "$LINENO"; then :
42771 glibcxx_cv_func_isnanl_use=yes
42773 glibcxx_cv_func_isnanl_use=no
42775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42777 ac_cpp='$CPP $CPPFLAGS'
42778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
42787 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
42789 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42790 for ac_func in isnanl
42792 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
42793 if test "x$ac_cv_func_isnanl" = x""yes; then :
42794 cat >>confdefs.h <<_ACEOF
42795 #define HAVE_ISNANL 1
42803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
42804 $as_echo_n "checking for _isnanl declaration... " >&6; }
42805 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
42806 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
42807 $as_echo_n "(cached) " >&6
42812 ac_cpp='$CXXCPP $CPPFLAGS'
42813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42818 /* end confdefs.h. */
42820 #ifdef HAVE_IEEEFP_H
42821 #include <ieeefp.h>
42832 if ac_fn_cxx_try_compile "$LINENO"; then :
42833 glibcxx_cv_func__isnanl_use=yes
42835 glibcxx_cv_func__isnanl_use=no
42837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42839 ac_cpp='$CPP $CPPFLAGS'
42840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
42849 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
42851 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
42852 for ac_func in _isnanl
42854 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
42855 if test "x$ac_cv_func__isnanl" = x""yes; then :
42856 cat >>confdefs.h <<_ACEOF
42857 #define HAVE__ISNANL 1
42870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
42871 $as_echo_n "checking for isinfl declaration... " >&6; }
42872 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42873 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
42874 $as_echo_n "(cached) " >&6
42879 ac_cpp='$CXXCPP $CPPFLAGS'
42880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42885 /* end confdefs.h. */
42887 #ifdef HAVE_IEEEFP_H
42888 #include <ieeefp.h>
42899 if ac_fn_cxx_try_compile "$LINENO"; then :
42900 glibcxx_cv_func_isinfl_use=yes
42902 glibcxx_cv_func_isinfl_use=no
42904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42906 ac_cpp='$CPP $CPPFLAGS'
42907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
42916 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
42918 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42919 for ac_func in isinfl
42921 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
42922 if test "x$ac_cv_func_isinfl" = x""yes; then :
42923 cat >>confdefs.h <<_ACEOF
42924 #define HAVE_ISINFL 1
42932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42933 $as_echo_n "checking for _isinfl declaration... " >&6; }
42934 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42935 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42936 $as_echo_n "(cached) " >&6
42941 ac_cpp='$CXXCPP $CPPFLAGS'
42942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42947 /* end confdefs.h. */
42949 #ifdef HAVE_IEEEFP_H
42950 #include <ieeefp.h>
42961 if ac_fn_cxx_try_compile "$LINENO"; then :
42962 glibcxx_cv_func__isinfl_use=yes
42964 glibcxx_cv_func__isinfl_use=no
42966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42968 ac_cpp='$CPP $CPPFLAGS'
42969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42978 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42980 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42981 for ac_func in _isinfl
42983 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42984 if test "x$ac_cv_func__isinfl" = x""yes; then :
42985 cat >>confdefs.h <<_ACEOF
42986 #define HAVE__ISINFL 1
42999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
43000 $as_echo_n "checking for atan2l declaration... " >&6; }
43001 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43002 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
43003 $as_echo_n "(cached) " >&6
43008 ac_cpp='$CXXCPP $CPPFLAGS'
43009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43014 /* end confdefs.h. */
43024 if ac_fn_cxx_try_compile "$LINENO"; then :
43025 glibcxx_cv_func_atan2l_use=yes
43027 glibcxx_cv_func_atan2l_use=no
43029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43031 ac_cpp='$CPP $CPPFLAGS'
43032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
43041 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
43043 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43044 for ac_func in atan2l
43046 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
43047 if test "x$ac_cv_func_atan2l" = x""yes; then :
43048 cat >>confdefs.h <<_ACEOF
43049 #define HAVE_ATAN2L 1
43057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
43058 $as_echo_n "checking for _atan2l declaration... " >&6; }
43059 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43060 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
43061 $as_echo_n "(cached) " >&6
43066 ac_cpp='$CXXCPP $CPPFLAGS'
43067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43072 /* end confdefs.h. */
43082 if ac_fn_cxx_try_compile "$LINENO"; then :
43083 glibcxx_cv_func__atan2l_use=yes
43085 glibcxx_cv_func__atan2l_use=no
43087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43089 ac_cpp='$CPP $CPPFLAGS'
43090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
43099 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
43101 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43102 for ac_func in _atan2l
43104 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
43105 if test "x$ac_cv_func__atan2l" = x""yes; then :
43106 cat >>confdefs.h <<_ACEOF
43107 #define HAVE__ATAN2L 1
43120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
43121 $as_echo_n "checking for expl declaration... " >&6; }
43122 if test x${glibcxx_cv_func_expl_use+set} != xset; then
43123 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
43124 $as_echo_n "(cached) " >&6
43129 ac_cpp='$CXXCPP $CPPFLAGS'
43130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43135 /* end confdefs.h. */
43137 #ifdef HAVE_IEEEFP_H
43138 #include <ieeefp.h>
43149 if ac_fn_cxx_try_compile "$LINENO"; then :
43150 glibcxx_cv_func_expl_use=yes
43152 glibcxx_cv_func_expl_use=no
43154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43156 ac_cpp='$CPP $CPPFLAGS'
43157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
43166 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
43168 if test x$glibcxx_cv_func_expl_use = x"yes"; then
43169 for ac_func in expl
43171 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
43172 if test "x$ac_cv_func_expl" = x""yes; then :
43173 cat >>confdefs.h <<_ACEOF
43174 #define HAVE_EXPL 1
43182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
43183 $as_echo_n "checking for _expl declaration... " >&6; }
43184 if test x${glibcxx_cv_func__expl_use+set} != xset; then
43185 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
43186 $as_echo_n "(cached) " >&6
43191 ac_cpp='$CXXCPP $CPPFLAGS'
43192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43197 /* end confdefs.h. */
43199 #ifdef HAVE_IEEEFP_H
43200 #include <ieeefp.h>
43211 if ac_fn_cxx_try_compile "$LINENO"; then :
43212 glibcxx_cv_func__expl_use=yes
43214 glibcxx_cv_func__expl_use=no
43216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43218 ac_cpp='$CPP $CPPFLAGS'
43219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
43228 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
43230 if test x$glibcxx_cv_func__expl_use = x"yes"; then
43231 for ac_func in _expl
43233 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
43234 if test "x$ac_cv_func__expl" = x""yes; then :
43235 cat >>confdefs.h <<_ACEOF
43236 #define HAVE__EXPL 1
43249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
43250 $as_echo_n "checking for fabsl declaration... " >&6; }
43251 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43252 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
43253 $as_echo_n "(cached) " >&6
43258 ac_cpp='$CXXCPP $CPPFLAGS'
43259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43264 /* end confdefs.h. */
43266 #ifdef HAVE_IEEEFP_H
43267 #include <ieeefp.h>
43278 if ac_fn_cxx_try_compile "$LINENO"; then :
43279 glibcxx_cv_func_fabsl_use=yes
43281 glibcxx_cv_func_fabsl_use=no
43283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43285 ac_cpp='$CPP $CPPFLAGS'
43286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
43295 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
43297 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43298 for ac_func in fabsl
43300 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
43301 if test "x$ac_cv_func_fabsl" = x""yes; then :
43302 cat >>confdefs.h <<_ACEOF
43303 #define HAVE_FABSL 1
43311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
43312 $as_echo_n "checking for _fabsl declaration... " >&6; }
43313 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43314 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
43315 $as_echo_n "(cached) " >&6
43320 ac_cpp='$CXXCPP $CPPFLAGS'
43321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43326 /* end confdefs.h. */
43328 #ifdef HAVE_IEEEFP_H
43329 #include <ieeefp.h>
43340 if ac_fn_cxx_try_compile "$LINENO"; then :
43341 glibcxx_cv_func__fabsl_use=yes
43343 glibcxx_cv_func__fabsl_use=no
43345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43347 ac_cpp='$CPP $CPPFLAGS'
43348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
43357 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
43359 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43360 for ac_func in _fabsl
43362 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
43363 if test "x$ac_cv_func__fabsl" = x""yes; then :
43364 cat >>confdefs.h <<_ACEOF
43365 #define HAVE__FABSL 1
43378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
43379 $as_echo_n "checking for fmodl declaration... " >&6; }
43380 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43381 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
43382 $as_echo_n "(cached) " >&6
43387 ac_cpp='$CXXCPP $CPPFLAGS'
43388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43393 /* end confdefs.h. */
43403 if ac_fn_cxx_try_compile "$LINENO"; then :
43404 glibcxx_cv_func_fmodl_use=yes
43406 glibcxx_cv_func_fmodl_use=no
43408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43410 ac_cpp='$CPP $CPPFLAGS'
43411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
43420 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
43422 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43423 for ac_func in fmodl
43425 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
43426 if test "x$ac_cv_func_fmodl" = x""yes; then :
43427 cat >>confdefs.h <<_ACEOF
43428 #define HAVE_FMODL 1
43436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
43437 $as_echo_n "checking for _fmodl declaration... " >&6; }
43438 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43439 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
43440 $as_echo_n "(cached) " >&6
43445 ac_cpp='$CXXCPP $CPPFLAGS'
43446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43451 /* end confdefs.h. */
43461 if ac_fn_cxx_try_compile "$LINENO"; then :
43462 glibcxx_cv_func__fmodl_use=yes
43464 glibcxx_cv_func__fmodl_use=no
43466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43468 ac_cpp='$CPP $CPPFLAGS'
43469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
43478 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
43480 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43481 for ac_func in _fmodl
43483 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
43484 if test "x$ac_cv_func__fmodl" = x""yes; then :
43485 cat >>confdefs.h <<_ACEOF
43486 #define HAVE__FMODL 1
43499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
43500 $as_echo_n "checking for frexpl declaration... " >&6; }
43501 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43502 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
43503 $as_echo_n "(cached) " >&6
43508 ac_cpp='$CXXCPP $CPPFLAGS'
43509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43514 /* end confdefs.h. */
43524 if ac_fn_cxx_try_compile "$LINENO"; then :
43525 glibcxx_cv_func_frexpl_use=yes
43527 glibcxx_cv_func_frexpl_use=no
43529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43531 ac_cpp='$CPP $CPPFLAGS'
43532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
43541 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
43543 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43544 for ac_func in frexpl
43546 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
43547 if test "x$ac_cv_func_frexpl" = x""yes; then :
43548 cat >>confdefs.h <<_ACEOF
43549 #define HAVE_FREXPL 1
43557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
43558 $as_echo_n "checking for _frexpl declaration... " >&6; }
43559 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43560 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
43561 $as_echo_n "(cached) " >&6
43566 ac_cpp='$CXXCPP $CPPFLAGS'
43567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43572 /* end confdefs.h. */
43582 if ac_fn_cxx_try_compile "$LINENO"; then :
43583 glibcxx_cv_func__frexpl_use=yes
43585 glibcxx_cv_func__frexpl_use=no
43587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43589 ac_cpp='$CPP $CPPFLAGS'
43590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
43599 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
43601 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
43602 for ac_func in _frexpl
43604 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
43605 if test "x$ac_cv_func__frexpl" = x""yes; then :
43606 cat >>confdefs.h <<_ACEOF
43607 #define HAVE__FREXPL 1
43620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
43621 $as_echo_n "checking for hypotl declaration... " >&6; }
43622 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
43623 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
43624 $as_echo_n "(cached) " >&6
43629 ac_cpp='$CXXCPP $CPPFLAGS'
43630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43635 /* end confdefs.h. */
43645 if ac_fn_cxx_try_compile "$LINENO"; then :
43646 glibcxx_cv_func_hypotl_use=yes
43648 glibcxx_cv_func_hypotl_use=no
43650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43652 ac_cpp='$CPP $CPPFLAGS'
43653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
43662 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
43664 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
43665 for ac_func in hypotl
43667 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
43668 if test "x$ac_cv_func_hypotl" = x""yes; then :
43669 cat >>confdefs.h <<_ACEOF
43670 #define HAVE_HYPOTL 1
43678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
43679 $as_echo_n "checking for _hypotl declaration... " >&6; }
43680 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
43681 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
43682 $as_echo_n "(cached) " >&6
43687 ac_cpp='$CXXCPP $CPPFLAGS'
43688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43693 /* end confdefs.h. */
43703 if ac_fn_cxx_try_compile "$LINENO"; then :
43704 glibcxx_cv_func__hypotl_use=yes
43706 glibcxx_cv_func__hypotl_use=no
43708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43710 ac_cpp='$CPP $CPPFLAGS'
43711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
43720 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
43722 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
43723 for ac_func in _hypotl
43725 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
43726 if test "x$ac_cv_func__hypotl" = x""yes; then :
43727 cat >>confdefs.h <<_ACEOF
43728 #define HAVE__HYPOTL 1
43741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
43742 $as_echo_n "checking for ldexpl declaration... " >&6; }
43743 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
43744 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
43745 $as_echo_n "(cached) " >&6
43750 ac_cpp='$CXXCPP $CPPFLAGS'
43751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43756 /* end confdefs.h. */
43766 if ac_fn_cxx_try_compile "$LINENO"; then :
43767 glibcxx_cv_func_ldexpl_use=yes
43769 glibcxx_cv_func_ldexpl_use=no
43771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43773 ac_cpp='$CPP $CPPFLAGS'
43774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
43783 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
43785 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
43786 for ac_func in ldexpl
43788 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
43789 if test "x$ac_cv_func_ldexpl" = x""yes; then :
43790 cat >>confdefs.h <<_ACEOF
43791 #define HAVE_LDEXPL 1
43799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
43800 $as_echo_n "checking for _ldexpl declaration... " >&6; }
43801 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
43802 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
43803 $as_echo_n "(cached) " >&6
43808 ac_cpp='$CXXCPP $CPPFLAGS'
43809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43814 /* end confdefs.h. */
43824 if ac_fn_cxx_try_compile "$LINENO"; then :
43825 glibcxx_cv_func__ldexpl_use=yes
43827 glibcxx_cv_func__ldexpl_use=no
43829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43831 ac_cpp='$CPP $CPPFLAGS'
43832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
43841 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
43843 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
43844 for ac_func in _ldexpl
43846 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
43847 if test "x$ac_cv_func__ldexpl" = x""yes; then :
43848 cat >>confdefs.h <<_ACEOF
43849 #define HAVE__LDEXPL 1
43862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
43863 $as_echo_n "checking for logl declaration... " >&6; }
43864 if test x${glibcxx_cv_func_logl_use+set} != xset; then
43865 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
43866 $as_echo_n "(cached) " >&6
43871 ac_cpp='$CXXCPP $CPPFLAGS'
43872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43877 /* end confdefs.h. */
43879 #ifdef HAVE_IEEEFP_H
43880 #include <ieeefp.h>
43891 if ac_fn_cxx_try_compile "$LINENO"; then :
43892 glibcxx_cv_func_logl_use=yes
43894 glibcxx_cv_func_logl_use=no
43896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43898 ac_cpp='$CPP $CPPFLAGS'
43899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
43908 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
43910 if test x$glibcxx_cv_func_logl_use = x"yes"; then
43911 for ac_func in logl
43913 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
43914 if test "x$ac_cv_func_logl" = x""yes; then :
43915 cat >>confdefs.h <<_ACEOF
43916 #define HAVE_LOGL 1
43924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
43925 $as_echo_n "checking for _logl declaration... " >&6; }
43926 if test x${glibcxx_cv_func__logl_use+set} != xset; then
43927 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
43928 $as_echo_n "(cached) " >&6
43933 ac_cpp='$CXXCPP $CPPFLAGS'
43934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43939 /* end confdefs.h. */
43941 #ifdef HAVE_IEEEFP_H
43942 #include <ieeefp.h>
43953 if ac_fn_cxx_try_compile "$LINENO"; then :
43954 glibcxx_cv_func__logl_use=yes
43956 glibcxx_cv_func__logl_use=no
43958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43960 ac_cpp='$CPP $CPPFLAGS'
43961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43970 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43972 if test x$glibcxx_cv_func__logl_use = x"yes"; then
43973 for ac_func in _logl
43975 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43976 if test "x$ac_cv_func__logl" = x""yes; then :
43977 cat >>confdefs.h <<_ACEOF
43978 #define HAVE__LOGL 1
43991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43992 $as_echo_n "checking for log10l declaration... " >&6; }
43993 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43994 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43995 $as_echo_n "(cached) " >&6
44000 ac_cpp='$CXXCPP $CPPFLAGS'
44001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44006 /* end confdefs.h. */
44008 #ifdef HAVE_IEEEFP_H
44009 #include <ieeefp.h>
44020 if ac_fn_cxx_try_compile "$LINENO"; then :
44021 glibcxx_cv_func_log10l_use=yes
44023 glibcxx_cv_func_log10l_use=no
44025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44027 ac_cpp='$CPP $CPPFLAGS'
44028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
44037 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
44039 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
44040 for ac_func in log10l
44042 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
44043 if test "x$ac_cv_func_log10l" = x""yes; then :
44044 cat >>confdefs.h <<_ACEOF
44045 #define HAVE_LOG10L 1
44053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
44054 $as_echo_n "checking for _log10l declaration... " >&6; }
44055 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
44056 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
44057 $as_echo_n "(cached) " >&6
44062 ac_cpp='$CXXCPP $CPPFLAGS'
44063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44068 /* end confdefs.h. */
44070 #ifdef HAVE_IEEEFP_H
44071 #include <ieeefp.h>
44082 if ac_fn_cxx_try_compile "$LINENO"; then :
44083 glibcxx_cv_func__log10l_use=yes
44085 glibcxx_cv_func__log10l_use=no
44087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44089 ac_cpp='$CPP $CPPFLAGS'
44090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
44099 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
44101 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
44102 for ac_func in _log10l
44104 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
44105 if test "x$ac_cv_func__log10l" = x""yes; then :
44106 cat >>confdefs.h <<_ACEOF
44107 #define HAVE__LOG10L 1
44120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
44121 $as_echo_n "checking for modfl declaration... " >&6; }
44122 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
44123 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
44124 $as_echo_n "(cached) " >&6
44129 ac_cpp='$CXXCPP $CPPFLAGS'
44130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44135 /* end confdefs.h. */
44145 if ac_fn_cxx_try_compile "$LINENO"; then :
44146 glibcxx_cv_func_modfl_use=yes
44148 glibcxx_cv_func_modfl_use=no
44150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44152 ac_cpp='$CPP $CPPFLAGS'
44153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
44162 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
44164 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
44165 for ac_func in modfl
44167 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
44168 if test "x$ac_cv_func_modfl" = x""yes; then :
44169 cat >>confdefs.h <<_ACEOF
44170 #define HAVE_MODFL 1
44178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
44179 $as_echo_n "checking for _modfl declaration... " >&6; }
44180 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
44181 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
44182 $as_echo_n "(cached) " >&6
44187 ac_cpp='$CXXCPP $CPPFLAGS'
44188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44193 /* end confdefs.h. */
44203 if ac_fn_cxx_try_compile "$LINENO"; then :
44204 glibcxx_cv_func__modfl_use=yes
44206 glibcxx_cv_func__modfl_use=no
44208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44210 ac_cpp='$CPP $CPPFLAGS'
44211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
44220 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
44222 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
44223 for ac_func in _modfl
44225 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
44226 if test "x$ac_cv_func__modfl" = x""yes; then :
44227 cat >>confdefs.h <<_ACEOF
44228 #define HAVE__MODFL 1
44241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
44242 $as_echo_n "checking for powl declaration... " >&6; }
44243 if test x${glibcxx_cv_func_powl_use+set} != xset; then
44244 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
44245 $as_echo_n "(cached) " >&6
44250 ac_cpp='$CXXCPP $CPPFLAGS'
44251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44256 /* end confdefs.h. */
44266 if ac_fn_cxx_try_compile "$LINENO"; then :
44267 glibcxx_cv_func_powl_use=yes
44269 glibcxx_cv_func_powl_use=no
44271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44273 ac_cpp='$CPP $CPPFLAGS'
44274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
44283 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
44285 if test x$glibcxx_cv_func_powl_use = x"yes"; then
44286 for ac_func in powl
44288 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
44289 if test "x$ac_cv_func_powl" = x""yes; then :
44290 cat >>confdefs.h <<_ACEOF
44291 #define HAVE_POWL 1
44299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
44300 $as_echo_n "checking for _powl declaration... " >&6; }
44301 if test x${glibcxx_cv_func__powl_use+set} != xset; then
44302 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
44303 $as_echo_n "(cached) " >&6
44308 ac_cpp='$CXXCPP $CPPFLAGS'
44309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44314 /* end confdefs.h. */
44324 if ac_fn_cxx_try_compile "$LINENO"; then :
44325 glibcxx_cv_func__powl_use=yes
44327 glibcxx_cv_func__powl_use=no
44329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44331 ac_cpp='$CPP $CPPFLAGS'
44332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
44341 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
44343 if test x$glibcxx_cv_func__powl_use = x"yes"; then
44344 for ac_func in _powl
44346 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
44347 if test "x$ac_cv_func__powl" = x""yes; then :
44348 cat >>confdefs.h <<_ACEOF
44349 #define HAVE__POWL 1
44362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
44363 $as_echo_n "checking for sqrtl declaration... " >&6; }
44364 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
44365 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
44366 $as_echo_n "(cached) " >&6
44371 ac_cpp='$CXXCPP $CPPFLAGS'
44372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44377 /* end confdefs.h. */
44379 #ifdef HAVE_IEEEFP_H
44380 #include <ieeefp.h>
44391 if ac_fn_cxx_try_compile "$LINENO"; then :
44392 glibcxx_cv_func_sqrtl_use=yes
44394 glibcxx_cv_func_sqrtl_use=no
44396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44398 ac_cpp='$CPP $CPPFLAGS'
44399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
44408 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
44410 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
44411 for ac_func in sqrtl
44413 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
44414 if test "x$ac_cv_func_sqrtl" = x""yes; then :
44415 cat >>confdefs.h <<_ACEOF
44416 #define HAVE_SQRTL 1
44424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
44425 $as_echo_n "checking for _sqrtl declaration... " >&6; }
44426 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
44427 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
44428 $as_echo_n "(cached) " >&6
44433 ac_cpp='$CXXCPP $CPPFLAGS'
44434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44439 /* end confdefs.h. */
44441 #ifdef HAVE_IEEEFP_H
44442 #include <ieeefp.h>
44453 if ac_fn_cxx_try_compile "$LINENO"; then :
44454 glibcxx_cv_func__sqrtl_use=yes
44456 glibcxx_cv_func__sqrtl_use=no
44458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44460 ac_cpp='$CPP $CPPFLAGS'
44461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
44470 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
44472 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
44473 for ac_func in _sqrtl
44475 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
44476 if test "x$ac_cv_func__sqrtl" = x""yes; then :
44477 cat >>confdefs.h <<_ACEOF
44478 #define HAVE__SQRTL 1
44491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
44492 $as_echo_n "checking for sincosl declaration... " >&6; }
44493 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
44494 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
44495 $as_echo_n "(cached) " >&6
44500 ac_cpp='$CXXCPP $CPPFLAGS'
44501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44506 /* end confdefs.h. */
44516 if ac_fn_cxx_try_compile "$LINENO"; then :
44517 glibcxx_cv_func_sincosl_use=yes
44519 glibcxx_cv_func_sincosl_use=no
44521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44523 ac_cpp='$CPP $CPPFLAGS'
44524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
44533 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
44535 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
44536 for ac_func in sincosl
44538 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
44539 if test "x$ac_cv_func_sincosl" = x""yes; then :
44540 cat >>confdefs.h <<_ACEOF
44541 #define HAVE_SINCOSL 1
44549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
44550 $as_echo_n "checking for _sincosl declaration... " >&6; }
44551 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
44552 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
44553 $as_echo_n "(cached) " >&6
44558 ac_cpp='$CXXCPP $CPPFLAGS'
44559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44564 /* end confdefs.h. */
44574 if ac_fn_cxx_try_compile "$LINENO"; then :
44575 glibcxx_cv_func__sincosl_use=yes
44577 glibcxx_cv_func__sincosl_use=no
44579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44581 ac_cpp='$CPP $CPPFLAGS'
44582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
44591 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
44593 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
44594 for ac_func in _sincosl
44596 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
44597 if test "x$ac_cv_func__sincosl" = x""yes; then :
44598 cat >>confdefs.h <<_ACEOF
44599 #define HAVE__SINCOSL 1
44612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
44613 $as_echo_n "checking for finitel declaration... " >&6; }
44614 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
44615 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
44616 $as_echo_n "(cached) " >&6
44621 ac_cpp='$CXXCPP $CPPFLAGS'
44622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44627 /* end confdefs.h. */
44629 #ifdef HAVE_IEEEFP_H
44630 #include <ieeefp.h>
44641 if ac_fn_cxx_try_compile "$LINENO"; then :
44642 glibcxx_cv_func_finitel_use=yes
44644 glibcxx_cv_func_finitel_use=no
44646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44648 ac_cpp='$CPP $CPPFLAGS'
44649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
44658 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
44660 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
44661 for ac_func in finitel
44663 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
44664 if test "x$ac_cv_func_finitel" = x""yes; then :
44665 cat >>confdefs.h <<_ACEOF
44666 #define HAVE_FINITEL 1
44674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
44675 $as_echo_n "checking for _finitel declaration... " >&6; }
44676 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
44677 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
44678 $as_echo_n "(cached) " >&6
44683 ac_cpp='$CXXCPP $CPPFLAGS'
44684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44689 /* end confdefs.h. */
44691 #ifdef HAVE_IEEEFP_H
44692 #include <ieeefp.h>
44703 if ac_fn_cxx_try_compile "$LINENO"; then :
44704 glibcxx_cv_func__finitel_use=yes
44706 glibcxx_cv_func__finitel_use=no
44708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44710 ac_cpp='$CPP $CPPFLAGS'
44711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
44720 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
44722 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
44723 for ac_func in _finitel
44725 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
44726 if test "x$ac_cv_func__finitel" = x""yes; then :
44727 cat >>confdefs.h <<_ACEOF
44728 #define HAVE__FINITEL 1
44740 LIBS="$ac_save_LIBS"
44741 CXXFLAGS="$ac_save_CXXFLAGS"
44744 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44745 ac_save_CXXFLAGS="$CXXFLAGS"
44746 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
44750 $as_echo_n "checking for strtold declaration... " >&6; }
44751 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
44752 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
44753 $as_echo_n "(cached) " >&6
44758 ac_cpp='$CXXCPP $CPPFLAGS'
44759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44764 /* end confdefs.h. */
44765 #include <stdlib.h>
44774 if ac_fn_cxx_try_compile "$LINENO"; then :
44775 glibcxx_cv_func_strtold_use=yes
44777 glibcxx_cv_func_strtold_use=no
44779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44781 ac_cpp='$CPP $CPPFLAGS'
44782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
44791 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
44792 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
44793 for ac_func in strtold
44795 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
44796 if test "x$ac_cv_func_strtold" = x""yes; then :
44797 cat >>confdefs.h <<_ACEOF
44798 #define HAVE_STRTOLD 1
44809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
44810 $as_echo_n "checking for strtof declaration... " >&6; }
44811 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
44812 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
44813 $as_echo_n "(cached) " >&6
44818 ac_cpp='$CXXCPP $CPPFLAGS'
44819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44824 /* end confdefs.h. */
44825 #include <stdlib.h>
44834 if ac_fn_cxx_try_compile "$LINENO"; then :
44835 glibcxx_cv_func_strtof_use=yes
44837 glibcxx_cv_func_strtof_use=no
44839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44841 ac_cpp='$CPP $CPPFLAGS'
44842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
44851 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
44852 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
44853 for ac_func in strtof
44855 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
44856 if test "x$ac_cv_func_strtof" = x""yes; then :
44857 cat >>confdefs.h <<_ACEOF
44858 #define HAVE_STRTOF 1
44869 CXXFLAGS="$ac_save_CXXFLAGS"
44874 # GLIBCXX_CHECK_MATH_SUPPORT
44875 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44877 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44879 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44881 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
44883 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44888 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44891 # If we're not using GNU ld, then there's no point in even trying these
44892 # tests. Check for that first. We should have already tested for gld
44893 # by now (in libtool), but require it now just to be safe...
44894 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44895 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44899 # The name set by libtool depends on the version of libtool. Shame on us
44900 # for depending on an impl detail, but c'est la vie. Older versions used
44901 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44902 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44903 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44904 # set (hence we're using an older libtool), then set it.
44905 if test x${with_gnu_ld+set} != xset; then
44906 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44907 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44910 with_gnu_ld=$ac_cv_prog_gnu_ld
44914 # Start by getting the version number. I think the libtool test already
44915 # does some of this, but throws away the result.
44916 glibcxx_ld_is_gold=no
44917 if test x"$with_gnu_ld" = x"yes"; then
44918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44919 $as_echo_n "checking for ld version... " >&6; }
44921 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44922 glibcxx_ld_is_gold=yes
44924 ldver=`$LD --version 2>/dev/null |
44925 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'`
44927 glibcxx_gnu_ld_version=`echo $ldver | \
44928 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44930 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44933 # Set --gc-sections.
44934 glibcxx_have_gc_sections=no
44935 if test "$glibcxx_ld_is_gold" = "yes"; then
44936 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44937 glibcxx_have_gc_sections=yes
44940 glibcxx_gcsections_min_ld=21602
44941 if test x"$with_gnu_ld" = x"yes" &&
44942 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44943 glibcxx_have_gc_sections=yes
44946 if test "$glibcxx_have_gc_sections" = "yes"; then
44947 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44948 # NB: This flag only works reliably after 2.16.1. Configure tests
44949 # for this are difficult, so hard wire a value that should work.
44951 ac_test_CFLAGS="${CFLAGS+set}"
44952 ac_save_CFLAGS="$CFLAGS"
44953 CFLAGS='-Wl,--gc-sections'
44955 # Check for -Wl,--gc-sections
44956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44957 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44958 if test x$gcc_no_link = xyes; then
44959 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44962 /* end confdefs.h. */
44963 int one(void) { return 1; }
44964 int two(void) { return 2; }
44974 if ac_fn_c_try_link "$LINENO"; then :
44979 rm -f core conftest.err conftest.$ac_objext \
44980 conftest$ac_exeext conftest.$ac_ext
44981 if test "$ac_gcsections" = "yes"; then
44984 if $CC -c conftest.c; then
44985 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44986 grep "Warning: gc-sections option ignored" > /dev/null; then
44990 rm -f conftest.c conftest.o conftest
44992 if test "$ac_gcsections" = "yes"; then
44993 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44996 $as_echo "$ac_gcsections" >&6; }
44998 if test "$ac_test_CFLAGS" = set; then
44999 CFLAGS="$ac_save_CFLAGS"
45001 # this is the suspicious part
45007 # Note this is only for shared objects.
45009 if test x"$with_gnu_ld" = x"yes"; then
45010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45011 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45012 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45013 if test -n "$cxx_z_relo"; then
45014 OPT_LDFLAGS="-Wl,-z,relro"
45017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45018 $as_echo "$ac_ld_relro" >&6; }
45021 # Set linker optimization flags.
45022 if test x"$with_gnu_ld" = x"yes"; then
45023 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45029 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
45031 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45033 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45035 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45037 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45039 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
45041 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45043 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45045 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45048 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45050 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45052 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45054 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45056 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
45058 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45060 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45062 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45064 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45066 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
45068 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45070 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45072 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
45074 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45076 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45078 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
45080 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45082 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45084 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45086 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45088 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45090 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45092 if test x"long_double_math_on_this_cpu" = x"yes"; then
45093 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
45095 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
45097 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
45102 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45105 # If we're not using GNU ld, then there's no point in even trying these
45106 # tests. Check for that first. We should have already tested for gld
45107 # by now (in libtool), but require it now just to be safe...
45108 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45109 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45113 # The name set by libtool depends on the version of libtool. Shame on us
45114 # for depending on an impl detail, but c'est la vie. Older versions used
45115 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45116 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45117 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45118 # set (hence we're using an older libtool), then set it.
45119 if test x${with_gnu_ld+set} != xset; then
45120 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45121 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45124 with_gnu_ld=$ac_cv_prog_gnu_ld
45128 # Start by getting the version number. I think the libtool test already
45129 # does some of this, but throws away the result.
45130 glibcxx_ld_is_gold=no
45131 if test x"$with_gnu_ld" = x"yes"; then
45132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45133 $as_echo_n "checking for ld version... " >&6; }
45135 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45136 glibcxx_ld_is_gold=yes
45138 ldver=`$LD --version 2>/dev/null |
45139 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'`
45141 glibcxx_gnu_ld_version=`echo $ldver | \
45142 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45144 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45147 # Set --gc-sections.
45148 glibcxx_have_gc_sections=no
45149 if test "$glibcxx_ld_is_gold" = "yes"; then
45150 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45151 glibcxx_have_gc_sections=yes
45154 glibcxx_gcsections_min_ld=21602
45155 if test x"$with_gnu_ld" = x"yes" &&
45156 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45157 glibcxx_have_gc_sections=yes
45160 if test "$glibcxx_have_gc_sections" = "yes"; then
45161 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45162 # NB: This flag only works reliably after 2.16.1. Configure tests
45163 # for this are difficult, so hard wire a value that should work.
45165 ac_test_CFLAGS="${CFLAGS+set}"
45166 ac_save_CFLAGS="$CFLAGS"
45167 CFLAGS='-Wl,--gc-sections'
45169 # Check for -Wl,--gc-sections
45170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45171 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45172 if test x$gcc_no_link = xyes; then
45173 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45176 /* end confdefs.h. */
45177 int one(void) { return 1; }
45178 int two(void) { return 2; }
45188 if ac_fn_c_try_link "$LINENO"; then :
45193 rm -f core conftest.err conftest.$ac_objext \
45194 conftest$ac_exeext conftest.$ac_ext
45195 if test "$ac_gcsections" = "yes"; then
45198 if $CC -c conftest.c; then
45199 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45200 grep "Warning: gc-sections option ignored" > /dev/null; then
45204 rm -f conftest.c conftest.o conftest
45206 if test "$ac_gcsections" = "yes"; then
45207 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45210 $as_echo "$ac_gcsections" >&6; }
45212 if test "$ac_test_CFLAGS" = set; then
45213 CFLAGS="$ac_save_CFLAGS"
45215 # this is the suspicious part
45221 # Note this is only for shared objects.
45223 if test x"$with_gnu_ld" = x"yes"; then
45224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45225 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45226 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45227 if test -n "$cxx_z_relo"; then
45228 OPT_LDFLAGS="-Wl,-z,relro"
45231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45232 $as_echo "$ac_ld_relro" >&6; }
45235 # Set linker optimization flags.
45236 if test x"$with_gnu_ld" = x"yes"; then
45237 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45244 # GLIBCXX_CHECK_MATH_SUPPORT
45245 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45247 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45249 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45251 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45253 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45255 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45257 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45259 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45261 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45263 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45265 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45267 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45269 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45271 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45273 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45275 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45277 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45279 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45281 $as_echo "#define HAVE_MODF 1" >>confdefs.h
45283 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45285 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45288 # GLIBCXX_CHECK_STDLIB_SUPPORT
45289 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
45294 # Check whether --enable-tls was given.
45295 if test "${enable_tls+set}" = set; then :
45296 enableval=$enable_tls;
45297 case "$enableval" in
45299 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
45307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
45308 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
45309 if test "${gcc_cv_have_tls+set}" = set; then :
45310 $as_echo_n "(cached) " >&6
45313 if test "$cross_compiling" = yes; then :
45314 if test x$gcc_no_link = xyes; then
45315 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45318 /* end confdefs.h. */
45319 __thread int a; int b; int main() { return a = b; }
45321 if ac_fn_c_try_link "$LINENO"; then :
45322 chktls_save_LDFLAGS="$LDFLAGS"
45325 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
45328 chktls_save_CFLAGS="$CFLAGS"
45329 CFLAGS="-fPIC $CFLAGS"
45330 if test x$gcc_no_link = xyes; then
45331 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45334 /* end confdefs.h. */
45335 int f() { return 0; }
45337 if ac_fn_c_try_link "$LINENO"; then :
45338 if test x$gcc_no_link = xyes; then
45339 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45342 /* end confdefs.h. */
45343 __thread int a; int b; int f() { return a = b; }
45345 if ac_fn_c_try_link "$LINENO"; then :
45346 gcc_cv_have_tls=yes
45350 rm -f core conftest.err conftest.$ac_objext \
45351 conftest$ac_exeext conftest.$ac_ext
45353 gcc_cv_have_tls=yes
45355 rm -f core conftest.err conftest.$ac_objext \
45356 conftest$ac_exeext conftest.$ac_ext
45357 CFLAGS="$chktls_save_CFLAGS"
45358 LDFLAGS="$chktls_save_LDFLAGS"
45362 rm -f core conftest.err conftest.$ac_objext \
45363 conftest$ac_exeext conftest.$ac_ext
45367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45368 /* end confdefs.h. */
45369 __thread int a; int b; int main() { return a = b; }
45371 if ac_fn_c_try_run "$LINENO"; then :
45372 chktls_save_LDFLAGS="$LDFLAGS"
45373 LDFLAGS="-static $LDFLAGS"
45374 if test x$gcc_no_link = xyes; then
45375 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45378 /* end confdefs.h. */
45379 int main() { return 0; }
45381 if ac_fn_c_try_link "$LINENO"; then :
45382 if test "$cross_compiling" = yes; then :
45383 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45384 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45385 as_fn_error "cannot run test program while cross compiling
45386 See \`config.log' for more details." "$LINENO" 5; }
45388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45389 /* end confdefs.h. */
45390 __thread int a; int b; int main() { return a = b; }
45392 if ac_fn_c_try_run "$LINENO"; then :
45393 gcc_cv_have_tls=yes
45397 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45398 conftest.$ac_objext conftest.beam conftest.$ac_ext
45402 gcc_cv_have_tls=yes
45404 rm -f core conftest.err conftest.$ac_objext \
45405 conftest$ac_exeext conftest.$ac_ext
45406 LDFLAGS="$chktls_save_LDFLAGS"
45407 if test $gcc_cv_have_tls = yes; then
45408 chktls_save_CFLAGS="$CFLAGS"
45409 thread_CFLAGS=failed
45410 for flag in '' '-pthread' '-lpthread'; do
45411 CFLAGS="$flag $chktls_save_CFLAGS"
45412 if test x$gcc_no_link = xyes; then
45413 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45416 /* end confdefs.h. */
45417 #include <pthread.h>
45418 void *g(void *d) { return NULL; }
45422 pthread_t t; pthread_create(&t,NULL,g,NULL);
45427 if ac_fn_c_try_link "$LINENO"; then :
45428 thread_CFLAGS="$flag"
45430 rm -f core conftest.err conftest.$ac_objext \
45431 conftest$ac_exeext conftest.$ac_ext
45432 if test "X$thread_CFLAGS" != Xfailed; then
45436 CFLAGS="$chktls_save_CFLAGS"
45437 if test "X$thread_CFLAGS" != Xfailed; then
45438 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
45439 if test "$cross_compiling" = yes; then :
45440 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45441 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45442 as_fn_error "cannot run test program while cross compiling
45443 See \`config.log' for more details." "$LINENO" 5; }
45445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45446 /* end confdefs.h. */
45447 #include <pthread.h>
45449 static int *volatile a_in_other_thread;
45451 thread_func (void *arg)
45453 a_in_other_thread = &a;
45460 void *thread_retval;
45461 int *volatile a_in_main_thread;
45462 a_in_main_thread = &a;
45463 if (pthread_create (&thread, (pthread_attr_t *)0,
45464 thread_func, (void *)0))
45466 if (pthread_join (thread, &thread_retval))
45468 return (a_in_other_thread == a_in_main_thread);
45473 if ac_fn_c_try_run "$LINENO"; then :
45474 gcc_cv_have_tls=yes
45478 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45479 conftest.$ac_objext conftest.beam conftest.$ac_ext
45482 CFLAGS="$chktls_save_CFLAGS"
45488 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45489 conftest.$ac_objext conftest.beam conftest.$ac_ext
45493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
45494 $as_echo "$gcc_cv_have_tls" >&6; }
45495 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
45497 $as_echo "#define HAVE_TLS 1" >>confdefs.h
45502 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45504 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
45506 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45508 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45510 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45515 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
45517 # All these tests are for C++; save the language and the compiler flags.
45518 # The CXXFLAGS thing is suspicious, but based on similar bits previously
45519 # found in GLIBCXX_CONFIGURE.
45522 ac_cpp='$CXXCPP $CPPFLAGS'
45523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45527 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45528 ac_save_CXXFLAGS="$CXXFLAGS"
45530 # Check for maintainer-mode bits.
45531 if test x"$USE_MAINTAINER_MODE" = xno; then
45537 # Check for -ffunction-sections -fdata-sections
45538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
45539 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
45540 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
45541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45542 /* end confdefs.h. */
45543 int foo; void bar() { };
45552 if ac_fn_cxx_try_compile "$LINENO"; then :
45557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45558 if test "$ac_test_CXXFLAGS" = set; then
45559 CXXFLAGS="$ac_save_CXXFLAGS"
45561 # this is the suspicious part
45564 if test x"$ac_fdsections" = x"yes"; then
45565 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
45568 $as_echo "$ac_fdsections" >&6; }
45571 ac_cpp='$CPP $CPPFLAGS'
45572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45580 # If we're not using GNU ld, then there's no point in even trying these
45581 # tests. Check for that first. We should have already tested for gld
45582 # by now (in libtool), but require it now just to be safe...
45583 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45584 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45588 # The name set by libtool depends on the version of libtool. Shame on us
45589 # for depending on an impl detail, but c'est la vie. Older versions used
45590 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45591 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45592 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45593 # set (hence we're using an older libtool), then set it.
45594 if test x${with_gnu_ld+set} != xset; then
45595 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45596 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45599 with_gnu_ld=$ac_cv_prog_gnu_ld
45603 # Start by getting the version number. I think the libtool test already
45604 # does some of this, but throws away the result.
45605 glibcxx_ld_is_gold=no
45606 if test x"$with_gnu_ld" = x"yes"; then
45607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45608 $as_echo_n "checking for ld version... " >&6; }
45610 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45611 glibcxx_ld_is_gold=yes
45613 ldver=`$LD --version 2>/dev/null |
45614 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'`
45616 glibcxx_gnu_ld_version=`echo $ldver | \
45617 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45619 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45622 # Set --gc-sections.
45623 glibcxx_have_gc_sections=no
45624 if test "$glibcxx_ld_is_gold" = "yes"; then
45625 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45626 glibcxx_have_gc_sections=yes
45629 glibcxx_gcsections_min_ld=21602
45630 if test x"$with_gnu_ld" = x"yes" &&
45631 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45632 glibcxx_have_gc_sections=yes
45635 if test "$glibcxx_have_gc_sections" = "yes"; then
45636 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45637 # NB: This flag only works reliably after 2.16.1. Configure tests
45638 # for this are difficult, so hard wire a value that should work.
45640 ac_test_CFLAGS="${CFLAGS+set}"
45641 ac_save_CFLAGS="$CFLAGS"
45642 CFLAGS='-Wl,--gc-sections'
45644 # Check for -Wl,--gc-sections
45645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45646 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45647 if test x$gcc_no_link = xyes; then
45648 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45651 /* end confdefs.h. */
45652 int one(void) { return 1; }
45653 int two(void) { return 2; }
45663 if ac_fn_c_try_link "$LINENO"; then :
45668 rm -f core conftest.err conftest.$ac_objext \
45669 conftest$ac_exeext conftest.$ac_ext
45670 if test "$ac_gcsections" = "yes"; then
45673 if $CC -c conftest.c; then
45674 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45675 grep "Warning: gc-sections option ignored" > /dev/null; then
45679 rm -f conftest.c conftest.o conftest
45681 if test "$ac_gcsections" = "yes"; then
45682 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45685 $as_echo "$ac_gcsections" >&6; }
45687 if test "$ac_test_CFLAGS" = set; then
45688 CFLAGS="$ac_save_CFLAGS"
45690 # this is the suspicious part
45696 # Note this is only for shared objects.
45698 if test x"$with_gnu_ld" = x"yes"; then
45699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45700 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45701 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45702 if test -n "$cxx_z_relo"; then
45703 OPT_LDFLAGS="-Wl,-z,relro"
45706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45707 $as_echo "$ac_ld_relro" >&6; }
45710 # Set linker optimization flags.
45711 if test x"$with_gnu_ld" = x"yes"; then
45712 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45719 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45720 ac_save_CXXFLAGS="$CXXFLAGS"
45721 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
45724 $as_echo_n "checking for sin in -lm... " >&6; }
45725 if test "${ac_cv_lib_m_sin+set}" = set; then :
45726 $as_echo_n "(cached) " >&6
45728 ac_check_lib_save_LIBS=$LIBS
45730 if test x$gcc_no_link = xyes; then
45731 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45734 /* end confdefs.h. */
45736 /* Override any GCC internal prototype to avoid an error.
45737 Use char because int might match the return type of a GCC
45738 builtin and then its argument prototype would still apply. */
45751 if ac_fn_c_try_link "$LINENO"; then :
45752 ac_cv_lib_m_sin=yes
45756 rm -f core conftest.err conftest.$ac_objext \
45757 conftest$ac_exeext conftest.$ac_ext
45758 LIBS=$ac_check_lib_save_LIBS
45760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
45761 $as_echo "$ac_cv_lib_m_sin" >&6; }
45762 if test "x$ac_cv_lib_m_sin" = x""yes; then :
45766 ac_save_LIBS="$LIBS"
45771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
45772 $as_echo_n "checking for isinf declaration... " >&6; }
45773 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
45774 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
45775 $as_echo_n "(cached) " >&6
45780 ac_cpp='$CXXCPP $CPPFLAGS'
45781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45786 /* end confdefs.h. */
45788 #ifdef HAVE_IEEEFP_H
45789 #include <ieeefp.h>
45800 if ac_fn_cxx_try_compile "$LINENO"; then :
45801 glibcxx_cv_func_isinf_use=yes
45803 glibcxx_cv_func_isinf_use=no
45805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45807 ac_cpp='$CPP $CPPFLAGS'
45808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
45817 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
45819 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
45820 for ac_func in isinf
45822 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
45823 if test "x$ac_cv_func_isinf" = x""yes; then :
45824 cat >>confdefs.h <<_ACEOF
45825 #define HAVE_ISINF 1
45833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
45834 $as_echo_n "checking for _isinf declaration... " >&6; }
45835 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
45836 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
45837 $as_echo_n "(cached) " >&6
45842 ac_cpp='$CXXCPP $CPPFLAGS'
45843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45848 /* end confdefs.h. */
45850 #ifdef HAVE_IEEEFP_H
45851 #include <ieeefp.h>
45862 if ac_fn_cxx_try_compile "$LINENO"; then :
45863 glibcxx_cv_func__isinf_use=yes
45865 glibcxx_cv_func__isinf_use=no
45867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45869 ac_cpp='$CPP $CPPFLAGS'
45870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
45879 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
45881 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
45882 for ac_func in _isinf
45884 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
45885 if test "x$ac_cv_func__isinf" = x""yes; then :
45886 cat >>confdefs.h <<_ACEOF
45887 #define HAVE__ISINF 1
45900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
45901 $as_echo_n "checking for isnan declaration... " >&6; }
45902 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
45903 if test "${glibcxx_cv_func_isnan_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. */
45917 #ifdef HAVE_IEEEFP_H
45918 #include <ieeefp.h>
45929 if ac_fn_cxx_try_compile "$LINENO"; then :
45930 glibcxx_cv_func_isnan_use=yes
45932 glibcxx_cv_func_isnan_use=no
45934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45936 ac_cpp='$CPP $CPPFLAGS'
45937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45946 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45948 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45949 for ac_func in isnan
45951 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45952 if test "x$ac_cv_func_isnan" = x""yes; then :
45953 cat >>confdefs.h <<_ACEOF
45954 #define HAVE_ISNAN 1
45962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45963 $as_echo_n "checking for _isnan declaration... " >&6; }
45964 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45965 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45966 $as_echo_n "(cached) " >&6
45971 ac_cpp='$CXXCPP $CPPFLAGS'
45972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45977 /* end confdefs.h. */
45979 #ifdef HAVE_IEEEFP_H
45980 #include <ieeefp.h>
45991 if ac_fn_cxx_try_compile "$LINENO"; then :
45992 glibcxx_cv_func__isnan_use=yes
45994 glibcxx_cv_func__isnan_use=no
45996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45998 ac_cpp='$CPP $CPPFLAGS'
45999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
46008 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
46010 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
46011 for ac_func in _isnan
46013 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
46014 if test "x$ac_cv_func__isnan" = x""yes; then :
46015 cat >>confdefs.h <<_ACEOF
46016 #define HAVE__ISNAN 1
46029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46030 $as_echo_n "checking for finite declaration... " >&6; }
46031 if test x${glibcxx_cv_func_finite_use+set} != xset; then
46032 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
46033 $as_echo_n "(cached) " >&6
46038 ac_cpp='$CXXCPP $CPPFLAGS'
46039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46044 /* end confdefs.h. */
46046 #ifdef HAVE_IEEEFP_H
46047 #include <ieeefp.h>
46058 if ac_fn_cxx_try_compile "$LINENO"; then :
46059 glibcxx_cv_func_finite_use=yes
46061 glibcxx_cv_func_finite_use=no
46063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46065 ac_cpp='$CPP $CPPFLAGS'
46066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46075 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46077 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46078 for ac_func in finite
46080 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46081 if test "x$ac_cv_func_finite" = x""yes; then :
46082 cat >>confdefs.h <<_ACEOF
46083 #define HAVE_FINITE 1
46091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46092 $as_echo_n "checking for _finite declaration... " >&6; }
46093 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46094 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46095 $as_echo_n "(cached) " >&6
46100 ac_cpp='$CXXCPP $CPPFLAGS'
46101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46106 /* end confdefs.h. */
46108 #ifdef HAVE_IEEEFP_H
46109 #include <ieeefp.h>
46120 if ac_fn_cxx_try_compile "$LINENO"; then :
46121 glibcxx_cv_func__finite_use=yes
46123 glibcxx_cv_func__finite_use=no
46125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46127 ac_cpp='$CPP $CPPFLAGS'
46128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46137 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46139 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46140 for ac_func in _finite
46142 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46143 if test "x$ac_cv_func__finite" = x""yes; then :
46144 cat >>confdefs.h <<_ACEOF
46145 #define HAVE__FINITE 1
46158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46159 $as_echo_n "checking for sincos declaration... " >&6; }
46160 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46161 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46162 $as_echo_n "(cached) " >&6
46167 ac_cpp='$CXXCPP $CPPFLAGS'
46168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46173 /* end confdefs.h. */
46183 if ac_fn_cxx_try_compile "$LINENO"; then :
46184 glibcxx_cv_func_sincos_use=yes
46186 glibcxx_cv_func_sincos_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_sincos_use" >&5
46200 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46202 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46203 for ac_func in sincos
46205 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46206 if test "x$ac_cv_func_sincos" = x""yes; then :
46207 cat >>confdefs.h <<_ACEOF
46208 #define HAVE_SINCOS 1
46216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46217 $as_echo_n "checking for _sincos declaration... " >&6; }
46218 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46219 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46220 $as_echo_n "(cached) " >&6
46225 ac_cpp='$CXXCPP $CPPFLAGS'
46226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46231 /* end confdefs.h. */
46241 if ac_fn_cxx_try_compile "$LINENO"; then :
46242 glibcxx_cv_func__sincos_use=yes
46244 glibcxx_cv_func__sincos_use=no
46246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46248 ac_cpp='$CPP $CPPFLAGS'
46249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46258 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46260 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46261 for ac_func in _sincos
46263 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46264 if test "x$ac_cv_func__sincos" = x""yes; then :
46265 cat >>confdefs.h <<_ACEOF
46266 #define HAVE__SINCOS 1
46279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46280 $as_echo_n "checking for fpclass declaration... " >&6; }
46281 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46282 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46283 $as_echo_n "(cached) " >&6
46288 ac_cpp='$CXXCPP $CPPFLAGS'
46289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46294 /* end confdefs.h. */
46296 #ifdef HAVE_IEEEFP_H
46297 #include <ieeefp.h>
46308 if ac_fn_cxx_try_compile "$LINENO"; then :
46309 glibcxx_cv_func_fpclass_use=yes
46311 glibcxx_cv_func_fpclass_use=no
46313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46315 ac_cpp='$CPP $CPPFLAGS'
46316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46325 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46327 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46328 for ac_func in fpclass
46330 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46331 if test "x$ac_cv_func_fpclass" = x""yes; then :
46332 cat >>confdefs.h <<_ACEOF
46333 #define HAVE_FPCLASS 1
46341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46342 $as_echo_n "checking for _fpclass declaration... " >&6; }
46343 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46344 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46345 $as_echo_n "(cached) " >&6
46350 ac_cpp='$CXXCPP $CPPFLAGS'
46351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46356 /* end confdefs.h. */
46358 #ifdef HAVE_IEEEFP_H
46359 #include <ieeefp.h>
46370 if ac_fn_cxx_try_compile "$LINENO"; then :
46371 glibcxx_cv_func__fpclass_use=yes
46373 glibcxx_cv_func__fpclass_use=no
46375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46377 ac_cpp='$CPP $CPPFLAGS'
46378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46387 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46389 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46390 for ac_func in _fpclass
46392 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46393 if test "x$ac_cv_func__fpclass" = x""yes; then :
46394 cat >>confdefs.h <<_ACEOF
46395 #define HAVE__FPCLASS 1
46408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46409 $as_echo_n "checking for qfpclass declaration... " >&6; }
46410 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46411 if test "${glibcxx_cv_func_qfpclass_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. */
46425 #ifdef HAVE_IEEEFP_H
46426 #include <ieeefp.h>
46437 if ac_fn_cxx_try_compile "$LINENO"; then :
46438 glibcxx_cv_func_qfpclass_use=yes
46440 glibcxx_cv_func_qfpclass_use=no
46442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46444 ac_cpp='$CPP $CPPFLAGS'
46445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46454 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46456 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46457 for ac_func in qfpclass
46459 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46460 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46461 cat >>confdefs.h <<_ACEOF
46462 #define HAVE_QFPCLASS 1
46470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46471 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46472 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46473 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46474 $as_echo_n "(cached) " >&6
46479 ac_cpp='$CXXCPP $CPPFLAGS'
46480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46485 /* end confdefs.h. */
46487 #ifdef HAVE_IEEEFP_H
46488 #include <ieeefp.h>
46499 if ac_fn_cxx_try_compile "$LINENO"; then :
46500 glibcxx_cv_func__qfpclass_use=yes
46502 glibcxx_cv_func__qfpclass_use=no
46504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46506 ac_cpp='$CPP $CPPFLAGS'
46507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
46516 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46518 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46519 for ac_func in _qfpclass
46521 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46522 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46523 cat >>confdefs.h <<_ACEOF
46524 #define HAVE__QFPCLASS 1
46537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46538 $as_echo_n "checking for hypot declaration... " >&6; }
46539 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46540 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46541 $as_echo_n "(cached) " >&6
46546 ac_cpp='$CXXCPP $CPPFLAGS'
46547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46552 /* end confdefs.h. */
46562 if ac_fn_cxx_try_compile "$LINENO"; then :
46563 glibcxx_cv_func_hypot_use=yes
46565 glibcxx_cv_func_hypot_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_hypot_use" >&5
46579 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46581 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46582 for ac_func in hypot
46584 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
46585 if test "x$ac_cv_func_hypot" = x""yes; then :
46586 cat >>confdefs.h <<_ACEOF
46587 #define HAVE_HYPOT 1
46595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
46596 $as_echo_n "checking for _hypot declaration... " >&6; }
46597 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46598 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
46599 $as_echo_n "(cached) " >&6
46604 ac_cpp='$CXXCPP $CPPFLAGS'
46605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46610 /* end confdefs.h. */
46620 if ac_fn_cxx_try_compile "$LINENO"; then :
46621 glibcxx_cv_func__hypot_use=yes
46623 glibcxx_cv_func__hypot_use=no
46625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46627 ac_cpp='$CPP $CPPFLAGS'
46628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
46637 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
46639 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46640 for ac_func in _hypot
46642 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
46643 if test "x$ac_cv_func__hypot" = x""yes; then :
46644 cat >>confdefs.h <<_ACEOF
46645 #define HAVE__HYPOT 1
46658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
46659 $as_echo_n "checking for float trig functions... " >&6; }
46660 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
46661 $as_echo_n "(cached) " >&6
46666 ac_cpp='$CXXCPP $CPPFLAGS'
46667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46672 /* end confdefs.h. */
46677 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46682 if ac_fn_cxx_try_compile "$LINENO"; then :
46683 glibcxx_cv_func_float_trig_use=yes
46685 glibcxx_cv_func_float_trig_use=no
46687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46689 ac_cpp='$CPP $CPPFLAGS'
46690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
46697 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
46698 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46699 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46701 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46702 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46703 eval as_val=\$$as_ac_var
46704 if test "x$as_val" = x""yes; then :
46705 cat >>confdefs.h <<_ACEOF
46706 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
46714 $as_echo_n "checking for _float trig functions... " >&6; }
46715 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
46716 $as_echo_n "(cached) " >&6
46721 ac_cpp='$CXXCPP $CPPFLAGS'
46722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46727 /* end confdefs.h. */
46732 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46737 if ac_fn_cxx_try_compile "$LINENO"; then :
46738 glibcxx_cv_func__float_trig_use=yes
46740 glibcxx_cv_func__float_trig_use=no
46742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46744 ac_cpp='$CPP $CPPFLAGS'
46745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
46752 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
46753 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46754 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46756 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46757 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46758 eval as_val=\$$as_ac_var
46759 if test "x$as_val" = x""yes; then :
46760 cat >>confdefs.h <<_ACEOF
46761 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
46775 $as_echo_n "checking for float round functions... " >&6; }
46776 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
46777 $as_echo_n "(cached) " >&6
46782 ac_cpp='$CXXCPP $CPPFLAGS'
46783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46788 /* end confdefs.h. */
46793 ceilf (0); floorf (0);
46798 if ac_fn_cxx_try_compile "$LINENO"; then :
46799 glibcxx_cv_func_float_round_use=yes
46801 glibcxx_cv_func_float_round_use=no
46803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46805 ac_cpp='$CPP $CPPFLAGS'
46806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
46813 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
46814 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46815 for ac_func in ceilf floorf
46817 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46818 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46819 eval as_val=\$$as_ac_var
46820 if test "x$as_val" = x""yes; then :
46821 cat >>confdefs.h <<_ACEOF
46822 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
46830 $as_echo_n "checking for _float round functions... " >&6; }
46831 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
46832 $as_echo_n "(cached) " >&6
46837 ac_cpp='$CXXCPP $CPPFLAGS'
46838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46843 /* end confdefs.h. */
46848 _ceilf (0); _floorf (0);
46853 if ac_fn_cxx_try_compile "$LINENO"; then :
46854 glibcxx_cv_func__float_round_use=yes
46856 glibcxx_cv_func__float_round_use=no
46858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46860 ac_cpp='$CPP $CPPFLAGS'
46861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
46868 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
46869 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46870 for ac_func in _ceilf _floorf
46872 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46873 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46874 eval as_val=\$$as_ac_var
46875 if test "x$as_val" = x""yes; then :
46876 cat >>confdefs.h <<_ACEOF
46877 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
46892 $as_echo_n "checking for expf declaration... " >&6; }
46893 if test x${glibcxx_cv_func_expf_use+set} != xset; then
46894 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
46895 $as_echo_n "(cached) " >&6
46900 ac_cpp='$CXXCPP $CPPFLAGS'
46901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46906 /* end confdefs.h. */
46908 #ifdef HAVE_IEEEFP_H
46909 #include <ieeefp.h>
46920 if ac_fn_cxx_try_compile "$LINENO"; then :
46921 glibcxx_cv_func_expf_use=yes
46923 glibcxx_cv_func_expf_use=no
46925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46927 ac_cpp='$CPP $CPPFLAGS'
46928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46937 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46939 if test x$glibcxx_cv_func_expf_use = x"yes"; then
46940 for ac_func in expf
46942 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46943 if test "x$ac_cv_func_expf" = x""yes; then :
46944 cat >>confdefs.h <<_ACEOF
46945 #define HAVE_EXPF 1
46953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46954 $as_echo_n "checking for _expf declaration... " >&6; }
46955 if test x${glibcxx_cv_func__expf_use+set} != xset; then
46956 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46957 $as_echo_n "(cached) " >&6
46962 ac_cpp='$CXXCPP $CPPFLAGS'
46963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46968 /* end confdefs.h. */
46970 #ifdef HAVE_IEEEFP_H
46971 #include <ieeefp.h>
46982 if ac_fn_cxx_try_compile "$LINENO"; then :
46983 glibcxx_cv_func__expf_use=yes
46985 glibcxx_cv_func__expf_use=no
46987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46989 ac_cpp='$CPP $CPPFLAGS'
46990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46999 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
47001 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47002 for ac_func in _expf
47004 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
47005 if test "x$ac_cv_func__expf" = x""yes; then :
47006 cat >>confdefs.h <<_ACEOF
47007 #define HAVE__EXPF 1
47020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
47021 $as_echo_n "checking for isnanf declaration... " >&6; }
47022 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47023 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
47024 $as_echo_n "(cached) " >&6
47029 ac_cpp='$CXXCPP $CPPFLAGS'
47030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47035 /* end confdefs.h. */
47037 #ifdef HAVE_IEEEFP_H
47038 #include <ieeefp.h>
47049 if ac_fn_cxx_try_compile "$LINENO"; then :
47050 glibcxx_cv_func_isnanf_use=yes
47052 glibcxx_cv_func_isnanf_use=no
47054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47056 ac_cpp='$CPP $CPPFLAGS'
47057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47066 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47068 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47069 for ac_func in isnanf
47071 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47072 if test "x$ac_cv_func_isnanf" = x""yes; then :
47073 cat >>confdefs.h <<_ACEOF
47074 #define HAVE_ISNANF 1
47082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47083 $as_echo_n "checking for _isnanf declaration... " >&6; }
47084 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47085 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47086 $as_echo_n "(cached) " >&6
47091 ac_cpp='$CXXCPP $CPPFLAGS'
47092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47097 /* end confdefs.h. */
47099 #ifdef HAVE_IEEEFP_H
47100 #include <ieeefp.h>
47111 if ac_fn_cxx_try_compile "$LINENO"; then :
47112 glibcxx_cv_func__isnanf_use=yes
47114 glibcxx_cv_func__isnanf_use=no
47116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47118 ac_cpp='$CPP $CPPFLAGS'
47119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47128 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47130 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47131 for ac_func in _isnanf
47133 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47134 if test "x$ac_cv_func__isnanf" = x""yes; then :
47135 cat >>confdefs.h <<_ACEOF
47136 #define HAVE__ISNANF 1
47149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47150 $as_echo_n "checking for isinff declaration... " >&6; }
47151 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47152 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47153 $as_echo_n "(cached) " >&6
47158 ac_cpp='$CXXCPP $CPPFLAGS'
47159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47164 /* end confdefs.h. */
47166 #ifdef HAVE_IEEEFP_H
47167 #include <ieeefp.h>
47178 if ac_fn_cxx_try_compile "$LINENO"; then :
47179 glibcxx_cv_func_isinff_use=yes
47181 glibcxx_cv_func_isinff_use=no
47183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47185 ac_cpp='$CPP $CPPFLAGS'
47186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47195 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47197 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47198 for ac_func in isinff
47200 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47201 if test "x$ac_cv_func_isinff" = x""yes; then :
47202 cat >>confdefs.h <<_ACEOF
47203 #define HAVE_ISINFF 1
47211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47212 $as_echo_n "checking for _isinff declaration... " >&6; }
47213 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47214 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47215 $as_echo_n "(cached) " >&6
47220 ac_cpp='$CXXCPP $CPPFLAGS'
47221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47226 /* end confdefs.h. */
47228 #ifdef HAVE_IEEEFP_H
47229 #include <ieeefp.h>
47240 if ac_fn_cxx_try_compile "$LINENO"; then :
47241 glibcxx_cv_func__isinff_use=yes
47243 glibcxx_cv_func__isinff_use=no
47245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47247 ac_cpp='$CPP $CPPFLAGS'
47248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47257 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47259 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47260 for ac_func in _isinff
47262 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47263 if test "x$ac_cv_func__isinff" = x""yes; then :
47264 cat >>confdefs.h <<_ACEOF
47265 #define HAVE__ISINFF 1
47278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47279 $as_echo_n "checking for atan2f declaration... " >&6; }
47280 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47281 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47282 $as_echo_n "(cached) " >&6
47287 ac_cpp='$CXXCPP $CPPFLAGS'
47288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47293 /* end confdefs.h. */
47303 if ac_fn_cxx_try_compile "$LINENO"; then :
47304 glibcxx_cv_func_atan2f_use=yes
47306 glibcxx_cv_func_atan2f_use=no
47308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47310 ac_cpp='$CPP $CPPFLAGS'
47311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47320 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47322 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47323 for ac_func in atan2f
47325 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47326 if test "x$ac_cv_func_atan2f" = x""yes; then :
47327 cat >>confdefs.h <<_ACEOF
47328 #define HAVE_ATAN2F 1
47336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47337 $as_echo_n "checking for _atan2f declaration... " >&6; }
47338 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47339 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47340 $as_echo_n "(cached) " >&6
47345 ac_cpp='$CXXCPP $CPPFLAGS'
47346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47351 /* end confdefs.h. */
47361 if ac_fn_cxx_try_compile "$LINENO"; then :
47362 glibcxx_cv_func__atan2f_use=yes
47364 glibcxx_cv_func__atan2f_use=no
47366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47368 ac_cpp='$CPP $CPPFLAGS'
47369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47378 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47380 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47381 for ac_func in _atan2f
47383 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47384 if test "x$ac_cv_func__atan2f" = x""yes; then :
47385 cat >>confdefs.h <<_ACEOF
47386 #define HAVE__ATAN2F 1
47399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47400 $as_echo_n "checking for fabsf declaration... " >&6; }
47401 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47402 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47403 $as_echo_n "(cached) " >&6
47408 ac_cpp='$CXXCPP $CPPFLAGS'
47409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47414 /* end confdefs.h. */
47416 #ifdef HAVE_IEEEFP_H
47417 #include <ieeefp.h>
47428 if ac_fn_cxx_try_compile "$LINENO"; then :
47429 glibcxx_cv_func_fabsf_use=yes
47431 glibcxx_cv_func_fabsf_use=no
47433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47435 ac_cpp='$CPP $CPPFLAGS'
47436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47445 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47447 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47448 for ac_func in fabsf
47450 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47451 if test "x$ac_cv_func_fabsf" = x""yes; then :
47452 cat >>confdefs.h <<_ACEOF
47453 #define HAVE_FABSF 1
47461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47462 $as_echo_n "checking for _fabsf declaration... " >&6; }
47463 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47464 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47465 $as_echo_n "(cached) " >&6
47470 ac_cpp='$CXXCPP $CPPFLAGS'
47471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47476 /* end confdefs.h. */
47478 #ifdef HAVE_IEEEFP_H
47479 #include <ieeefp.h>
47490 if ac_fn_cxx_try_compile "$LINENO"; then :
47491 glibcxx_cv_func__fabsf_use=yes
47493 glibcxx_cv_func__fabsf_use=no
47495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47497 ac_cpp='$CPP $CPPFLAGS'
47498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
47507 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47509 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47510 for ac_func in _fabsf
47512 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47513 if test "x$ac_cv_func__fabsf" = x""yes; then :
47514 cat >>confdefs.h <<_ACEOF
47515 #define HAVE__FABSF 1
47528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47529 $as_echo_n "checking for fmodf declaration... " >&6; }
47530 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47531 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
47532 $as_echo_n "(cached) " >&6
47537 ac_cpp='$CXXCPP $CPPFLAGS'
47538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47543 /* end confdefs.h. */
47553 if ac_fn_cxx_try_compile "$LINENO"; then :
47554 glibcxx_cv_func_fmodf_use=yes
47556 glibcxx_cv_func_fmodf_use=no
47558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47560 ac_cpp='$CPP $CPPFLAGS'
47561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47570 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47572 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47573 for ac_func in fmodf
47575 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
47576 if test "x$ac_cv_func_fmodf" = x""yes; then :
47577 cat >>confdefs.h <<_ACEOF
47578 #define HAVE_FMODF 1
47586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
47587 $as_echo_n "checking for _fmodf declaration... " >&6; }
47588 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47589 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
47590 $as_echo_n "(cached) " >&6
47595 ac_cpp='$CXXCPP $CPPFLAGS'
47596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47601 /* end confdefs.h. */
47611 if ac_fn_cxx_try_compile "$LINENO"; then :
47612 glibcxx_cv_func__fmodf_use=yes
47614 glibcxx_cv_func__fmodf_use=no
47616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47618 ac_cpp='$CPP $CPPFLAGS'
47619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
47628 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
47630 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47631 for ac_func in _fmodf
47633 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
47634 if test "x$ac_cv_func__fmodf" = x""yes; then :
47635 cat >>confdefs.h <<_ACEOF
47636 #define HAVE__FMODF 1
47649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
47650 $as_echo_n "checking for frexpf declaration... " >&6; }
47651 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
47652 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
47653 $as_echo_n "(cached) " >&6
47658 ac_cpp='$CXXCPP $CPPFLAGS'
47659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47664 /* end confdefs.h. */
47674 if ac_fn_cxx_try_compile "$LINENO"; then :
47675 glibcxx_cv_func_frexpf_use=yes
47677 glibcxx_cv_func_frexpf_use=no
47679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47681 ac_cpp='$CPP $CPPFLAGS'
47682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
47691 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
47693 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
47694 for ac_func in frexpf
47696 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
47697 if test "x$ac_cv_func_frexpf" = x""yes; then :
47698 cat >>confdefs.h <<_ACEOF
47699 #define HAVE_FREXPF 1
47707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
47708 $as_echo_n "checking for _frexpf declaration... " >&6; }
47709 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
47710 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
47711 $as_echo_n "(cached) " >&6
47716 ac_cpp='$CXXCPP $CPPFLAGS'
47717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47722 /* end confdefs.h. */
47732 if ac_fn_cxx_try_compile "$LINENO"; then :
47733 glibcxx_cv_func__frexpf_use=yes
47735 glibcxx_cv_func__frexpf_use=no
47737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47739 ac_cpp='$CPP $CPPFLAGS'
47740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
47749 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
47751 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
47752 for ac_func in _frexpf
47754 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
47755 if test "x$ac_cv_func__frexpf" = x""yes; then :
47756 cat >>confdefs.h <<_ACEOF
47757 #define HAVE__FREXPF 1
47770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
47771 $as_echo_n "checking for hypotf declaration... " >&6; }
47772 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
47773 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
47774 $as_echo_n "(cached) " >&6
47779 ac_cpp='$CXXCPP $CPPFLAGS'
47780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47785 /* end confdefs.h. */
47795 if ac_fn_cxx_try_compile "$LINENO"; then :
47796 glibcxx_cv_func_hypotf_use=yes
47798 glibcxx_cv_func_hypotf_use=no
47800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47802 ac_cpp='$CPP $CPPFLAGS'
47803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
47812 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
47814 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
47815 for ac_func in hypotf
47817 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
47818 if test "x$ac_cv_func_hypotf" = x""yes; then :
47819 cat >>confdefs.h <<_ACEOF
47820 #define HAVE_HYPOTF 1
47828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
47829 $as_echo_n "checking for _hypotf declaration... " >&6; }
47830 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
47831 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
47832 $as_echo_n "(cached) " >&6
47837 ac_cpp='$CXXCPP $CPPFLAGS'
47838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47843 /* end confdefs.h. */
47853 if ac_fn_cxx_try_compile "$LINENO"; then :
47854 glibcxx_cv_func__hypotf_use=yes
47856 glibcxx_cv_func__hypotf_use=no
47858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47860 ac_cpp='$CPP $CPPFLAGS'
47861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
47870 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
47872 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
47873 for ac_func in _hypotf
47875 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
47876 if test "x$ac_cv_func__hypotf" = x""yes; then :
47877 cat >>confdefs.h <<_ACEOF
47878 #define HAVE__HYPOTF 1
47891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
47892 $as_echo_n "checking for ldexpf declaration... " >&6; }
47893 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
47894 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
47895 $as_echo_n "(cached) " >&6
47900 ac_cpp='$CXXCPP $CPPFLAGS'
47901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47906 /* end confdefs.h. */
47916 if ac_fn_cxx_try_compile "$LINENO"; then :
47917 glibcxx_cv_func_ldexpf_use=yes
47919 glibcxx_cv_func_ldexpf_use=no
47921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47923 ac_cpp='$CPP $CPPFLAGS'
47924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47933 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47935 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47936 for ac_func in ldexpf
47938 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47939 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47940 cat >>confdefs.h <<_ACEOF
47941 #define HAVE_LDEXPF 1
47949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47950 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47951 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47952 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47953 $as_echo_n "(cached) " >&6
47958 ac_cpp='$CXXCPP $CPPFLAGS'
47959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47964 /* end confdefs.h. */
47974 if ac_fn_cxx_try_compile "$LINENO"; then :
47975 glibcxx_cv_func__ldexpf_use=yes
47977 glibcxx_cv_func__ldexpf_use=no
47979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47981 ac_cpp='$CPP $CPPFLAGS'
47982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47991 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47993 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47994 for ac_func in _ldexpf
47996 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47997 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47998 cat >>confdefs.h <<_ACEOF
47999 #define HAVE__LDEXPF 1
48012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
48013 $as_echo_n "checking for logf declaration... " >&6; }
48014 if test x${glibcxx_cv_func_logf_use+set} != xset; then
48015 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
48016 $as_echo_n "(cached) " >&6
48021 ac_cpp='$CXXCPP $CPPFLAGS'
48022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48027 /* end confdefs.h. */
48029 #ifdef HAVE_IEEEFP_H
48030 #include <ieeefp.h>
48041 if ac_fn_cxx_try_compile "$LINENO"; then :
48042 glibcxx_cv_func_logf_use=yes
48044 glibcxx_cv_func_logf_use=no
48046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48048 ac_cpp='$CPP $CPPFLAGS'
48049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48058 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48060 if test x$glibcxx_cv_func_logf_use = x"yes"; then
48061 for ac_func in logf
48063 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48064 if test "x$ac_cv_func_logf" = x""yes; then :
48065 cat >>confdefs.h <<_ACEOF
48066 #define HAVE_LOGF 1
48074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48075 $as_echo_n "checking for _logf declaration... " >&6; }
48076 if test x${glibcxx_cv_func__logf_use+set} != xset; then
48077 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48078 $as_echo_n "(cached) " >&6
48083 ac_cpp='$CXXCPP $CPPFLAGS'
48084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48089 /* end confdefs.h. */
48091 #ifdef HAVE_IEEEFP_H
48092 #include <ieeefp.h>
48103 if ac_fn_cxx_try_compile "$LINENO"; then :
48104 glibcxx_cv_func__logf_use=yes
48106 glibcxx_cv_func__logf_use=no
48108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48110 ac_cpp='$CPP $CPPFLAGS'
48111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48120 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48122 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48123 for ac_func in _logf
48125 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48126 if test "x$ac_cv_func__logf" = x""yes; then :
48127 cat >>confdefs.h <<_ACEOF
48128 #define HAVE__LOGF 1
48141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48142 $as_echo_n "checking for log10f declaration... " >&6; }
48143 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48144 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48145 $as_echo_n "(cached) " >&6
48150 ac_cpp='$CXXCPP $CPPFLAGS'
48151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48156 /* end confdefs.h. */
48158 #ifdef HAVE_IEEEFP_H
48159 #include <ieeefp.h>
48170 if ac_fn_cxx_try_compile "$LINENO"; then :
48171 glibcxx_cv_func_log10f_use=yes
48173 glibcxx_cv_func_log10f_use=no
48175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48177 ac_cpp='$CPP $CPPFLAGS'
48178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48187 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48189 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48190 for ac_func in log10f
48192 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48193 if test "x$ac_cv_func_log10f" = x""yes; then :
48194 cat >>confdefs.h <<_ACEOF
48195 #define HAVE_LOG10F 1
48203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48204 $as_echo_n "checking for _log10f declaration... " >&6; }
48205 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48206 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48207 $as_echo_n "(cached) " >&6
48212 ac_cpp='$CXXCPP $CPPFLAGS'
48213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48218 /* end confdefs.h. */
48220 #ifdef HAVE_IEEEFP_H
48221 #include <ieeefp.h>
48232 if ac_fn_cxx_try_compile "$LINENO"; then :
48233 glibcxx_cv_func__log10f_use=yes
48235 glibcxx_cv_func__log10f_use=no
48237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48239 ac_cpp='$CPP $CPPFLAGS'
48240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48249 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48251 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48252 for ac_func in _log10f
48254 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48255 if test "x$ac_cv_func__log10f" = x""yes; then :
48256 cat >>confdefs.h <<_ACEOF
48257 #define HAVE__LOG10F 1
48270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48271 $as_echo_n "checking for modff declaration... " >&6; }
48272 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48273 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48274 $as_echo_n "(cached) " >&6
48279 ac_cpp='$CXXCPP $CPPFLAGS'
48280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48285 /* end confdefs.h. */
48295 if ac_fn_cxx_try_compile "$LINENO"; then :
48296 glibcxx_cv_func_modff_use=yes
48298 glibcxx_cv_func_modff_use=no
48300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48302 ac_cpp='$CPP $CPPFLAGS'
48303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48312 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48314 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48315 for ac_func in modff
48317 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48318 if test "x$ac_cv_func_modff" = x""yes; then :
48319 cat >>confdefs.h <<_ACEOF
48320 #define HAVE_MODFF 1
48328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48329 $as_echo_n "checking for _modff declaration... " >&6; }
48330 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48331 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48332 $as_echo_n "(cached) " >&6
48337 ac_cpp='$CXXCPP $CPPFLAGS'
48338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48343 /* end confdefs.h. */
48353 if ac_fn_cxx_try_compile "$LINENO"; then :
48354 glibcxx_cv_func__modff_use=yes
48356 glibcxx_cv_func__modff_use=no
48358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48360 ac_cpp='$CPP $CPPFLAGS'
48361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48370 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48372 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48373 for ac_func in _modff
48375 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48376 if test "x$ac_cv_func__modff" = x""yes; then :
48377 cat >>confdefs.h <<_ACEOF
48378 #define HAVE__MODFF 1
48391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48392 $as_echo_n "checking for modf declaration... " >&6; }
48393 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48394 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48395 $as_echo_n "(cached) " >&6
48400 ac_cpp='$CXXCPP $CPPFLAGS'
48401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48406 /* end confdefs.h. */
48416 if ac_fn_cxx_try_compile "$LINENO"; then :
48417 glibcxx_cv_func_modf_use=yes
48419 glibcxx_cv_func_modf_use=no
48421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48423 ac_cpp='$CPP $CPPFLAGS'
48424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48433 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48435 if test x$glibcxx_cv_func_modf_use = x"yes"; then
48436 for ac_func in modf
48438 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48439 if test "x$ac_cv_func_modf" = x""yes; then :
48440 cat >>confdefs.h <<_ACEOF
48441 #define HAVE_MODF 1
48449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48450 $as_echo_n "checking for _modf declaration... " >&6; }
48451 if test x${glibcxx_cv_func__modf_use+set} != xset; then
48452 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48453 $as_echo_n "(cached) " >&6
48458 ac_cpp='$CXXCPP $CPPFLAGS'
48459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48464 /* end confdefs.h. */
48474 if ac_fn_cxx_try_compile "$LINENO"; then :
48475 glibcxx_cv_func__modf_use=yes
48477 glibcxx_cv_func__modf_use=no
48479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48481 ac_cpp='$CPP $CPPFLAGS'
48482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48491 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48493 if test x$glibcxx_cv_func__modf_use = x"yes"; then
48494 for ac_func in _modf
48496 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48497 if test "x$ac_cv_func__modf" = x""yes; then :
48498 cat >>confdefs.h <<_ACEOF
48499 #define HAVE__MODF 1
48512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48513 $as_echo_n "checking for powf declaration... " >&6; }
48514 if test x${glibcxx_cv_func_powf_use+set} != xset; then
48515 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48516 $as_echo_n "(cached) " >&6
48521 ac_cpp='$CXXCPP $CPPFLAGS'
48522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48527 /* end confdefs.h. */
48537 if ac_fn_cxx_try_compile "$LINENO"; then :
48538 glibcxx_cv_func_powf_use=yes
48540 glibcxx_cv_func_powf_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_powf_use" >&5
48554 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48556 if test x$glibcxx_cv_func_powf_use = x"yes"; then
48557 for ac_func in powf
48559 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
48560 if test "x$ac_cv_func_powf" = x""yes; then :
48561 cat >>confdefs.h <<_ACEOF
48562 #define HAVE_POWF 1
48570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
48571 $as_echo_n "checking for _powf declaration... " >&6; }
48572 if test x${glibcxx_cv_func__powf_use+set} != xset; then
48573 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
48574 $as_echo_n "(cached) " >&6
48579 ac_cpp='$CXXCPP $CPPFLAGS'
48580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48585 /* end confdefs.h. */
48595 if ac_fn_cxx_try_compile "$LINENO"; then :
48596 glibcxx_cv_func__powf_use=yes
48598 glibcxx_cv_func__powf_use=no
48600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48602 ac_cpp='$CPP $CPPFLAGS'
48603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
48612 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
48614 if test x$glibcxx_cv_func__powf_use = x"yes"; then
48615 for ac_func in _powf
48617 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
48618 if test "x$ac_cv_func__powf" = x""yes; then :
48619 cat >>confdefs.h <<_ACEOF
48620 #define HAVE__POWF 1
48633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
48634 $as_echo_n "checking for sqrtf declaration... " >&6; }
48635 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
48636 if test "${glibcxx_cv_func_sqrtf_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. */
48650 #ifdef HAVE_IEEEFP_H
48651 #include <ieeefp.h>
48662 if ac_fn_cxx_try_compile "$LINENO"; then :
48663 glibcxx_cv_func_sqrtf_use=yes
48665 glibcxx_cv_func_sqrtf_use=no
48667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48669 ac_cpp='$CPP $CPPFLAGS'
48670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
48679 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
48681 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
48682 for ac_func in sqrtf
48684 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
48685 if test "x$ac_cv_func_sqrtf" = x""yes; then :
48686 cat >>confdefs.h <<_ACEOF
48687 #define HAVE_SQRTF 1
48695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
48696 $as_echo_n "checking for _sqrtf declaration... " >&6; }
48697 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
48698 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
48699 $as_echo_n "(cached) " >&6
48704 ac_cpp='$CXXCPP $CPPFLAGS'
48705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48710 /* end confdefs.h. */
48712 #ifdef HAVE_IEEEFP_H
48713 #include <ieeefp.h>
48724 if ac_fn_cxx_try_compile "$LINENO"; then :
48725 glibcxx_cv_func__sqrtf_use=yes
48727 glibcxx_cv_func__sqrtf_use=no
48729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48731 ac_cpp='$CPP $CPPFLAGS'
48732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
48741 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
48743 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
48744 for ac_func in _sqrtf
48746 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
48747 if test "x$ac_cv_func__sqrtf" = x""yes; then :
48748 cat >>confdefs.h <<_ACEOF
48749 #define HAVE__SQRTF 1
48762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
48763 $as_echo_n "checking for sincosf declaration... " >&6; }
48764 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
48765 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
48766 $as_echo_n "(cached) " >&6
48771 ac_cpp='$CXXCPP $CPPFLAGS'
48772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48777 /* end confdefs.h. */
48787 if ac_fn_cxx_try_compile "$LINENO"; then :
48788 glibcxx_cv_func_sincosf_use=yes
48790 glibcxx_cv_func_sincosf_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_sincosf_use" >&5
48804 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
48806 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
48807 for ac_func in sincosf
48809 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
48810 if test "x$ac_cv_func_sincosf" = x""yes; then :
48811 cat >>confdefs.h <<_ACEOF
48812 #define HAVE_SINCOSF 1
48820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
48821 $as_echo_n "checking for _sincosf declaration... " >&6; }
48822 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
48823 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
48824 $as_echo_n "(cached) " >&6
48829 ac_cpp='$CXXCPP $CPPFLAGS'
48830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48835 /* end confdefs.h. */
48845 if ac_fn_cxx_try_compile "$LINENO"; then :
48846 glibcxx_cv_func__sincosf_use=yes
48848 glibcxx_cv_func__sincosf_use=no
48850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48852 ac_cpp='$CPP $CPPFLAGS'
48853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
48862 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
48864 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
48865 for ac_func in _sincosf
48867 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
48868 if test "x$ac_cv_func__sincosf" = x""yes; then :
48869 cat >>confdefs.h <<_ACEOF
48870 #define HAVE__SINCOSF 1
48883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
48884 $as_echo_n "checking for finitef declaration... " >&6; }
48885 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
48886 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
48887 $as_echo_n "(cached) " >&6
48892 ac_cpp='$CXXCPP $CPPFLAGS'
48893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48898 /* end confdefs.h. */
48900 #ifdef HAVE_IEEEFP_H
48901 #include <ieeefp.h>
48912 if ac_fn_cxx_try_compile "$LINENO"; then :
48913 glibcxx_cv_func_finitef_use=yes
48915 glibcxx_cv_func_finitef_use=no
48917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48919 ac_cpp='$CPP $CPPFLAGS'
48920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
48929 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48931 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48932 for ac_func in finitef
48934 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48935 if test "x$ac_cv_func_finitef" = x""yes; then :
48936 cat >>confdefs.h <<_ACEOF
48937 #define HAVE_FINITEF 1
48945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48946 $as_echo_n "checking for _finitef declaration... " >&6; }
48947 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48948 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48949 $as_echo_n "(cached) " >&6
48954 ac_cpp='$CXXCPP $CPPFLAGS'
48955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48960 /* end confdefs.h. */
48962 #ifdef HAVE_IEEEFP_H
48963 #include <ieeefp.h>
48974 if ac_fn_cxx_try_compile "$LINENO"; then :
48975 glibcxx_cv_func__finitef_use=yes
48977 glibcxx_cv_func__finitef_use=no
48979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48981 ac_cpp='$CPP $CPPFLAGS'
48982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48991 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48993 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48994 for ac_func in _finitef
48996 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48997 if test "x$ac_cv_func__finitef" = x""yes; then :
48998 cat >>confdefs.h <<_ACEOF
48999 #define HAVE__FINITEF 1
49012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
49013 $as_echo_n "checking for long double trig functions... " >&6; }
49014 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
49015 $as_echo_n "(cached) " >&6
49020 ac_cpp='$CXXCPP $CPPFLAGS'
49021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49026 /* end confdefs.h. */
49031 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
49036 if ac_fn_cxx_try_compile "$LINENO"; then :
49037 glibcxx_cv_func_long_double_trig_use=yes
49039 glibcxx_cv_func_long_double_trig_use=no
49041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49043 ac_cpp='$CPP $CPPFLAGS'
49044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49051 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49052 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49053 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49055 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49056 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49057 eval as_val=\$$as_ac_var
49058 if test "x$as_val" = x""yes; then :
49059 cat >>confdefs.h <<_ACEOF
49060 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49068 $as_echo_n "checking for _long double trig functions... " >&6; }
49069 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49070 $as_echo_n "(cached) " >&6
49075 ac_cpp='$CXXCPP $CPPFLAGS'
49076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49081 /* end confdefs.h. */
49086 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49091 if ac_fn_cxx_try_compile "$LINENO"; then :
49092 glibcxx_cv_func__long_double_trig_use=yes
49094 glibcxx_cv_func__long_double_trig_use=no
49096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49098 ac_cpp='$CPP $CPPFLAGS'
49099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49106 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49107 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49108 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49110 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49111 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49112 eval as_val=\$$as_ac_var
49113 if test "x$as_val" = x""yes; then :
49114 cat >>confdefs.h <<_ACEOF
49115 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49129 $as_echo_n "checking for long double round functions... " >&6; }
49130 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49131 $as_echo_n "(cached) " >&6
49136 ac_cpp='$CXXCPP $CPPFLAGS'
49137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49142 /* end confdefs.h. */
49147 ceill (0); floorl (0);
49152 if ac_fn_cxx_try_compile "$LINENO"; then :
49153 glibcxx_cv_func_long_double_round_use=yes
49155 glibcxx_cv_func_long_double_round_use=no
49157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49159 ac_cpp='$CPP $CPPFLAGS'
49160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49167 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49168 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49169 for ac_func in ceill floorl
49171 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49172 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49173 eval as_val=\$$as_ac_var
49174 if test "x$as_val" = x""yes; then :
49175 cat >>confdefs.h <<_ACEOF
49176 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49184 $as_echo_n "checking for _long double round functions... " >&6; }
49185 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49186 $as_echo_n "(cached) " >&6
49191 ac_cpp='$CXXCPP $CPPFLAGS'
49192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49197 /* end confdefs.h. */
49202 _ceill (0); _floorl (0);
49207 if ac_fn_cxx_try_compile "$LINENO"; then :
49208 glibcxx_cv_func__long_double_round_use=yes
49210 glibcxx_cv_func__long_double_round_use=no
49212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49214 ac_cpp='$CPP $CPPFLAGS'
49215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49222 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49223 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49224 for ac_func in _ceill _floorl
49226 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49227 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49228 eval as_val=\$$as_ac_var
49229 if test "x$as_val" = x""yes; then :
49230 cat >>confdefs.h <<_ACEOF
49231 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49246 $as_echo_n "checking for isnanl declaration... " >&6; }
49247 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49248 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49249 $as_echo_n "(cached) " >&6
49254 ac_cpp='$CXXCPP $CPPFLAGS'
49255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49260 /* end confdefs.h. */
49262 #ifdef HAVE_IEEEFP_H
49263 #include <ieeefp.h>
49274 if ac_fn_cxx_try_compile "$LINENO"; then :
49275 glibcxx_cv_func_isnanl_use=yes
49277 glibcxx_cv_func_isnanl_use=no
49279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49281 ac_cpp='$CPP $CPPFLAGS'
49282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49291 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49293 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49294 for ac_func in isnanl
49296 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49297 if test "x$ac_cv_func_isnanl" = x""yes; then :
49298 cat >>confdefs.h <<_ACEOF
49299 #define HAVE_ISNANL 1
49307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49308 $as_echo_n "checking for _isnanl declaration... " >&6; }
49309 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49310 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49311 $as_echo_n "(cached) " >&6
49316 ac_cpp='$CXXCPP $CPPFLAGS'
49317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49322 /* end confdefs.h. */
49324 #ifdef HAVE_IEEEFP_H
49325 #include <ieeefp.h>
49336 if ac_fn_cxx_try_compile "$LINENO"; then :
49337 glibcxx_cv_func__isnanl_use=yes
49339 glibcxx_cv_func__isnanl_use=no
49341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49343 ac_cpp='$CPP $CPPFLAGS'
49344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49353 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49355 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49356 for ac_func in _isnanl
49358 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49359 if test "x$ac_cv_func__isnanl" = x""yes; then :
49360 cat >>confdefs.h <<_ACEOF
49361 #define HAVE__ISNANL 1
49374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49375 $as_echo_n "checking for isinfl declaration... " >&6; }
49376 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49377 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49378 $as_echo_n "(cached) " >&6
49383 ac_cpp='$CXXCPP $CPPFLAGS'
49384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49389 /* end confdefs.h. */
49391 #ifdef HAVE_IEEEFP_H
49392 #include <ieeefp.h>
49403 if ac_fn_cxx_try_compile "$LINENO"; then :
49404 glibcxx_cv_func_isinfl_use=yes
49406 glibcxx_cv_func_isinfl_use=no
49408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49410 ac_cpp='$CPP $CPPFLAGS'
49411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49420 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49422 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49423 for ac_func in isinfl
49425 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49426 if test "x$ac_cv_func_isinfl" = x""yes; then :
49427 cat >>confdefs.h <<_ACEOF
49428 #define HAVE_ISINFL 1
49436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49437 $as_echo_n "checking for _isinfl declaration... " >&6; }
49438 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49439 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49440 $as_echo_n "(cached) " >&6
49445 ac_cpp='$CXXCPP $CPPFLAGS'
49446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49451 /* end confdefs.h. */
49453 #ifdef HAVE_IEEEFP_H
49454 #include <ieeefp.h>
49465 if ac_fn_cxx_try_compile "$LINENO"; then :
49466 glibcxx_cv_func__isinfl_use=yes
49468 glibcxx_cv_func__isinfl_use=no
49470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49472 ac_cpp='$CPP $CPPFLAGS'
49473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49482 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49484 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49485 for ac_func in _isinfl
49487 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49488 if test "x$ac_cv_func__isinfl" = x""yes; then :
49489 cat >>confdefs.h <<_ACEOF
49490 #define HAVE__ISINFL 1
49503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49504 $as_echo_n "checking for atan2l declaration... " >&6; }
49505 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49506 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49507 $as_echo_n "(cached) " >&6
49512 ac_cpp='$CXXCPP $CPPFLAGS'
49513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49518 /* end confdefs.h. */
49528 if ac_fn_cxx_try_compile "$LINENO"; then :
49529 glibcxx_cv_func_atan2l_use=yes
49531 glibcxx_cv_func_atan2l_use=no
49533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49535 ac_cpp='$CPP $CPPFLAGS'
49536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49545 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49547 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49548 for ac_func in atan2l
49550 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49551 if test "x$ac_cv_func_atan2l" = x""yes; then :
49552 cat >>confdefs.h <<_ACEOF
49553 #define HAVE_ATAN2L 1
49561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
49562 $as_echo_n "checking for _atan2l declaration... " >&6; }
49563 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
49564 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
49565 $as_echo_n "(cached) " >&6
49570 ac_cpp='$CXXCPP $CPPFLAGS'
49571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49576 /* end confdefs.h. */
49586 if ac_fn_cxx_try_compile "$LINENO"; then :
49587 glibcxx_cv_func__atan2l_use=yes
49589 glibcxx_cv_func__atan2l_use=no
49591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49593 ac_cpp='$CPP $CPPFLAGS'
49594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
49603 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
49605 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
49606 for ac_func in _atan2l
49608 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
49609 if test "x$ac_cv_func__atan2l" = x""yes; then :
49610 cat >>confdefs.h <<_ACEOF
49611 #define HAVE__ATAN2L 1
49624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
49625 $as_echo_n "checking for expl declaration... " >&6; }
49626 if test x${glibcxx_cv_func_expl_use+set} != xset; then
49627 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
49628 $as_echo_n "(cached) " >&6
49633 ac_cpp='$CXXCPP $CPPFLAGS'
49634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49639 /* end confdefs.h. */
49641 #ifdef HAVE_IEEEFP_H
49642 #include <ieeefp.h>
49653 if ac_fn_cxx_try_compile "$LINENO"; then :
49654 glibcxx_cv_func_expl_use=yes
49656 glibcxx_cv_func_expl_use=no
49658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49660 ac_cpp='$CPP $CPPFLAGS'
49661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
49670 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
49672 if test x$glibcxx_cv_func_expl_use = x"yes"; then
49673 for ac_func in expl
49675 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
49676 if test "x$ac_cv_func_expl" = x""yes; then :
49677 cat >>confdefs.h <<_ACEOF
49678 #define HAVE_EXPL 1
49686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
49687 $as_echo_n "checking for _expl declaration... " >&6; }
49688 if test x${glibcxx_cv_func__expl_use+set} != xset; then
49689 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
49690 $as_echo_n "(cached) " >&6
49695 ac_cpp='$CXXCPP $CPPFLAGS'
49696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49701 /* end confdefs.h. */
49703 #ifdef HAVE_IEEEFP_H
49704 #include <ieeefp.h>
49715 if ac_fn_cxx_try_compile "$LINENO"; then :
49716 glibcxx_cv_func__expl_use=yes
49718 glibcxx_cv_func__expl_use=no
49720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49722 ac_cpp='$CPP $CPPFLAGS'
49723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
49732 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
49734 if test x$glibcxx_cv_func__expl_use = x"yes"; then
49735 for ac_func in _expl
49737 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
49738 if test "x$ac_cv_func__expl" = x""yes; then :
49739 cat >>confdefs.h <<_ACEOF
49740 #define HAVE__EXPL 1
49753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
49754 $as_echo_n "checking for fabsl declaration... " >&6; }
49755 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
49756 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
49757 $as_echo_n "(cached) " >&6
49762 ac_cpp='$CXXCPP $CPPFLAGS'
49763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49768 /* end confdefs.h. */
49770 #ifdef HAVE_IEEEFP_H
49771 #include <ieeefp.h>
49782 if ac_fn_cxx_try_compile "$LINENO"; then :
49783 glibcxx_cv_func_fabsl_use=yes
49785 glibcxx_cv_func_fabsl_use=no
49787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49789 ac_cpp='$CPP $CPPFLAGS'
49790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
49799 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
49801 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
49802 for ac_func in fabsl
49804 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
49805 if test "x$ac_cv_func_fabsl" = x""yes; then :
49806 cat >>confdefs.h <<_ACEOF
49807 #define HAVE_FABSL 1
49815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
49816 $as_echo_n "checking for _fabsl declaration... " >&6; }
49817 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
49818 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
49819 $as_echo_n "(cached) " >&6
49824 ac_cpp='$CXXCPP $CPPFLAGS'
49825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49830 /* end confdefs.h. */
49832 #ifdef HAVE_IEEEFP_H
49833 #include <ieeefp.h>
49844 if ac_fn_cxx_try_compile "$LINENO"; then :
49845 glibcxx_cv_func__fabsl_use=yes
49847 glibcxx_cv_func__fabsl_use=no
49849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49851 ac_cpp='$CPP $CPPFLAGS'
49852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
49861 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
49863 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
49864 for ac_func in _fabsl
49866 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
49867 if test "x$ac_cv_func__fabsl" = x""yes; then :
49868 cat >>confdefs.h <<_ACEOF
49869 #define HAVE__FABSL 1
49882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
49883 $as_echo_n "checking for fmodl declaration... " >&6; }
49884 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
49885 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
49886 $as_echo_n "(cached) " >&6
49891 ac_cpp='$CXXCPP $CPPFLAGS'
49892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49897 /* end confdefs.h. */
49907 if ac_fn_cxx_try_compile "$LINENO"; then :
49908 glibcxx_cv_func_fmodl_use=yes
49910 glibcxx_cv_func_fmodl_use=no
49912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49914 ac_cpp='$CPP $CPPFLAGS'
49915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
49924 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
49926 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
49927 for ac_func in fmodl
49929 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49930 if test "x$ac_cv_func_fmodl" = x""yes; then :
49931 cat >>confdefs.h <<_ACEOF
49932 #define HAVE_FMODL 1
49940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49941 $as_echo_n "checking for _fmodl declaration... " >&6; }
49942 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49943 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49944 $as_echo_n "(cached) " >&6
49949 ac_cpp='$CXXCPP $CPPFLAGS'
49950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49955 /* end confdefs.h. */
49965 if ac_fn_cxx_try_compile "$LINENO"; then :
49966 glibcxx_cv_func__fmodl_use=yes
49968 glibcxx_cv_func__fmodl_use=no
49970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49972 ac_cpp='$CPP $CPPFLAGS'
49973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49982 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49984 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49985 for ac_func in _fmodl
49987 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49988 if test "x$ac_cv_func__fmodl" = x""yes; then :
49989 cat >>confdefs.h <<_ACEOF
49990 #define HAVE__FMODL 1
50003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
50004 $as_echo_n "checking for frexpl declaration... " >&6; }
50005 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
50006 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
50007 $as_echo_n "(cached) " >&6
50012 ac_cpp='$CXXCPP $CPPFLAGS'
50013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50018 /* end confdefs.h. */
50028 if ac_fn_cxx_try_compile "$LINENO"; then :
50029 glibcxx_cv_func_frexpl_use=yes
50031 glibcxx_cv_func_frexpl_use=no
50033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50035 ac_cpp='$CPP $CPPFLAGS'
50036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50045 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50047 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50048 for ac_func in frexpl
50050 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50051 if test "x$ac_cv_func_frexpl" = x""yes; then :
50052 cat >>confdefs.h <<_ACEOF
50053 #define HAVE_FREXPL 1
50061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50062 $as_echo_n "checking for _frexpl declaration... " >&6; }
50063 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50064 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50065 $as_echo_n "(cached) " >&6
50070 ac_cpp='$CXXCPP $CPPFLAGS'
50071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50076 /* end confdefs.h. */
50086 if ac_fn_cxx_try_compile "$LINENO"; then :
50087 glibcxx_cv_func__frexpl_use=yes
50089 glibcxx_cv_func__frexpl_use=no
50091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50093 ac_cpp='$CPP $CPPFLAGS'
50094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50103 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50105 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50106 for ac_func in _frexpl
50108 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50109 if test "x$ac_cv_func__frexpl" = x""yes; then :
50110 cat >>confdefs.h <<_ACEOF
50111 #define HAVE__FREXPL 1
50124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50125 $as_echo_n "checking for hypotl declaration... " >&6; }
50126 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50127 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50128 $as_echo_n "(cached) " >&6
50133 ac_cpp='$CXXCPP $CPPFLAGS'
50134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50139 /* end confdefs.h. */
50149 if ac_fn_cxx_try_compile "$LINENO"; then :
50150 glibcxx_cv_func_hypotl_use=yes
50152 glibcxx_cv_func_hypotl_use=no
50154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50156 ac_cpp='$CPP $CPPFLAGS'
50157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50166 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50168 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50169 for ac_func in hypotl
50171 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50172 if test "x$ac_cv_func_hypotl" = x""yes; then :
50173 cat >>confdefs.h <<_ACEOF
50174 #define HAVE_HYPOTL 1
50182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50183 $as_echo_n "checking for _hypotl declaration... " >&6; }
50184 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50185 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50186 $as_echo_n "(cached) " >&6
50191 ac_cpp='$CXXCPP $CPPFLAGS'
50192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50197 /* end confdefs.h. */
50207 if ac_fn_cxx_try_compile "$LINENO"; then :
50208 glibcxx_cv_func__hypotl_use=yes
50210 glibcxx_cv_func__hypotl_use=no
50212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50214 ac_cpp='$CPP $CPPFLAGS'
50215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50224 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50226 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50227 for ac_func in _hypotl
50229 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50230 if test "x$ac_cv_func__hypotl" = x""yes; then :
50231 cat >>confdefs.h <<_ACEOF
50232 #define HAVE__HYPOTL 1
50245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50246 $as_echo_n "checking for ldexpl declaration... " >&6; }
50247 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50248 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50249 $as_echo_n "(cached) " >&6
50254 ac_cpp='$CXXCPP $CPPFLAGS'
50255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50260 /* end confdefs.h. */
50270 if ac_fn_cxx_try_compile "$LINENO"; then :
50271 glibcxx_cv_func_ldexpl_use=yes
50273 glibcxx_cv_func_ldexpl_use=no
50275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50277 ac_cpp='$CPP $CPPFLAGS'
50278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50287 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50289 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50290 for ac_func in ldexpl
50292 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50293 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50294 cat >>confdefs.h <<_ACEOF
50295 #define HAVE_LDEXPL 1
50303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50304 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50305 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50306 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50307 $as_echo_n "(cached) " >&6
50312 ac_cpp='$CXXCPP $CPPFLAGS'
50313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50318 /* end confdefs.h. */
50328 if ac_fn_cxx_try_compile "$LINENO"; then :
50329 glibcxx_cv_func__ldexpl_use=yes
50331 glibcxx_cv_func__ldexpl_use=no
50333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50335 ac_cpp='$CPP $CPPFLAGS'
50336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50345 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50347 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50348 for ac_func in _ldexpl
50350 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50351 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50352 cat >>confdefs.h <<_ACEOF
50353 #define HAVE__LDEXPL 1
50366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50367 $as_echo_n "checking for logl declaration... " >&6; }
50368 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50369 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50370 $as_echo_n "(cached) " >&6
50375 ac_cpp='$CXXCPP $CPPFLAGS'
50376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50381 /* end confdefs.h. */
50383 #ifdef HAVE_IEEEFP_H
50384 #include <ieeefp.h>
50395 if ac_fn_cxx_try_compile "$LINENO"; then :
50396 glibcxx_cv_func_logl_use=yes
50398 glibcxx_cv_func_logl_use=no
50400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50402 ac_cpp='$CPP $CPPFLAGS'
50403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50412 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50414 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50415 for ac_func in logl
50417 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50418 if test "x$ac_cv_func_logl" = x""yes; then :
50419 cat >>confdefs.h <<_ACEOF
50420 #define HAVE_LOGL 1
50428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50429 $as_echo_n "checking for _logl declaration... " >&6; }
50430 if test x${glibcxx_cv_func__logl_use+set} != xset; then
50431 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50432 $as_echo_n "(cached) " >&6
50437 ac_cpp='$CXXCPP $CPPFLAGS'
50438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50443 /* end confdefs.h. */
50445 #ifdef HAVE_IEEEFP_H
50446 #include <ieeefp.h>
50457 if ac_fn_cxx_try_compile "$LINENO"; then :
50458 glibcxx_cv_func__logl_use=yes
50460 glibcxx_cv_func__logl_use=no
50462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50464 ac_cpp='$CPP $CPPFLAGS'
50465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50474 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50476 if test x$glibcxx_cv_func__logl_use = x"yes"; then
50477 for ac_func in _logl
50479 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50480 if test "x$ac_cv_func__logl" = x""yes; then :
50481 cat >>confdefs.h <<_ACEOF
50482 #define HAVE__LOGL 1
50495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50496 $as_echo_n "checking for log10l declaration... " >&6; }
50497 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50498 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50499 $as_echo_n "(cached) " >&6
50504 ac_cpp='$CXXCPP $CPPFLAGS'
50505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50510 /* end confdefs.h. */
50512 #ifdef HAVE_IEEEFP_H
50513 #include <ieeefp.h>
50524 if ac_fn_cxx_try_compile "$LINENO"; then :
50525 glibcxx_cv_func_log10l_use=yes
50527 glibcxx_cv_func_log10l_use=no
50529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50531 ac_cpp='$CPP $CPPFLAGS'
50532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50541 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50543 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50544 for ac_func in log10l
50546 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50547 if test "x$ac_cv_func_log10l" = x""yes; then :
50548 cat >>confdefs.h <<_ACEOF
50549 #define HAVE_LOG10L 1
50557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
50558 $as_echo_n "checking for _log10l declaration... " >&6; }
50559 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
50560 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
50561 $as_echo_n "(cached) " >&6
50566 ac_cpp='$CXXCPP $CPPFLAGS'
50567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50572 /* end confdefs.h. */
50574 #ifdef HAVE_IEEEFP_H
50575 #include <ieeefp.h>
50586 if ac_fn_cxx_try_compile "$LINENO"; then :
50587 glibcxx_cv_func__log10l_use=yes
50589 glibcxx_cv_func__log10l_use=no
50591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50593 ac_cpp='$CPP $CPPFLAGS'
50594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
50603 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
50605 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
50606 for ac_func in _log10l
50608 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
50609 if test "x$ac_cv_func__log10l" = x""yes; then :
50610 cat >>confdefs.h <<_ACEOF
50611 #define HAVE__LOG10L 1
50624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
50625 $as_echo_n "checking for modfl declaration... " >&6; }
50626 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
50627 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
50628 $as_echo_n "(cached) " >&6
50633 ac_cpp='$CXXCPP $CPPFLAGS'
50634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50639 /* end confdefs.h. */
50649 if ac_fn_cxx_try_compile "$LINENO"; then :
50650 glibcxx_cv_func_modfl_use=yes
50652 glibcxx_cv_func_modfl_use=no
50654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50656 ac_cpp='$CPP $CPPFLAGS'
50657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
50666 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
50668 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
50669 for ac_func in modfl
50671 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
50672 if test "x$ac_cv_func_modfl" = x""yes; then :
50673 cat >>confdefs.h <<_ACEOF
50674 #define HAVE_MODFL 1
50682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
50683 $as_echo_n "checking for _modfl declaration... " >&6; }
50684 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
50685 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
50686 $as_echo_n "(cached) " >&6
50691 ac_cpp='$CXXCPP $CPPFLAGS'
50692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50697 /* end confdefs.h. */
50707 if ac_fn_cxx_try_compile "$LINENO"; then :
50708 glibcxx_cv_func__modfl_use=yes
50710 glibcxx_cv_func__modfl_use=no
50712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50714 ac_cpp='$CPP $CPPFLAGS'
50715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
50724 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
50726 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
50727 for ac_func in _modfl
50729 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
50730 if test "x$ac_cv_func__modfl" = x""yes; then :
50731 cat >>confdefs.h <<_ACEOF
50732 #define HAVE__MODFL 1
50745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
50746 $as_echo_n "checking for powl declaration... " >&6; }
50747 if test x${glibcxx_cv_func_powl_use+set} != xset; then
50748 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
50749 $as_echo_n "(cached) " >&6
50754 ac_cpp='$CXXCPP $CPPFLAGS'
50755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50760 /* end confdefs.h. */
50770 if ac_fn_cxx_try_compile "$LINENO"; then :
50771 glibcxx_cv_func_powl_use=yes
50773 glibcxx_cv_func_powl_use=no
50775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50777 ac_cpp='$CPP $CPPFLAGS'
50778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
50787 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
50789 if test x$glibcxx_cv_func_powl_use = x"yes"; then
50790 for ac_func in powl
50792 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
50793 if test "x$ac_cv_func_powl" = x""yes; then :
50794 cat >>confdefs.h <<_ACEOF
50795 #define HAVE_POWL 1
50803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
50804 $as_echo_n "checking for _powl declaration... " >&6; }
50805 if test x${glibcxx_cv_func__powl_use+set} != xset; then
50806 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
50807 $as_echo_n "(cached) " >&6
50812 ac_cpp='$CXXCPP $CPPFLAGS'
50813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50818 /* end confdefs.h. */
50828 if ac_fn_cxx_try_compile "$LINENO"; then :
50829 glibcxx_cv_func__powl_use=yes
50831 glibcxx_cv_func__powl_use=no
50833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50835 ac_cpp='$CPP $CPPFLAGS'
50836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
50845 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
50847 if test x$glibcxx_cv_func__powl_use = x"yes"; then
50848 for ac_func in _powl
50850 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
50851 if test "x$ac_cv_func__powl" = x""yes; then :
50852 cat >>confdefs.h <<_ACEOF
50853 #define HAVE__POWL 1
50866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
50867 $as_echo_n "checking for sqrtl declaration... " >&6; }
50868 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
50869 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
50870 $as_echo_n "(cached) " >&6
50875 ac_cpp='$CXXCPP $CPPFLAGS'
50876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50881 /* end confdefs.h. */
50883 #ifdef HAVE_IEEEFP_H
50884 #include <ieeefp.h>
50895 if ac_fn_cxx_try_compile "$LINENO"; then :
50896 glibcxx_cv_func_sqrtl_use=yes
50898 glibcxx_cv_func_sqrtl_use=no
50900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50902 ac_cpp='$CPP $CPPFLAGS'
50903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
50912 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
50914 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
50915 for ac_func in sqrtl
50917 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
50918 if test "x$ac_cv_func_sqrtl" = x""yes; then :
50919 cat >>confdefs.h <<_ACEOF
50920 #define HAVE_SQRTL 1
50928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50929 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50930 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50931 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
50932 $as_echo_n "(cached) " >&6
50937 ac_cpp='$CXXCPP $CPPFLAGS'
50938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50943 /* end confdefs.h. */
50945 #ifdef HAVE_IEEEFP_H
50946 #include <ieeefp.h>
50957 if ac_fn_cxx_try_compile "$LINENO"; then :
50958 glibcxx_cv_func__sqrtl_use=yes
50960 glibcxx_cv_func__sqrtl_use=no
50962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50964 ac_cpp='$CPP $CPPFLAGS'
50965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50974 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50976 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50977 for ac_func in _sqrtl
50979 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50980 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50981 cat >>confdefs.h <<_ACEOF
50982 #define HAVE__SQRTL 1
50995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50996 $as_echo_n "checking for sincosl declaration... " >&6; }
50997 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50998 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50999 $as_echo_n "(cached) " >&6
51004 ac_cpp='$CXXCPP $CPPFLAGS'
51005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51010 /* end confdefs.h. */
51020 if ac_fn_cxx_try_compile "$LINENO"; then :
51021 glibcxx_cv_func_sincosl_use=yes
51023 glibcxx_cv_func_sincosl_use=no
51025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51027 ac_cpp='$CPP $CPPFLAGS'
51028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51037 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51039 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51040 for ac_func in sincosl
51042 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51043 if test "x$ac_cv_func_sincosl" = x""yes; then :
51044 cat >>confdefs.h <<_ACEOF
51045 #define HAVE_SINCOSL 1
51053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51054 $as_echo_n "checking for _sincosl declaration... " >&6; }
51055 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51056 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51057 $as_echo_n "(cached) " >&6
51062 ac_cpp='$CXXCPP $CPPFLAGS'
51063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51068 /* end confdefs.h. */
51078 if ac_fn_cxx_try_compile "$LINENO"; then :
51079 glibcxx_cv_func__sincosl_use=yes
51081 glibcxx_cv_func__sincosl_use=no
51083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51085 ac_cpp='$CPP $CPPFLAGS'
51086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51095 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51097 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51098 for ac_func in _sincosl
51100 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51101 if test "x$ac_cv_func__sincosl" = x""yes; then :
51102 cat >>confdefs.h <<_ACEOF
51103 #define HAVE__SINCOSL 1
51116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51117 $as_echo_n "checking for finitel declaration... " >&6; }
51118 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51119 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51120 $as_echo_n "(cached) " >&6
51125 ac_cpp='$CXXCPP $CPPFLAGS'
51126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51131 /* end confdefs.h. */
51133 #ifdef HAVE_IEEEFP_H
51134 #include <ieeefp.h>
51145 if ac_fn_cxx_try_compile "$LINENO"; then :
51146 glibcxx_cv_func_finitel_use=yes
51148 glibcxx_cv_func_finitel_use=no
51150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51152 ac_cpp='$CPP $CPPFLAGS'
51153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51162 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51164 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51165 for ac_func in finitel
51167 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51168 if test "x$ac_cv_func_finitel" = x""yes; then :
51169 cat >>confdefs.h <<_ACEOF
51170 #define HAVE_FINITEL 1
51178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51179 $as_echo_n "checking for _finitel declaration... " >&6; }
51180 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51181 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51182 $as_echo_n "(cached) " >&6
51187 ac_cpp='$CXXCPP $CPPFLAGS'
51188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51193 /* end confdefs.h. */
51195 #ifdef HAVE_IEEEFP_H
51196 #include <ieeefp.h>
51207 if ac_fn_cxx_try_compile "$LINENO"; then :
51208 glibcxx_cv_func__finitel_use=yes
51210 glibcxx_cv_func__finitel_use=no
51212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51214 ac_cpp='$CPP $CPPFLAGS'
51215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51224 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51226 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51227 for ac_func in _finitel
51229 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51230 if test "x$ac_cv_func__finitel" = x""yes; then :
51231 cat >>confdefs.h <<_ACEOF
51232 #define HAVE__FINITEL 1
51244 LIBS="$ac_save_LIBS"
51245 CXXFLAGS="$ac_save_CXXFLAGS"
51248 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51249 ac_save_CXXFLAGS="$CXXFLAGS"
51250 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51254 $as_echo_n "checking for strtold declaration... " >&6; }
51255 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51256 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51257 $as_echo_n "(cached) " >&6
51262 ac_cpp='$CXXCPP $CPPFLAGS'
51263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51268 /* end confdefs.h. */
51269 #include <stdlib.h>
51278 if ac_fn_cxx_try_compile "$LINENO"; then :
51279 glibcxx_cv_func_strtold_use=yes
51281 glibcxx_cv_func_strtold_use=no
51283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51285 ac_cpp='$CPP $CPPFLAGS'
51286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51295 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51296 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51297 for ac_func in strtold
51299 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51300 if test "x$ac_cv_func_strtold" = x""yes; then :
51301 cat >>confdefs.h <<_ACEOF
51302 #define HAVE_STRTOLD 1
51313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51314 $as_echo_n "checking for strtof declaration... " >&6; }
51315 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51316 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51317 $as_echo_n "(cached) " >&6
51322 ac_cpp='$CXXCPP $CPPFLAGS'
51323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51328 /* end confdefs.h. */
51329 #include <stdlib.h>
51338 if ac_fn_cxx_try_compile "$LINENO"; then :
51339 glibcxx_cv_func_strtof_use=yes
51341 glibcxx_cv_func_strtof_use=no
51343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51345 ac_cpp='$CPP $CPPFLAGS'
51346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51355 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51356 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51357 for ac_func in strtof
51359 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51360 if test "x$ac_cv_func_strtof" = x""yes; then :
51361 cat >>confdefs.h <<_ACEOF
51362 #define HAVE_STRTOF 1
51373 CXXFLAGS="$ac_save_CXXFLAGS"
51375 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
51379 # Check whether --enable-tls was given.
51380 if test "${enable_tls+set}" = set; then :
51381 enableval=$enable_tls;
51382 case "$enableval" in
51384 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
51392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
51393 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
51394 if test "${gcc_cv_have_tls+set}" = set; then :
51395 $as_echo_n "(cached) " >&6
51398 if test "$cross_compiling" = yes; then :
51399 if test x$gcc_no_link = xyes; then
51400 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51403 /* end confdefs.h. */
51404 __thread int a; int b; int main() { return a = b; }
51406 if ac_fn_c_try_link "$LINENO"; then :
51407 chktls_save_LDFLAGS="$LDFLAGS"
51410 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
51413 chktls_save_CFLAGS="$CFLAGS"
51414 CFLAGS="-fPIC $CFLAGS"
51415 if test x$gcc_no_link = xyes; then
51416 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51419 /* end confdefs.h. */
51420 int f() { return 0; }
51422 if ac_fn_c_try_link "$LINENO"; then :
51423 if test x$gcc_no_link = xyes; then
51424 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51427 /* end confdefs.h. */
51428 __thread int a; int b; int f() { return a = b; }
51430 if ac_fn_c_try_link "$LINENO"; then :
51431 gcc_cv_have_tls=yes
51435 rm -f core conftest.err conftest.$ac_objext \
51436 conftest$ac_exeext conftest.$ac_ext
51438 gcc_cv_have_tls=yes
51440 rm -f core conftest.err conftest.$ac_objext \
51441 conftest$ac_exeext conftest.$ac_ext
51442 CFLAGS="$chktls_save_CFLAGS"
51443 LDFLAGS="$chktls_save_LDFLAGS"
51447 rm -f core conftest.err conftest.$ac_objext \
51448 conftest$ac_exeext conftest.$ac_ext
51452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51453 /* end confdefs.h. */
51454 __thread int a; int b; int main() { return a = b; }
51456 if ac_fn_c_try_run "$LINENO"; then :
51457 chktls_save_LDFLAGS="$LDFLAGS"
51458 LDFLAGS="-static $LDFLAGS"
51459 if test x$gcc_no_link = xyes; then
51460 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51463 /* end confdefs.h. */
51464 int main() { return 0; }
51466 if ac_fn_c_try_link "$LINENO"; then :
51467 if test "$cross_compiling" = yes; then :
51468 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51469 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51470 as_fn_error "cannot run test program while cross compiling
51471 See \`config.log' for more details." "$LINENO" 5; }
51473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51474 /* end confdefs.h. */
51475 __thread int a; int b; int main() { return a = b; }
51477 if ac_fn_c_try_run "$LINENO"; then :
51478 gcc_cv_have_tls=yes
51482 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51483 conftest.$ac_objext conftest.beam conftest.$ac_ext
51487 gcc_cv_have_tls=yes
51489 rm -f core conftest.err conftest.$ac_objext \
51490 conftest$ac_exeext conftest.$ac_ext
51491 LDFLAGS="$chktls_save_LDFLAGS"
51492 if test $gcc_cv_have_tls = yes; then
51493 chktls_save_CFLAGS="$CFLAGS"
51494 thread_CFLAGS=failed
51495 for flag in '' '-pthread' '-lpthread'; do
51496 CFLAGS="$flag $chktls_save_CFLAGS"
51497 if test x$gcc_no_link = xyes; then
51498 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51501 /* end confdefs.h. */
51502 #include <pthread.h>
51503 void *g(void *d) { return NULL; }
51507 pthread_t t; pthread_create(&t,NULL,g,NULL);
51512 if ac_fn_c_try_link "$LINENO"; then :
51513 thread_CFLAGS="$flag"
51515 rm -f core conftest.err conftest.$ac_objext \
51516 conftest$ac_exeext conftest.$ac_ext
51517 if test "X$thread_CFLAGS" != Xfailed; then
51521 CFLAGS="$chktls_save_CFLAGS"
51522 if test "X$thread_CFLAGS" != Xfailed; then
51523 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
51524 if test "$cross_compiling" = yes; then :
51525 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51526 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51527 as_fn_error "cannot run test program while cross compiling
51528 See \`config.log' for more details." "$LINENO" 5; }
51530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51531 /* end confdefs.h. */
51532 #include <pthread.h>
51534 static int *volatile a_in_other_thread;
51536 thread_func (void *arg)
51538 a_in_other_thread = &a;
51545 void *thread_retval;
51546 int *volatile a_in_main_thread;
51547 a_in_main_thread = &a;
51548 if (pthread_create (&thread, (pthread_attr_t *)0,
51549 thread_func, (void *)0))
51551 if (pthread_join (thread, &thread_retval))
51553 return (a_in_other_thread == a_in_main_thread);
51558 if ac_fn_c_try_run "$LINENO"; then :
51559 gcc_cv_have_tls=yes
51563 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51564 conftest.$ac_objext conftest.beam conftest.$ac_ext
51567 CFLAGS="$chktls_save_CFLAGS"
51573 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51574 conftest.$ac_objext conftest.beam conftest.$ac_ext
51578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
51579 $as_echo "$gcc_cv_have_tls" >&6; }
51580 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
51582 $as_echo "#define HAVE_TLS 1" >>confdefs.h
51590 am_save_CPPFLAGS="$CPPFLAGS"
51592 for element in $INCICONV; do
51594 for x in $CPPFLAGS; do
51596 acl_save_prefix="$prefix"
51597 prefix="$acl_final_prefix"
51598 acl_save_exec_prefix="$exec_prefix"
51599 exec_prefix="$acl_final_exec_prefix"
51601 exec_prefix="$acl_save_exec_prefix"
51602 prefix="$acl_save_prefix"
51604 if test "X$x" = "X$element"; then
51609 if test -z "$haveit"; then
51610 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
51615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
51616 $as_echo_n "checking for iconv... " >&6; }
51617 if test "${am_cv_func_iconv+set}" = set; then :
51618 $as_echo_n "(cached) " >&6
51621 am_cv_func_iconv="no, consider installing GNU libiconv"
51623 if test x$gcc_no_link = xyes; then
51624 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51627 /* end confdefs.h. */
51628 #include <stdlib.h>
51633 iconv_t cd = iconv_open("","");
51634 iconv(cd,NULL,NULL,NULL,NULL);
51640 if ac_fn_c_try_link "$LINENO"; then :
51641 am_cv_func_iconv=yes
51643 rm -f core conftest.err conftest.$ac_objext \
51644 conftest$ac_exeext conftest.$ac_ext
51645 if test "$am_cv_func_iconv" != yes; then
51646 am_save_LIBS="$LIBS"
51647 LIBS="$LIBS $LIBICONV"
51648 if test x$gcc_no_link = xyes; then
51649 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51652 /* end confdefs.h. */
51653 #include <stdlib.h>
51658 iconv_t cd = iconv_open("","");
51659 iconv(cd,NULL,NULL,NULL,NULL);
51665 if ac_fn_c_try_link "$LINENO"; then :
51666 am_cv_lib_iconv=yes
51667 am_cv_func_iconv=yes
51669 rm -f core conftest.err conftest.$ac_objext \
51670 conftest$ac_exeext conftest.$ac_ext
51671 LIBS="$am_save_LIBS"
51675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
51676 $as_echo "$am_cv_func_iconv" >&6; }
51677 if test "$am_cv_func_iconv" = yes; then
51679 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
51682 if test "$am_cv_lib_iconv" = yes; then
51683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
51684 $as_echo_n "checking how to link with libiconv... " >&6; }
51685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
51686 $as_echo "$LIBICONV" >&6; }
51688 CPPFLAGS="$am_save_CPPFLAGS"
51695 if test "$am_cv_func_iconv" = yes; then
51696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
51697 $as_echo_n "checking for iconv declaration... " >&6; }
51698 if test "${am_cv_proto_iconv+set}" = set; then :
51699 $as_echo_n "(cached) " >&6
51702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51703 /* end confdefs.h. */
51705 #include <stdlib.h>
51711 #if defined(__STDC__) || defined(__cplusplus)
51712 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
51725 if ac_fn_c_try_compile "$LINENO"; then :
51726 am_cv_proto_iconv_arg1=""
51728 am_cv_proto_iconv_arg1="const"
51730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51731 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);"
51734 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
51735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
51736 }$am_cv_proto_iconv" >&5
51738 }$am_cv_proto_iconv" >&6; }
51740 cat >>confdefs.h <<_ACEOF
51741 #define ICONV_CONST $am_cv_proto_iconv_arg1
51749 # If we're not using GNU ld, then there's no point in even trying these
51750 # tests. Check for that first. We should have already tested for gld
51751 # by now (in libtool), but require it now just to be safe...
51752 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51753 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51757 # The name set by libtool depends on the version of libtool. Shame on us
51758 # for depending on an impl detail, but c'est la vie. Older versions used
51759 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51760 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51761 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51762 # set (hence we're using an older libtool), then set it.
51763 if test x${with_gnu_ld+set} != xset; then
51764 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51765 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51768 with_gnu_ld=$ac_cv_prog_gnu_ld
51772 # Start by getting the version number. I think the libtool test already
51773 # does some of this, but throws away the result.
51774 glibcxx_ld_is_gold=no
51775 if test x"$with_gnu_ld" = x"yes"; then
51776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51777 $as_echo_n "checking for ld version... " >&6; }
51779 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51780 glibcxx_ld_is_gold=yes
51782 ldver=`$LD --version 2>/dev/null |
51783 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'`
51785 glibcxx_gnu_ld_version=`echo $ldver | \
51786 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51788 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51791 # Set --gc-sections.
51792 glibcxx_have_gc_sections=no
51793 if test "$glibcxx_ld_is_gold" = "yes"; then
51794 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51795 glibcxx_have_gc_sections=yes
51798 glibcxx_gcsections_min_ld=21602
51799 if test x"$with_gnu_ld" = x"yes" &&
51800 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51801 glibcxx_have_gc_sections=yes
51804 if test "$glibcxx_have_gc_sections" = "yes"; then
51805 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
51806 # NB: This flag only works reliably after 2.16.1. Configure tests
51807 # for this are difficult, so hard wire a value that should work.
51809 ac_test_CFLAGS="${CFLAGS+set}"
51810 ac_save_CFLAGS="$CFLAGS"
51811 CFLAGS='-Wl,--gc-sections'
51813 # Check for -Wl,--gc-sections
51814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51815 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51816 if test x$gcc_no_link = xyes; then
51817 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51820 /* end confdefs.h. */
51821 int one(void) { return 1; }
51822 int two(void) { return 2; }
51832 if ac_fn_c_try_link "$LINENO"; then :
51837 rm -f core conftest.err conftest.$ac_objext \
51838 conftest$ac_exeext conftest.$ac_ext
51839 if test "$ac_gcsections" = "yes"; then
51842 if $CC -c conftest.c; then
51843 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51844 grep "Warning: gc-sections option ignored" > /dev/null; then
51848 rm -f conftest.c conftest.o conftest
51850 if test "$ac_gcsections" = "yes"; then
51851 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51854 $as_echo "$ac_gcsections" >&6; }
51856 if test "$ac_test_CFLAGS" = set; then
51857 CFLAGS="$ac_save_CFLAGS"
51859 # this is the suspicious part
51865 # Note this is only for shared objects.
51867 if test x"$with_gnu_ld" = x"yes"; then
51868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51869 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51870 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51871 if test -n "$cxx_z_relo"; then
51872 OPT_LDFLAGS="-Wl,-z,relro"
51875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51876 $as_echo "$ac_ld_relro" >&6; }
51879 # Set linker optimization flags.
51880 if test x"$with_gnu_ld" = x"yes"; then
51881 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51888 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51889 ac_save_CXXFLAGS="$CXXFLAGS"
51890 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
51893 $as_echo_n "checking for sin in -lm... " >&6; }
51894 if test "${ac_cv_lib_m_sin+set}" = set; then :
51895 $as_echo_n "(cached) " >&6
51897 ac_check_lib_save_LIBS=$LIBS
51899 if test x$gcc_no_link = xyes; then
51900 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51903 /* end confdefs.h. */
51905 /* Override any GCC internal prototype to avoid an error.
51906 Use char because int might match the return type of a GCC
51907 builtin and then its argument prototype would still apply. */
51920 if ac_fn_c_try_link "$LINENO"; then :
51921 ac_cv_lib_m_sin=yes
51925 rm -f core conftest.err conftest.$ac_objext \
51926 conftest$ac_exeext conftest.$ac_ext
51927 LIBS=$ac_check_lib_save_LIBS
51929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51930 $as_echo "$ac_cv_lib_m_sin" >&6; }
51931 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51935 ac_save_LIBS="$LIBS"
51940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51941 $as_echo_n "checking for isinf declaration... " >&6; }
51942 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51943 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51944 $as_echo_n "(cached) " >&6
51949 ac_cpp='$CXXCPP $CPPFLAGS'
51950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51955 /* end confdefs.h. */
51957 #ifdef HAVE_IEEEFP_H
51958 #include <ieeefp.h>
51969 if ac_fn_cxx_try_compile "$LINENO"; then :
51970 glibcxx_cv_func_isinf_use=yes
51972 glibcxx_cv_func_isinf_use=no
51974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51976 ac_cpp='$CPP $CPPFLAGS'
51977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51986 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51988 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51989 for ac_func in isinf
51991 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51992 if test "x$ac_cv_func_isinf" = x""yes; then :
51993 cat >>confdefs.h <<_ACEOF
51994 #define HAVE_ISINF 1
52002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
52003 $as_echo_n "checking for _isinf declaration... " >&6; }
52004 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
52005 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
52006 $as_echo_n "(cached) " >&6
52011 ac_cpp='$CXXCPP $CPPFLAGS'
52012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52017 /* end confdefs.h. */
52019 #ifdef HAVE_IEEEFP_H
52020 #include <ieeefp.h>
52031 if ac_fn_cxx_try_compile "$LINENO"; then :
52032 glibcxx_cv_func__isinf_use=yes
52034 glibcxx_cv_func__isinf_use=no
52036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52038 ac_cpp='$CPP $CPPFLAGS'
52039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
52048 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
52050 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52051 for ac_func in _isinf
52053 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
52054 if test "x$ac_cv_func__isinf" = x""yes; then :
52055 cat >>confdefs.h <<_ACEOF
52056 #define HAVE__ISINF 1
52069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
52070 $as_echo_n "checking for isnan declaration... " >&6; }
52071 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52072 if test "${glibcxx_cv_func_isnan_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. */
52086 #ifdef HAVE_IEEEFP_H
52087 #include <ieeefp.h>
52098 if ac_fn_cxx_try_compile "$LINENO"; then :
52099 glibcxx_cv_func_isnan_use=yes
52101 glibcxx_cv_func_isnan_use=no
52103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52105 ac_cpp='$CPP $CPPFLAGS'
52106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52115 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52117 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52118 for ac_func in isnan
52120 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52121 if test "x$ac_cv_func_isnan" = x""yes; then :
52122 cat >>confdefs.h <<_ACEOF
52123 #define HAVE_ISNAN 1
52131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52132 $as_echo_n "checking for _isnan declaration... " >&6; }
52133 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52134 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52135 $as_echo_n "(cached) " >&6
52140 ac_cpp='$CXXCPP $CPPFLAGS'
52141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52146 /* end confdefs.h. */
52148 #ifdef HAVE_IEEEFP_H
52149 #include <ieeefp.h>
52160 if ac_fn_cxx_try_compile "$LINENO"; then :
52161 glibcxx_cv_func__isnan_use=yes
52163 glibcxx_cv_func__isnan_use=no
52165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52167 ac_cpp='$CPP $CPPFLAGS'
52168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52177 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52179 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52180 for ac_func in _isnan
52182 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
52183 if test "x$ac_cv_func__isnan" = x""yes; then :
52184 cat >>confdefs.h <<_ACEOF
52185 #define HAVE__ISNAN 1
52198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
52199 $as_echo_n "checking for finite declaration... " >&6; }
52200 if test x${glibcxx_cv_func_finite_use+set} != xset; then
52201 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
52202 $as_echo_n "(cached) " >&6
52207 ac_cpp='$CXXCPP $CPPFLAGS'
52208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52213 /* end confdefs.h. */
52215 #ifdef HAVE_IEEEFP_H
52216 #include <ieeefp.h>
52227 if ac_fn_cxx_try_compile "$LINENO"; then :
52228 glibcxx_cv_func_finite_use=yes
52230 glibcxx_cv_func_finite_use=no
52232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52234 ac_cpp='$CPP $CPPFLAGS'
52235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
52244 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
52246 if test x$glibcxx_cv_func_finite_use = x"yes"; then
52247 for ac_func in finite
52249 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
52250 if test "x$ac_cv_func_finite" = x""yes; then :
52251 cat >>confdefs.h <<_ACEOF
52252 #define HAVE_FINITE 1
52260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
52261 $as_echo_n "checking for _finite declaration... " >&6; }
52262 if test x${glibcxx_cv_func__finite_use+set} != xset; then
52263 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
52264 $as_echo_n "(cached) " >&6
52269 ac_cpp='$CXXCPP $CPPFLAGS'
52270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52275 /* end confdefs.h. */
52277 #ifdef HAVE_IEEEFP_H
52278 #include <ieeefp.h>
52289 if ac_fn_cxx_try_compile "$LINENO"; then :
52290 glibcxx_cv_func__finite_use=yes
52292 glibcxx_cv_func__finite_use=no
52294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52296 ac_cpp='$CPP $CPPFLAGS'
52297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
52306 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
52308 if test x$glibcxx_cv_func__finite_use = x"yes"; then
52309 for ac_func in _finite
52311 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
52312 if test "x$ac_cv_func__finite" = x""yes; then :
52313 cat >>confdefs.h <<_ACEOF
52314 #define HAVE__FINITE 1
52327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
52328 $as_echo_n "checking for sincos declaration... " >&6; }
52329 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
52330 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
52331 $as_echo_n "(cached) " >&6
52336 ac_cpp='$CXXCPP $CPPFLAGS'
52337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52342 /* end confdefs.h. */
52352 if ac_fn_cxx_try_compile "$LINENO"; then :
52353 glibcxx_cv_func_sincos_use=yes
52355 glibcxx_cv_func_sincos_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_sincos_use" >&5
52369 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
52371 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
52372 for ac_func in sincos
52374 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
52375 if test "x$ac_cv_func_sincos" = x""yes; then :
52376 cat >>confdefs.h <<_ACEOF
52377 #define HAVE_SINCOS 1
52385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
52386 $as_echo_n "checking for _sincos declaration... " >&6; }
52387 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
52388 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
52389 $as_echo_n "(cached) " >&6
52394 ac_cpp='$CXXCPP $CPPFLAGS'
52395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52400 /* end confdefs.h. */
52410 if ac_fn_cxx_try_compile "$LINENO"; then :
52411 glibcxx_cv_func__sincos_use=yes
52413 glibcxx_cv_func__sincos_use=no
52415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52417 ac_cpp='$CPP $CPPFLAGS'
52418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
52427 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
52429 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
52430 for ac_func in _sincos
52432 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
52433 if test "x$ac_cv_func__sincos" = x""yes; then :
52434 cat >>confdefs.h <<_ACEOF
52435 #define HAVE__SINCOS 1
52448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
52449 $as_echo_n "checking for fpclass declaration... " >&6; }
52450 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
52451 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
52452 $as_echo_n "(cached) " >&6
52457 ac_cpp='$CXXCPP $CPPFLAGS'
52458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52463 /* end confdefs.h. */
52465 #ifdef HAVE_IEEEFP_H
52466 #include <ieeefp.h>
52477 if ac_fn_cxx_try_compile "$LINENO"; then :
52478 glibcxx_cv_func_fpclass_use=yes
52480 glibcxx_cv_func_fpclass_use=no
52482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52484 ac_cpp='$CPP $CPPFLAGS'
52485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
52494 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
52496 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
52497 for ac_func in fpclass
52499 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
52500 if test "x$ac_cv_func_fpclass" = x""yes; then :
52501 cat >>confdefs.h <<_ACEOF
52502 #define HAVE_FPCLASS 1
52510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
52511 $as_echo_n "checking for _fpclass declaration... " >&6; }
52512 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
52513 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
52514 $as_echo_n "(cached) " >&6
52519 ac_cpp='$CXXCPP $CPPFLAGS'
52520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52525 /* end confdefs.h. */
52527 #ifdef HAVE_IEEEFP_H
52528 #include <ieeefp.h>
52539 if ac_fn_cxx_try_compile "$LINENO"; then :
52540 glibcxx_cv_func__fpclass_use=yes
52542 glibcxx_cv_func__fpclass_use=no
52544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52546 ac_cpp='$CPP $CPPFLAGS'
52547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
52556 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
52558 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
52559 for ac_func in _fpclass
52561 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
52562 if test "x$ac_cv_func__fpclass" = x""yes; then :
52563 cat >>confdefs.h <<_ACEOF
52564 #define HAVE__FPCLASS 1
52577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
52578 $as_echo_n "checking for qfpclass declaration... " >&6; }
52579 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
52580 if test "${glibcxx_cv_func_qfpclass_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. */
52594 #ifdef HAVE_IEEEFP_H
52595 #include <ieeefp.h>
52606 if ac_fn_cxx_try_compile "$LINENO"; then :
52607 glibcxx_cv_func_qfpclass_use=yes
52609 glibcxx_cv_func_qfpclass_use=no
52611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52613 ac_cpp='$CPP $CPPFLAGS'
52614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
52623 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
52625 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
52626 for ac_func in qfpclass
52628 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
52629 if test "x$ac_cv_func_qfpclass" = x""yes; then :
52630 cat >>confdefs.h <<_ACEOF
52631 #define HAVE_QFPCLASS 1
52639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
52640 $as_echo_n "checking for _qfpclass declaration... " >&6; }
52641 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
52642 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
52643 $as_echo_n "(cached) " >&6
52648 ac_cpp='$CXXCPP $CPPFLAGS'
52649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52654 /* end confdefs.h. */
52656 #ifdef HAVE_IEEEFP_H
52657 #include <ieeefp.h>
52668 if ac_fn_cxx_try_compile "$LINENO"; then :
52669 glibcxx_cv_func__qfpclass_use=yes
52671 glibcxx_cv_func__qfpclass_use=no
52673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52675 ac_cpp='$CPP $CPPFLAGS'
52676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
52685 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
52687 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
52688 for ac_func in _qfpclass
52690 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
52691 if test "x$ac_cv_func__qfpclass" = x""yes; then :
52692 cat >>confdefs.h <<_ACEOF
52693 #define HAVE__QFPCLASS 1
52706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
52707 $as_echo_n "checking for hypot declaration... " >&6; }
52708 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
52709 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
52710 $as_echo_n "(cached) " >&6
52715 ac_cpp='$CXXCPP $CPPFLAGS'
52716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52721 /* end confdefs.h. */
52731 if ac_fn_cxx_try_compile "$LINENO"; then :
52732 glibcxx_cv_func_hypot_use=yes
52734 glibcxx_cv_func_hypot_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_hypot_use" >&5
52748 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
52750 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
52751 for ac_func in hypot
52753 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
52754 if test "x$ac_cv_func_hypot" = x""yes; then :
52755 cat >>confdefs.h <<_ACEOF
52756 #define HAVE_HYPOT 1
52764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
52765 $as_echo_n "checking for _hypot declaration... " >&6; }
52766 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
52767 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
52768 $as_echo_n "(cached) " >&6
52773 ac_cpp='$CXXCPP $CPPFLAGS'
52774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52779 /* end confdefs.h. */
52789 if ac_fn_cxx_try_compile "$LINENO"; then :
52790 glibcxx_cv_func__hypot_use=yes
52792 glibcxx_cv_func__hypot_use=no
52794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52796 ac_cpp='$CPP $CPPFLAGS'
52797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
52806 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
52808 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
52809 for ac_func in _hypot
52811 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
52812 if test "x$ac_cv_func__hypot" = x""yes; then :
52813 cat >>confdefs.h <<_ACEOF
52814 #define HAVE__HYPOT 1
52827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
52828 $as_echo_n "checking for float trig functions... " >&6; }
52829 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
52830 $as_echo_n "(cached) " >&6
52835 ac_cpp='$CXXCPP $CPPFLAGS'
52836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52841 /* end confdefs.h. */
52846 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
52851 if ac_fn_cxx_try_compile "$LINENO"; then :
52852 glibcxx_cv_func_float_trig_use=yes
52854 glibcxx_cv_func_float_trig_use=no
52856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52858 ac_cpp='$CPP $CPPFLAGS'
52859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
52866 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
52867 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
52868 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
52870 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52871 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52872 eval as_val=\$$as_ac_var
52873 if test "x$as_val" = x""yes; then :
52874 cat >>confdefs.h <<_ACEOF
52875 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
52883 $as_echo_n "checking for _float trig functions... " >&6; }
52884 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
52885 $as_echo_n "(cached) " >&6
52890 ac_cpp='$CXXCPP $CPPFLAGS'
52891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52896 /* end confdefs.h. */
52901 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
52906 if ac_fn_cxx_try_compile "$LINENO"; then :
52907 glibcxx_cv_func__float_trig_use=yes
52909 glibcxx_cv_func__float_trig_use=no
52911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52913 ac_cpp='$CPP $CPPFLAGS'
52914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
52921 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
52922 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
52923 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
52925 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52926 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52927 eval as_val=\$$as_ac_var
52928 if test "x$as_val" = x""yes; then :
52929 cat >>confdefs.h <<_ACEOF
52930 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52944 $as_echo_n "checking for float round functions... " >&6; }
52945 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52946 $as_echo_n "(cached) " >&6
52951 ac_cpp='$CXXCPP $CPPFLAGS'
52952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52957 /* end confdefs.h. */
52962 ceilf (0); floorf (0);
52967 if ac_fn_cxx_try_compile "$LINENO"; then :
52968 glibcxx_cv_func_float_round_use=yes
52970 glibcxx_cv_func_float_round_use=no
52972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52974 ac_cpp='$CPP $CPPFLAGS'
52975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52982 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52983 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52984 for ac_func in ceilf floorf
52986 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52987 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52988 eval as_val=\$$as_ac_var
52989 if test "x$as_val" = x""yes; then :
52990 cat >>confdefs.h <<_ACEOF
52991 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52999 $as_echo_n "checking for _float round functions... " >&6; }
53000 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
53001 $as_echo_n "(cached) " >&6
53006 ac_cpp='$CXXCPP $CPPFLAGS'
53007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53012 /* end confdefs.h. */
53017 _ceilf (0); _floorf (0);
53022 if ac_fn_cxx_try_compile "$LINENO"; then :
53023 glibcxx_cv_func__float_round_use=yes
53025 glibcxx_cv_func__float_round_use=no
53027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53029 ac_cpp='$CPP $CPPFLAGS'
53030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53037 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53038 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53039 for ac_func in _ceilf _floorf
53041 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53042 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53043 eval as_val=\$$as_ac_var
53044 if test "x$as_val" = x""yes; then :
53045 cat >>confdefs.h <<_ACEOF
53046 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
53061 $as_echo_n "checking for expf declaration... " >&6; }
53062 if test x${glibcxx_cv_func_expf_use+set} != xset; then
53063 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
53064 $as_echo_n "(cached) " >&6
53069 ac_cpp='$CXXCPP $CPPFLAGS'
53070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53075 /* end confdefs.h. */
53077 #ifdef HAVE_IEEEFP_H
53078 #include <ieeefp.h>
53089 if ac_fn_cxx_try_compile "$LINENO"; then :
53090 glibcxx_cv_func_expf_use=yes
53092 glibcxx_cv_func_expf_use=no
53094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53096 ac_cpp='$CPP $CPPFLAGS'
53097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53106 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53108 if test x$glibcxx_cv_func_expf_use = x"yes"; then
53109 for ac_func in expf
53111 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53112 if test "x$ac_cv_func_expf" = x""yes; then :
53113 cat >>confdefs.h <<_ACEOF
53114 #define HAVE_EXPF 1
53122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53123 $as_echo_n "checking for _expf declaration... " >&6; }
53124 if test x${glibcxx_cv_func__expf_use+set} != xset; then
53125 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53126 $as_echo_n "(cached) " >&6
53131 ac_cpp='$CXXCPP $CPPFLAGS'
53132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53137 /* end confdefs.h. */
53139 #ifdef HAVE_IEEEFP_H
53140 #include <ieeefp.h>
53151 if ac_fn_cxx_try_compile "$LINENO"; then :
53152 glibcxx_cv_func__expf_use=yes
53154 glibcxx_cv_func__expf_use=no
53156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53158 ac_cpp='$CPP $CPPFLAGS'
53159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53168 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53170 if test x$glibcxx_cv_func__expf_use = x"yes"; then
53171 for ac_func in _expf
53173 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53174 if test "x$ac_cv_func__expf" = x""yes; then :
53175 cat >>confdefs.h <<_ACEOF
53176 #define HAVE__EXPF 1
53189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
53190 $as_echo_n "checking for isnanf declaration... " >&6; }
53191 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
53192 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
53193 $as_echo_n "(cached) " >&6
53198 ac_cpp='$CXXCPP $CPPFLAGS'
53199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53204 /* end confdefs.h. */
53206 #ifdef HAVE_IEEEFP_H
53207 #include <ieeefp.h>
53218 if ac_fn_cxx_try_compile "$LINENO"; then :
53219 glibcxx_cv_func_isnanf_use=yes
53221 glibcxx_cv_func_isnanf_use=no
53223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53225 ac_cpp='$CPP $CPPFLAGS'
53226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
53235 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
53237 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
53238 for ac_func in isnanf
53240 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
53241 if test "x$ac_cv_func_isnanf" = x""yes; then :
53242 cat >>confdefs.h <<_ACEOF
53243 #define HAVE_ISNANF 1
53251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
53252 $as_echo_n "checking for _isnanf declaration... " >&6; }
53253 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
53254 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
53255 $as_echo_n "(cached) " >&6
53260 ac_cpp='$CXXCPP $CPPFLAGS'
53261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53266 /* end confdefs.h. */
53268 #ifdef HAVE_IEEEFP_H
53269 #include <ieeefp.h>
53280 if ac_fn_cxx_try_compile "$LINENO"; then :
53281 glibcxx_cv_func__isnanf_use=yes
53283 glibcxx_cv_func__isnanf_use=no
53285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53287 ac_cpp='$CPP $CPPFLAGS'
53288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
53297 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
53299 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
53300 for ac_func in _isnanf
53302 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
53303 if test "x$ac_cv_func__isnanf" = x""yes; then :
53304 cat >>confdefs.h <<_ACEOF
53305 #define HAVE__ISNANF 1
53318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
53319 $as_echo_n "checking for isinff declaration... " >&6; }
53320 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
53321 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
53322 $as_echo_n "(cached) " >&6
53327 ac_cpp='$CXXCPP $CPPFLAGS'
53328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53333 /* end confdefs.h. */
53335 #ifdef HAVE_IEEEFP_H
53336 #include <ieeefp.h>
53347 if ac_fn_cxx_try_compile "$LINENO"; then :
53348 glibcxx_cv_func_isinff_use=yes
53350 glibcxx_cv_func_isinff_use=no
53352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53354 ac_cpp='$CPP $CPPFLAGS'
53355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
53364 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
53366 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
53367 for ac_func in isinff
53369 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
53370 if test "x$ac_cv_func_isinff" = x""yes; then :
53371 cat >>confdefs.h <<_ACEOF
53372 #define HAVE_ISINFF 1
53380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
53381 $as_echo_n "checking for _isinff declaration... " >&6; }
53382 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
53383 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
53384 $as_echo_n "(cached) " >&6
53389 ac_cpp='$CXXCPP $CPPFLAGS'
53390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53395 /* end confdefs.h. */
53397 #ifdef HAVE_IEEEFP_H
53398 #include <ieeefp.h>
53409 if ac_fn_cxx_try_compile "$LINENO"; then :
53410 glibcxx_cv_func__isinff_use=yes
53412 glibcxx_cv_func__isinff_use=no
53414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53416 ac_cpp='$CPP $CPPFLAGS'
53417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
53426 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
53428 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
53429 for ac_func in _isinff
53431 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
53432 if test "x$ac_cv_func__isinff" = x""yes; then :
53433 cat >>confdefs.h <<_ACEOF
53434 #define HAVE__ISINFF 1
53447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
53448 $as_echo_n "checking for atan2f declaration... " >&6; }
53449 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
53450 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
53451 $as_echo_n "(cached) " >&6
53456 ac_cpp='$CXXCPP $CPPFLAGS'
53457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53462 /* end confdefs.h. */
53472 if ac_fn_cxx_try_compile "$LINENO"; then :
53473 glibcxx_cv_func_atan2f_use=yes
53475 glibcxx_cv_func_atan2f_use=no
53477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53479 ac_cpp='$CPP $CPPFLAGS'
53480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
53489 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
53491 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
53492 for ac_func in atan2f
53494 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
53495 if test "x$ac_cv_func_atan2f" = x""yes; then :
53496 cat >>confdefs.h <<_ACEOF
53497 #define HAVE_ATAN2F 1
53505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
53506 $as_echo_n "checking for _atan2f declaration... " >&6; }
53507 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
53508 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
53509 $as_echo_n "(cached) " >&6
53514 ac_cpp='$CXXCPP $CPPFLAGS'
53515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53520 /* end confdefs.h. */
53530 if ac_fn_cxx_try_compile "$LINENO"; then :
53531 glibcxx_cv_func__atan2f_use=yes
53533 glibcxx_cv_func__atan2f_use=no
53535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53537 ac_cpp='$CPP $CPPFLAGS'
53538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
53547 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
53549 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
53550 for ac_func in _atan2f
53552 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
53553 if test "x$ac_cv_func__atan2f" = x""yes; then :
53554 cat >>confdefs.h <<_ACEOF
53555 #define HAVE__ATAN2F 1
53568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
53569 $as_echo_n "checking for fabsf declaration... " >&6; }
53570 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
53571 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
53572 $as_echo_n "(cached) " >&6
53577 ac_cpp='$CXXCPP $CPPFLAGS'
53578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53583 /* end confdefs.h. */
53585 #ifdef HAVE_IEEEFP_H
53586 #include <ieeefp.h>
53597 if ac_fn_cxx_try_compile "$LINENO"; then :
53598 glibcxx_cv_func_fabsf_use=yes
53600 glibcxx_cv_func_fabsf_use=no
53602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53604 ac_cpp='$CPP $CPPFLAGS'
53605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
53614 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
53616 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
53617 for ac_func in fabsf
53619 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
53620 if test "x$ac_cv_func_fabsf" = x""yes; then :
53621 cat >>confdefs.h <<_ACEOF
53622 #define HAVE_FABSF 1
53630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
53631 $as_echo_n "checking for _fabsf declaration... " >&6; }
53632 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
53633 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
53634 $as_echo_n "(cached) " >&6
53639 ac_cpp='$CXXCPP $CPPFLAGS'
53640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53645 /* end confdefs.h. */
53647 #ifdef HAVE_IEEEFP_H
53648 #include <ieeefp.h>
53659 if ac_fn_cxx_try_compile "$LINENO"; then :
53660 glibcxx_cv_func__fabsf_use=yes
53662 glibcxx_cv_func__fabsf_use=no
53664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53666 ac_cpp='$CPP $CPPFLAGS'
53667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
53676 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
53678 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
53679 for ac_func in _fabsf
53681 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
53682 if test "x$ac_cv_func__fabsf" = x""yes; then :
53683 cat >>confdefs.h <<_ACEOF
53684 #define HAVE__FABSF 1
53697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
53698 $as_echo_n "checking for fmodf declaration... " >&6; }
53699 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
53700 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
53701 $as_echo_n "(cached) " >&6
53706 ac_cpp='$CXXCPP $CPPFLAGS'
53707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53712 /* end confdefs.h. */
53722 if ac_fn_cxx_try_compile "$LINENO"; then :
53723 glibcxx_cv_func_fmodf_use=yes
53725 glibcxx_cv_func_fmodf_use=no
53727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53729 ac_cpp='$CPP $CPPFLAGS'
53730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
53739 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
53741 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
53742 for ac_func in fmodf
53744 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
53745 if test "x$ac_cv_func_fmodf" = x""yes; then :
53746 cat >>confdefs.h <<_ACEOF
53747 #define HAVE_FMODF 1
53755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
53756 $as_echo_n "checking for _fmodf declaration... " >&6; }
53757 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
53758 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
53759 $as_echo_n "(cached) " >&6
53764 ac_cpp='$CXXCPP $CPPFLAGS'
53765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53770 /* end confdefs.h. */
53780 if ac_fn_cxx_try_compile "$LINENO"; then :
53781 glibcxx_cv_func__fmodf_use=yes
53783 glibcxx_cv_func__fmodf_use=no
53785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53787 ac_cpp='$CPP $CPPFLAGS'
53788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
53797 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
53799 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
53800 for ac_func in _fmodf
53802 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
53803 if test "x$ac_cv_func__fmodf" = x""yes; then :
53804 cat >>confdefs.h <<_ACEOF
53805 #define HAVE__FMODF 1
53818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
53819 $as_echo_n "checking for frexpf declaration... " >&6; }
53820 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
53821 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
53822 $as_echo_n "(cached) " >&6
53827 ac_cpp='$CXXCPP $CPPFLAGS'
53828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53833 /* end confdefs.h. */
53843 if ac_fn_cxx_try_compile "$LINENO"; then :
53844 glibcxx_cv_func_frexpf_use=yes
53846 glibcxx_cv_func_frexpf_use=no
53848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53850 ac_cpp='$CPP $CPPFLAGS'
53851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
53860 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
53862 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
53863 for ac_func in frexpf
53865 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
53866 if test "x$ac_cv_func_frexpf" = x""yes; then :
53867 cat >>confdefs.h <<_ACEOF
53868 #define HAVE_FREXPF 1
53876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
53877 $as_echo_n "checking for _frexpf declaration... " >&6; }
53878 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
53879 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
53880 $as_echo_n "(cached) " >&6
53885 ac_cpp='$CXXCPP $CPPFLAGS'
53886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53891 /* end confdefs.h. */
53901 if ac_fn_cxx_try_compile "$LINENO"; then :
53902 glibcxx_cv_func__frexpf_use=yes
53904 glibcxx_cv_func__frexpf_use=no
53906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53908 ac_cpp='$CPP $CPPFLAGS'
53909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
53918 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
53920 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
53921 for ac_func in _frexpf
53923 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
53924 if test "x$ac_cv_func__frexpf" = x""yes; then :
53925 cat >>confdefs.h <<_ACEOF
53926 #define HAVE__FREXPF 1
53939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53940 $as_echo_n "checking for hypotf declaration... " >&6; }
53941 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53942 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53943 $as_echo_n "(cached) " >&6
53948 ac_cpp='$CXXCPP $CPPFLAGS'
53949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53954 /* end confdefs.h. */
53964 if ac_fn_cxx_try_compile "$LINENO"; then :
53965 glibcxx_cv_func_hypotf_use=yes
53967 glibcxx_cv_func_hypotf_use=no
53969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53971 ac_cpp='$CPP $CPPFLAGS'
53972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53981 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53983 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53984 for ac_func in hypotf
53986 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53987 if test "x$ac_cv_func_hypotf" = x""yes; then :
53988 cat >>confdefs.h <<_ACEOF
53989 #define HAVE_HYPOTF 1
53997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53998 $as_echo_n "checking for _hypotf declaration... " >&6; }
53999 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
54000 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
54001 $as_echo_n "(cached) " >&6
54006 ac_cpp='$CXXCPP $CPPFLAGS'
54007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54012 /* end confdefs.h. */
54022 if ac_fn_cxx_try_compile "$LINENO"; then :
54023 glibcxx_cv_func__hypotf_use=yes
54025 glibcxx_cv_func__hypotf_use=no
54027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54029 ac_cpp='$CPP $CPPFLAGS'
54030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54039 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54041 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54042 for ac_func in _hypotf
54044 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
54045 if test "x$ac_cv_func__hypotf" = x""yes; then :
54046 cat >>confdefs.h <<_ACEOF
54047 #define HAVE__HYPOTF 1
54060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
54061 $as_echo_n "checking for ldexpf declaration... " >&6; }
54062 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
54063 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
54064 $as_echo_n "(cached) " >&6
54069 ac_cpp='$CXXCPP $CPPFLAGS'
54070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54075 /* end confdefs.h. */
54085 if ac_fn_cxx_try_compile "$LINENO"; then :
54086 glibcxx_cv_func_ldexpf_use=yes
54088 glibcxx_cv_func_ldexpf_use=no
54090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54092 ac_cpp='$CPP $CPPFLAGS'
54093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54102 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54104 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54105 for ac_func in ldexpf
54107 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54108 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54109 cat >>confdefs.h <<_ACEOF
54110 #define HAVE_LDEXPF 1
54118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54119 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54120 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54121 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54122 $as_echo_n "(cached) " >&6
54127 ac_cpp='$CXXCPP $CPPFLAGS'
54128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54133 /* end confdefs.h. */
54143 if ac_fn_cxx_try_compile "$LINENO"; then :
54144 glibcxx_cv_func__ldexpf_use=yes
54146 glibcxx_cv_func__ldexpf_use=no
54148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54150 ac_cpp='$CPP $CPPFLAGS'
54151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54160 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54162 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54163 for ac_func in _ldexpf
54165 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54166 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54167 cat >>confdefs.h <<_ACEOF
54168 #define HAVE__LDEXPF 1
54181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
54182 $as_echo_n "checking for logf declaration... " >&6; }
54183 if test x${glibcxx_cv_func_logf_use+set} != xset; then
54184 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
54185 $as_echo_n "(cached) " >&6
54190 ac_cpp='$CXXCPP $CPPFLAGS'
54191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54196 /* end confdefs.h. */
54198 #ifdef HAVE_IEEEFP_H
54199 #include <ieeefp.h>
54210 if ac_fn_cxx_try_compile "$LINENO"; then :
54211 glibcxx_cv_func_logf_use=yes
54213 glibcxx_cv_func_logf_use=no
54215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54217 ac_cpp='$CPP $CPPFLAGS'
54218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
54227 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
54229 if test x$glibcxx_cv_func_logf_use = x"yes"; then
54230 for ac_func in logf
54232 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
54233 if test "x$ac_cv_func_logf" = x""yes; then :
54234 cat >>confdefs.h <<_ACEOF
54235 #define HAVE_LOGF 1
54243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
54244 $as_echo_n "checking for _logf declaration... " >&6; }
54245 if test x${glibcxx_cv_func__logf_use+set} != xset; then
54246 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
54247 $as_echo_n "(cached) " >&6
54252 ac_cpp='$CXXCPP $CPPFLAGS'
54253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54258 /* end confdefs.h. */
54260 #ifdef HAVE_IEEEFP_H
54261 #include <ieeefp.h>
54272 if ac_fn_cxx_try_compile "$LINENO"; then :
54273 glibcxx_cv_func__logf_use=yes
54275 glibcxx_cv_func__logf_use=no
54277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54279 ac_cpp='$CPP $CPPFLAGS'
54280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
54289 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
54291 if test x$glibcxx_cv_func__logf_use = x"yes"; then
54292 for ac_func in _logf
54294 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
54295 if test "x$ac_cv_func__logf" = x""yes; then :
54296 cat >>confdefs.h <<_ACEOF
54297 #define HAVE__LOGF 1
54310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
54311 $as_echo_n "checking for log10f declaration... " >&6; }
54312 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
54313 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
54314 $as_echo_n "(cached) " >&6
54319 ac_cpp='$CXXCPP $CPPFLAGS'
54320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54325 /* end confdefs.h. */
54327 #ifdef HAVE_IEEEFP_H
54328 #include <ieeefp.h>
54339 if ac_fn_cxx_try_compile "$LINENO"; then :
54340 glibcxx_cv_func_log10f_use=yes
54342 glibcxx_cv_func_log10f_use=no
54344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54346 ac_cpp='$CPP $CPPFLAGS'
54347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
54356 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
54358 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
54359 for ac_func in log10f
54361 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
54362 if test "x$ac_cv_func_log10f" = x""yes; then :
54363 cat >>confdefs.h <<_ACEOF
54364 #define HAVE_LOG10F 1
54372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
54373 $as_echo_n "checking for _log10f declaration... " >&6; }
54374 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
54375 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
54376 $as_echo_n "(cached) " >&6
54381 ac_cpp='$CXXCPP $CPPFLAGS'
54382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54387 /* end confdefs.h. */
54389 #ifdef HAVE_IEEEFP_H
54390 #include <ieeefp.h>
54401 if ac_fn_cxx_try_compile "$LINENO"; then :
54402 glibcxx_cv_func__log10f_use=yes
54404 glibcxx_cv_func__log10f_use=no
54406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54408 ac_cpp='$CPP $CPPFLAGS'
54409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
54418 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
54420 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
54421 for ac_func in _log10f
54423 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
54424 if test "x$ac_cv_func__log10f" = x""yes; then :
54425 cat >>confdefs.h <<_ACEOF
54426 #define HAVE__LOG10F 1
54439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
54440 $as_echo_n "checking for modff declaration... " >&6; }
54441 if test x${glibcxx_cv_func_modff_use+set} != xset; then
54442 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
54443 $as_echo_n "(cached) " >&6
54448 ac_cpp='$CXXCPP $CPPFLAGS'
54449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54454 /* end confdefs.h. */
54464 if ac_fn_cxx_try_compile "$LINENO"; then :
54465 glibcxx_cv_func_modff_use=yes
54467 glibcxx_cv_func_modff_use=no
54469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54471 ac_cpp='$CPP $CPPFLAGS'
54472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
54481 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
54483 if test x$glibcxx_cv_func_modff_use = x"yes"; then
54484 for ac_func in modff
54486 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
54487 if test "x$ac_cv_func_modff" = x""yes; then :
54488 cat >>confdefs.h <<_ACEOF
54489 #define HAVE_MODFF 1
54497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
54498 $as_echo_n "checking for _modff declaration... " >&6; }
54499 if test x${glibcxx_cv_func__modff_use+set} != xset; then
54500 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
54501 $as_echo_n "(cached) " >&6
54506 ac_cpp='$CXXCPP $CPPFLAGS'
54507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54512 /* end confdefs.h. */
54522 if ac_fn_cxx_try_compile "$LINENO"; then :
54523 glibcxx_cv_func__modff_use=yes
54525 glibcxx_cv_func__modff_use=no
54527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54529 ac_cpp='$CPP $CPPFLAGS'
54530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
54539 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
54541 if test x$glibcxx_cv_func__modff_use = x"yes"; then
54542 for ac_func in _modff
54544 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
54545 if test "x$ac_cv_func__modff" = x""yes; then :
54546 cat >>confdefs.h <<_ACEOF
54547 #define HAVE__MODFF 1
54560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
54561 $as_echo_n "checking for modf declaration... " >&6; }
54562 if test x${glibcxx_cv_func_modf_use+set} != xset; then
54563 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
54564 $as_echo_n "(cached) " >&6
54569 ac_cpp='$CXXCPP $CPPFLAGS'
54570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54575 /* end confdefs.h. */
54585 if ac_fn_cxx_try_compile "$LINENO"; then :
54586 glibcxx_cv_func_modf_use=yes
54588 glibcxx_cv_func_modf_use=no
54590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54592 ac_cpp='$CPP $CPPFLAGS'
54593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
54602 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
54604 if test x$glibcxx_cv_func_modf_use = x"yes"; then
54605 for ac_func in modf
54607 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
54608 if test "x$ac_cv_func_modf" = x""yes; then :
54609 cat >>confdefs.h <<_ACEOF
54610 #define HAVE_MODF 1
54618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
54619 $as_echo_n "checking for _modf declaration... " >&6; }
54620 if test x${glibcxx_cv_func__modf_use+set} != xset; then
54621 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
54622 $as_echo_n "(cached) " >&6
54627 ac_cpp='$CXXCPP $CPPFLAGS'
54628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54633 /* end confdefs.h. */
54643 if ac_fn_cxx_try_compile "$LINENO"; then :
54644 glibcxx_cv_func__modf_use=yes
54646 glibcxx_cv_func__modf_use=no
54648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54650 ac_cpp='$CPP $CPPFLAGS'
54651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
54660 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
54662 if test x$glibcxx_cv_func__modf_use = x"yes"; then
54663 for ac_func in _modf
54665 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
54666 if test "x$ac_cv_func__modf" = x""yes; then :
54667 cat >>confdefs.h <<_ACEOF
54668 #define HAVE__MODF 1
54681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
54682 $as_echo_n "checking for powf declaration... " >&6; }
54683 if test x${glibcxx_cv_func_powf_use+set} != xset; then
54684 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
54685 $as_echo_n "(cached) " >&6
54690 ac_cpp='$CXXCPP $CPPFLAGS'
54691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54696 /* end confdefs.h. */
54706 if ac_fn_cxx_try_compile "$LINENO"; then :
54707 glibcxx_cv_func_powf_use=yes
54709 glibcxx_cv_func_powf_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_powf_use" >&5
54723 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
54725 if test x$glibcxx_cv_func_powf_use = x"yes"; then
54726 for ac_func in powf
54728 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
54729 if test "x$ac_cv_func_powf" = x""yes; then :
54730 cat >>confdefs.h <<_ACEOF
54731 #define HAVE_POWF 1
54739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
54740 $as_echo_n "checking for _powf declaration... " >&6; }
54741 if test x${glibcxx_cv_func__powf_use+set} != xset; then
54742 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
54743 $as_echo_n "(cached) " >&6
54748 ac_cpp='$CXXCPP $CPPFLAGS'
54749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54754 /* end confdefs.h. */
54764 if ac_fn_cxx_try_compile "$LINENO"; then :
54765 glibcxx_cv_func__powf_use=yes
54767 glibcxx_cv_func__powf_use=no
54769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54771 ac_cpp='$CPP $CPPFLAGS'
54772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
54781 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
54783 if test x$glibcxx_cv_func__powf_use = x"yes"; then
54784 for ac_func in _powf
54786 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
54787 if test "x$ac_cv_func__powf" = x""yes; then :
54788 cat >>confdefs.h <<_ACEOF
54789 #define HAVE__POWF 1
54802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
54803 $as_echo_n "checking for sqrtf declaration... " >&6; }
54804 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
54805 if test "${glibcxx_cv_func_sqrtf_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. */
54819 #ifdef HAVE_IEEEFP_H
54820 #include <ieeefp.h>
54831 if ac_fn_cxx_try_compile "$LINENO"; then :
54832 glibcxx_cv_func_sqrtf_use=yes
54834 glibcxx_cv_func_sqrtf_use=no
54836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54838 ac_cpp='$CPP $CPPFLAGS'
54839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
54848 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
54850 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
54851 for ac_func in sqrtf
54853 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
54854 if test "x$ac_cv_func_sqrtf" = x""yes; then :
54855 cat >>confdefs.h <<_ACEOF
54856 #define HAVE_SQRTF 1
54864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
54865 $as_echo_n "checking for _sqrtf declaration... " >&6; }
54866 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
54867 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
54868 $as_echo_n "(cached) " >&6
54873 ac_cpp='$CXXCPP $CPPFLAGS'
54874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54879 /* end confdefs.h. */
54881 #ifdef HAVE_IEEEFP_H
54882 #include <ieeefp.h>
54893 if ac_fn_cxx_try_compile "$LINENO"; then :
54894 glibcxx_cv_func__sqrtf_use=yes
54896 glibcxx_cv_func__sqrtf_use=no
54898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54900 ac_cpp='$CPP $CPPFLAGS'
54901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
54910 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
54912 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
54913 for ac_func in _sqrtf
54915 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
54916 if test "x$ac_cv_func__sqrtf" = x""yes; then :
54917 cat >>confdefs.h <<_ACEOF
54918 #define HAVE__SQRTF 1
54931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54932 $as_echo_n "checking for sincosf declaration... " >&6; }
54933 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54934 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54935 $as_echo_n "(cached) " >&6
54940 ac_cpp='$CXXCPP $CPPFLAGS'
54941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54946 /* end confdefs.h. */
54956 if ac_fn_cxx_try_compile "$LINENO"; then :
54957 glibcxx_cv_func_sincosf_use=yes
54959 glibcxx_cv_func_sincosf_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_sincosf_use" >&5
54973 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54975 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54976 for ac_func in sincosf
54978 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54979 if test "x$ac_cv_func_sincosf" = x""yes; then :
54980 cat >>confdefs.h <<_ACEOF
54981 #define HAVE_SINCOSF 1
54989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54990 $as_echo_n "checking for _sincosf declaration... " >&6; }
54991 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54992 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54993 $as_echo_n "(cached) " >&6
54998 ac_cpp='$CXXCPP $CPPFLAGS'
54999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55004 /* end confdefs.h. */
55014 if ac_fn_cxx_try_compile "$LINENO"; then :
55015 glibcxx_cv_func__sincosf_use=yes
55017 glibcxx_cv_func__sincosf_use=no
55019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55021 ac_cpp='$CPP $CPPFLAGS'
55022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
55031 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
55033 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
55034 for ac_func in _sincosf
55036 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55037 if test "x$ac_cv_func__sincosf" = x""yes; then :
55038 cat >>confdefs.h <<_ACEOF
55039 #define HAVE__SINCOSF 1
55052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
55053 $as_echo_n "checking for finitef declaration... " >&6; }
55054 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
55055 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
55056 $as_echo_n "(cached) " >&6
55061 ac_cpp='$CXXCPP $CPPFLAGS'
55062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55067 /* end confdefs.h. */
55069 #ifdef HAVE_IEEEFP_H
55070 #include <ieeefp.h>
55081 if ac_fn_cxx_try_compile "$LINENO"; then :
55082 glibcxx_cv_func_finitef_use=yes
55084 glibcxx_cv_func_finitef_use=no
55086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55088 ac_cpp='$CPP $CPPFLAGS'
55089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55098 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55100 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55101 for ac_func in finitef
55103 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55104 if test "x$ac_cv_func_finitef" = x""yes; then :
55105 cat >>confdefs.h <<_ACEOF
55106 #define HAVE_FINITEF 1
55114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55115 $as_echo_n "checking for _finitef declaration... " >&6; }
55116 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55117 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55118 $as_echo_n "(cached) " >&6
55123 ac_cpp='$CXXCPP $CPPFLAGS'
55124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55129 /* end confdefs.h. */
55131 #ifdef HAVE_IEEEFP_H
55132 #include <ieeefp.h>
55143 if ac_fn_cxx_try_compile "$LINENO"; then :
55144 glibcxx_cv_func__finitef_use=yes
55146 glibcxx_cv_func__finitef_use=no
55148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55150 ac_cpp='$CPP $CPPFLAGS'
55151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55160 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55162 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55163 for ac_func in _finitef
55165 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55166 if test "x$ac_cv_func__finitef" = x""yes; then :
55167 cat >>confdefs.h <<_ACEOF
55168 #define HAVE__FINITEF 1
55181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
55182 $as_echo_n "checking for long double trig functions... " >&6; }
55183 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
55184 $as_echo_n "(cached) " >&6
55189 ac_cpp='$CXXCPP $CPPFLAGS'
55190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55195 /* end confdefs.h. */
55200 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
55205 if ac_fn_cxx_try_compile "$LINENO"; then :
55206 glibcxx_cv_func_long_double_trig_use=yes
55208 glibcxx_cv_func_long_double_trig_use=no
55210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55212 ac_cpp='$CPP $CPPFLAGS'
55213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
55220 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
55221 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
55222 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
55224 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55225 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55226 eval as_val=\$$as_ac_var
55227 if test "x$as_val" = x""yes; then :
55228 cat >>confdefs.h <<_ACEOF
55229 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
55237 $as_echo_n "checking for _long double trig functions... " >&6; }
55238 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
55239 $as_echo_n "(cached) " >&6
55244 ac_cpp='$CXXCPP $CPPFLAGS'
55245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55250 /* end confdefs.h. */
55255 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
55260 if ac_fn_cxx_try_compile "$LINENO"; then :
55261 glibcxx_cv_func__long_double_trig_use=yes
55263 glibcxx_cv_func__long_double_trig_use=no
55265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55267 ac_cpp='$CPP $CPPFLAGS'
55268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
55275 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
55276 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
55277 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
55279 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55280 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55281 eval as_val=\$$as_ac_var
55282 if test "x$as_val" = x""yes; then :
55283 cat >>confdefs.h <<_ACEOF
55284 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
55298 $as_echo_n "checking for long double round functions... " >&6; }
55299 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
55300 $as_echo_n "(cached) " >&6
55305 ac_cpp='$CXXCPP $CPPFLAGS'
55306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55311 /* end confdefs.h. */
55316 ceill (0); floorl (0);
55321 if ac_fn_cxx_try_compile "$LINENO"; then :
55322 glibcxx_cv_func_long_double_round_use=yes
55324 glibcxx_cv_func_long_double_round_use=no
55326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55328 ac_cpp='$CPP $CPPFLAGS'
55329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
55336 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
55337 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
55338 for ac_func in ceill floorl
55340 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55341 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55342 eval as_val=\$$as_ac_var
55343 if test "x$as_val" = x""yes; then :
55344 cat >>confdefs.h <<_ACEOF
55345 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
55353 $as_echo_n "checking for _long double round functions... " >&6; }
55354 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
55355 $as_echo_n "(cached) " >&6
55360 ac_cpp='$CXXCPP $CPPFLAGS'
55361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55366 /* end confdefs.h. */
55371 _ceill (0); _floorl (0);
55376 if ac_fn_cxx_try_compile "$LINENO"; then :
55377 glibcxx_cv_func__long_double_round_use=yes
55379 glibcxx_cv_func__long_double_round_use=no
55381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55383 ac_cpp='$CPP $CPPFLAGS'
55384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
55391 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
55392 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
55393 for ac_func in _ceill _floorl
55395 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55396 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55397 eval as_val=\$$as_ac_var
55398 if test "x$as_val" = x""yes; then :
55399 cat >>confdefs.h <<_ACEOF
55400 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
55415 $as_echo_n "checking for isnanl declaration... " >&6; }
55416 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
55417 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
55418 $as_echo_n "(cached) " >&6
55423 ac_cpp='$CXXCPP $CPPFLAGS'
55424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55429 /* end confdefs.h. */
55431 #ifdef HAVE_IEEEFP_H
55432 #include <ieeefp.h>
55443 if ac_fn_cxx_try_compile "$LINENO"; then :
55444 glibcxx_cv_func_isnanl_use=yes
55446 glibcxx_cv_func_isnanl_use=no
55448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55450 ac_cpp='$CPP $CPPFLAGS'
55451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
55460 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
55462 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
55463 for ac_func in isnanl
55465 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
55466 if test "x$ac_cv_func_isnanl" = x""yes; then :
55467 cat >>confdefs.h <<_ACEOF
55468 #define HAVE_ISNANL 1
55476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
55477 $as_echo_n "checking for _isnanl declaration... " >&6; }
55478 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
55479 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
55480 $as_echo_n "(cached) " >&6
55485 ac_cpp='$CXXCPP $CPPFLAGS'
55486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55491 /* end confdefs.h. */
55493 #ifdef HAVE_IEEEFP_H
55494 #include <ieeefp.h>
55505 if ac_fn_cxx_try_compile "$LINENO"; then :
55506 glibcxx_cv_func__isnanl_use=yes
55508 glibcxx_cv_func__isnanl_use=no
55510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55512 ac_cpp='$CPP $CPPFLAGS'
55513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
55522 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
55524 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
55525 for ac_func in _isnanl
55527 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
55528 if test "x$ac_cv_func__isnanl" = x""yes; then :
55529 cat >>confdefs.h <<_ACEOF
55530 #define HAVE__ISNANL 1
55543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
55544 $as_echo_n "checking for isinfl declaration... " >&6; }
55545 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
55546 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
55547 $as_echo_n "(cached) " >&6
55552 ac_cpp='$CXXCPP $CPPFLAGS'
55553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55558 /* end confdefs.h. */
55560 #ifdef HAVE_IEEEFP_H
55561 #include <ieeefp.h>
55572 if ac_fn_cxx_try_compile "$LINENO"; then :
55573 glibcxx_cv_func_isinfl_use=yes
55575 glibcxx_cv_func_isinfl_use=no
55577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55579 ac_cpp='$CPP $CPPFLAGS'
55580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
55589 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
55591 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
55592 for ac_func in isinfl
55594 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
55595 if test "x$ac_cv_func_isinfl" = x""yes; then :
55596 cat >>confdefs.h <<_ACEOF
55597 #define HAVE_ISINFL 1
55605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
55606 $as_echo_n "checking for _isinfl declaration... " >&6; }
55607 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
55608 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
55609 $as_echo_n "(cached) " >&6
55614 ac_cpp='$CXXCPP $CPPFLAGS'
55615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55620 /* end confdefs.h. */
55622 #ifdef HAVE_IEEEFP_H
55623 #include <ieeefp.h>
55634 if ac_fn_cxx_try_compile "$LINENO"; then :
55635 glibcxx_cv_func__isinfl_use=yes
55637 glibcxx_cv_func__isinfl_use=no
55639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55641 ac_cpp='$CPP $CPPFLAGS'
55642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
55651 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
55653 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
55654 for ac_func in _isinfl
55656 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
55657 if test "x$ac_cv_func__isinfl" = x""yes; then :
55658 cat >>confdefs.h <<_ACEOF
55659 #define HAVE__ISINFL 1
55672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
55673 $as_echo_n "checking for atan2l declaration... " >&6; }
55674 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55675 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
55676 $as_echo_n "(cached) " >&6
55681 ac_cpp='$CXXCPP $CPPFLAGS'
55682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55687 /* end confdefs.h. */
55697 if ac_fn_cxx_try_compile "$LINENO"; then :
55698 glibcxx_cv_func_atan2l_use=yes
55700 glibcxx_cv_func_atan2l_use=no
55702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55704 ac_cpp='$CPP $CPPFLAGS'
55705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
55714 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
55716 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55717 for ac_func in atan2l
55719 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
55720 if test "x$ac_cv_func_atan2l" = x""yes; then :
55721 cat >>confdefs.h <<_ACEOF
55722 #define HAVE_ATAN2L 1
55730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
55731 $as_echo_n "checking for _atan2l declaration... " >&6; }
55732 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55733 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
55734 $as_echo_n "(cached) " >&6
55739 ac_cpp='$CXXCPP $CPPFLAGS'
55740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55745 /* end confdefs.h. */
55755 if ac_fn_cxx_try_compile "$LINENO"; then :
55756 glibcxx_cv_func__atan2l_use=yes
55758 glibcxx_cv_func__atan2l_use=no
55760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55762 ac_cpp='$CPP $CPPFLAGS'
55763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
55772 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
55774 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55775 for ac_func in _atan2l
55777 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
55778 if test "x$ac_cv_func__atan2l" = x""yes; then :
55779 cat >>confdefs.h <<_ACEOF
55780 #define HAVE__ATAN2L 1
55793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
55794 $as_echo_n "checking for expl declaration... " >&6; }
55795 if test x${glibcxx_cv_func_expl_use+set} != xset; then
55796 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
55797 $as_echo_n "(cached) " >&6
55802 ac_cpp='$CXXCPP $CPPFLAGS'
55803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55808 /* end confdefs.h. */
55810 #ifdef HAVE_IEEEFP_H
55811 #include <ieeefp.h>
55822 if ac_fn_cxx_try_compile "$LINENO"; then :
55823 glibcxx_cv_func_expl_use=yes
55825 glibcxx_cv_func_expl_use=no
55827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55829 ac_cpp='$CPP $CPPFLAGS'
55830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
55839 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
55841 if test x$glibcxx_cv_func_expl_use = x"yes"; then
55842 for ac_func in expl
55844 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
55845 if test "x$ac_cv_func_expl" = x""yes; then :
55846 cat >>confdefs.h <<_ACEOF
55847 #define HAVE_EXPL 1
55855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
55856 $as_echo_n "checking for _expl declaration... " >&6; }
55857 if test x${glibcxx_cv_func__expl_use+set} != xset; then
55858 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
55859 $as_echo_n "(cached) " >&6
55864 ac_cpp='$CXXCPP $CPPFLAGS'
55865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55870 /* end confdefs.h. */
55872 #ifdef HAVE_IEEEFP_H
55873 #include <ieeefp.h>
55884 if ac_fn_cxx_try_compile "$LINENO"; then :
55885 glibcxx_cv_func__expl_use=yes
55887 glibcxx_cv_func__expl_use=no
55889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55891 ac_cpp='$CPP $CPPFLAGS'
55892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
55901 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
55903 if test x$glibcxx_cv_func__expl_use = x"yes"; then
55904 for ac_func in _expl
55906 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
55907 if test "x$ac_cv_func__expl" = x""yes; then :
55908 cat >>confdefs.h <<_ACEOF
55909 #define HAVE__EXPL 1
55922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
55923 $as_echo_n "checking for fabsl declaration... " >&6; }
55924 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55925 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
55926 $as_echo_n "(cached) " >&6
55931 ac_cpp='$CXXCPP $CPPFLAGS'
55932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55937 /* end confdefs.h. */
55939 #ifdef HAVE_IEEEFP_H
55940 #include <ieeefp.h>
55951 if ac_fn_cxx_try_compile "$LINENO"; then :
55952 glibcxx_cv_func_fabsl_use=yes
55954 glibcxx_cv_func_fabsl_use=no
55956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55958 ac_cpp='$CPP $CPPFLAGS'
55959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55968 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55970 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55971 for ac_func in fabsl
55973 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55974 if test "x$ac_cv_func_fabsl" = x""yes; then :
55975 cat >>confdefs.h <<_ACEOF
55976 #define HAVE_FABSL 1
55984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55985 $as_echo_n "checking for _fabsl declaration... " >&6; }
55986 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55987 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55988 $as_echo_n "(cached) " >&6
55993 ac_cpp='$CXXCPP $CPPFLAGS'
55994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55999 /* end confdefs.h. */
56001 #ifdef HAVE_IEEEFP_H
56002 #include <ieeefp.h>
56013 if ac_fn_cxx_try_compile "$LINENO"; then :
56014 glibcxx_cv_func__fabsl_use=yes
56016 glibcxx_cv_func__fabsl_use=no
56018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56020 ac_cpp='$CPP $CPPFLAGS'
56021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
56030 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
56032 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56033 for ac_func in _fabsl
56035 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
56036 if test "x$ac_cv_func__fabsl" = x""yes; then :
56037 cat >>confdefs.h <<_ACEOF
56038 #define HAVE__FABSL 1
56051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
56052 $as_echo_n "checking for fmodl declaration... " >&6; }
56053 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56054 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
56055 $as_echo_n "(cached) " >&6
56060 ac_cpp='$CXXCPP $CPPFLAGS'
56061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56066 /* end confdefs.h. */
56076 if ac_fn_cxx_try_compile "$LINENO"; then :
56077 glibcxx_cv_func_fmodl_use=yes
56079 glibcxx_cv_func_fmodl_use=no
56081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56083 ac_cpp='$CPP $CPPFLAGS'
56084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56093 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56095 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56096 for ac_func in fmodl
56098 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56099 if test "x$ac_cv_func_fmodl" = x""yes; then :
56100 cat >>confdefs.h <<_ACEOF
56101 #define HAVE_FMODL 1
56109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56110 $as_echo_n "checking for _fmodl declaration... " >&6; }
56111 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56112 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56113 $as_echo_n "(cached) " >&6
56118 ac_cpp='$CXXCPP $CPPFLAGS'
56119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56124 /* end confdefs.h. */
56134 if ac_fn_cxx_try_compile "$LINENO"; then :
56135 glibcxx_cv_func__fmodl_use=yes
56137 glibcxx_cv_func__fmodl_use=no
56139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56141 ac_cpp='$CPP $CPPFLAGS'
56142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56151 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56153 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56154 for ac_func in _fmodl
56156 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56157 if test "x$ac_cv_func__fmodl" = x""yes; then :
56158 cat >>confdefs.h <<_ACEOF
56159 #define HAVE__FMODL 1
56172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56173 $as_echo_n "checking for frexpl declaration... " >&6; }
56174 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56175 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56176 $as_echo_n "(cached) " >&6
56181 ac_cpp='$CXXCPP $CPPFLAGS'
56182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56187 /* end confdefs.h. */
56197 if ac_fn_cxx_try_compile "$LINENO"; then :
56198 glibcxx_cv_func_frexpl_use=yes
56200 glibcxx_cv_func_frexpl_use=no
56202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56204 ac_cpp='$CPP $CPPFLAGS'
56205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
56214 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
56216 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
56217 for ac_func in frexpl
56219 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
56220 if test "x$ac_cv_func_frexpl" = x""yes; then :
56221 cat >>confdefs.h <<_ACEOF
56222 #define HAVE_FREXPL 1
56230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
56231 $as_echo_n "checking for _frexpl declaration... " >&6; }
56232 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
56233 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
56234 $as_echo_n "(cached) " >&6
56239 ac_cpp='$CXXCPP $CPPFLAGS'
56240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56245 /* end confdefs.h. */
56255 if ac_fn_cxx_try_compile "$LINENO"; then :
56256 glibcxx_cv_func__frexpl_use=yes
56258 glibcxx_cv_func__frexpl_use=no
56260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56262 ac_cpp='$CPP $CPPFLAGS'
56263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
56272 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
56274 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
56275 for ac_func in _frexpl
56277 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
56278 if test "x$ac_cv_func__frexpl" = x""yes; then :
56279 cat >>confdefs.h <<_ACEOF
56280 #define HAVE__FREXPL 1
56293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
56294 $as_echo_n "checking for hypotl declaration... " >&6; }
56295 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
56296 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
56297 $as_echo_n "(cached) " >&6
56302 ac_cpp='$CXXCPP $CPPFLAGS'
56303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56308 /* end confdefs.h. */
56318 if ac_fn_cxx_try_compile "$LINENO"; then :
56319 glibcxx_cv_func_hypotl_use=yes
56321 glibcxx_cv_func_hypotl_use=no
56323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56325 ac_cpp='$CPP $CPPFLAGS'
56326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
56335 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
56337 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
56338 for ac_func in hypotl
56340 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
56341 if test "x$ac_cv_func_hypotl" = x""yes; then :
56342 cat >>confdefs.h <<_ACEOF
56343 #define HAVE_HYPOTL 1
56351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
56352 $as_echo_n "checking for _hypotl declaration... " >&6; }
56353 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
56354 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
56355 $as_echo_n "(cached) " >&6
56360 ac_cpp='$CXXCPP $CPPFLAGS'
56361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56366 /* end confdefs.h. */
56376 if ac_fn_cxx_try_compile "$LINENO"; then :
56377 glibcxx_cv_func__hypotl_use=yes
56379 glibcxx_cv_func__hypotl_use=no
56381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56383 ac_cpp='$CPP $CPPFLAGS'
56384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
56393 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
56395 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
56396 for ac_func in _hypotl
56398 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
56399 if test "x$ac_cv_func__hypotl" = x""yes; then :
56400 cat >>confdefs.h <<_ACEOF
56401 #define HAVE__HYPOTL 1
56414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
56415 $as_echo_n "checking for ldexpl declaration... " >&6; }
56416 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
56417 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
56418 $as_echo_n "(cached) " >&6
56423 ac_cpp='$CXXCPP $CPPFLAGS'
56424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56429 /* end confdefs.h. */
56439 if ac_fn_cxx_try_compile "$LINENO"; then :
56440 glibcxx_cv_func_ldexpl_use=yes
56442 glibcxx_cv_func_ldexpl_use=no
56444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56446 ac_cpp='$CPP $CPPFLAGS'
56447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
56456 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
56458 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
56459 for ac_func in ldexpl
56461 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
56462 if test "x$ac_cv_func_ldexpl" = x""yes; then :
56463 cat >>confdefs.h <<_ACEOF
56464 #define HAVE_LDEXPL 1
56472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
56473 $as_echo_n "checking for _ldexpl declaration... " >&6; }
56474 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
56475 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
56476 $as_echo_n "(cached) " >&6
56481 ac_cpp='$CXXCPP $CPPFLAGS'
56482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56487 /* end confdefs.h. */
56497 if ac_fn_cxx_try_compile "$LINENO"; then :
56498 glibcxx_cv_func__ldexpl_use=yes
56500 glibcxx_cv_func__ldexpl_use=no
56502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56504 ac_cpp='$CPP $CPPFLAGS'
56505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
56514 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
56516 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
56517 for ac_func in _ldexpl
56519 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
56520 if test "x$ac_cv_func__ldexpl" = x""yes; then :
56521 cat >>confdefs.h <<_ACEOF
56522 #define HAVE__LDEXPL 1
56535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
56536 $as_echo_n "checking for logl declaration... " >&6; }
56537 if test x${glibcxx_cv_func_logl_use+set} != xset; then
56538 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
56539 $as_echo_n "(cached) " >&6
56544 ac_cpp='$CXXCPP $CPPFLAGS'
56545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56550 /* end confdefs.h. */
56552 #ifdef HAVE_IEEEFP_H
56553 #include <ieeefp.h>
56564 if ac_fn_cxx_try_compile "$LINENO"; then :
56565 glibcxx_cv_func_logl_use=yes
56567 glibcxx_cv_func_logl_use=no
56569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56571 ac_cpp='$CPP $CPPFLAGS'
56572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
56581 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
56583 if test x$glibcxx_cv_func_logl_use = x"yes"; then
56584 for ac_func in logl
56586 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
56587 if test "x$ac_cv_func_logl" = x""yes; then :
56588 cat >>confdefs.h <<_ACEOF
56589 #define HAVE_LOGL 1
56597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
56598 $as_echo_n "checking for _logl declaration... " >&6; }
56599 if test x${glibcxx_cv_func__logl_use+set} != xset; then
56600 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
56601 $as_echo_n "(cached) " >&6
56606 ac_cpp='$CXXCPP $CPPFLAGS'
56607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56612 /* end confdefs.h. */
56614 #ifdef HAVE_IEEEFP_H
56615 #include <ieeefp.h>
56626 if ac_fn_cxx_try_compile "$LINENO"; then :
56627 glibcxx_cv_func__logl_use=yes
56629 glibcxx_cv_func__logl_use=no
56631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56633 ac_cpp='$CPP $CPPFLAGS'
56634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
56643 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
56645 if test x$glibcxx_cv_func__logl_use = x"yes"; then
56646 for ac_func in _logl
56648 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
56649 if test "x$ac_cv_func__logl" = x""yes; then :
56650 cat >>confdefs.h <<_ACEOF
56651 #define HAVE__LOGL 1
56664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
56665 $as_echo_n "checking for log10l declaration... " >&6; }
56666 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
56667 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
56668 $as_echo_n "(cached) " >&6
56673 ac_cpp='$CXXCPP $CPPFLAGS'
56674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56679 /* end confdefs.h. */
56681 #ifdef HAVE_IEEEFP_H
56682 #include <ieeefp.h>
56693 if ac_fn_cxx_try_compile "$LINENO"; then :
56694 glibcxx_cv_func_log10l_use=yes
56696 glibcxx_cv_func_log10l_use=no
56698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56700 ac_cpp='$CPP $CPPFLAGS'
56701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
56710 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
56712 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
56713 for ac_func in log10l
56715 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
56716 if test "x$ac_cv_func_log10l" = x""yes; then :
56717 cat >>confdefs.h <<_ACEOF
56718 #define HAVE_LOG10L 1
56726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
56727 $as_echo_n "checking for _log10l declaration... " >&6; }
56728 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
56729 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
56730 $as_echo_n "(cached) " >&6
56735 ac_cpp='$CXXCPP $CPPFLAGS'
56736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56741 /* end confdefs.h. */
56743 #ifdef HAVE_IEEEFP_H
56744 #include <ieeefp.h>
56755 if ac_fn_cxx_try_compile "$LINENO"; then :
56756 glibcxx_cv_func__log10l_use=yes
56758 glibcxx_cv_func__log10l_use=no
56760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56762 ac_cpp='$CPP $CPPFLAGS'
56763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
56772 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
56774 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
56775 for ac_func in _log10l
56777 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
56778 if test "x$ac_cv_func__log10l" = x""yes; then :
56779 cat >>confdefs.h <<_ACEOF
56780 #define HAVE__LOG10L 1
56793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
56794 $as_echo_n "checking for modfl declaration... " >&6; }
56795 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
56796 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
56797 $as_echo_n "(cached) " >&6
56802 ac_cpp='$CXXCPP $CPPFLAGS'
56803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56808 /* end confdefs.h. */
56818 if ac_fn_cxx_try_compile "$LINENO"; then :
56819 glibcxx_cv_func_modfl_use=yes
56821 glibcxx_cv_func_modfl_use=no
56823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56825 ac_cpp='$CPP $CPPFLAGS'
56826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
56835 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
56837 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
56838 for ac_func in modfl
56840 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
56841 if test "x$ac_cv_func_modfl" = x""yes; then :
56842 cat >>confdefs.h <<_ACEOF
56843 #define HAVE_MODFL 1
56851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
56852 $as_echo_n "checking for _modfl declaration... " >&6; }
56853 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
56854 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
56855 $as_echo_n "(cached) " >&6
56860 ac_cpp='$CXXCPP $CPPFLAGS'
56861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56866 /* end confdefs.h. */
56876 if ac_fn_cxx_try_compile "$LINENO"; then :
56877 glibcxx_cv_func__modfl_use=yes
56879 glibcxx_cv_func__modfl_use=no
56881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56883 ac_cpp='$CPP $CPPFLAGS'
56884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
56893 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
56895 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
56896 for ac_func in _modfl
56898 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
56899 if test "x$ac_cv_func__modfl" = x""yes; then :
56900 cat >>confdefs.h <<_ACEOF
56901 #define HAVE__MODFL 1
56914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
56915 $as_echo_n "checking for powl declaration... " >&6; }
56916 if test x${glibcxx_cv_func_powl_use+set} != xset; then
56917 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
56918 $as_echo_n "(cached) " >&6
56923 ac_cpp='$CXXCPP $CPPFLAGS'
56924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56929 /* end confdefs.h. */
56939 if ac_fn_cxx_try_compile "$LINENO"; then :
56940 glibcxx_cv_func_powl_use=yes
56942 glibcxx_cv_func_powl_use=no
56944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56946 ac_cpp='$CPP $CPPFLAGS'
56947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56956 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56958 if test x$glibcxx_cv_func_powl_use = x"yes"; then
56959 for ac_func in powl
56961 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56962 if test "x$ac_cv_func_powl" = x""yes; then :
56963 cat >>confdefs.h <<_ACEOF
56964 #define HAVE_POWL 1
56972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56973 $as_echo_n "checking for _powl declaration... " >&6; }
56974 if test x${glibcxx_cv_func__powl_use+set} != xset; then
56975 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56976 $as_echo_n "(cached) " >&6
56981 ac_cpp='$CXXCPP $CPPFLAGS'
56982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56987 /* end confdefs.h. */
56997 if ac_fn_cxx_try_compile "$LINENO"; then :
56998 glibcxx_cv_func__powl_use=yes
57000 glibcxx_cv_func__powl_use=no
57002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57004 ac_cpp='$CPP $CPPFLAGS'
57005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
57014 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
57016 if test x$glibcxx_cv_func__powl_use = x"yes"; then
57017 for ac_func in _powl
57019 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
57020 if test "x$ac_cv_func__powl" = x""yes; then :
57021 cat >>confdefs.h <<_ACEOF
57022 #define HAVE__POWL 1
57035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
57036 $as_echo_n "checking for sqrtl declaration... " >&6; }
57037 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57038 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57039 $as_echo_n "(cached) " >&6
57044 ac_cpp='$CXXCPP $CPPFLAGS'
57045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57050 /* end confdefs.h. */
57052 #ifdef HAVE_IEEEFP_H
57053 #include <ieeefp.h>
57064 if ac_fn_cxx_try_compile "$LINENO"; then :
57065 glibcxx_cv_func_sqrtl_use=yes
57067 glibcxx_cv_func_sqrtl_use=no
57069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57071 ac_cpp='$CPP $CPPFLAGS'
57072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57081 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57083 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57084 for ac_func in sqrtl
57086 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57087 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57088 cat >>confdefs.h <<_ACEOF
57089 #define HAVE_SQRTL 1
57097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57098 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57099 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57100 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57101 $as_echo_n "(cached) " >&6
57106 ac_cpp='$CXXCPP $CPPFLAGS'
57107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57112 /* end confdefs.h. */
57114 #ifdef HAVE_IEEEFP_H
57115 #include <ieeefp.h>
57126 if ac_fn_cxx_try_compile "$LINENO"; then :
57127 glibcxx_cv_func__sqrtl_use=yes
57129 glibcxx_cv_func__sqrtl_use=no
57131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57133 ac_cpp='$CPP $CPPFLAGS'
57134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57143 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57145 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57146 for ac_func in _sqrtl
57148 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57149 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57150 cat >>confdefs.h <<_ACEOF
57151 #define HAVE__SQRTL 1
57164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57165 $as_echo_n "checking for sincosl declaration... " >&6; }
57166 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57167 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57168 $as_echo_n "(cached) " >&6
57173 ac_cpp='$CXXCPP $CPPFLAGS'
57174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57179 /* end confdefs.h. */
57189 if ac_fn_cxx_try_compile "$LINENO"; then :
57190 glibcxx_cv_func_sincosl_use=yes
57192 glibcxx_cv_func_sincosl_use=no
57194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57196 ac_cpp='$CPP $CPPFLAGS'
57197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
57206 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
57208 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
57209 for ac_func in sincosl
57211 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
57212 if test "x$ac_cv_func_sincosl" = x""yes; then :
57213 cat >>confdefs.h <<_ACEOF
57214 #define HAVE_SINCOSL 1
57222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
57223 $as_echo_n "checking for _sincosl declaration... " >&6; }
57224 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
57225 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
57226 $as_echo_n "(cached) " >&6
57231 ac_cpp='$CXXCPP $CPPFLAGS'
57232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57237 /* end confdefs.h. */
57247 if ac_fn_cxx_try_compile "$LINENO"; then :
57248 glibcxx_cv_func__sincosl_use=yes
57250 glibcxx_cv_func__sincosl_use=no
57252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57254 ac_cpp='$CPP $CPPFLAGS'
57255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
57264 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
57266 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
57267 for ac_func in _sincosl
57269 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
57270 if test "x$ac_cv_func__sincosl" = x""yes; then :
57271 cat >>confdefs.h <<_ACEOF
57272 #define HAVE__SINCOSL 1
57285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
57286 $as_echo_n "checking for finitel declaration... " >&6; }
57287 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
57288 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
57289 $as_echo_n "(cached) " >&6
57294 ac_cpp='$CXXCPP $CPPFLAGS'
57295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57300 /* end confdefs.h. */
57302 #ifdef HAVE_IEEEFP_H
57303 #include <ieeefp.h>
57314 if ac_fn_cxx_try_compile "$LINENO"; then :
57315 glibcxx_cv_func_finitel_use=yes
57317 glibcxx_cv_func_finitel_use=no
57319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57321 ac_cpp='$CPP $CPPFLAGS'
57322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
57331 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
57333 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
57334 for ac_func in finitel
57336 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
57337 if test "x$ac_cv_func_finitel" = x""yes; then :
57338 cat >>confdefs.h <<_ACEOF
57339 #define HAVE_FINITEL 1
57347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
57348 $as_echo_n "checking for _finitel declaration... " >&6; }
57349 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
57350 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
57351 $as_echo_n "(cached) " >&6
57356 ac_cpp='$CXXCPP $CPPFLAGS'
57357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57362 /* end confdefs.h. */
57364 #ifdef HAVE_IEEEFP_H
57365 #include <ieeefp.h>
57376 if ac_fn_cxx_try_compile "$LINENO"; then :
57377 glibcxx_cv_func__finitel_use=yes
57379 glibcxx_cv_func__finitel_use=no
57381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57383 ac_cpp='$CPP $CPPFLAGS'
57384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
57393 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
57395 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
57396 for ac_func in _finitel
57398 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
57399 if test "x$ac_cv_func__finitel" = x""yes; then :
57400 cat >>confdefs.h <<_ACEOF
57401 #define HAVE__FINITEL 1
57413 LIBS="$ac_save_LIBS"
57414 CXXFLAGS="$ac_save_CXXFLAGS"
57417 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57418 ac_save_CXXFLAGS="$CXXFLAGS"
57419 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
57423 $as_echo_n "checking for strtold declaration... " >&6; }
57424 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
57425 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
57426 $as_echo_n "(cached) " >&6
57431 ac_cpp='$CXXCPP $CPPFLAGS'
57432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57437 /* end confdefs.h. */
57438 #include <stdlib.h>
57447 if ac_fn_cxx_try_compile "$LINENO"; then :
57448 glibcxx_cv_func_strtold_use=yes
57450 glibcxx_cv_func_strtold_use=no
57452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57454 ac_cpp='$CPP $CPPFLAGS'
57455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
57464 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
57465 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
57466 for ac_func in strtold
57468 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
57469 if test "x$ac_cv_func_strtold" = x""yes; then :
57470 cat >>confdefs.h <<_ACEOF
57471 #define HAVE_STRTOLD 1
57482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
57483 $as_echo_n "checking for strtof declaration... " >&6; }
57484 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
57485 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
57486 $as_echo_n "(cached) " >&6
57491 ac_cpp='$CXXCPP $CPPFLAGS'
57492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57497 /* end confdefs.h. */
57498 #include <stdlib.h>
57507 if ac_fn_cxx_try_compile "$LINENO"; then :
57508 glibcxx_cv_func_strtof_use=yes
57510 glibcxx_cv_func_strtof_use=no
57512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57514 ac_cpp='$CPP $CPPFLAGS'
57515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
57524 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
57525 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
57526 for ac_func in strtof
57528 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
57529 if test "x$ac_cv_func_strtof" = x""yes; then :
57530 cat >>confdefs.h <<_ACEOF
57531 #define HAVE_STRTOF 1
57542 CXXFLAGS="$ac_save_CXXFLAGS"
57546 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57549 # If we're not using GNU ld, then there's no point in even trying these
57550 # tests. Check for that first. We should have already tested for gld
57551 # by now (in libtool), but require it now just to be safe...
57552 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57553 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57557 # The name set by libtool depends on the version of libtool. Shame on us
57558 # for depending on an impl detail, but c'est la vie. Older versions used
57559 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57560 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57561 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57562 # set (hence we're using an older libtool), then set it.
57563 if test x${with_gnu_ld+set} != xset; then
57564 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57565 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57568 with_gnu_ld=$ac_cv_prog_gnu_ld
57572 # Start by getting the version number. I think the libtool test already
57573 # does some of this, but throws away the result.
57574 glibcxx_ld_is_gold=no
57575 if test x"$with_gnu_ld" = x"yes"; then
57576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57577 $as_echo_n "checking for ld version... " >&6; }
57579 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57580 glibcxx_ld_is_gold=yes
57582 ldver=`$LD --version 2>/dev/null |
57583 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'`
57585 glibcxx_gnu_ld_version=`echo $ldver | \
57586 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57588 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57591 # Set --gc-sections.
57592 glibcxx_have_gc_sections=no
57593 if test "$glibcxx_ld_is_gold" = "yes"; then
57594 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57595 glibcxx_have_gc_sections=yes
57598 glibcxx_gcsections_min_ld=21602
57599 if test x"$with_gnu_ld" = x"yes" &&
57600 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57601 glibcxx_have_gc_sections=yes
57604 if test "$glibcxx_have_gc_sections" = "yes"; then
57605 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57606 # NB: This flag only works reliably after 2.16.1. Configure tests
57607 # for this are difficult, so hard wire a value that should work.
57609 ac_test_CFLAGS="${CFLAGS+set}"
57610 ac_save_CFLAGS="$CFLAGS"
57611 CFLAGS='-Wl,--gc-sections'
57613 # Check for -Wl,--gc-sections
57614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57615 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57616 if test x$gcc_no_link = xyes; then
57617 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57620 /* end confdefs.h. */
57621 int one(void) { return 1; }
57622 int two(void) { return 2; }
57632 if ac_fn_c_try_link "$LINENO"; then :
57637 rm -f core conftest.err conftest.$ac_objext \
57638 conftest$ac_exeext conftest.$ac_ext
57639 if test "$ac_gcsections" = "yes"; then
57642 if $CC -c conftest.c; then
57643 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57644 grep "Warning: gc-sections option ignored" > /dev/null; then
57648 rm -f conftest.c conftest.o conftest
57650 if test "$ac_gcsections" = "yes"; then
57651 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57654 $as_echo "$ac_gcsections" >&6; }
57656 if test "$ac_test_CFLAGS" = set; then
57657 CFLAGS="$ac_save_CFLAGS"
57659 # this is the suspicious part
57665 # Note this is only for shared objects.
57667 if test x"$with_gnu_ld" = x"yes"; then
57668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57669 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57670 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57671 if test -n "$cxx_z_relo"; then
57672 OPT_LDFLAGS="-Wl,-z,relro"
57675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57676 $as_echo "$ac_ld_relro" >&6; }
57679 # Set linker optimization flags.
57680 if test x"$with_gnu_ld" = x"yes"; then
57681 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57687 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57689 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57691 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57693 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57695 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57697 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57699 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57701 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57703 if test x"long_double_math_on_this_cpu" = x"yes"; then
57704 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57706 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57708 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57712 *-qnx6.1* | *-qnx6.2*)
57713 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57716 # If we're not using GNU ld, then there's no point in even trying these
57717 # tests. Check for that first. We should have already tested for gld
57718 # by now (in libtool), but require it now just to be safe...
57719 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57720 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57724 # The name set by libtool depends on the version of libtool. Shame on us
57725 # for depending on an impl detail, but c'est la vie. Older versions used
57726 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57727 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57728 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57729 # set (hence we're using an older libtool), then set it.
57730 if test x${with_gnu_ld+set} != xset; then
57731 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57732 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57735 with_gnu_ld=$ac_cv_prog_gnu_ld
57739 # Start by getting the version number. I think the libtool test already
57740 # does some of this, but throws away the result.
57741 glibcxx_ld_is_gold=no
57742 if test x"$with_gnu_ld" = x"yes"; then
57743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57744 $as_echo_n "checking for ld version... " >&6; }
57746 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57747 glibcxx_ld_is_gold=yes
57749 ldver=`$LD --version 2>/dev/null |
57750 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'`
57752 glibcxx_gnu_ld_version=`echo $ldver | \
57753 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57755 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57758 # Set --gc-sections.
57759 glibcxx_have_gc_sections=no
57760 if test "$glibcxx_ld_is_gold" = "yes"; then
57761 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57762 glibcxx_have_gc_sections=yes
57765 glibcxx_gcsections_min_ld=21602
57766 if test x"$with_gnu_ld" = x"yes" &&
57767 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57768 glibcxx_have_gc_sections=yes
57771 if test "$glibcxx_have_gc_sections" = "yes"; then
57772 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57773 # NB: This flag only works reliably after 2.16.1. Configure tests
57774 # for this are difficult, so hard wire a value that should work.
57776 ac_test_CFLAGS="${CFLAGS+set}"
57777 ac_save_CFLAGS="$CFLAGS"
57778 CFLAGS='-Wl,--gc-sections'
57780 # Check for -Wl,--gc-sections
57781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57782 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57783 if test x$gcc_no_link = xyes; then
57784 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57787 /* end confdefs.h. */
57788 int one(void) { return 1; }
57789 int two(void) { return 2; }
57799 if ac_fn_c_try_link "$LINENO"; then :
57804 rm -f core conftest.err conftest.$ac_objext \
57805 conftest$ac_exeext conftest.$ac_ext
57806 if test "$ac_gcsections" = "yes"; then
57809 if $CC -c conftest.c; then
57810 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57811 grep "Warning: gc-sections option ignored" > /dev/null; then
57815 rm -f conftest.c conftest.o conftest
57817 if test "$ac_gcsections" = "yes"; then
57818 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57821 $as_echo "$ac_gcsections" >&6; }
57823 if test "$ac_test_CFLAGS" = set; then
57824 CFLAGS="$ac_save_CFLAGS"
57826 # this is the suspicious part
57832 # Note this is only for shared objects.
57834 if test x"$with_gnu_ld" = x"yes"; then
57835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57836 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57837 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57838 if test -n "$cxx_z_relo"; then
57839 OPT_LDFLAGS="-Wl,-z,relro"
57842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57843 $as_echo "$ac_ld_relro" >&6; }
57846 # Set linker optimization flags.
57847 if test x"$with_gnu_ld" = x"yes"; then
57848 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57854 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57856 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57858 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57860 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57862 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57864 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57866 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57868 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57870 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57872 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57874 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57876 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57881 # All these tests are for C++; save the language and the compiler flags.
57882 # The CXXFLAGS thing is suspicious, but based on similar bits previously
57883 # found in GLIBCXX_CONFIGURE.
57886 ac_cpp='$CXXCPP $CPPFLAGS'
57887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57891 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57892 ac_save_CXXFLAGS="$CXXFLAGS"
57894 # Check for maintainer-mode bits.
57895 if test x"$USE_MAINTAINER_MODE" = xno; then
57901 # Check for -ffunction-sections -fdata-sections
57902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
57903 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
57904 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
57905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57906 /* end confdefs.h. */
57907 int foo; void bar() { };
57916 if ac_fn_cxx_try_compile "$LINENO"; then :
57921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57922 if test "$ac_test_CXXFLAGS" = set; then
57923 CXXFLAGS="$ac_save_CXXFLAGS"
57925 # this is the suspicious part
57928 if test x"$ac_fdsections" = x"yes"; then
57929 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
57932 $as_echo "$ac_fdsections" >&6; }
57935 ac_cpp='$CPP $CPPFLAGS'
57936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57944 # If we're not using GNU ld, then there's no point in even trying these
57945 # tests. Check for that first. We should have already tested for gld
57946 # by now (in libtool), but require it now just to be safe...
57947 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57948 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57952 # The name set by libtool depends on the version of libtool. Shame on us
57953 # for depending on an impl detail, but c'est la vie. Older versions used
57954 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57955 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57956 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57957 # set (hence we're using an older libtool), then set it.
57958 if test x${with_gnu_ld+set} != xset; then
57959 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57960 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57963 with_gnu_ld=$ac_cv_prog_gnu_ld
57967 # Start by getting the version number. I think the libtool test already
57968 # does some of this, but throws away the result.
57969 glibcxx_ld_is_gold=no
57970 if test x"$with_gnu_ld" = x"yes"; then
57971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57972 $as_echo_n "checking for ld version... " >&6; }
57974 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57975 glibcxx_ld_is_gold=yes
57977 ldver=`$LD --version 2>/dev/null |
57978 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'`
57980 glibcxx_gnu_ld_version=`echo $ldver | \
57981 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57983 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57986 # Set --gc-sections.
57987 glibcxx_have_gc_sections=no
57988 if test "$glibcxx_ld_is_gold" = "yes"; then
57989 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57990 glibcxx_have_gc_sections=yes
57993 glibcxx_gcsections_min_ld=21602
57994 if test x"$with_gnu_ld" = x"yes" &&
57995 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57996 glibcxx_have_gc_sections=yes
57999 if test "$glibcxx_have_gc_sections" = "yes"; then
58000 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58001 # NB: This flag only works reliably after 2.16.1. Configure tests
58002 # for this are difficult, so hard wire a value that should work.
58004 ac_test_CFLAGS="${CFLAGS+set}"
58005 ac_save_CFLAGS="$CFLAGS"
58006 CFLAGS='-Wl,--gc-sections'
58008 # Check for -Wl,--gc-sections
58009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58010 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58011 if test x$gcc_no_link = xyes; then
58012 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58015 /* end confdefs.h. */
58016 int one(void) { return 1; }
58017 int two(void) { return 2; }
58027 if ac_fn_c_try_link "$LINENO"; then :
58032 rm -f core conftest.err conftest.$ac_objext \
58033 conftest$ac_exeext conftest.$ac_ext
58034 if test "$ac_gcsections" = "yes"; then
58037 if $CC -c conftest.c; then
58038 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58039 grep "Warning: gc-sections option ignored" > /dev/null; then
58043 rm -f conftest.c conftest.o conftest
58045 if test "$ac_gcsections" = "yes"; then
58046 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58049 $as_echo "$ac_gcsections" >&6; }
58051 if test "$ac_test_CFLAGS" = set; then
58052 CFLAGS="$ac_save_CFLAGS"
58054 # this is the suspicious part
58060 # Note this is only for shared objects.
58062 if test x"$with_gnu_ld" = x"yes"; then
58063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58064 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58065 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58066 if test -n "$cxx_z_relo"; then
58067 OPT_LDFLAGS="-Wl,-z,relro"
58070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58071 $as_echo "$ac_ld_relro" >&6; }
58074 # Set linker optimization flags.
58075 if test x"$with_gnu_ld" = x"yes"; then
58076 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58083 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58084 ac_save_CXXFLAGS="$CXXFLAGS"
58085 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
58088 $as_echo_n "checking for sin in -lm... " >&6; }
58089 if test "${ac_cv_lib_m_sin+set}" = set; then :
58090 $as_echo_n "(cached) " >&6
58092 ac_check_lib_save_LIBS=$LIBS
58094 if test x$gcc_no_link = xyes; then
58095 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58098 /* end confdefs.h. */
58100 /* Override any GCC internal prototype to avoid an error.
58101 Use char because int might match the return type of a GCC
58102 builtin and then its argument prototype would still apply. */
58115 if ac_fn_c_try_link "$LINENO"; then :
58116 ac_cv_lib_m_sin=yes
58120 rm -f core conftest.err conftest.$ac_objext \
58121 conftest$ac_exeext conftest.$ac_ext
58122 LIBS=$ac_check_lib_save_LIBS
58124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
58125 $as_echo "$ac_cv_lib_m_sin" >&6; }
58126 if test "x$ac_cv_lib_m_sin" = x""yes; then :
58130 ac_save_LIBS="$LIBS"
58135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
58136 $as_echo_n "checking for isinf declaration... " >&6; }
58137 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
58138 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
58139 $as_echo_n "(cached) " >&6
58144 ac_cpp='$CXXCPP $CPPFLAGS'
58145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58150 /* end confdefs.h. */
58152 #ifdef HAVE_IEEEFP_H
58153 #include <ieeefp.h>
58164 if ac_fn_cxx_try_compile "$LINENO"; then :
58165 glibcxx_cv_func_isinf_use=yes
58167 glibcxx_cv_func_isinf_use=no
58169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58171 ac_cpp='$CPP $CPPFLAGS'
58172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
58181 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
58183 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
58184 for ac_func in isinf
58186 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
58187 if test "x$ac_cv_func_isinf" = x""yes; then :
58188 cat >>confdefs.h <<_ACEOF
58189 #define HAVE_ISINF 1
58197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
58198 $as_echo_n "checking for _isinf declaration... " >&6; }
58199 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
58200 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
58201 $as_echo_n "(cached) " >&6
58206 ac_cpp='$CXXCPP $CPPFLAGS'
58207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58212 /* end confdefs.h. */
58214 #ifdef HAVE_IEEEFP_H
58215 #include <ieeefp.h>
58226 if ac_fn_cxx_try_compile "$LINENO"; then :
58227 glibcxx_cv_func__isinf_use=yes
58229 glibcxx_cv_func__isinf_use=no
58231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58233 ac_cpp='$CPP $CPPFLAGS'
58234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
58243 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
58245 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
58246 for ac_func in _isinf
58248 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
58249 if test "x$ac_cv_func__isinf" = x""yes; then :
58250 cat >>confdefs.h <<_ACEOF
58251 #define HAVE__ISINF 1
58264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
58265 $as_echo_n "checking for isnan declaration... " >&6; }
58266 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
58267 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
58268 $as_echo_n "(cached) " >&6
58273 ac_cpp='$CXXCPP $CPPFLAGS'
58274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58279 /* end confdefs.h. */
58281 #ifdef HAVE_IEEEFP_H
58282 #include <ieeefp.h>
58293 if ac_fn_cxx_try_compile "$LINENO"; then :
58294 glibcxx_cv_func_isnan_use=yes
58296 glibcxx_cv_func_isnan_use=no
58298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58300 ac_cpp='$CPP $CPPFLAGS'
58301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
58310 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
58312 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
58313 for ac_func in isnan
58315 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
58316 if test "x$ac_cv_func_isnan" = x""yes; then :
58317 cat >>confdefs.h <<_ACEOF
58318 #define HAVE_ISNAN 1
58326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
58327 $as_echo_n "checking for _isnan declaration... " >&6; }
58328 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
58329 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
58330 $as_echo_n "(cached) " >&6
58335 ac_cpp='$CXXCPP $CPPFLAGS'
58336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58341 /* end confdefs.h. */
58343 #ifdef HAVE_IEEEFP_H
58344 #include <ieeefp.h>
58355 if ac_fn_cxx_try_compile "$LINENO"; then :
58356 glibcxx_cv_func__isnan_use=yes
58358 glibcxx_cv_func__isnan_use=no
58360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58362 ac_cpp='$CPP $CPPFLAGS'
58363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
58372 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
58374 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
58375 for ac_func in _isnan
58377 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
58378 if test "x$ac_cv_func__isnan" = x""yes; then :
58379 cat >>confdefs.h <<_ACEOF
58380 #define HAVE__ISNAN 1
58393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
58394 $as_echo_n "checking for finite declaration... " >&6; }
58395 if test x${glibcxx_cv_func_finite_use+set} != xset; then
58396 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
58397 $as_echo_n "(cached) " >&6
58402 ac_cpp='$CXXCPP $CPPFLAGS'
58403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58408 /* end confdefs.h. */
58410 #ifdef HAVE_IEEEFP_H
58411 #include <ieeefp.h>
58422 if ac_fn_cxx_try_compile "$LINENO"; then :
58423 glibcxx_cv_func_finite_use=yes
58425 glibcxx_cv_func_finite_use=no
58427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58429 ac_cpp='$CPP $CPPFLAGS'
58430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
58439 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
58441 if test x$glibcxx_cv_func_finite_use = x"yes"; then
58442 for ac_func in finite
58444 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
58445 if test "x$ac_cv_func_finite" = x""yes; then :
58446 cat >>confdefs.h <<_ACEOF
58447 #define HAVE_FINITE 1
58455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
58456 $as_echo_n "checking for _finite declaration... " >&6; }
58457 if test x${glibcxx_cv_func__finite_use+set} != xset; then
58458 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
58459 $as_echo_n "(cached) " >&6
58464 ac_cpp='$CXXCPP $CPPFLAGS'
58465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58470 /* end confdefs.h. */
58472 #ifdef HAVE_IEEEFP_H
58473 #include <ieeefp.h>
58484 if ac_fn_cxx_try_compile "$LINENO"; then :
58485 glibcxx_cv_func__finite_use=yes
58487 glibcxx_cv_func__finite_use=no
58489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58491 ac_cpp='$CPP $CPPFLAGS'
58492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
58501 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
58503 if test x$glibcxx_cv_func__finite_use = x"yes"; then
58504 for ac_func in _finite
58506 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
58507 if test "x$ac_cv_func__finite" = x""yes; then :
58508 cat >>confdefs.h <<_ACEOF
58509 #define HAVE__FINITE 1
58522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
58523 $as_echo_n "checking for sincos declaration... " >&6; }
58524 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
58525 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
58526 $as_echo_n "(cached) " >&6
58531 ac_cpp='$CXXCPP $CPPFLAGS'
58532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58537 /* end confdefs.h. */
58547 if ac_fn_cxx_try_compile "$LINENO"; then :
58548 glibcxx_cv_func_sincos_use=yes
58550 glibcxx_cv_func_sincos_use=no
58552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58554 ac_cpp='$CPP $CPPFLAGS'
58555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
58564 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
58566 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
58567 for ac_func in sincos
58569 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
58570 if test "x$ac_cv_func_sincos" = x""yes; then :
58571 cat >>confdefs.h <<_ACEOF
58572 #define HAVE_SINCOS 1
58580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
58581 $as_echo_n "checking for _sincos declaration... " >&6; }
58582 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
58583 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
58584 $as_echo_n "(cached) " >&6
58589 ac_cpp='$CXXCPP $CPPFLAGS'
58590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58595 /* end confdefs.h. */
58605 if ac_fn_cxx_try_compile "$LINENO"; then :
58606 glibcxx_cv_func__sincos_use=yes
58608 glibcxx_cv_func__sincos_use=no
58610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58612 ac_cpp='$CPP $CPPFLAGS'
58613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
58622 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
58624 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
58625 for ac_func in _sincos
58627 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
58628 if test "x$ac_cv_func__sincos" = x""yes; then :
58629 cat >>confdefs.h <<_ACEOF
58630 #define HAVE__SINCOS 1
58643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
58644 $as_echo_n "checking for fpclass declaration... " >&6; }
58645 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
58646 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
58647 $as_echo_n "(cached) " >&6
58652 ac_cpp='$CXXCPP $CPPFLAGS'
58653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58658 /* end confdefs.h. */
58660 #ifdef HAVE_IEEEFP_H
58661 #include <ieeefp.h>
58672 if ac_fn_cxx_try_compile "$LINENO"; then :
58673 glibcxx_cv_func_fpclass_use=yes
58675 glibcxx_cv_func_fpclass_use=no
58677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58679 ac_cpp='$CPP $CPPFLAGS'
58680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
58689 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
58691 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
58692 for ac_func in fpclass
58694 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
58695 if test "x$ac_cv_func_fpclass" = x""yes; then :
58696 cat >>confdefs.h <<_ACEOF
58697 #define HAVE_FPCLASS 1
58705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
58706 $as_echo_n "checking for _fpclass declaration... " >&6; }
58707 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
58708 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
58709 $as_echo_n "(cached) " >&6
58714 ac_cpp='$CXXCPP $CPPFLAGS'
58715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58720 /* end confdefs.h. */
58722 #ifdef HAVE_IEEEFP_H
58723 #include <ieeefp.h>
58734 if ac_fn_cxx_try_compile "$LINENO"; then :
58735 glibcxx_cv_func__fpclass_use=yes
58737 glibcxx_cv_func__fpclass_use=no
58739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58741 ac_cpp='$CPP $CPPFLAGS'
58742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
58751 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
58753 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
58754 for ac_func in _fpclass
58756 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
58757 if test "x$ac_cv_func__fpclass" = x""yes; then :
58758 cat >>confdefs.h <<_ACEOF
58759 #define HAVE__FPCLASS 1
58772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
58773 $as_echo_n "checking for qfpclass declaration... " >&6; }
58774 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
58775 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
58776 $as_echo_n "(cached) " >&6
58781 ac_cpp='$CXXCPP $CPPFLAGS'
58782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58787 /* end confdefs.h. */
58789 #ifdef HAVE_IEEEFP_H
58790 #include <ieeefp.h>
58801 if ac_fn_cxx_try_compile "$LINENO"; then :
58802 glibcxx_cv_func_qfpclass_use=yes
58804 glibcxx_cv_func_qfpclass_use=no
58806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58808 ac_cpp='$CPP $CPPFLAGS'
58809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
58818 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
58820 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
58821 for ac_func in qfpclass
58823 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
58824 if test "x$ac_cv_func_qfpclass" = x""yes; then :
58825 cat >>confdefs.h <<_ACEOF
58826 #define HAVE_QFPCLASS 1
58834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
58835 $as_echo_n "checking for _qfpclass declaration... " >&6; }
58836 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
58837 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
58838 $as_echo_n "(cached) " >&6
58843 ac_cpp='$CXXCPP $CPPFLAGS'
58844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58849 /* end confdefs.h. */
58851 #ifdef HAVE_IEEEFP_H
58852 #include <ieeefp.h>
58863 if ac_fn_cxx_try_compile "$LINENO"; then :
58864 glibcxx_cv_func__qfpclass_use=yes
58866 glibcxx_cv_func__qfpclass_use=no
58868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58870 ac_cpp='$CPP $CPPFLAGS'
58871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
58880 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
58882 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
58883 for ac_func in _qfpclass
58885 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
58886 if test "x$ac_cv_func__qfpclass" = x""yes; then :
58887 cat >>confdefs.h <<_ACEOF
58888 #define HAVE__QFPCLASS 1
58901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
58902 $as_echo_n "checking for hypot declaration... " >&6; }
58903 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
58904 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
58905 $as_echo_n "(cached) " >&6
58910 ac_cpp='$CXXCPP $CPPFLAGS'
58911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58916 /* end confdefs.h. */
58926 if ac_fn_cxx_try_compile "$LINENO"; then :
58927 glibcxx_cv_func_hypot_use=yes
58929 glibcxx_cv_func_hypot_use=no
58931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58933 ac_cpp='$CPP $CPPFLAGS'
58934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
58943 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
58945 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
58946 for ac_func in hypot
58948 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
58949 if test "x$ac_cv_func_hypot" = x""yes; then :
58950 cat >>confdefs.h <<_ACEOF
58951 #define HAVE_HYPOT 1
58959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
58960 $as_echo_n "checking for _hypot declaration... " >&6; }
58961 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
58962 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
58963 $as_echo_n "(cached) " >&6
58968 ac_cpp='$CXXCPP $CPPFLAGS'
58969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58974 /* end confdefs.h. */
58984 if ac_fn_cxx_try_compile "$LINENO"; then :
58985 glibcxx_cv_func__hypot_use=yes
58987 glibcxx_cv_func__hypot_use=no
58989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58991 ac_cpp='$CPP $CPPFLAGS'
58992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
59001 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
59003 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
59004 for ac_func in _hypot
59006 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
59007 if test "x$ac_cv_func__hypot" = x""yes; then :
59008 cat >>confdefs.h <<_ACEOF
59009 #define HAVE__HYPOT 1
59022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
59023 $as_echo_n "checking for float trig functions... " >&6; }
59024 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
59025 $as_echo_n "(cached) " >&6
59030 ac_cpp='$CXXCPP $CPPFLAGS'
59031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59036 /* end confdefs.h. */
59041 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
59046 if ac_fn_cxx_try_compile "$LINENO"; then :
59047 glibcxx_cv_func_float_trig_use=yes
59049 glibcxx_cv_func_float_trig_use=no
59051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59053 ac_cpp='$CPP $CPPFLAGS'
59054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
59061 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
59062 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
59063 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
59065 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59066 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59067 eval as_val=\$$as_ac_var
59068 if test "x$as_val" = x""yes; then :
59069 cat >>confdefs.h <<_ACEOF
59070 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
59078 $as_echo_n "checking for _float trig functions... " >&6; }
59079 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
59080 $as_echo_n "(cached) " >&6
59085 ac_cpp='$CXXCPP $CPPFLAGS'
59086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59091 /* end confdefs.h. */
59096 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
59101 if ac_fn_cxx_try_compile "$LINENO"; then :
59102 glibcxx_cv_func__float_trig_use=yes
59104 glibcxx_cv_func__float_trig_use=no
59106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59108 ac_cpp='$CPP $CPPFLAGS'
59109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
59116 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
59117 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
59118 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
59120 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59121 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59122 eval as_val=\$$as_ac_var
59123 if test "x$as_val" = x""yes; then :
59124 cat >>confdefs.h <<_ACEOF
59125 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
59139 $as_echo_n "checking for float round functions... " >&6; }
59140 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
59141 $as_echo_n "(cached) " >&6
59146 ac_cpp='$CXXCPP $CPPFLAGS'
59147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59152 /* end confdefs.h. */
59157 ceilf (0); floorf (0);
59162 if ac_fn_cxx_try_compile "$LINENO"; then :
59163 glibcxx_cv_func_float_round_use=yes
59165 glibcxx_cv_func_float_round_use=no
59167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59169 ac_cpp='$CPP $CPPFLAGS'
59170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
59177 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
59178 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
59179 for ac_func in ceilf floorf
59181 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59182 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59183 eval as_val=\$$as_ac_var
59184 if test "x$as_val" = x""yes; then :
59185 cat >>confdefs.h <<_ACEOF
59186 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
59194 $as_echo_n "checking for _float round functions... " >&6; }
59195 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
59196 $as_echo_n "(cached) " >&6
59201 ac_cpp='$CXXCPP $CPPFLAGS'
59202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59207 /* end confdefs.h. */
59212 _ceilf (0); _floorf (0);
59217 if ac_fn_cxx_try_compile "$LINENO"; then :
59218 glibcxx_cv_func__float_round_use=yes
59220 glibcxx_cv_func__float_round_use=no
59222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59224 ac_cpp='$CPP $CPPFLAGS'
59225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
59232 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
59233 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
59234 for ac_func in _ceilf _floorf
59236 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59237 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59238 eval as_val=\$$as_ac_var
59239 if test "x$as_val" = x""yes; then :
59240 cat >>confdefs.h <<_ACEOF
59241 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
59256 $as_echo_n "checking for expf declaration... " >&6; }
59257 if test x${glibcxx_cv_func_expf_use+set} != xset; then
59258 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
59259 $as_echo_n "(cached) " >&6
59264 ac_cpp='$CXXCPP $CPPFLAGS'
59265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59270 /* end confdefs.h. */
59272 #ifdef HAVE_IEEEFP_H
59273 #include <ieeefp.h>
59284 if ac_fn_cxx_try_compile "$LINENO"; then :
59285 glibcxx_cv_func_expf_use=yes
59287 glibcxx_cv_func_expf_use=no
59289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59291 ac_cpp='$CPP $CPPFLAGS'
59292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
59301 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
59303 if test x$glibcxx_cv_func_expf_use = x"yes"; then
59304 for ac_func in expf
59306 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
59307 if test "x$ac_cv_func_expf" = x""yes; then :
59308 cat >>confdefs.h <<_ACEOF
59309 #define HAVE_EXPF 1
59317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
59318 $as_echo_n "checking for _expf declaration... " >&6; }
59319 if test x${glibcxx_cv_func__expf_use+set} != xset; then
59320 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
59321 $as_echo_n "(cached) " >&6
59326 ac_cpp='$CXXCPP $CPPFLAGS'
59327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59332 /* end confdefs.h. */
59334 #ifdef HAVE_IEEEFP_H
59335 #include <ieeefp.h>
59346 if ac_fn_cxx_try_compile "$LINENO"; then :
59347 glibcxx_cv_func__expf_use=yes
59349 glibcxx_cv_func__expf_use=no
59351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59353 ac_cpp='$CPP $CPPFLAGS'
59354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
59363 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
59365 if test x$glibcxx_cv_func__expf_use = x"yes"; then
59366 for ac_func in _expf
59368 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
59369 if test "x$ac_cv_func__expf" = x""yes; then :
59370 cat >>confdefs.h <<_ACEOF
59371 #define HAVE__EXPF 1
59384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
59385 $as_echo_n "checking for isnanf declaration... " >&6; }
59386 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
59387 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
59388 $as_echo_n "(cached) " >&6
59393 ac_cpp='$CXXCPP $CPPFLAGS'
59394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59399 /* end confdefs.h. */
59401 #ifdef HAVE_IEEEFP_H
59402 #include <ieeefp.h>
59413 if ac_fn_cxx_try_compile "$LINENO"; then :
59414 glibcxx_cv_func_isnanf_use=yes
59416 glibcxx_cv_func_isnanf_use=no
59418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59420 ac_cpp='$CPP $CPPFLAGS'
59421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
59430 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
59432 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
59433 for ac_func in isnanf
59435 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
59436 if test "x$ac_cv_func_isnanf" = x""yes; then :
59437 cat >>confdefs.h <<_ACEOF
59438 #define HAVE_ISNANF 1
59446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
59447 $as_echo_n "checking for _isnanf declaration... " >&6; }
59448 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
59449 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
59450 $as_echo_n "(cached) " >&6
59455 ac_cpp='$CXXCPP $CPPFLAGS'
59456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59461 /* end confdefs.h. */
59463 #ifdef HAVE_IEEEFP_H
59464 #include <ieeefp.h>
59475 if ac_fn_cxx_try_compile "$LINENO"; then :
59476 glibcxx_cv_func__isnanf_use=yes
59478 glibcxx_cv_func__isnanf_use=no
59480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59482 ac_cpp='$CPP $CPPFLAGS'
59483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
59492 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
59494 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
59495 for ac_func in _isnanf
59497 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
59498 if test "x$ac_cv_func__isnanf" = x""yes; then :
59499 cat >>confdefs.h <<_ACEOF
59500 #define HAVE__ISNANF 1
59513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
59514 $as_echo_n "checking for isinff declaration... " >&6; }
59515 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
59516 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
59517 $as_echo_n "(cached) " >&6
59522 ac_cpp='$CXXCPP $CPPFLAGS'
59523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59528 /* end confdefs.h. */
59530 #ifdef HAVE_IEEEFP_H
59531 #include <ieeefp.h>
59542 if ac_fn_cxx_try_compile "$LINENO"; then :
59543 glibcxx_cv_func_isinff_use=yes
59545 glibcxx_cv_func_isinff_use=no
59547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59549 ac_cpp='$CPP $CPPFLAGS'
59550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
59559 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
59561 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
59562 for ac_func in isinff
59564 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
59565 if test "x$ac_cv_func_isinff" = x""yes; then :
59566 cat >>confdefs.h <<_ACEOF
59567 #define HAVE_ISINFF 1
59575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
59576 $as_echo_n "checking for _isinff declaration... " >&6; }
59577 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
59578 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
59579 $as_echo_n "(cached) " >&6
59584 ac_cpp='$CXXCPP $CPPFLAGS'
59585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59590 /* end confdefs.h. */
59592 #ifdef HAVE_IEEEFP_H
59593 #include <ieeefp.h>
59604 if ac_fn_cxx_try_compile "$LINENO"; then :
59605 glibcxx_cv_func__isinff_use=yes
59607 glibcxx_cv_func__isinff_use=no
59609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59611 ac_cpp='$CPP $CPPFLAGS'
59612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
59621 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
59623 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
59624 for ac_func in _isinff
59626 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
59627 if test "x$ac_cv_func__isinff" = x""yes; then :
59628 cat >>confdefs.h <<_ACEOF
59629 #define HAVE__ISINFF 1
59642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
59643 $as_echo_n "checking for atan2f declaration... " >&6; }
59644 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59645 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
59646 $as_echo_n "(cached) " >&6
59651 ac_cpp='$CXXCPP $CPPFLAGS'
59652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59657 /* end confdefs.h. */
59667 if ac_fn_cxx_try_compile "$LINENO"; then :
59668 glibcxx_cv_func_atan2f_use=yes
59670 glibcxx_cv_func_atan2f_use=no
59672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59674 ac_cpp='$CPP $CPPFLAGS'
59675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
59684 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
59686 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59687 for ac_func in atan2f
59689 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
59690 if test "x$ac_cv_func_atan2f" = x""yes; then :
59691 cat >>confdefs.h <<_ACEOF
59692 #define HAVE_ATAN2F 1
59700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
59701 $as_echo_n "checking for _atan2f declaration... " >&6; }
59702 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59703 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
59704 $as_echo_n "(cached) " >&6
59709 ac_cpp='$CXXCPP $CPPFLAGS'
59710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59715 /* end confdefs.h. */
59725 if ac_fn_cxx_try_compile "$LINENO"; then :
59726 glibcxx_cv_func__atan2f_use=yes
59728 glibcxx_cv_func__atan2f_use=no
59730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59732 ac_cpp='$CPP $CPPFLAGS'
59733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
59742 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
59744 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59745 for ac_func in _atan2f
59747 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
59748 if test "x$ac_cv_func__atan2f" = x""yes; then :
59749 cat >>confdefs.h <<_ACEOF
59750 #define HAVE__ATAN2F 1
59763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
59764 $as_echo_n "checking for fabsf declaration... " >&6; }
59765 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59766 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
59767 $as_echo_n "(cached) " >&6
59772 ac_cpp='$CXXCPP $CPPFLAGS'
59773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59778 /* end confdefs.h. */
59780 #ifdef HAVE_IEEEFP_H
59781 #include <ieeefp.h>
59792 if ac_fn_cxx_try_compile "$LINENO"; then :
59793 glibcxx_cv_func_fabsf_use=yes
59795 glibcxx_cv_func_fabsf_use=no
59797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59799 ac_cpp='$CPP $CPPFLAGS'
59800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
59809 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
59811 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59812 for ac_func in fabsf
59814 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
59815 if test "x$ac_cv_func_fabsf" = x""yes; then :
59816 cat >>confdefs.h <<_ACEOF
59817 #define HAVE_FABSF 1
59825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
59826 $as_echo_n "checking for _fabsf declaration... " >&6; }
59827 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59828 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
59829 $as_echo_n "(cached) " >&6
59834 ac_cpp='$CXXCPP $CPPFLAGS'
59835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59840 /* end confdefs.h. */
59842 #ifdef HAVE_IEEEFP_H
59843 #include <ieeefp.h>
59854 if ac_fn_cxx_try_compile "$LINENO"; then :
59855 glibcxx_cv_func__fabsf_use=yes
59857 glibcxx_cv_func__fabsf_use=no
59859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59861 ac_cpp='$CPP $CPPFLAGS'
59862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
59871 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
59873 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59874 for ac_func in _fabsf
59876 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
59877 if test "x$ac_cv_func__fabsf" = x""yes; then :
59878 cat >>confdefs.h <<_ACEOF
59879 #define HAVE__FABSF 1
59892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
59893 $as_echo_n "checking for fmodf declaration... " >&6; }
59894 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
59895 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
59896 $as_echo_n "(cached) " >&6
59901 ac_cpp='$CXXCPP $CPPFLAGS'
59902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59907 /* end confdefs.h. */
59917 if ac_fn_cxx_try_compile "$LINENO"; then :
59918 glibcxx_cv_func_fmodf_use=yes
59920 glibcxx_cv_func_fmodf_use=no
59922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59924 ac_cpp='$CPP $CPPFLAGS'
59925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
59934 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
59936 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59937 for ac_func in fmodf
59939 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
59940 if test "x$ac_cv_func_fmodf" = x""yes; then :
59941 cat >>confdefs.h <<_ACEOF
59942 #define HAVE_FMODF 1
59950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
59951 $as_echo_n "checking for _fmodf declaration... " >&6; }
59952 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59953 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
59954 $as_echo_n "(cached) " >&6
59959 ac_cpp='$CXXCPP $CPPFLAGS'
59960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59965 /* end confdefs.h. */
59975 if ac_fn_cxx_try_compile "$LINENO"; then :
59976 glibcxx_cv_func__fmodf_use=yes
59978 glibcxx_cv_func__fmodf_use=no
59980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59982 ac_cpp='$CPP $CPPFLAGS'
59983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
59992 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
59994 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59995 for ac_func in _fmodf
59997 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
59998 if test "x$ac_cv_func__fmodf" = x""yes; then :
59999 cat >>confdefs.h <<_ACEOF
60000 #define HAVE__FMODF 1
60013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
60014 $as_echo_n "checking for frexpf declaration... " >&6; }
60015 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60016 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
60017 $as_echo_n "(cached) " >&6
60022 ac_cpp='$CXXCPP $CPPFLAGS'
60023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60028 /* end confdefs.h. */
60038 if ac_fn_cxx_try_compile "$LINENO"; then :
60039 glibcxx_cv_func_frexpf_use=yes
60041 glibcxx_cv_func_frexpf_use=no
60043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60045 ac_cpp='$CPP $CPPFLAGS'
60046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
60055 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
60057 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60058 for ac_func in frexpf
60060 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
60061 if test "x$ac_cv_func_frexpf" = x""yes; then :
60062 cat >>confdefs.h <<_ACEOF
60063 #define HAVE_FREXPF 1
60071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
60072 $as_echo_n "checking for _frexpf declaration... " >&6; }
60073 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60074 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
60075 $as_echo_n "(cached) " >&6
60080 ac_cpp='$CXXCPP $CPPFLAGS'
60081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60086 /* end confdefs.h. */
60096 if ac_fn_cxx_try_compile "$LINENO"; then :
60097 glibcxx_cv_func__frexpf_use=yes
60099 glibcxx_cv_func__frexpf_use=no
60101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60103 ac_cpp='$CPP $CPPFLAGS'
60104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
60113 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
60115 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
60116 for ac_func in _frexpf
60118 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
60119 if test "x$ac_cv_func__frexpf" = x""yes; then :
60120 cat >>confdefs.h <<_ACEOF
60121 #define HAVE__FREXPF 1
60134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
60135 $as_echo_n "checking for hypotf declaration... " >&6; }
60136 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
60137 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
60138 $as_echo_n "(cached) " >&6
60143 ac_cpp='$CXXCPP $CPPFLAGS'
60144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60149 /* end confdefs.h. */
60159 if ac_fn_cxx_try_compile "$LINENO"; then :
60160 glibcxx_cv_func_hypotf_use=yes
60162 glibcxx_cv_func_hypotf_use=no
60164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60166 ac_cpp='$CPP $CPPFLAGS'
60167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
60176 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
60178 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
60179 for ac_func in hypotf
60181 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
60182 if test "x$ac_cv_func_hypotf" = x""yes; then :
60183 cat >>confdefs.h <<_ACEOF
60184 #define HAVE_HYPOTF 1
60192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
60193 $as_echo_n "checking for _hypotf declaration... " >&6; }
60194 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
60195 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
60196 $as_echo_n "(cached) " >&6
60201 ac_cpp='$CXXCPP $CPPFLAGS'
60202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60207 /* end confdefs.h. */
60217 if ac_fn_cxx_try_compile "$LINENO"; then :
60218 glibcxx_cv_func__hypotf_use=yes
60220 glibcxx_cv_func__hypotf_use=no
60222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60224 ac_cpp='$CPP $CPPFLAGS'
60225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
60234 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
60236 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
60237 for ac_func in _hypotf
60239 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
60240 if test "x$ac_cv_func__hypotf" = x""yes; then :
60241 cat >>confdefs.h <<_ACEOF
60242 #define HAVE__HYPOTF 1
60255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
60256 $as_echo_n "checking for ldexpf declaration... " >&6; }
60257 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60258 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
60259 $as_echo_n "(cached) " >&6
60264 ac_cpp='$CXXCPP $CPPFLAGS'
60265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60270 /* end confdefs.h. */
60280 if ac_fn_cxx_try_compile "$LINENO"; then :
60281 glibcxx_cv_func_ldexpf_use=yes
60283 glibcxx_cv_func_ldexpf_use=no
60285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60287 ac_cpp='$CPP $CPPFLAGS'
60288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
60297 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
60299 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60300 for ac_func in ldexpf
60302 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
60303 if test "x$ac_cv_func_ldexpf" = x""yes; then :
60304 cat >>confdefs.h <<_ACEOF
60305 #define HAVE_LDEXPF 1
60313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
60314 $as_echo_n "checking for _ldexpf declaration... " >&6; }
60315 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60316 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
60317 $as_echo_n "(cached) " >&6
60322 ac_cpp='$CXXCPP $CPPFLAGS'
60323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60328 /* end confdefs.h. */
60338 if ac_fn_cxx_try_compile "$LINENO"; then :
60339 glibcxx_cv_func__ldexpf_use=yes
60341 glibcxx_cv_func__ldexpf_use=no
60343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60345 ac_cpp='$CPP $CPPFLAGS'
60346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
60355 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
60357 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60358 for ac_func in _ldexpf
60360 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
60361 if test "x$ac_cv_func__ldexpf" = x""yes; then :
60362 cat >>confdefs.h <<_ACEOF
60363 #define HAVE__LDEXPF 1
60376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
60377 $as_echo_n "checking for logf declaration... " >&6; }
60378 if test x${glibcxx_cv_func_logf_use+set} != xset; then
60379 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
60380 $as_echo_n "(cached) " >&6
60385 ac_cpp='$CXXCPP $CPPFLAGS'
60386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60391 /* end confdefs.h. */
60393 #ifdef HAVE_IEEEFP_H
60394 #include <ieeefp.h>
60405 if ac_fn_cxx_try_compile "$LINENO"; then :
60406 glibcxx_cv_func_logf_use=yes
60408 glibcxx_cv_func_logf_use=no
60410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60412 ac_cpp='$CPP $CPPFLAGS'
60413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
60422 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
60424 if test x$glibcxx_cv_func_logf_use = x"yes"; then
60425 for ac_func in logf
60427 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
60428 if test "x$ac_cv_func_logf" = x""yes; then :
60429 cat >>confdefs.h <<_ACEOF
60430 #define HAVE_LOGF 1
60438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
60439 $as_echo_n "checking for _logf declaration... " >&6; }
60440 if test x${glibcxx_cv_func__logf_use+set} != xset; then
60441 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
60442 $as_echo_n "(cached) " >&6
60447 ac_cpp='$CXXCPP $CPPFLAGS'
60448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60453 /* end confdefs.h. */
60455 #ifdef HAVE_IEEEFP_H
60456 #include <ieeefp.h>
60467 if ac_fn_cxx_try_compile "$LINENO"; then :
60468 glibcxx_cv_func__logf_use=yes
60470 glibcxx_cv_func__logf_use=no
60472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60474 ac_cpp='$CPP $CPPFLAGS'
60475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
60484 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
60486 if test x$glibcxx_cv_func__logf_use = x"yes"; then
60487 for ac_func in _logf
60489 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
60490 if test "x$ac_cv_func__logf" = x""yes; then :
60491 cat >>confdefs.h <<_ACEOF
60492 #define HAVE__LOGF 1
60505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
60506 $as_echo_n "checking for log10f declaration... " >&6; }
60507 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60508 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
60509 $as_echo_n "(cached) " >&6
60514 ac_cpp='$CXXCPP $CPPFLAGS'
60515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60520 /* end confdefs.h. */
60522 #ifdef HAVE_IEEEFP_H
60523 #include <ieeefp.h>
60534 if ac_fn_cxx_try_compile "$LINENO"; then :
60535 glibcxx_cv_func_log10f_use=yes
60537 glibcxx_cv_func_log10f_use=no
60539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60541 ac_cpp='$CPP $CPPFLAGS'
60542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
60551 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
60553 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60554 for ac_func in log10f
60556 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
60557 if test "x$ac_cv_func_log10f" = x""yes; then :
60558 cat >>confdefs.h <<_ACEOF
60559 #define HAVE_LOG10F 1
60567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
60568 $as_echo_n "checking for _log10f declaration... " >&6; }
60569 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60570 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
60571 $as_echo_n "(cached) " >&6
60576 ac_cpp='$CXXCPP $CPPFLAGS'
60577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60582 /* end confdefs.h. */
60584 #ifdef HAVE_IEEEFP_H
60585 #include <ieeefp.h>
60596 if ac_fn_cxx_try_compile "$LINENO"; then :
60597 glibcxx_cv_func__log10f_use=yes
60599 glibcxx_cv_func__log10f_use=no
60601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60603 ac_cpp='$CPP $CPPFLAGS'
60604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
60613 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
60615 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
60616 for ac_func in _log10f
60618 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
60619 if test "x$ac_cv_func__log10f" = x""yes; then :
60620 cat >>confdefs.h <<_ACEOF
60621 #define HAVE__LOG10F 1
60634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
60635 $as_echo_n "checking for modff declaration... " >&6; }
60636 if test x${glibcxx_cv_func_modff_use+set} != xset; then
60637 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
60638 $as_echo_n "(cached) " >&6
60643 ac_cpp='$CXXCPP $CPPFLAGS'
60644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60649 /* end confdefs.h. */
60659 if ac_fn_cxx_try_compile "$LINENO"; then :
60660 glibcxx_cv_func_modff_use=yes
60662 glibcxx_cv_func_modff_use=no
60664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60666 ac_cpp='$CPP $CPPFLAGS'
60667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
60676 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
60678 if test x$glibcxx_cv_func_modff_use = x"yes"; then
60679 for ac_func in modff
60681 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
60682 if test "x$ac_cv_func_modff" = x""yes; then :
60683 cat >>confdefs.h <<_ACEOF
60684 #define HAVE_MODFF 1
60692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
60693 $as_echo_n "checking for _modff declaration... " >&6; }
60694 if test x${glibcxx_cv_func__modff_use+set} != xset; then
60695 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
60696 $as_echo_n "(cached) " >&6
60701 ac_cpp='$CXXCPP $CPPFLAGS'
60702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60707 /* end confdefs.h. */
60717 if ac_fn_cxx_try_compile "$LINENO"; then :
60718 glibcxx_cv_func__modff_use=yes
60720 glibcxx_cv_func__modff_use=no
60722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60724 ac_cpp='$CPP $CPPFLAGS'
60725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
60734 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
60736 if test x$glibcxx_cv_func__modff_use = x"yes"; then
60737 for ac_func in _modff
60739 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
60740 if test "x$ac_cv_func__modff" = x""yes; then :
60741 cat >>confdefs.h <<_ACEOF
60742 #define HAVE__MODFF 1
60755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
60756 $as_echo_n "checking for modf declaration... " >&6; }
60757 if test x${glibcxx_cv_func_modf_use+set} != xset; then
60758 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
60759 $as_echo_n "(cached) " >&6
60764 ac_cpp='$CXXCPP $CPPFLAGS'
60765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60770 /* end confdefs.h. */
60780 if ac_fn_cxx_try_compile "$LINENO"; then :
60781 glibcxx_cv_func_modf_use=yes
60783 glibcxx_cv_func_modf_use=no
60785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60787 ac_cpp='$CPP $CPPFLAGS'
60788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
60797 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
60799 if test x$glibcxx_cv_func_modf_use = x"yes"; then
60800 for ac_func in modf
60802 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
60803 if test "x$ac_cv_func_modf" = x""yes; then :
60804 cat >>confdefs.h <<_ACEOF
60805 #define HAVE_MODF 1
60813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
60814 $as_echo_n "checking for _modf declaration... " >&6; }
60815 if test x${glibcxx_cv_func__modf_use+set} != xset; then
60816 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
60817 $as_echo_n "(cached) " >&6
60822 ac_cpp='$CXXCPP $CPPFLAGS'
60823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60828 /* end confdefs.h. */
60838 if ac_fn_cxx_try_compile "$LINENO"; then :
60839 glibcxx_cv_func__modf_use=yes
60841 glibcxx_cv_func__modf_use=no
60843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60845 ac_cpp='$CPP $CPPFLAGS'
60846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
60855 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
60857 if test x$glibcxx_cv_func__modf_use = x"yes"; then
60858 for ac_func in _modf
60860 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
60861 if test "x$ac_cv_func__modf" = x""yes; then :
60862 cat >>confdefs.h <<_ACEOF
60863 #define HAVE__MODF 1
60876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
60877 $as_echo_n "checking for powf declaration... " >&6; }
60878 if test x${glibcxx_cv_func_powf_use+set} != xset; then
60879 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
60880 $as_echo_n "(cached) " >&6
60885 ac_cpp='$CXXCPP $CPPFLAGS'
60886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60891 /* end confdefs.h. */
60901 if ac_fn_cxx_try_compile "$LINENO"; then :
60902 glibcxx_cv_func_powf_use=yes
60904 glibcxx_cv_func_powf_use=no
60906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60908 ac_cpp='$CPP $CPPFLAGS'
60909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
60918 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
60920 if test x$glibcxx_cv_func_powf_use = x"yes"; then
60921 for ac_func in powf
60923 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
60924 if test "x$ac_cv_func_powf" = x""yes; then :
60925 cat >>confdefs.h <<_ACEOF
60926 #define HAVE_POWF 1
60934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
60935 $as_echo_n "checking for _powf declaration... " >&6; }
60936 if test x${glibcxx_cv_func__powf_use+set} != xset; then
60937 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
60938 $as_echo_n "(cached) " >&6
60943 ac_cpp='$CXXCPP $CPPFLAGS'
60944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60949 /* end confdefs.h. */
60959 if ac_fn_cxx_try_compile "$LINENO"; then :
60960 glibcxx_cv_func__powf_use=yes
60962 glibcxx_cv_func__powf_use=no
60964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60966 ac_cpp='$CPP $CPPFLAGS'
60967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
60976 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
60978 if test x$glibcxx_cv_func__powf_use = x"yes"; then
60979 for ac_func in _powf
60981 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
60982 if test "x$ac_cv_func__powf" = x""yes; then :
60983 cat >>confdefs.h <<_ACEOF
60984 #define HAVE__POWF 1
60997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
60998 $as_echo_n "checking for sqrtf declaration... " >&6; }
60999 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61000 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
61001 $as_echo_n "(cached) " >&6
61006 ac_cpp='$CXXCPP $CPPFLAGS'
61007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61012 /* end confdefs.h. */
61014 #ifdef HAVE_IEEEFP_H
61015 #include <ieeefp.h>
61026 if ac_fn_cxx_try_compile "$LINENO"; then :
61027 glibcxx_cv_func_sqrtf_use=yes
61029 glibcxx_cv_func_sqrtf_use=no
61031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61033 ac_cpp='$CPP $CPPFLAGS'
61034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
61043 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
61045 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
61046 for ac_func in sqrtf
61048 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
61049 if test "x$ac_cv_func_sqrtf" = x""yes; then :
61050 cat >>confdefs.h <<_ACEOF
61051 #define HAVE_SQRTF 1
61059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
61060 $as_echo_n "checking for _sqrtf declaration... " >&6; }
61061 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
61062 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
61063 $as_echo_n "(cached) " >&6
61068 ac_cpp='$CXXCPP $CPPFLAGS'
61069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61074 /* end confdefs.h. */
61076 #ifdef HAVE_IEEEFP_H
61077 #include <ieeefp.h>
61088 if ac_fn_cxx_try_compile "$LINENO"; then :
61089 glibcxx_cv_func__sqrtf_use=yes
61091 glibcxx_cv_func__sqrtf_use=no
61093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61095 ac_cpp='$CPP $CPPFLAGS'
61096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
61105 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
61107 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
61108 for ac_func in _sqrtf
61110 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
61111 if test "x$ac_cv_func__sqrtf" = x""yes; then :
61112 cat >>confdefs.h <<_ACEOF
61113 #define HAVE__SQRTF 1
61126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
61127 $as_echo_n "checking for sincosf declaration... " >&6; }
61128 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
61129 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
61130 $as_echo_n "(cached) " >&6
61135 ac_cpp='$CXXCPP $CPPFLAGS'
61136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61141 /* end confdefs.h. */
61151 if ac_fn_cxx_try_compile "$LINENO"; then :
61152 glibcxx_cv_func_sincosf_use=yes
61154 glibcxx_cv_func_sincosf_use=no
61156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61158 ac_cpp='$CPP $CPPFLAGS'
61159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
61168 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
61170 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
61171 for ac_func in sincosf
61173 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
61174 if test "x$ac_cv_func_sincosf" = x""yes; then :
61175 cat >>confdefs.h <<_ACEOF
61176 #define HAVE_SINCOSF 1
61184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
61185 $as_echo_n "checking for _sincosf declaration... " >&6; }
61186 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
61187 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
61188 $as_echo_n "(cached) " >&6
61193 ac_cpp='$CXXCPP $CPPFLAGS'
61194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61199 /* end confdefs.h. */
61209 if ac_fn_cxx_try_compile "$LINENO"; then :
61210 glibcxx_cv_func__sincosf_use=yes
61212 glibcxx_cv_func__sincosf_use=no
61214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61216 ac_cpp='$CPP $CPPFLAGS'
61217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
61226 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
61228 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
61229 for ac_func in _sincosf
61231 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
61232 if test "x$ac_cv_func__sincosf" = x""yes; then :
61233 cat >>confdefs.h <<_ACEOF
61234 #define HAVE__SINCOSF 1
61247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
61248 $as_echo_n "checking for finitef declaration... " >&6; }
61249 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
61250 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
61251 $as_echo_n "(cached) " >&6
61256 ac_cpp='$CXXCPP $CPPFLAGS'
61257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61262 /* end confdefs.h. */
61264 #ifdef HAVE_IEEEFP_H
61265 #include <ieeefp.h>
61276 if ac_fn_cxx_try_compile "$LINENO"; then :
61277 glibcxx_cv_func_finitef_use=yes
61279 glibcxx_cv_func_finitef_use=no
61281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61283 ac_cpp='$CPP $CPPFLAGS'
61284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
61293 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
61295 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
61296 for ac_func in finitef
61298 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
61299 if test "x$ac_cv_func_finitef" = x""yes; then :
61300 cat >>confdefs.h <<_ACEOF
61301 #define HAVE_FINITEF 1
61309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
61310 $as_echo_n "checking for _finitef declaration... " >&6; }
61311 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
61312 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
61313 $as_echo_n "(cached) " >&6
61318 ac_cpp='$CXXCPP $CPPFLAGS'
61319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61324 /* end confdefs.h. */
61326 #ifdef HAVE_IEEEFP_H
61327 #include <ieeefp.h>
61338 if ac_fn_cxx_try_compile "$LINENO"; then :
61339 glibcxx_cv_func__finitef_use=yes
61341 glibcxx_cv_func__finitef_use=no
61343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61345 ac_cpp='$CPP $CPPFLAGS'
61346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
61355 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
61357 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
61358 for ac_func in _finitef
61360 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
61361 if test "x$ac_cv_func__finitef" = x""yes; then :
61362 cat >>confdefs.h <<_ACEOF
61363 #define HAVE__FINITEF 1
61376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
61377 $as_echo_n "checking for long double trig functions... " >&6; }
61378 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
61379 $as_echo_n "(cached) " >&6
61384 ac_cpp='$CXXCPP $CPPFLAGS'
61385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61390 /* end confdefs.h. */
61395 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
61400 if ac_fn_cxx_try_compile "$LINENO"; then :
61401 glibcxx_cv_func_long_double_trig_use=yes
61403 glibcxx_cv_func_long_double_trig_use=no
61405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61407 ac_cpp='$CPP $CPPFLAGS'
61408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
61415 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
61416 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
61417 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
61419 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61420 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61421 eval as_val=\$$as_ac_var
61422 if test "x$as_val" = x""yes; then :
61423 cat >>confdefs.h <<_ACEOF
61424 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
61432 $as_echo_n "checking for _long double trig functions... " >&6; }
61433 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
61434 $as_echo_n "(cached) " >&6
61439 ac_cpp='$CXXCPP $CPPFLAGS'
61440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61445 /* end confdefs.h. */
61450 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
61455 if ac_fn_cxx_try_compile "$LINENO"; then :
61456 glibcxx_cv_func__long_double_trig_use=yes
61458 glibcxx_cv_func__long_double_trig_use=no
61460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61462 ac_cpp='$CPP $CPPFLAGS'
61463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
61470 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
61471 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
61472 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
61474 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61475 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61476 eval as_val=\$$as_ac_var
61477 if test "x$as_val" = x""yes; then :
61478 cat >>confdefs.h <<_ACEOF
61479 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
61493 $as_echo_n "checking for long double round functions... " >&6; }
61494 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
61495 $as_echo_n "(cached) " >&6
61500 ac_cpp='$CXXCPP $CPPFLAGS'
61501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61506 /* end confdefs.h. */
61511 ceill (0); floorl (0);
61516 if ac_fn_cxx_try_compile "$LINENO"; then :
61517 glibcxx_cv_func_long_double_round_use=yes
61519 glibcxx_cv_func_long_double_round_use=no
61521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61523 ac_cpp='$CPP $CPPFLAGS'
61524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
61531 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
61532 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
61533 for ac_func in ceill floorl
61535 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61536 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61537 eval as_val=\$$as_ac_var
61538 if test "x$as_val" = x""yes; then :
61539 cat >>confdefs.h <<_ACEOF
61540 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
61548 $as_echo_n "checking for _long double round functions... " >&6; }
61549 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
61550 $as_echo_n "(cached) " >&6
61555 ac_cpp='$CXXCPP $CPPFLAGS'
61556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61561 /* end confdefs.h. */
61566 _ceill (0); _floorl (0);
61571 if ac_fn_cxx_try_compile "$LINENO"; then :
61572 glibcxx_cv_func__long_double_round_use=yes
61574 glibcxx_cv_func__long_double_round_use=no
61576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61578 ac_cpp='$CPP $CPPFLAGS'
61579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
61586 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
61587 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
61588 for ac_func in _ceill _floorl
61590 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61591 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61592 eval as_val=\$$as_ac_var
61593 if test "x$as_val" = x""yes; then :
61594 cat >>confdefs.h <<_ACEOF
61595 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
61610 $as_echo_n "checking for isnanl declaration... " >&6; }
61611 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
61612 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
61613 $as_echo_n "(cached) " >&6
61618 ac_cpp='$CXXCPP $CPPFLAGS'
61619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61624 /* end confdefs.h. */
61626 #ifdef HAVE_IEEEFP_H
61627 #include <ieeefp.h>
61638 if ac_fn_cxx_try_compile "$LINENO"; then :
61639 glibcxx_cv_func_isnanl_use=yes
61641 glibcxx_cv_func_isnanl_use=no
61643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61645 ac_cpp='$CPP $CPPFLAGS'
61646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
61655 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
61657 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
61658 for ac_func in isnanl
61660 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
61661 if test "x$ac_cv_func_isnanl" = x""yes; then :
61662 cat >>confdefs.h <<_ACEOF
61663 #define HAVE_ISNANL 1
61671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
61672 $as_echo_n "checking for _isnanl declaration... " >&6; }
61673 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
61674 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
61675 $as_echo_n "(cached) " >&6
61680 ac_cpp='$CXXCPP $CPPFLAGS'
61681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61686 /* end confdefs.h. */
61688 #ifdef HAVE_IEEEFP_H
61689 #include <ieeefp.h>
61700 if ac_fn_cxx_try_compile "$LINENO"; then :
61701 glibcxx_cv_func__isnanl_use=yes
61703 glibcxx_cv_func__isnanl_use=no
61705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61707 ac_cpp='$CPP $CPPFLAGS'
61708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
61717 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
61719 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
61720 for ac_func in _isnanl
61722 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
61723 if test "x$ac_cv_func__isnanl" = x""yes; then :
61724 cat >>confdefs.h <<_ACEOF
61725 #define HAVE__ISNANL 1
61738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
61739 $as_echo_n "checking for isinfl declaration... " >&6; }
61740 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
61741 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
61742 $as_echo_n "(cached) " >&6
61747 ac_cpp='$CXXCPP $CPPFLAGS'
61748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61753 /* end confdefs.h. */
61755 #ifdef HAVE_IEEEFP_H
61756 #include <ieeefp.h>
61767 if ac_fn_cxx_try_compile "$LINENO"; then :
61768 glibcxx_cv_func_isinfl_use=yes
61770 glibcxx_cv_func_isinfl_use=no
61772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61774 ac_cpp='$CPP $CPPFLAGS'
61775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
61784 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
61786 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
61787 for ac_func in isinfl
61789 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
61790 if test "x$ac_cv_func_isinfl" = x""yes; then :
61791 cat >>confdefs.h <<_ACEOF
61792 #define HAVE_ISINFL 1
61800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
61801 $as_echo_n "checking for _isinfl declaration... " >&6; }
61802 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
61803 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
61804 $as_echo_n "(cached) " >&6
61809 ac_cpp='$CXXCPP $CPPFLAGS'
61810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61815 /* end confdefs.h. */
61817 #ifdef HAVE_IEEEFP_H
61818 #include <ieeefp.h>
61829 if ac_fn_cxx_try_compile "$LINENO"; then :
61830 glibcxx_cv_func__isinfl_use=yes
61832 glibcxx_cv_func__isinfl_use=no
61834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61836 ac_cpp='$CPP $CPPFLAGS'
61837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
61846 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
61848 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
61849 for ac_func in _isinfl
61851 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
61852 if test "x$ac_cv_func__isinfl" = x""yes; then :
61853 cat >>confdefs.h <<_ACEOF
61854 #define HAVE__ISINFL 1
61867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
61868 $as_echo_n "checking for atan2l declaration... " >&6; }
61869 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
61870 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
61871 $as_echo_n "(cached) " >&6
61876 ac_cpp='$CXXCPP $CPPFLAGS'
61877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61882 /* end confdefs.h. */
61892 if ac_fn_cxx_try_compile "$LINENO"; then :
61893 glibcxx_cv_func_atan2l_use=yes
61895 glibcxx_cv_func_atan2l_use=no
61897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61899 ac_cpp='$CPP $CPPFLAGS'
61900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
61909 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
61911 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
61912 for ac_func in atan2l
61914 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
61915 if test "x$ac_cv_func_atan2l" = x""yes; then :
61916 cat >>confdefs.h <<_ACEOF
61917 #define HAVE_ATAN2L 1
61925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
61926 $as_echo_n "checking for _atan2l declaration... " >&6; }
61927 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
61928 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
61929 $as_echo_n "(cached) " >&6
61934 ac_cpp='$CXXCPP $CPPFLAGS'
61935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61940 /* end confdefs.h. */
61950 if ac_fn_cxx_try_compile "$LINENO"; then :
61951 glibcxx_cv_func__atan2l_use=yes
61953 glibcxx_cv_func__atan2l_use=no
61955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61957 ac_cpp='$CPP $CPPFLAGS'
61958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
61967 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
61969 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
61970 for ac_func in _atan2l
61972 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
61973 if test "x$ac_cv_func__atan2l" = x""yes; then :
61974 cat >>confdefs.h <<_ACEOF
61975 #define HAVE__ATAN2L 1
61988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
61989 $as_echo_n "checking for expl declaration... " >&6; }
61990 if test x${glibcxx_cv_func_expl_use+set} != xset; then
61991 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
61992 $as_echo_n "(cached) " >&6
61997 ac_cpp='$CXXCPP $CPPFLAGS'
61998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62003 /* end confdefs.h. */
62005 #ifdef HAVE_IEEEFP_H
62006 #include <ieeefp.h>
62017 if ac_fn_cxx_try_compile "$LINENO"; then :
62018 glibcxx_cv_func_expl_use=yes
62020 glibcxx_cv_func_expl_use=no
62022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62024 ac_cpp='$CPP $CPPFLAGS'
62025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
62034 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
62036 if test x$glibcxx_cv_func_expl_use = x"yes"; then
62037 for ac_func in expl
62039 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
62040 if test "x$ac_cv_func_expl" = x""yes; then :
62041 cat >>confdefs.h <<_ACEOF
62042 #define HAVE_EXPL 1
62050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
62051 $as_echo_n "checking for _expl declaration... " >&6; }
62052 if test x${glibcxx_cv_func__expl_use+set} != xset; then
62053 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
62054 $as_echo_n "(cached) " >&6
62059 ac_cpp='$CXXCPP $CPPFLAGS'
62060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62065 /* end confdefs.h. */
62067 #ifdef HAVE_IEEEFP_H
62068 #include <ieeefp.h>
62079 if ac_fn_cxx_try_compile "$LINENO"; then :
62080 glibcxx_cv_func__expl_use=yes
62082 glibcxx_cv_func__expl_use=no
62084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62086 ac_cpp='$CPP $CPPFLAGS'
62087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
62096 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
62098 if test x$glibcxx_cv_func__expl_use = x"yes"; then
62099 for ac_func in _expl
62101 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
62102 if test "x$ac_cv_func__expl" = x""yes; then :
62103 cat >>confdefs.h <<_ACEOF
62104 #define HAVE__EXPL 1
62117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
62118 $as_echo_n "checking for fabsl declaration... " >&6; }
62119 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
62120 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
62121 $as_echo_n "(cached) " >&6
62126 ac_cpp='$CXXCPP $CPPFLAGS'
62127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62132 /* end confdefs.h. */
62134 #ifdef HAVE_IEEEFP_H
62135 #include <ieeefp.h>
62146 if ac_fn_cxx_try_compile "$LINENO"; then :
62147 glibcxx_cv_func_fabsl_use=yes
62149 glibcxx_cv_func_fabsl_use=no
62151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62153 ac_cpp='$CPP $CPPFLAGS'
62154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
62163 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
62165 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
62166 for ac_func in fabsl
62168 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
62169 if test "x$ac_cv_func_fabsl" = x""yes; then :
62170 cat >>confdefs.h <<_ACEOF
62171 #define HAVE_FABSL 1
62179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
62180 $as_echo_n "checking for _fabsl declaration... " >&6; }
62181 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
62182 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
62183 $as_echo_n "(cached) " >&6
62188 ac_cpp='$CXXCPP $CPPFLAGS'
62189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62194 /* end confdefs.h. */
62196 #ifdef HAVE_IEEEFP_H
62197 #include <ieeefp.h>
62208 if ac_fn_cxx_try_compile "$LINENO"; then :
62209 glibcxx_cv_func__fabsl_use=yes
62211 glibcxx_cv_func__fabsl_use=no
62213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62215 ac_cpp='$CPP $CPPFLAGS'
62216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
62225 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
62227 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
62228 for ac_func in _fabsl
62230 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
62231 if test "x$ac_cv_func__fabsl" = x""yes; then :
62232 cat >>confdefs.h <<_ACEOF
62233 #define HAVE__FABSL 1
62246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
62247 $as_echo_n "checking for fmodl declaration... " >&6; }
62248 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
62249 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
62250 $as_echo_n "(cached) " >&6
62255 ac_cpp='$CXXCPP $CPPFLAGS'
62256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62261 /* end confdefs.h. */
62271 if ac_fn_cxx_try_compile "$LINENO"; then :
62272 glibcxx_cv_func_fmodl_use=yes
62274 glibcxx_cv_func_fmodl_use=no
62276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62278 ac_cpp='$CPP $CPPFLAGS'
62279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
62288 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
62290 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
62291 for ac_func in fmodl
62293 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
62294 if test "x$ac_cv_func_fmodl" = x""yes; then :
62295 cat >>confdefs.h <<_ACEOF
62296 #define HAVE_FMODL 1
62304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
62305 $as_echo_n "checking for _fmodl declaration... " >&6; }
62306 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
62307 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
62308 $as_echo_n "(cached) " >&6
62313 ac_cpp='$CXXCPP $CPPFLAGS'
62314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62319 /* end confdefs.h. */
62329 if ac_fn_cxx_try_compile "$LINENO"; then :
62330 glibcxx_cv_func__fmodl_use=yes
62332 glibcxx_cv_func__fmodl_use=no
62334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62336 ac_cpp='$CPP $CPPFLAGS'
62337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
62346 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
62348 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
62349 for ac_func in _fmodl
62351 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
62352 if test "x$ac_cv_func__fmodl" = x""yes; then :
62353 cat >>confdefs.h <<_ACEOF
62354 #define HAVE__FMODL 1
62367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
62368 $as_echo_n "checking for frexpl declaration... " >&6; }
62369 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
62370 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
62371 $as_echo_n "(cached) " >&6
62376 ac_cpp='$CXXCPP $CPPFLAGS'
62377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62382 /* end confdefs.h. */
62392 if ac_fn_cxx_try_compile "$LINENO"; then :
62393 glibcxx_cv_func_frexpl_use=yes
62395 glibcxx_cv_func_frexpl_use=no
62397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62399 ac_cpp='$CPP $CPPFLAGS'
62400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
62409 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
62411 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
62412 for ac_func in frexpl
62414 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
62415 if test "x$ac_cv_func_frexpl" = x""yes; then :
62416 cat >>confdefs.h <<_ACEOF
62417 #define HAVE_FREXPL 1
62425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
62426 $as_echo_n "checking for _frexpl declaration... " >&6; }
62427 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
62428 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
62429 $as_echo_n "(cached) " >&6
62434 ac_cpp='$CXXCPP $CPPFLAGS'
62435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62440 /* end confdefs.h. */
62450 if ac_fn_cxx_try_compile "$LINENO"; then :
62451 glibcxx_cv_func__frexpl_use=yes
62453 glibcxx_cv_func__frexpl_use=no
62455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62457 ac_cpp='$CPP $CPPFLAGS'
62458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
62467 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
62469 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
62470 for ac_func in _frexpl
62472 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
62473 if test "x$ac_cv_func__frexpl" = x""yes; then :
62474 cat >>confdefs.h <<_ACEOF
62475 #define HAVE__FREXPL 1
62488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
62489 $as_echo_n "checking for hypotl declaration... " >&6; }
62490 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
62491 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
62492 $as_echo_n "(cached) " >&6
62497 ac_cpp='$CXXCPP $CPPFLAGS'
62498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62503 /* end confdefs.h. */
62513 if ac_fn_cxx_try_compile "$LINENO"; then :
62514 glibcxx_cv_func_hypotl_use=yes
62516 glibcxx_cv_func_hypotl_use=no
62518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62520 ac_cpp='$CPP $CPPFLAGS'
62521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
62530 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
62532 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
62533 for ac_func in hypotl
62535 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
62536 if test "x$ac_cv_func_hypotl" = x""yes; then :
62537 cat >>confdefs.h <<_ACEOF
62538 #define HAVE_HYPOTL 1
62546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
62547 $as_echo_n "checking for _hypotl declaration... " >&6; }
62548 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
62549 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
62550 $as_echo_n "(cached) " >&6
62555 ac_cpp='$CXXCPP $CPPFLAGS'
62556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62561 /* end confdefs.h. */
62571 if ac_fn_cxx_try_compile "$LINENO"; then :
62572 glibcxx_cv_func__hypotl_use=yes
62574 glibcxx_cv_func__hypotl_use=no
62576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62578 ac_cpp='$CPP $CPPFLAGS'
62579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
62588 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
62590 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
62591 for ac_func in _hypotl
62593 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
62594 if test "x$ac_cv_func__hypotl" = x""yes; then :
62595 cat >>confdefs.h <<_ACEOF
62596 #define HAVE__HYPOTL 1
62609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
62610 $as_echo_n "checking for ldexpl declaration... " >&6; }
62611 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
62612 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
62613 $as_echo_n "(cached) " >&6
62618 ac_cpp='$CXXCPP $CPPFLAGS'
62619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62624 /* end confdefs.h. */
62634 if ac_fn_cxx_try_compile "$LINENO"; then :
62635 glibcxx_cv_func_ldexpl_use=yes
62637 glibcxx_cv_func_ldexpl_use=no
62639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62641 ac_cpp='$CPP $CPPFLAGS'
62642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
62651 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
62653 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
62654 for ac_func in ldexpl
62656 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
62657 if test "x$ac_cv_func_ldexpl" = x""yes; then :
62658 cat >>confdefs.h <<_ACEOF
62659 #define HAVE_LDEXPL 1
62667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
62668 $as_echo_n "checking for _ldexpl declaration... " >&6; }
62669 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
62670 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
62671 $as_echo_n "(cached) " >&6
62676 ac_cpp='$CXXCPP $CPPFLAGS'
62677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62682 /* end confdefs.h. */
62692 if ac_fn_cxx_try_compile "$LINENO"; then :
62693 glibcxx_cv_func__ldexpl_use=yes
62695 glibcxx_cv_func__ldexpl_use=no
62697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62699 ac_cpp='$CPP $CPPFLAGS'
62700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
62709 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
62711 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
62712 for ac_func in _ldexpl
62714 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
62715 if test "x$ac_cv_func__ldexpl" = x""yes; then :
62716 cat >>confdefs.h <<_ACEOF
62717 #define HAVE__LDEXPL 1
62730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
62731 $as_echo_n "checking for logl declaration... " >&6; }
62732 if test x${glibcxx_cv_func_logl_use+set} != xset; then
62733 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
62734 $as_echo_n "(cached) " >&6
62739 ac_cpp='$CXXCPP $CPPFLAGS'
62740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62745 /* end confdefs.h. */
62747 #ifdef HAVE_IEEEFP_H
62748 #include <ieeefp.h>
62759 if ac_fn_cxx_try_compile "$LINENO"; then :
62760 glibcxx_cv_func_logl_use=yes
62762 glibcxx_cv_func_logl_use=no
62764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62766 ac_cpp='$CPP $CPPFLAGS'
62767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
62776 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
62778 if test x$glibcxx_cv_func_logl_use = x"yes"; then
62779 for ac_func in logl
62781 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
62782 if test "x$ac_cv_func_logl" = x""yes; then :
62783 cat >>confdefs.h <<_ACEOF
62784 #define HAVE_LOGL 1
62792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
62793 $as_echo_n "checking for _logl declaration... " >&6; }
62794 if test x${glibcxx_cv_func__logl_use+set} != xset; then
62795 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
62796 $as_echo_n "(cached) " >&6
62801 ac_cpp='$CXXCPP $CPPFLAGS'
62802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62807 /* end confdefs.h. */
62809 #ifdef HAVE_IEEEFP_H
62810 #include <ieeefp.h>
62821 if ac_fn_cxx_try_compile "$LINENO"; then :
62822 glibcxx_cv_func__logl_use=yes
62824 glibcxx_cv_func__logl_use=no
62826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62828 ac_cpp='$CPP $CPPFLAGS'
62829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
62838 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
62840 if test x$glibcxx_cv_func__logl_use = x"yes"; then
62841 for ac_func in _logl
62843 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
62844 if test "x$ac_cv_func__logl" = x""yes; then :
62845 cat >>confdefs.h <<_ACEOF
62846 #define HAVE__LOGL 1
62859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
62860 $as_echo_n "checking for log10l declaration... " >&6; }
62861 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
62862 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
62863 $as_echo_n "(cached) " >&6
62868 ac_cpp='$CXXCPP $CPPFLAGS'
62869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62874 /* end confdefs.h. */
62876 #ifdef HAVE_IEEEFP_H
62877 #include <ieeefp.h>
62888 if ac_fn_cxx_try_compile "$LINENO"; then :
62889 glibcxx_cv_func_log10l_use=yes
62891 glibcxx_cv_func_log10l_use=no
62893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62895 ac_cpp='$CPP $CPPFLAGS'
62896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
62905 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
62907 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
62908 for ac_func in log10l
62910 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
62911 if test "x$ac_cv_func_log10l" = x""yes; then :
62912 cat >>confdefs.h <<_ACEOF
62913 #define HAVE_LOG10L 1
62921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
62922 $as_echo_n "checking for _log10l declaration... " >&6; }
62923 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
62924 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
62925 $as_echo_n "(cached) " >&6
62930 ac_cpp='$CXXCPP $CPPFLAGS'
62931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62936 /* end confdefs.h. */
62938 #ifdef HAVE_IEEEFP_H
62939 #include <ieeefp.h>
62950 if ac_fn_cxx_try_compile "$LINENO"; then :
62951 glibcxx_cv_func__log10l_use=yes
62953 glibcxx_cv_func__log10l_use=no
62955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62957 ac_cpp='$CPP $CPPFLAGS'
62958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
62967 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
62969 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
62970 for ac_func in _log10l
62972 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
62973 if test "x$ac_cv_func__log10l" = x""yes; then :
62974 cat >>confdefs.h <<_ACEOF
62975 #define HAVE__LOG10L 1
62988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
62989 $as_echo_n "checking for modfl declaration... " >&6; }
62990 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
62991 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
62992 $as_echo_n "(cached) " >&6
62997 ac_cpp='$CXXCPP $CPPFLAGS'
62998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63003 /* end confdefs.h. */
63013 if ac_fn_cxx_try_compile "$LINENO"; then :
63014 glibcxx_cv_func_modfl_use=yes
63016 glibcxx_cv_func_modfl_use=no
63018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63020 ac_cpp='$CPP $CPPFLAGS'
63021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
63030 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
63032 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
63033 for ac_func in modfl
63035 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
63036 if test "x$ac_cv_func_modfl" = x""yes; then :
63037 cat >>confdefs.h <<_ACEOF
63038 #define HAVE_MODFL 1
63046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
63047 $as_echo_n "checking for _modfl declaration... " >&6; }
63048 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
63049 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
63050 $as_echo_n "(cached) " >&6
63055 ac_cpp='$CXXCPP $CPPFLAGS'
63056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63061 /* end confdefs.h. */
63071 if ac_fn_cxx_try_compile "$LINENO"; then :
63072 glibcxx_cv_func__modfl_use=yes
63074 glibcxx_cv_func__modfl_use=no
63076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63078 ac_cpp='$CPP $CPPFLAGS'
63079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
63088 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
63090 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
63091 for ac_func in _modfl
63093 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
63094 if test "x$ac_cv_func__modfl" = x""yes; then :
63095 cat >>confdefs.h <<_ACEOF
63096 #define HAVE__MODFL 1
63109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
63110 $as_echo_n "checking for powl declaration... " >&6; }
63111 if test x${glibcxx_cv_func_powl_use+set} != xset; then
63112 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
63113 $as_echo_n "(cached) " >&6
63118 ac_cpp='$CXXCPP $CPPFLAGS'
63119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63124 /* end confdefs.h. */
63134 if ac_fn_cxx_try_compile "$LINENO"; then :
63135 glibcxx_cv_func_powl_use=yes
63137 glibcxx_cv_func_powl_use=no
63139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63141 ac_cpp='$CPP $CPPFLAGS'
63142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
63151 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
63153 if test x$glibcxx_cv_func_powl_use = x"yes"; then
63154 for ac_func in powl
63156 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
63157 if test "x$ac_cv_func_powl" = x""yes; then :
63158 cat >>confdefs.h <<_ACEOF
63159 #define HAVE_POWL 1
63167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
63168 $as_echo_n "checking for _powl declaration... " >&6; }
63169 if test x${glibcxx_cv_func__powl_use+set} != xset; then
63170 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
63171 $as_echo_n "(cached) " >&6
63176 ac_cpp='$CXXCPP $CPPFLAGS'
63177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63182 /* end confdefs.h. */
63192 if ac_fn_cxx_try_compile "$LINENO"; then :
63193 glibcxx_cv_func__powl_use=yes
63195 glibcxx_cv_func__powl_use=no
63197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63199 ac_cpp='$CPP $CPPFLAGS'
63200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
63209 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
63211 if test x$glibcxx_cv_func__powl_use = x"yes"; then
63212 for ac_func in _powl
63214 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
63215 if test "x$ac_cv_func__powl" = x""yes; then :
63216 cat >>confdefs.h <<_ACEOF
63217 #define HAVE__POWL 1
63230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
63231 $as_echo_n "checking for sqrtl declaration... " >&6; }
63232 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
63233 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
63234 $as_echo_n "(cached) " >&6
63239 ac_cpp='$CXXCPP $CPPFLAGS'
63240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63245 /* end confdefs.h. */
63247 #ifdef HAVE_IEEEFP_H
63248 #include <ieeefp.h>
63259 if ac_fn_cxx_try_compile "$LINENO"; then :
63260 glibcxx_cv_func_sqrtl_use=yes
63262 glibcxx_cv_func_sqrtl_use=no
63264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63266 ac_cpp='$CPP $CPPFLAGS'
63267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
63276 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
63278 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
63279 for ac_func in sqrtl
63281 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
63282 if test "x$ac_cv_func_sqrtl" = x""yes; then :
63283 cat >>confdefs.h <<_ACEOF
63284 #define HAVE_SQRTL 1
63292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
63293 $as_echo_n "checking for _sqrtl declaration... " >&6; }
63294 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
63295 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
63296 $as_echo_n "(cached) " >&6
63301 ac_cpp='$CXXCPP $CPPFLAGS'
63302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63307 /* end confdefs.h. */
63309 #ifdef HAVE_IEEEFP_H
63310 #include <ieeefp.h>
63321 if ac_fn_cxx_try_compile "$LINENO"; then :
63322 glibcxx_cv_func__sqrtl_use=yes
63324 glibcxx_cv_func__sqrtl_use=no
63326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63328 ac_cpp='$CPP $CPPFLAGS'
63329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
63338 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
63340 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
63341 for ac_func in _sqrtl
63343 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
63344 if test "x$ac_cv_func__sqrtl" = x""yes; then :
63345 cat >>confdefs.h <<_ACEOF
63346 #define HAVE__SQRTL 1
63359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
63360 $as_echo_n "checking for sincosl declaration... " >&6; }
63361 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
63362 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
63363 $as_echo_n "(cached) " >&6
63368 ac_cpp='$CXXCPP $CPPFLAGS'
63369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63374 /* end confdefs.h. */
63384 if ac_fn_cxx_try_compile "$LINENO"; then :
63385 glibcxx_cv_func_sincosl_use=yes
63387 glibcxx_cv_func_sincosl_use=no
63389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63391 ac_cpp='$CPP $CPPFLAGS'
63392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
63401 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
63403 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
63404 for ac_func in sincosl
63406 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
63407 if test "x$ac_cv_func_sincosl" = x""yes; then :
63408 cat >>confdefs.h <<_ACEOF
63409 #define HAVE_SINCOSL 1
63417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
63418 $as_echo_n "checking for _sincosl declaration... " >&6; }
63419 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
63420 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
63421 $as_echo_n "(cached) " >&6
63426 ac_cpp='$CXXCPP $CPPFLAGS'
63427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63432 /* end confdefs.h. */
63442 if ac_fn_cxx_try_compile "$LINENO"; then :
63443 glibcxx_cv_func__sincosl_use=yes
63445 glibcxx_cv_func__sincosl_use=no
63447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63449 ac_cpp='$CPP $CPPFLAGS'
63450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
63459 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
63461 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
63462 for ac_func in _sincosl
63464 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
63465 if test "x$ac_cv_func__sincosl" = x""yes; then :
63466 cat >>confdefs.h <<_ACEOF
63467 #define HAVE__SINCOSL 1
63480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
63481 $as_echo_n "checking for finitel declaration... " >&6; }
63482 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
63483 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
63484 $as_echo_n "(cached) " >&6
63489 ac_cpp='$CXXCPP $CPPFLAGS'
63490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63495 /* end confdefs.h. */
63497 #ifdef HAVE_IEEEFP_H
63498 #include <ieeefp.h>
63509 if ac_fn_cxx_try_compile "$LINENO"; then :
63510 glibcxx_cv_func_finitel_use=yes
63512 glibcxx_cv_func_finitel_use=no
63514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63516 ac_cpp='$CPP $CPPFLAGS'
63517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
63526 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
63528 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
63529 for ac_func in finitel
63531 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
63532 if test "x$ac_cv_func_finitel" = x""yes; then :
63533 cat >>confdefs.h <<_ACEOF
63534 #define HAVE_FINITEL 1
63542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
63543 $as_echo_n "checking for _finitel declaration... " >&6; }
63544 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
63545 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
63546 $as_echo_n "(cached) " >&6
63551 ac_cpp='$CXXCPP $CPPFLAGS'
63552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63557 /* end confdefs.h. */
63559 #ifdef HAVE_IEEEFP_H
63560 #include <ieeefp.h>
63571 if ac_fn_cxx_try_compile "$LINENO"; then :
63572 glibcxx_cv_func__finitel_use=yes
63574 glibcxx_cv_func__finitel_use=no
63576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63578 ac_cpp='$CPP $CPPFLAGS'
63579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
63588 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
63590 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
63591 for ac_func in _finitel
63593 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
63594 if test "x$ac_cv_func__finitel" = x""yes; then :
63595 cat >>confdefs.h <<_ACEOF
63596 #define HAVE__FINITEL 1
63608 LIBS="$ac_save_LIBS"
63609 CXXFLAGS="$ac_save_CXXFLAGS"
63612 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63613 ac_save_CXXFLAGS="$CXXFLAGS"
63614 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
63618 $as_echo_n "checking for strtold declaration... " >&6; }
63619 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63620 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
63621 $as_echo_n "(cached) " >&6
63626 ac_cpp='$CXXCPP $CPPFLAGS'
63627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63632 /* end confdefs.h. */
63633 #include <stdlib.h>
63642 if ac_fn_cxx_try_compile "$LINENO"; then :
63643 glibcxx_cv_func_strtold_use=yes
63645 glibcxx_cv_func_strtold_use=no
63647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63649 ac_cpp='$CPP $CPPFLAGS'
63650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
63659 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
63660 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63661 for ac_func in strtold
63663 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
63664 if test "x$ac_cv_func_strtold" = x""yes; then :
63665 cat >>confdefs.h <<_ACEOF
63666 #define HAVE_STRTOLD 1
63677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
63678 $as_echo_n "checking for strtof declaration... " >&6; }
63679 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63680 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
63681 $as_echo_n "(cached) " >&6
63686 ac_cpp='$CXXCPP $CPPFLAGS'
63687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63692 /* end confdefs.h. */
63693 #include <stdlib.h>
63702 if ac_fn_cxx_try_compile "$LINENO"; then :
63703 glibcxx_cv_func_strtof_use=yes
63705 glibcxx_cv_func_strtof_use=no
63707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63709 ac_cpp='$CPP $CPPFLAGS'
63710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
63719 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
63720 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63721 for ac_func in strtof
63723 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
63724 if test "x$ac_cv_func_strtof" = x""yes; then :
63725 cat >>confdefs.h <<_ACEOF
63726 #define HAVE_STRTOF 1
63737 CXXFLAGS="$ac_save_CXXFLAGS"
63742 *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
63744 # If we're not using GNU ld, then there's no point in even trying these
63745 # tests. Check for that first. We should have already tested for gld
63746 # by now (in libtool), but require it now just to be safe...
63747 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63748 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63752 # The name set by libtool depends on the version of libtool. Shame on us
63753 # for depending on an impl detail, but c'est la vie. Older versions used
63754 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63755 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63756 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63757 # set (hence we're using an older libtool), then set it.
63758 if test x${with_gnu_ld+set} != xset; then
63759 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63760 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63763 with_gnu_ld=$ac_cv_prog_gnu_ld
63767 # Start by getting the version number. I think the libtool test already
63768 # does some of this, but throws away the result.
63769 glibcxx_ld_is_gold=no
63770 if test x"$with_gnu_ld" = x"yes"; then
63771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63772 $as_echo_n "checking for ld version... " >&6; }
63774 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63775 glibcxx_ld_is_gold=yes
63777 ldver=`$LD --version 2>/dev/null |
63778 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'`
63780 glibcxx_gnu_ld_version=`echo $ldver | \
63781 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63783 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63786 # Set --gc-sections.
63787 glibcxx_have_gc_sections=no
63788 if test "$glibcxx_ld_is_gold" = "yes"; then
63789 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63790 glibcxx_have_gc_sections=yes
63793 glibcxx_gcsections_min_ld=21602
63794 if test x"$with_gnu_ld" = x"yes" &&
63795 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63796 glibcxx_have_gc_sections=yes
63799 if test "$glibcxx_have_gc_sections" = "yes"; then
63800 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63801 # NB: This flag only works reliably after 2.16.1. Configure tests
63802 # for this are difficult, so hard wire a value that should work.
63804 ac_test_CFLAGS="${CFLAGS+set}"
63805 ac_save_CFLAGS="$CFLAGS"
63806 CFLAGS='-Wl,--gc-sections'
63808 # Check for -Wl,--gc-sections
63809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63810 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63811 if test x$gcc_no_link = xyes; then
63812 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63815 /* end confdefs.h. */
63816 int one(void) { return 1; }
63817 int two(void) { return 2; }
63827 if ac_fn_c_try_link "$LINENO"; then :
63832 rm -f core conftest.err conftest.$ac_objext \
63833 conftest$ac_exeext conftest.$ac_ext
63834 if test "$ac_gcsections" = "yes"; then
63837 if $CC -c conftest.c; then
63838 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63839 grep "Warning: gc-sections option ignored" > /dev/null; then
63843 rm -f conftest.c conftest.o conftest
63845 if test "$ac_gcsections" = "yes"; then
63846 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63849 $as_echo "$ac_gcsections" >&6; }
63851 if test "$ac_test_CFLAGS" = set; then
63852 CFLAGS="$ac_save_CFLAGS"
63854 # this is the suspicious part
63860 # Note this is only for shared objects.
63862 if test x"$with_gnu_ld" = x"yes"; then
63863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63864 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63865 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63866 if test -n "$cxx_z_relo"; then
63867 OPT_LDFLAGS="-Wl,-z,relro"
63870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63871 $as_echo "$ac_ld_relro" >&6; }
63874 # Set linker optimization flags.
63875 if test x"$with_gnu_ld" = x"yes"; then
63876 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63882 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
63884 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63886 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
63888 # All of the dependencies for wide character support are here, so
63890 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
63896 # These two C99 functions are present only in Solaris >= 10
63897 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
63899 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
63903 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63905 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63907 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
63909 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63913 SECTION_FLAGS='-ffunction-sections -fdata-sections'
63916 # If we're not using GNU ld, then there's no point in even trying these
63917 # tests. Check for that first. We should have already tested for gld
63918 # by now (in libtool), but require it now just to be safe...
63919 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63920 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63924 # The name set by libtool depends on the version of libtool. Shame on us
63925 # for depending on an impl detail, but c'est la vie. Older versions used
63926 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63927 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63928 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63929 # set (hence we're using an older libtool), then set it.
63930 if test x${with_gnu_ld+set} != xset; then
63931 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63932 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63935 with_gnu_ld=$ac_cv_prog_gnu_ld
63939 # Start by getting the version number. I think the libtool test already
63940 # does some of this, but throws away the result.
63941 glibcxx_ld_is_gold=no
63942 if test x"$with_gnu_ld" = x"yes"; then
63943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63944 $as_echo_n "checking for ld version... " >&6; }
63946 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63947 glibcxx_ld_is_gold=yes
63949 ldver=`$LD --version 2>/dev/null |
63950 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'`
63952 glibcxx_gnu_ld_version=`echo $ldver | \
63953 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63955 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63958 # Set --gc-sections.
63959 glibcxx_have_gc_sections=no
63960 if test "$glibcxx_ld_is_gold" = "yes"; then
63961 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63962 glibcxx_have_gc_sections=yes
63965 glibcxx_gcsections_min_ld=21602
63966 if test x"$with_gnu_ld" = x"yes" &&
63967 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63968 glibcxx_have_gc_sections=yes
63971 if test "$glibcxx_have_gc_sections" = "yes"; then
63972 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63973 # NB: This flag only works reliably after 2.16.1. Configure tests
63974 # for this are difficult, so hard wire a value that should work.
63976 ac_test_CFLAGS="${CFLAGS+set}"
63977 ac_save_CFLAGS="$CFLAGS"
63978 CFLAGS='-Wl,--gc-sections'
63980 # Check for -Wl,--gc-sections
63981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63982 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63983 if test x$gcc_no_link = xyes; then
63984 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63987 /* end confdefs.h. */
63988 int one(void) { return 1; }
63989 int two(void) { return 2; }
63999 if ac_fn_c_try_link "$LINENO"; then :
64004 rm -f core conftest.err conftest.$ac_objext \
64005 conftest$ac_exeext conftest.$ac_ext
64006 if test "$ac_gcsections" = "yes"; then
64009 if $CC -c conftest.c; then
64010 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
64011 grep "Warning: gc-sections option ignored" > /dev/null; then
64015 rm -f conftest.c conftest.o conftest
64017 if test "$ac_gcsections" = "yes"; then
64018 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
64020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
64021 $as_echo "$ac_gcsections" >&6; }
64023 if test "$ac_test_CFLAGS" = set; then
64024 CFLAGS="$ac_save_CFLAGS"
64026 # this is the suspicious part
64032 # Note this is only for shared objects.
64034 if test x"$with_gnu_ld" = x"yes"; then
64035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
64036 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
64037 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
64038 if test -n "$cxx_z_relo"; then
64039 OPT_LDFLAGS="-Wl,-z,relro"
64042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
64043 $as_echo "$ac_ld_relro" >&6; }
64046 # Set linker optimization flags.
64047 if test x"$with_gnu_ld" = x"yes"; then
64048 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
64054 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64056 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
64058 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
64060 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
64062 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
64064 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
64066 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64068 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64070 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
64072 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
64074 if test x"long_double_math_on_this_cpu" = x"yes"; then
64075 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
64077 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
64079 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
64081 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
64086 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
64088 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
64090 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
64092 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
64094 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
64096 $as_echo "#define HAVE_COSF 1" >>confdefs.h
64098 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
64100 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
64102 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
64104 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
64106 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
64108 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
64110 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
64112 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
64114 $as_echo "#define HAVE_POWF 1" >>confdefs.h
64116 $as_echo "#define HAVE_SINF 1" >>confdefs.h
64118 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
64120 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
64122 $as_echo "#define HAVE_TANF 1" >>confdefs.h
64124 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
64128 as_fn_error "No support for this host/target combination." "$LINENO" 5
64134 # At some point, we should differentiate between architectures
64135 # like x86, which have long double versions, and alpha/powerpc/etc.,
64136 # which don't. For the time being, punt.
64137 if test x"long_double_math_on_this_cpu" = x"yes"; then
64138 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
64140 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
64142 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
64144 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
64146 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
64148 $as_echo "#define HAVE_COSL 1" >>confdefs.h
64150 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
64152 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
64154 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
64156 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
64158 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
64160 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
64162 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
64164 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
64166 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
64168 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
64170 $as_echo "#define HAVE_POWL 1" >>confdefs.h
64172 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
64174 $as_echo "#define HAVE_SINL 1" >>confdefs.h
64176 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
64178 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
64180 $as_echo "#define HAVE_TANL 1" >>confdefs.h
64182 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
64187 # Check for _Unwind_GetIPInfo.
64190 # Check whether --with-system-libunwind was given.
64191 if test "${with_system_libunwind+set}" = set; then :
64192 withval=$with_system_libunwind;
64195 # If system-libunwind was not specifically set, pick a default setting.
64196 if test x$with_system_libunwind = x; then
64198 ia64-*-hpux*) with_system_libunwind=yes ;;
64199 *) with_system_libunwind=no ;;
64202 # Based on system-libunwind and target, do we have ipinfo?
64203 if test x$with_system_libunwind = xyes; then
64205 ia64-*-*) have_unwind_getipinfo=no ;;
64206 *) have_unwind_getipinfo=yes ;;
64209 # Darwin before version 9 does not have _Unwind_GetIPInfo.
64212 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
64213 *) have_unwind_getipinfo=yes ;;
64218 if test x$have_unwind_getipinfo = xyes; then
64220 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
64225 # Check whether --enable-linux-futex was given.
64226 if test "${enable_linux_futex+set}" = set; then :
64227 enableval=$enable_linux_futex;
64228 case "$enableval" in
64230 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
64234 enable_linux_futex=default
64240 case "$enable_linux_futex" in
64242 # If headers don't have gettid/futex syscalls definition, then
64243 # default to no, otherwise there will be compile time failures.
64244 # Otherwise, default to yes. If we don't detect we are
64245 # compiled/linked against NPTL and not cross-compiling, check
64246 # if programs are run by default against NPTL and if not, issue
64248 enable_linux_futex=no
64249 if test x$gcc_no_link = xyes; then
64250 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64253 /* end confdefs.h. */
64254 #include <sys/syscall.h>
64259 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
64264 if ac_fn_c_try_link "$LINENO"; then :
64266 LIBS="-lpthread $LIBS"
64267 if test x$gcc_no_link = xyes; then
64268 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64271 /* end confdefs.h. */
64272 #ifndef _GNU_SOURCE
64273 #define _GNU_SOURCE 1
64275 #include <pthread.h>
64276 pthread_t th; void *status;
64280 pthread_tryjoin_np (th, &status);
64285 if ac_fn_c_try_link "$LINENO"; then :
64286 enable_linux_futex=yes
64288 if test x$cross_compiling = xno; then
64289 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
64290 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
64291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
64292 If so, please configure with --disable-linux-futex" >&5
64293 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
64294 If so, please configure with --disable-linux-futex" >&2;}
64297 enable_linux_futex=yes
64299 rm -f core conftest.err conftest.$ac_objext \
64300 conftest$ac_exeext conftest.$ac_ext
64303 rm -f core conftest.err conftest.$ac_objext \
64304 conftest$ac_exeext conftest.$ac_ext
64307 if test x$gcc_no_link = xyes; then
64308 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64311 /* end confdefs.h. */
64312 #include <sys/syscall.h>
64317 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
64322 if ac_fn_c_try_link "$LINENO"; then :
64325 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
64327 rm -f core conftest.err conftest.$ac_objext \
64328 conftest$ac_exeext conftest.$ac_ext
64333 enable_linux_futex=no
64336 if test x$enable_linux_futex = xyes; then
64338 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
64345 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
64347 acx_cv_header_stdint=stddef.h
64348 acx_cv_header_stdint_kind="(already complete)"
64349 for i in stdint.h $inttype_headers; do
64350 unset ac_cv_type_uintptr_t
64351 unset ac_cv_type_uintmax_t
64352 unset ac_cv_type_int_least32_t
64353 unset ac_cv_type_int_fast32_t
64354 unset ac_cv_type_uint64_t
64355 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
64356 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
64359 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
64360 acx_cv_header_stdint=$i
64365 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
64368 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
64371 acx_cv_header_stdint_kind="(mostly complete)"
64374 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
64377 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
64380 acx_cv_header_stdint_kind="(mostly complete)"
64383 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
64386 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
64389 acx_cv_header_stdint_kind="(mostly complete)"
64392 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
64395 if test "x$ac_cv_type_uint64_t" = x""yes; then :
64398 acx_cv_header_stdint_kind="(lacks uint64_t)"
64403 if test "$acx_cv_header_stdint" = stddef.h; then
64404 acx_cv_header_stdint_kind="(lacks uintmax_t)"
64405 for i in stdint.h $inttype_headers; do
64406 unset ac_cv_type_uintptr_t
64407 unset ac_cv_type_uint32_t
64408 unset ac_cv_type_uint64_t
64409 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
64410 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
64413 if test "x$ac_cv_type_uint32_t" = x""yes; then :
64414 acx_cv_header_stdint=$i
64419 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
64422 if test "x$ac_cv_type_uint64_t" = x""yes; then :
64426 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
64429 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
64436 if test "$acx_cv_header_stdint" = stddef.h; then
64437 acx_cv_header_stdint_kind="(u_intXX_t style)"
64438 for i in sys/types.h $inttype_headers; do
64439 unset ac_cv_type_u_int32_t
64440 unset ac_cv_type_u_int64_t
64441 $as_echo_n "looking for u_intXX_t types in $i, " >&6
64442 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
64445 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
64446 acx_cv_header_stdint=$i
64451 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
64454 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
64461 if test "$acx_cv_header_stdint" = stddef.h; then
64462 acx_cv_header_stdint_kind="(using manual detection)"
64465 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
64466 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
64467 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
64468 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
64469 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
64471 # ----------------- Summarize what we found so far
64473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
64474 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
64476 case `$as_basename -- include/gstdint.h ||
64477 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
64478 Xinclude/gstdint.h : 'X\(//\)$' \| \
64479 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
64480 $as_echo X/include/gstdint.h |
64481 sed '/^.*\/\([^/][^/]*\)\/*$/{
64494 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
64495 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
64496 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
64497 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
64501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
64502 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
64504 # ----------------- done included file, check C basic types --------
64506 # Lacking an uintptr_t? Test size of void *
64507 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
64508 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
64509 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64510 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64511 # This bug is HP SR number 8606223364.
64512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
64513 $as_echo_n "checking size of void *... " >&6; }
64514 if test "${ac_cv_sizeof_void_p+set}" = set; then :
64515 $as_echo_n "(cached) " >&6
64517 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
64520 if test "$ac_cv_type_void_p" = yes; then
64521 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64522 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64523 { as_fn_set_status 77
64524 as_fn_error "cannot compute sizeof (void *)
64525 See \`config.log' for more details." "$LINENO" 5; }; }
64527 ac_cv_sizeof_void_p=0
64532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
64533 $as_echo "$ac_cv_sizeof_void_p" >&6; }
64537 cat >>confdefs.h <<_ACEOF
64538 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
64544 # Lacking an uint64_t? Test size of long
64545 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
64546 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
64547 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64548 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64549 # This bug is HP SR number 8606223364.
64550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
64551 $as_echo_n "checking size of long... " >&6; }
64552 if test "${ac_cv_sizeof_long+set}" = set; then :
64553 $as_echo_n "(cached) " >&6
64555 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
64558 if test "$ac_cv_type_long" = yes; then
64559 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64560 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64561 { as_fn_set_status 77
64562 as_fn_error "cannot compute sizeof (long)
64563 See \`config.log' for more details." "$LINENO" 5; }; }
64565 ac_cv_sizeof_long=0
64570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
64571 $as_echo "$ac_cv_sizeof_long" >&6; }
64575 cat >>confdefs.h <<_ACEOF
64576 #define SIZEOF_LONG $ac_cv_sizeof_long
64582 if test $acx_cv_header_stdint = stddef.h; then
64583 # Lacking a good header? Test size of everything and deduce all types.
64584 # The cast to long int works around a bug in the HP C Compiler
64585 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64586 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64587 # This bug is HP SR number 8606223364.
64588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
64589 $as_echo_n "checking size of int... " >&6; }
64590 if test "${ac_cv_sizeof_int+set}" = set; then :
64591 $as_echo_n "(cached) " >&6
64593 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
64596 if test "$ac_cv_type_int" = yes; then
64597 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64598 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64599 { as_fn_set_status 77
64600 as_fn_error "cannot compute sizeof (int)
64601 See \`config.log' for more details." "$LINENO" 5; }; }
64608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
64609 $as_echo "$ac_cv_sizeof_int" >&6; }
64613 cat >>confdefs.h <<_ACEOF
64614 #define SIZEOF_INT $ac_cv_sizeof_int
64618 # The cast to long int works around a bug in the HP C Compiler
64619 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64620 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64621 # This bug is HP SR number 8606223364.
64622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
64623 $as_echo_n "checking size of short... " >&6; }
64624 if test "${ac_cv_sizeof_short+set}" = set; then :
64625 $as_echo_n "(cached) " >&6
64627 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
64630 if test "$ac_cv_type_short" = yes; then
64631 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64632 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64633 { as_fn_set_status 77
64634 as_fn_error "cannot compute sizeof (short)
64635 See \`config.log' for more details." "$LINENO" 5; }; }
64637 ac_cv_sizeof_short=0
64642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
64643 $as_echo "$ac_cv_sizeof_short" >&6; }
64647 cat >>confdefs.h <<_ACEOF
64648 #define SIZEOF_SHORT $ac_cv_sizeof_short
64652 # The cast to long int works around a bug in the HP C Compiler
64653 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64654 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64655 # This bug is HP SR number 8606223364.
64656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
64657 $as_echo_n "checking size of char... " >&6; }
64658 if test "${ac_cv_sizeof_char+set}" = set; then :
64659 $as_echo_n "(cached) " >&6
64661 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
64664 if test "$ac_cv_type_char" = yes; then
64665 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64666 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64667 { as_fn_set_status 77
64668 as_fn_error "cannot compute sizeof (char)
64669 See \`config.log' for more details." "$LINENO" 5; }; }
64671 ac_cv_sizeof_char=0
64676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
64677 $as_echo "$ac_cv_sizeof_char" >&6; }
64681 cat >>confdefs.h <<_ACEOF
64682 #define SIZEOF_CHAR $ac_cv_sizeof_char
64687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
64688 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
64689 case "$ac_cv_sizeof_char" in
64690 1) acx_cv_type_int8_t=char ;;
64691 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
64693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
64694 $as_echo "$acx_cv_type_int8_t" >&6; }
64696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
64697 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
64698 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
64699 2:*) acx_cv_type_int16_t=int ;;
64700 *:2) acx_cv_type_int16_t=short ;;
64701 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
64703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
64704 $as_echo "$acx_cv_type_int16_t" >&6; }
64706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
64707 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
64708 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
64709 4:*) acx_cv_type_int32_t=int ;;
64710 *:4) acx_cv_type_int32_t=long ;;
64711 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
64713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
64714 $as_echo "$acx_cv_type_int32_t" >&6; }
64717 # These tests are here to make the output prettier
64719 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
64720 case "$ac_cv_sizeof_long" in
64721 8) acx_cv_type_int64_t=long ;;
64723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
64724 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
64725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
64726 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
64729 # Now we can use the above types
64731 if test "$ac_cv_type_uintptr_t" != yes; then
64732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
64733 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
64734 case $ac_cv_sizeof_void_p in
64735 2) acx_cv_type_intptr_t=int16_t ;;
64736 4) acx_cv_type_intptr_t=int32_t ;;
64737 8) acx_cv_type_intptr_t=int64_t ;;
64738 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
64740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
64741 $as_echo "$acx_cv_type_intptr_t" >&6; }
64744 # ----------------- done all checks, emit header -------------
64745 ac_config_commands="$ac_config_commands include/gstdint.h"
64751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
64752 $as_echo_n "checking for GNU c++filt... " >&6; }
64753 if test "${ac_cv_path_CXXFILT+set}" = set; then :
64754 $as_echo_n "(cached) " >&6
64756 if test -z "$CXXFILT"; then
64757 ac_path_CXXFILT_found=false
64758 # Loop through the user's path and test for each of PROGNAME-LIST
64759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64760 for as_dir in $PATH
64763 test -z "$as_dir" && as_dir=.
64764 for ac_prog in c++filt gc++filt; do
64765 for ac_exec_ext in '' $ac_executable_extensions; do
64766 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
64767 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
64768 # Check for GNU $ac_path_CXXFILT
64769 case `"$ac_path_CXXFILT" --version 2>&1` in
64771 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
64774 $ac_path_CXXFILT_found && break 3
64779 if test -z "$ac_cv_path_CXXFILT"; then
64783 ac_cv_path_CXXFILT=$CXXFILT
64787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
64788 $as_echo "$ac_cv_path_CXXFILT" >&6; }
64789 CXXFILT=$ac_cv_path_CXXFILT
64793 # Check whether --enable-symvers was given.
64794 if test "${enable_symvers+set}" = set; then :
64795 enableval=$enable_symvers;
64796 case "$enableval" in
64797 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
64798 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
64807 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
64808 # don't know enough about $LD to do tricks...
64810 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
64811 # with extern "C++" in version scripts.
64814 # Turn a 'yes' into a suitable default.
64815 if test x$enable_symvers = xyes ; then
64816 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
64819 if test $with_gnu_ld = yes ; then
64820 case ${target_os} in
64822 enable_symvers=no ;;
64824 enable_symvers=gnu ;;
64827 case ${target_os} in
64829 enable_symvers=darwin ;;
64830 # Sun symbol versioning exists since Solaris 2.5.
64831 solaris2.[5-9]* | solaris2.1[0-9]*)
64832 # make_sunver.pl needs GNU c++filt to support extern "C++" in
64833 # version scripts, so disable symbol versioning if none can be
64835 if test -z "$ac_cv_path_CXXFILT"; then
64836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64837 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
64839 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
64840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64841 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64848 enable_symvers=no ;;
64854 # Check to see if 'darwin' or 'darwin-export' can win.
64855 if test x$enable_symvers = xdarwin-export ; then
64856 enable_symvers=darwin
64859 # Check if 'sun' was requested on non-Solaris 2 platforms.
64860 if test x$enable_symvers = xsun ; then
64861 case ${target_os} in
64866 # Unlikely to work.
64867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64868 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
64870 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
64871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64872 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64878 # Check to see if 'gnu' can win.
64879 if test $enable_symvers = gnu ||
64880 test $enable_symvers = gnu-versioned-namespace ||
64881 test $enable_symvers = sun; then
64882 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
64883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
64884 $as_echo_n "checking for shared libgcc... " >&6; }
64885 ac_save_CFLAGS="$CFLAGS"
64887 if test x$gcc_no_link = xyes; then
64888 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64891 /* end confdefs.h. */
64901 if ac_fn_c_try_link "$LINENO"; then :
64902 glibcxx_shared_libgcc=yes
64904 glibcxx_shared_libgcc=no
64906 rm -f core conftest.err conftest.$ac_objext \
64907 conftest$ac_exeext conftest.$ac_ext
64908 CFLAGS="$ac_save_CFLAGS"
64909 if test $glibcxx_shared_libgcc = no; then
64910 cat > conftest.c <<EOF
64911 int main (void) { return 0; }
64913 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
64914 -shared -shared-libgcc -o conftest.so \
64915 conftest.c -v 2>&1 >/dev/null \
64916 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
64917 rm -f conftest.c conftest.so
64918 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
64919 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
64920 if test x$gcc_no_link = xyes; then
64921 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64924 /* end confdefs.h. */
64934 if ac_fn_c_try_link "$LINENO"; then :
64935 glibcxx_shared_libgcc=yes
64937 rm -f core conftest.err conftest.$ac_objext \
64938 conftest$ac_exeext conftest.$ac_ext
64939 CFLAGS="$ac_save_CFLAGS"
64942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
64943 $as_echo "$glibcxx_shared_libgcc" >&6; }
64945 # For GNU ld, we need at least this version. The format is described in
64946 # GLIBCXX_CHECK_LINKER_FEATURES above.
64947 glibcxx_min_gnu_ld_version=21400
64949 # If no shared libgcc, can't win.
64950 if test $glibcxx_shared_libgcc != yes; then
64951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64952 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
64954 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
64955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64956 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64958 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
64959 : All interesting versions of Sun ld support sun style symbol versioning.
64960 elif test $with_gnu_ld != yes ; then
64961 # just fail for now
64962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64963 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
64965 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
64966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64967 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64969 elif test $glibcxx_ld_is_gold = yes ; then
64970 : All versions of gold support symbol versioning.
64971 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
64972 # The right tools, the right setup, but too old. Fallbacks?
64973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
64974 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
64975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
64976 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
64977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
64978 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
64979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
64980 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
64981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64982 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64987 # For libtool versioning info, format is CURRENT:REVISION:AGE
64988 libtool_VERSION=6:17:0
64990 # Everything parsed; figure out what files and settings to use.
64991 case $enable_symvers in
64993 SYMVER_FILE=config/abi/pre/none.ver
64996 SYMVER_FILE=config/abi/pre/gnu.ver
64998 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
65001 gnu-versioned-namespace)
65002 libtool_VERSION=7:0:0
65003 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
65005 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
65009 SYMVER_FILE=config/abi/pre/gnu.ver
65011 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
65015 SYMVER_FILE=config/abi/pre/gnu.ver
65017 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
65022 if test x$enable_symvers != xno ; then
65024 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
65028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
65029 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
65030 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
65031 $as_echo_n "(cached) " >&6
65034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65035 /* end confdefs.h. */
65036 void foo (void); __asm (".symver foo, bar@SYMVER");
65045 if ac_fn_c_try_compile "$LINENO"; then :
65046 glibcxx_cv_have_as_symver_directive=yes
65048 glibcxx_cv_have_as_symver_directive=no
65050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
65053 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
65054 if test $glibcxx_cv_have_as_symver_directive = yes; then
65056 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
65067 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
65068 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
65070 if test $enable_symvers != no ; then
65071 case ${target_os} in
65072 # The Solaris 2 runtime linker doesn't support the GNU extension of
65073 # binding the same symbol to different versions
65075 symvers_renaming=no ;;
65076 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
65079 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
65081 symvers_renaming=yes ;;
65084 symvers_renaming=no
65088 # Now, set up compatibility support, if any.
65089 # In addition, need this to deal with std::size_t mangling in
65090 # src/compatibility.cc. In a perfect world, could use
65091 # typeid(std::size_t).name()[0] to do direct substitution.
65092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
65093 $as_echo_n "checking for size_t as unsigned int... " >&6; }
65094 ac_save_CFLAGS="$CFLAGS"
65096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65097 /* end confdefs.h. */
65102 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
65107 if ac_fn_c_try_compile "$LINENO"; then :
65108 glibcxx_size_t_is_i=yes
65110 glibcxx_size_t_is_i=no
65112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65113 CFLAGS=$ac_save_CFLAGS
65114 if test "$glibcxx_size_t_is_i" = yes; then
65116 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
65119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
65120 $as_echo "$glibcxx_size_t_is_i" >&6; }
65122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
65123 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
65124 ac_save_CFLAGS="$CFLAGS"
65126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65127 /* end confdefs.h. */
65132 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
65137 if ac_fn_c_try_compile "$LINENO"; then :
65138 glibcxx_ptrdiff_t_is_i=yes
65140 glibcxx_ptrdiff_t_is_i=no
65142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65143 CFLAGS=$ac_save_CFLAGS
65144 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
65146 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
65149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
65150 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
65155 # Check whether --enable-libstdcxx-visibility was given.
65156 if test "${enable_libstdcxx_visibility+set}" = set; then :
65157 enableval=$enable_libstdcxx_visibility;
65158 case "$enableval" in
65160 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
65164 enable_libstdcxx_visibility=yes
65169 if test x$enable_libstdcxx_visibility = xyes ; then
65170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
65171 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
65172 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
65173 $as_echo_n "(cached) " >&6
65176 save_CFLAGS="$CFLAGS"
65177 CFLAGS="$CFLAGS -Werror"
65178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65179 /* end confdefs.h. */
65180 void __attribute__((visibility("hidden"))) foo(void) { }
65189 if ac_fn_c_try_compile "$LINENO"; then :
65190 glibcxx_cv_have_attribute_visibility=yes
65192 glibcxx_cv_have_attribute_visibility=no
65194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65195 CFLAGS="$save_CFLAGS"
65197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
65198 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
65199 if test $glibcxx_cv_have_attribute_visibility = no; then
65200 enable_libstdcxx_visibility=no
65205 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
65206 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
65211 powerpc*-*-linux* | \
65212 sparc*-*-linux* | \
65215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65216 /* end confdefs.h. */
65222 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
65223 #error no need for long double compatibility
65230 if ac_fn_c_try_compile "$LINENO"; then :
65235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65236 if test "$ac_ldbl_compat" = yes; then
65238 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
65240 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
65245 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
65247 if $GLIBCXX_IS_NATIVE ; then
65248 # Do checks for resource limit functions.
65250 setrlimit_have_headers=yes
65251 for ac_header in unistd.h sys/time.h sys/resource.h
65253 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
65254 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
65255 eval as_val=\$$as_ac_Header
65256 if test "x$as_val" = x""yes; then :
65257 cat >>confdefs.h <<_ACEOF
65258 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
65262 setrlimit_have_headers=no
65267 # If don't have the headers, then we can't run the tests now, and we
65268 # won't be seeing any of these during testsuite compilation.
65269 if test $setrlimit_have_headers = yes; then
65270 # Can't do these in a loop, else the resulting syntax is wrong.
65272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
65273 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
65274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65275 /* end confdefs.h. */
65276 #include <unistd.h>
65277 #include <sys/time.h>
65278 #include <sys/resource.h>
65283 int f = RLIMIT_DATA ;
65288 if ac_fn_c_try_compile "$LINENO"; then :
65293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65295 cat >>confdefs.h <<_ACEOF
65296 #define HAVE_LIMIT_DATA $glibcxx_mresult
65299 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65301 $as_echo "$res" >&6; }
65304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
65305 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
65306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65307 /* end confdefs.h. */
65308 #include <unistd.h>
65309 #include <sys/time.h>
65310 #include <sys/resource.h>
65315 int f = RLIMIT_RSS ;
65320 if ac_fn_c_try_compile "$LINENO"; then :
65325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65327 cat >>confdefs.h <<_ACEOF
65328 #define HAVE_LIMIT_RSS $glibcxx_mresult
65331 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65333 $as_echo "$res" >&6; }
65336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
65337 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
65338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65339 /* end confdefs.h. */
65340 #include <unistd.h>
65341 #include <sys/time.h>
65342 #include <sys/resource.h>
65347 int f = RLIMIT_VMEM ;
65352 if ac_fn_c_try_compile "$LINENO"; then :
65357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65359 cat >>confdefs.h <<_ACEOF
65360 #define HAVE_LIMIT_VMEM $glibcxx_mresult
65363 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65365 $as_echo "$res" >&6; }
65368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
65369 $as_echo_n "checking for RLIMIT_AS... " >&6; }
65370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65371 /* end confdefs.h. */
65372 #include <unistd.h>
65373 #include <sys/time.h>
65374 #include <sys/resource.h>
65379 int f = RLIMIT_AS ;
65384 if ac_fn_c_try_compile "$LINENO"; then :
65389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65391 cat >>confdefs.h <<_ACEOF
65392 #define HAVE_LIMIT_AS $glibcxx_mresult
65395 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65397 $as_echo "$res" >&6; }
65400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
65401 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
65402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65403 /* end confdefs.h. */
65404 #include <unistd.h>
65405 #include <sys/time.h>
65406 #include <sys/resource.h>
65411 int f = RLIMIT_FSIZE ;
65416 if ac_fn_c_try_compile "$LINENO"; then :
65421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65423 cat >>confdefs.h <<_ACEOF
65424 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
65427 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65429 $as_echo "$res" >&6; }
65432 # Check for rlimit, setrlimit.
65433 if test "${glibcxx_cv_setrlimit+set}" = set; then :
65434 $as_echo_n "(cached) " >&6
65437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65438 /* end confdefs.h. */
65439 #include <unistd.h>
65440 #include <sys/time.h>
65441 #include <sys/resource.h>
65452 if ac_fn_c_try_compile "$LINENO"; then :
65453 glibcxx_cv_setrlimit=yes
65455 glibcxx_cv_setrlimit=no
65457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
65464 $as_echo_n "checking for testsuite resource limits support... " >&6; }
65465 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
65468 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
65473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
65474 $as_echo "$ac_res_limits" >&6; }
65477 # Look for setenv, so that extended locale tests can be performed.
65479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
65480 $as_echo_n "checking for setenv declaration... " >&6; }
65481 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
65482 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
65483 $as_echo_n "(cached) " >&6
65488 ac_cpp='$CXXCPP $CPPFLAGS'
65489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65494 /* end confdefs.h. */
65495 #include <stdlib.h>
65504 if ac_fn_cxx_try_compile "$LINENO"; then :
65505 glibcxx_cv_func_setenv_use=yes
65507 glibcxx_cv_func_setenv_use=no
65509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65511 ac_cpp='$CPP $CPPFLAGS'
65512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
65521 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
65522 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
65523 for ac_func in setenv
65525 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
65526 if test "x$ac_cv_func_setenv" = x""yes; then :
65527 cat >>confdefs.h <<_ACEOF
65528 #define HAVE_SETENV 1
65538 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
65539 test $enable_symvers != no; then
65542 enable_abi_check=no ;;
65544 enable_abi_check=yes ;;
65547 # Only build this as native, since automake does not understand
65549 enable_abi_check=no
65552 # Export file names for ABI checking.
65553 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
65555 baseline_subdir_switch="$abi_baseline_subdir_switch"
65559 # Define documentation rules conditionally.
65561 # See if makeinfo has been installed and is modern enough
65562 # that we can use it.
65564 # Extract the first word of "makeinfo", so it can be a program name with args.
65565 set dummy makeinfo; ac_word=$2
65566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65567 $as_echo_n "checking for $ac_word... " >&6; }
65568 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
65569 $as_echo_n "(cached) " >&6
65571 if test -n "$MAKEINFO"; then
65572 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
65574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65575 for as_dir in $PATH
65578 test -z "$as_dir" && as_dir=.
65579 for ac_exec_ext in '' $ac_executable_extensions; do
65580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65581 ac_cv_prog_MAKEINFO="makeinfo"
65582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65591 MAKEINFO=$ac_cv_prog_MAKEINFO
65592 if test -n "$MAKEINFO"; then
65593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
65594 $as_echo "$MAKEINFO" >&6; }
65596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65597 $as_echo "no" >&6; }
65601 if test -n "$MAKEINFO"; then
65602 # Found it, now check the version.
65603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
65604 $as_echo_n "checking for modern makeinfo... " >&6; }
65605 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
65606 $as_echo_n "(cached) " >&6
65608 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
65609 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
65611 case $ac_prog_version in
65612 '') gcc_cv_prog_makeinfo_modern=no;;
65613 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
65614 *) gcc_cv_prog_makeinfo_modern=no;;
65618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
65619 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
65621 gcc_cv_prog_makeinfo_modern=no
65623 if test $gcc_cv_prog_makeinfo_modern = no; then
65624 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
65627 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
65629 BUILD_INFO_FALSE='#'
65631 BUILD_INFO_TRUE='#'
65636 # Check for doxygen
65637 # Extract the first word of "doxygen", so it can be a program name with args.
65638 set dummy doxygen; ac_word=$2
65639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65640 $as_echo_n "checking for $ac_word... " >&6; }
65641 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
65642 $as_echo_n "(cached) " >&6
65644 if test -n "$DOXYGEN"; then
65645 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
65647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65648 for as_dir in $PATH
65651 test -z "$as_dir" && as_dir=.
65652 for ac_exec_ext in '' $ac_executable_extensions; do
65653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65654 ac_cv_prog_DOXYGEN="yes"
65655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65662 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
65665 DOXYGEN=$ac_cv_prog_DOXYGEN
65666 if test -n "$DOXYGEN"; then
65667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
65668 $as_echo "$DOXYGEN" >&6; }
65670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65671 $as_echo "no" >&6; }
65675 # Extract the first word of "dot", so it can be a program name with args.
65676 set dummy dot; ac_word=$2
65677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65678 $as_echo_n "checking for $ac_word... " >&6; }
65679 if test "${ac_cv_prog_DOT+set}" = set; then :
65680 $as_echo_n "(cached) " >&6
65682 if test -n "$DOT"; then
65683 ac_cv_prog_DOT="$DOT" # Let the user override the test.
65685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65686 for as_dir in $PATH
65689 test -z "$as_dir" && as_dir=.
65690 for ac_exec_ext in '' $ac_executable_extensions; do
65691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65692 ac_cv_prog_DOT="yes"
65693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65700 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
65703 DOT=$ac_cv_prog_DOT
65704 if test -n "$DOT"; then
65705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
65706 $as_echo "$DOT" >&6; }
65708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65709 $as_echo "no" >&6; }
65714 # Check for docbook
65715 # Extract the first word of "xsltproc", so it can be a program name with args.
65716 set dummy xsltproc; ac_word=$2
65717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65718 $as_echo_n "checking for $ac_word... " >&6; }
65719 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
65720 $as_echo_n "(cached) " >&6
65722 if test -n "$XSLTPROC"; then
65723 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
65725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65726 for as_dir in $PATH
65729 test -z "$as_dir" && as_dir=.
65730 for ac_exec_ext in '' $ac_executable_extensions; do
65731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65732 ac_cv_prog_XSLTPROC="yes"
65733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65740 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
65743 XSLTPROC=$ac_cv_prog_XSLTPROC
65744 if test -n "$XSLTPROC"; then
65745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
65746 $as_echo "$XSLTPROC" >&6; }
65748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65749 $as_echo "no" >&6; }
65753 # Extract the first word of "xmllint", so it can be a program name with args.
65754 set dummy xmllint; ac_word=$2
65755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65756 $as_echo_n "checking for $ac_word... " >&6; }
65757 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
65758 $as_echo_n "(cached) " >&6
65760 if test -n "$XMLLINT"; then
65761 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
65763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65764 for as_dir in $PATH
65767 test -z "$as_dir" && as_dir=.
65768 for ac_exec_ext in '' $ac_executable_extensions; do
65769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65770 ac_cv_prog_XMLLINT="yes"
65771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65778 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
65781 XMLLINT=$ac_cv_prog_XMLLINT
65782 if test -n "$XMLLINT"; then
65783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
65784 $as_echo "$XMLLINT" >&6; }
65786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65787 $as_echo "no" >&6; }
65793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
65794 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
65795 glibcxx_stylesheets=no
65796 if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude http://docbook.sourceforge.net/release/xsl-ns/current/xhtml-1_1/docbook.xsl - 2>/dev/null; then
65797 glibcxx_stylesheets=yes
65799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
65800 $as_echo "$glibcxx_stylesheets" >&6; }
65802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
65803 $as_echo_n "checking for local stylesheet directory... " >&6; }
65804 glibcxx_local_stylesheets=no
65805 if test x"$glibcxx_stylesheets" = x"yes"; then
65806 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
65807 glibcxx_local_stylesheets=yes
65808 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
65810 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
65811 glibcxx_local_stylesheets=yes
65812 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
65815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
65816 $as_echo "$glibcxx_local_stylesheets" >&6; }
65818 if test x"$glibcxx_local_stylesheets" = x"yes"; then
65820 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
65821 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
65823 glibcxx_stylesheets=no
65826 # Check for epub3 dependencies.
65827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
65828 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
65829 glibcxx_epub_stylesheets=no
65830 if test x"$glibcxx_local_stylesheets" = x"yes"; then
65831 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
65832 glibcxx_epub_stylesheets=yes
65835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
65836 $as_echo "$glibcxx_epub_stylesheets" >&6; }
65837 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
65839 BUILD_EPUB_FALSE='#'
65841 BUILD_EPUB_TRUE='#'
65848 # Check for xml/html dependencies.
65849 if test $ac_cv_prog_DOXYGEN = "yes" &&
65850 test $ac_cv_prog_DOT = "yes" &&
65851 test $ac_cv_prog_XSLTPROC = "yes" &&
65852 test $ac_cv_prog_XMLLINT = "yes" &&
65853 test $glibcxx_stylesheets = "yes"; then
65855 BUILD_XML_FALSE='#'
65862 if test $ac_cv_prog_DOXYGEN = "yes" &&
65863 test $ac_cv_prog_DOT = "yes" &&
65864 test $ac_cv_prog_XSLTPROC = "yes" &&
65865 test $ac_cv_prog_XMLLINT = "yes" &&
65866 test $glibcxx_stylesheets = "yes"; then
65868 BUILD_HTML_FALSE='#'
65870 BUILD_HTML_TRUE='#'
65875 # Check for man dependencies.
65876 if test $ac_cv_prog_DOXYGEN = "yes" &&
65877 test $ac_cv_prog_DOT = "yes"; then
65879 BUILD_MAN_FALSE='#'
65886 # Check for pdf dependencies.
65887 # Extract the first word of "dblatex", so it can be a program name with args.
65888 set dummy dblatex; ac_word=$2
65889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65890 $as_echo_n "checking for $ac_word... " >&6; }
65891 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
65892 $as_echo_n "(cached) " >&6
65894 if test -n "$DBLATEX"; then
65895 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
65897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65898 for as_dir in $PATH
65901 test -z "$as_dir" && as_dir=.
65902 for ac_exec_ext in '' $ac_executable_extensions; do
65903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65904 ac_cv_prog_DBLATEX="yes"
65905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65912 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
65915 DBLATEX=$ac_cv_prog_DBLATEX
65916 if test -n "$DBLATEX"; then
65917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
65918 $as_echo "$DBLATEX" >&6; }
65920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65921 $as_echo "no" >&6; }
65925 # Extract the first word of "pdflatex", so it can be a program name with args.
65926 set dummy pdflatex; ac_word=$2
65927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65928 $as_echo_n "checking for $ac_word... " >&6; }
65929 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
65930 $as_echo_n "(cached) " >&6
65932 if test -n "$PDFLATEX"; then
65933 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
65935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65936 for as_dir in $PATH
65939 test -z "$as_dir" && as_dir=.
65940 for ac_exec_ext in '' $ac_executable_extensions; do
65941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65942 ac_cv_prog_PDFLATEX="yes"
65943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65950 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
65953 PDFLATEX=$ac_cv_prog_PDFLATEX
65954 if test -n "$PDFLATEX"; then
65955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
65956 $as_echo "$PDFLATEX" >&6; }
65958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65959 $as_echo "no" >&6; }
65963 if test $ac_cv_prog_DBLATEX = "yes" &&
65964 test $ac_cv_prog_PDFLATEX = "yes"; then
65966 BUILD_PDF_FALSE='#'
65974 # Propagate the target-specific source directories through the build chain.
65975 ATOMICITY_SRCDIR=config/${atomicity_dir}
65976 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
65977 ATOMIC_FLAGS=${atomic_flags}
65978 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
65979 OS_INC_SRCDIR=config/${os_include_dir}
65980 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
65981 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
65991 # Determine cross-compile flags and AM_CONDITIONALs.
65992 #AC_SUBST(GLIBCXX_IS_NATIVE)
65993 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
65994 if test $is_hosted = yes; then
65995 GLIBCXX_HOSTED_TRUE=
65996 GLIBCXX_HOSTED_FALSE='#'
65998 GLIBCXX_HOSTED_TRUE='#'
65999 GLIBCXX_HOSTED_FALSE=
66003 if test $enable_libstdcxx_pch = yes; then
66004 GLIBCXX_BUILD_PCH_TRUE=
66005 GLIBCXX_BUILD_PCH_FALSE='#'
66007 GLIBCXX_BUILD_PCH_TRUE='#'
66008 GLIBCXX_BUILD_PCH_FALSE=
66012 if test $enable_cheaders = c; then
66013 GLIBCXX_C_HEADERS_C_TRUE=
66014 GLIBCXX_C_HEADERS_C_FALSE='#'
66016 GLIBCXX_C_HEADERS_C_TRUE='#'
66017 GLIBCXX_C_HEADERS_C_FALSE=
66021 if test $enable_cheaders = c_std; then
66022 GLIBCXX_C_HEADERS_C_STD_TRUE=
66023 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
66025 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
66026 GLIBCXX_C_HEADERS_C_STD_FALSE=
66030 if test $enable_cheaders = c_global; then
66031 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
66032 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
66034 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
66035 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
66039 if test $c_compatibility = yes; then
66040 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
66041 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
66043 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
66044 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
66048 if test $enable_libstdcxx_debug = yes; then
66049 GLIBCXX_BUILD_DEBUG_TRUE=
66050 GLIBCXX_BUILD_DEBUG_FALSE='#'
66052 GLIBCXX_BUILD_DEBUG_TRUE='#'
66053 GLIBCXX_BUILD_DEBUG_FALSE=
66057 if test $enable_parallel = yes; then
66058 ENABLE_PARALLEL_TRUE=
66059 ENABLE_PARALLEL_FALSE='#'
66061 ENABLE_PARALLEL_TRUE='#'
66062 ENABLE_PARALLEL_FALSE=
66066 if test $enable_extern_template = yes; then
66067 ENABLE_EXTERN_TEMPLATE_TRUE=
66068 ENABLE_EXTERN_TEMPLATE_FALSE='#'
66070 ENABLE_EXTERN_TEMPLATE_TRUE='#'
66071 ENABLE_EXTERN_TEMPLATE_FALSE=
66075 if test $python_mod_dir != no; then
66076 ENABLE_PYTHONDIR_TRUE=
66077 ENABLE_PYTHONDIR_FALSE='#'
66079 ENABLE_PYTHONDIR_TRUE='#'
66080 ENABLE_PYTHONDIR_FALSE=
66084 if test $enable_symvers != no; then
66085 ENABLE_SYMVERS_TRUE=
66086 ENABLE_SYMVERS_FALSE='#'
66088 ENABLE_SYMVERS_TRUE='#'
66089 ENABLE_SYMVERS_FALSE=
66093 if test $enable_symvers = gnu; then
66094 ENABLE_SYMVERS_GNU_TRUE=
66095 ENABLE_SYMVERS_GNU_FALSE='#'
66097 ENABLE_SYMVERS_GNU_TRUE='#'
66098 ENABLE_SYMVERS_GNU_FALSE=
66102 if test $enable_symvers = gnu-versioned-namespace; then
66103 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
66104 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
66106 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
66107 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
66111 if test $enable_symvers = darwin; then
66112 ENABLE_SYMVERS_DARWIN_TRUE=
66113 ENABLE_SYMVERS_DARWIN_FALSE='#'
66115 ENABLE_SYMVERS_DARWIN_TRUE='#'
66116 ENABLE_SYMVERS_DARWIN_FALSE=
66120 if test $enable_symvers = sun; then
66121 ENABLE_SYMVERS_SUN_TRUE=
66122 ENABLE_SYMVERS_SUN_FALSE='#'
66124 ENABLE_SYMVERS_SUN_TRUE='#'
66125 ENABLE_SYMVERS_SUN_FALSE=
66129 if test $symvers_renaming = no; then
66130 ENABLE_SYMVERS_SOL2_TRUE=
66131 ENABLE_SYMVERS_SOL2_FALSE='#'
66133 ENABLE_SYMVERS_SOL2_TRUE='#'
66134 ENABLE_SYMVERS_SOL2_FALSE=
66138 if test $enable_libstdcxx_visibility = yes; then
66139 ENABLE_VISIBILITY_TRUE=
66140 ENABLE_VISIBILITY_FALSE='#'
66142 ENABLE_VISIBILITY_TRUE='#'
66143 ENABLE_VISIBILITY_FALSE=
66147 if test $ac_ldbl_compat = yes; then
66148 GLIBCXX_LDBL_COMPAT_TRUE=
66149 GLIBCXX_LDBL_COMPAT_FALSE='#'
66151 GLIBCXX_LDBL_COMPAT_TRUE='#'
66152 GLIBCXX_LDBL_COMPAT_FALSE=
66158 cat >confcache <<\_ACEOF
66159 # This file is a shell script that caches the results of configure
66160 # tests run on this system so they can be shared between configure
66161 # scripts and configure runs, see configure's option --config-cache.
66162 # It is not useful on other systems. If it contains results you don't
66163 # want to keep, you may remove or edit it.
66165 # config.status only pays attention to the cache file if you give it
66166 # the --recheck option to rerun configure.
66168 # `ac_cv_env_foo' variables (set or unset) will be overridden when
66169 # loading this file, other *unset* `ac_cv_foo' will be assigned the
66170 # following values.
66174 # The following way of writing the cache mishandles newlines in values,
66175 # but we know of no workaround that is simple, portable, and efficient.
66176 # So, we kill variables containing newlines.
66177 # Ultrix sh set writes to stderr and can't be redirected directly,
66178 # and sets the high bit in the cache file unless we assign to the vars.
66180 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
66181 eval ac_val=\$$ac_var
66185 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
66186 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
66189 _ | IFS | as_nl) ;; #(
66190 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
66191 *) { eval $ac_var=; unset $ac_var;} ;;
66197 case $as_nl`(ac_space=' '; set) 2>&1` in #(
66198 *${as_nl}ac_space=\ *)
66199 # `set' does not quote correctly, so add quotes: double-quote
66200 # substitution turns \\\\ into \\, and sed turns \\ into \.
66203 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
66206 # `set' quotes correctly as required by POSIX, so do not add quotes.
66207 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
66216 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
66218 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
66220 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
66221 if test -w "$cache_file"; then
66222 test "x$cache_file" != "x/dev/null" &&
66223 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
66224 $as_echo "$as_me: updating cache $cache_file" >&6;}
66225 cat confcache >$cache_file
66227 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
66228 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
66233 if test ${multilib} = yes; then
66234 multilib_arg="--enable-multilib"
66239 # Export all the install information.
66241 glibcxx_toolexecdir=no
66242 glibcxx_toolexeclibdir=no
66243 glibcxx_prefixdir=$prefix
66245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
66246 $as_echo_n "checking for gxx-include-dir... " >&6; }
66248 # Check whether --with-gxx-include-dir was given.
66249 if test "${with_gxx_include_dir+set}" = set; then :
66250 withval=$with_gxx_include_dir; case "$withval" in
66251 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
66252 no) gxx_include_dir=no ;;
66253 *) gxx_include_dir=$withval ;;
66259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
66260 $as_echo "$gxx_include_dir" >&6; }
66262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
66263 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
66264 # Check whether --enable-version-specific-runtime-libs was given.
66265 if test "${enable_version_specific_runtime_libs+set}" = set; then :
66266 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
66267 yes) version_specific_libs=yes ;;
66268 no) version_specific_libs=no ;;
66269 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
66272 version_specific_libs=no
66275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
66276 $as_echo "$version_specific_libs" >&6; }
66278 # Default case for install directory for include files.
66279 if test $version_specific_libs = no && test $gxx_include_dir = no; then
66280 gxx_include_dir='include/c++/${gcc_version}'
66281 if test -n "$with_cross_host" &&
66282 test x"$with_cross_host" != x"no"; then
66283 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
66285 gxx_include_dir='${prefix}/'"$gxx_include_dir"
66289 # Version-specific runtime libs processing.
66290 if test $version_specific_libs = yes; then
66291 # Need the gcc compiler version to know where to install libraries
66292 # and header files if --enable-version-specific-runtime-libs option
66293 # is selected. FIXME: these variables are misnamed, there are
66294 # no executables installed in _toolexecdir or _toolexeclibdir.
66295 if test x"$gxx_include_dir" = x"no"; then
66296 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
66298 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
66299 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
66302 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
66303 # Install a library built with a cross compiler in tooldir, not libdir.
66304 if test x"$glibcxx_toolexecdir" = x"no"; then
66305 if test -n "$with_cross_host" &&
66306 test x"$with_cross_host" != x"no"; then
66307 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
66308 glibcxx_toolexeclibdir='${toolexecdir}/lib'
66310 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
66311 glibcxx_toolexeclibdir='${libdir}'
66313 multi_os_directory=`$CXX -print-multi-os-directory`
66314 case $multi_os_directory in
66315 .) ;; # Avoid trailing /.
66316 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
66320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
66321 $as_echo_n "checking for install location... " >&6; }
66322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
66323 $as_echo "$gxx_include_dir" >&6; }
66331 # Export all the include and flag information to Makefiles.
66333 # Used for every C++ compile we perform.
66334 GLIBCXX_INCLUDES="\
66335 -I$glibcxx_builddir/include/$host_alias \
66336 -I$glibcxx_builddir/include \
66337 -I$glibcxx_srcdir/libsupc++"
66339 # For Canadian crosses, pick this up too.
66340 if test $CANADIAN = yes; then
66341 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
66344 # Stuff in the actual top level. Currently only used by libsupc++ to
66345 # get unwind* headers from the libgcc dir.
66346 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
66347 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
66349 # Now, export this to all the little Makefiles....
66354 # Optimization flags that are probably a good idea for thrill-seekers. Just
66355 # uncomment the lines below and make, everything else is ready to go...
66356 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
66357 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
66360 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
66364 if test "$enable_shared" = yes; then
66365 PIC_CXXFLAGS="-prefer-pic"
66371 ac_config_files="$ac_config_files Makefile"
66373 ac_config_files="$ac_config_files scripts/testsuite_flags"
66375 ac_config_files="$ac_config_files scripts/extract_symvers"
66378 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
66379 # that multilib installs will end up installed in the correct place.
66380 # The testsuite needs it for multilib-aware ABI baseline files.
66381 # To work around this not being passed down from config-ml.in ->
66382 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
66383 # append it here. Only modify Makefiles that have just been created.
66385 # Also, get rid of this simulated-VPATH thing that automake does.
66386 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile doc/Makefile po/Makefile testsuite/Makefile"
66389 ac_config_commands="$ac_config_commands generate-headers"
66392 cat >confcache <<\_ACEOF
66393 # This file is a shell script that caches the results of configure
66394 # tests run on this system so they can be shared between configure
66395 # scripts and configure runs, see configure's option --config-cache.
66396 # It is not useful on other systems. If it contains results you don't
66397 # want to keep, you may remove or edit it.
66399 # config.status only pays attention to the cache file if you give it
66400 # the --recheck option to rerun configure.
66402 # `ac_cv_env_foo' variables (set or unset) will be overridden when
66403 # loading this file, other *unset* `ac_cv_foo' will be assigned the
66404 # following values.
66408 # The following way of writing the cache mishandles newlines in values,
66409 # but we know of no workaround that is simple, portable, and efficient.
66410 # So, we kill variables containing newlines.
66411 # Ultrix sh set writes to stderr and can't be redirected directly,
66412 # and sets the high bit in the cache file unless we assign to the vars.
66414 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
66415 eval ac_val=\$$ac_var
66419 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
66420 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
66423 _ | IFS | as_nl) ;; #(
66424 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
66425 *) { eval $ac_var=; unset $ac_var;} ;;
66431 case $as_nl`(ac_space=' '; set) 2>&1` in #(
66432 *${as_nl}ac_space=\ *)
66433 # `set' does not quote correctly, so add quotes: double-quote
66434 # substitution turns \\\\ into \\, and sed turns \\ into \.
66437 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
66440 # `set' quotes correctly as required by POSIX, so do not add quotes.
66441 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
66450 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
66452 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
66454 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
66455 if test -w "$cache_file"; then
66456 test "x$cache_file" != "x/dev/null" &&
66457 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
66458 $as_echo "$as_me: updating cache $cache_file" >&6;}
66459 cat confcache >$cache_file
66461 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
66462 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
66467 test "x$prefix" = xNONE && prefix=$ac_default_prefix
66468 # Let make expand exec_prefix.
66469 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
66471 DEFS=-DHAVE_CONFIG_H
66475 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
66476 # 1. Remove the extension, and $U if already installed.
66477 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
66478 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
66479 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
66480 # will be set to the directory where LIBOBJS objects are built.
66481 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
66482 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
66484 LIBOBJS=$ac_libobjs
66486 LTLIBOBJS=$ac_ltlibobjs
66489 if test -n "$EXEEXT"; then
66491 am__EXEEXT_FALSE='#'
66493 am__EXEEXT_TRUE='#'
66497 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
66498 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
66499 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66501 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
66502 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
66503 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66505 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
66506 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
66507 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66509 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
66510 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
66511 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66513 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
66514 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
66515 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66517 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
66518 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
66519 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66521 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
66522 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
66523 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66525 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
66526 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
66527 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66529 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
66530 as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
66531 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66533 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
66534 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
66535 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66537 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
66538 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
66539 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66541 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
66542 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
66543 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66545 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
66546 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
66547 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66549 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
66550 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
66551 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66553 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
66554 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
66555 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66557 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
66558 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
66559 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66561 if test -z "${ENABLE_SYMVERS_SOL2_TRUE}" && test -z "${ENABLE_SYMVERS_SOL2_FALSE}"; then
66562 as_fn_error "conditional \"ENABLE_SYMVERS_SOL2\" was never defined.
66563 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66565 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
66566 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
66567 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66569 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
66570 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
66571 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66573 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
66574 as_fn_error "conditional \"BUILD_INFO\" was never defined.
66575 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66577 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
66578 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
66579 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66581 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
66582 as_fn_error "conditional \"BUILD_XML\" was never defined.
66583 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66585 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
66586 as_fn_error "conditional \"BUILD_HTML\" was never defined.
66587 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66589 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
66590 as_fn_error "conditional \"BUILD_MAN\" was never defined.
66591 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66593 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
66594 as_fn_error "conditional \"BUILD_PDF\" was never defined.
66595 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66598 : ${CONFIG_STATUS=./config.status}
66600 ac_clean_files_save=$ac_clean_files
66601 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
66602 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
66603 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
66605 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
66607 # Generated by $as_me.
66608 # Run this file to recreate the current configuration.
66609 # Compiler output produced by configure, useful for debugging
66610 # configure, is in config.log if it exists.
66613 ac_cs_recheck=false
66616 SHELL=\${CONFIG_SHELL-$SHELL}
66619 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
66620 ## -------------------- ##
66621 ## M4sh Initialization. ##
66622 ## -------------------- ##
66624 # Be more Bourne compatible
66625 DUALCASE=1; export DUALCASE # for MKS sh
66626 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
66629 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
66630 # is contrary to our usage. Disable this feature.
66631 alias -g '${1+"$@"}'='"$@"'
66632 setopt NO_GLOB_SUBST
66634 case `(set -o) 2>/dev/null` in #(
66646 # Printing a long string crashes Solaris 7 /usr/bin/printf.
66647 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
66648 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
66649 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
66650 # Prefer a ksh shell builtin over an external printf program on Solaris,
66651 # but without wasting forks for bash or zsh.
66652 if test -z "$BASH_VERSION$ZSH_VERSION" \
66653 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
66654 as_echo='print -r --'
66655 as_echo_n='print -rn --'
66656 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
66657 as_echo='printf %s\n'
66658 as_echo_n='printf %s'
66660 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
66661 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
66662 as_echo_n='/usr/ucb/echo -n'
66664 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
66665 as_echo_n_body='eval
66669 expr "X$arg" : "X\\(.*\\)$as_nl";
66670 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66672 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66674 export as_echo_n_body
66675 as_echo_n='sh -c $as_echo_n_body as_echo'
66677 export as_echo_body
66678 as_echo='sh -c $as_echo_body as_echo'
66681 # The user is always right.
66682 if test "${PATH_SEPARATOR+set}" != set; then
66684 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
66685 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
66692 # We need space, tab and new line, in precisely that order. Quoting is
66693 # there to prevent editors from complaining about space-tab.
66694 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
66695 # splitting by setting IFS to empty value.)
66698 # Find who we are. Look in the path if we contain no directory separator.
66700 *[\\/]* ) as_myself=$0 ;;
66701 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
66702 for as_dir in $PATH
66705 test -z "$as_dir" && as_dir=.
66706 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
66712 # We did not find ourselves, most probably we were run as `sh COMMAND'
66713 # in which case we are not to be found in the path.
66714 if test "x$as_myself" = x; then
66717 if test ! -f "$as_myself"; then
66718 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
66722 # Unset variables that we do not need and which cause bugs (e.g. in
66723 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
66724 # suppresses any "Segmentation fault" message there. '((' could
66725 # trigger a bug in pdksh 5.2.14.
66726 for as_var in BASH_ENV ENV MAIL MAILPATH
66727 do eval test x\${$as_var+set} = xset \
66728 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
66741 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
66744 # as_fn_error ERROR [LINENO LOG_FD]
66745 # ---------------------------------
66746 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
66747 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
66748 # script with status $?, using 1 if that was 0.
66751 as_status=$?; test $as_status -eq 0 && as_status=1
66753 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
66754 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
66756 $as_echo "$as_me: error: $1" >&2
66757 as_fn_exit $as_status
66761 # as_fn_set_status STATUS
66762 # -----------------------
66763 # Set $? to STATUS, without forking.
66764 as_fn_set_status ()
66767 } # as_fn_set_status
66769 # as_fn_exit STATUS
66770 # -----------------
66771 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
66775 as_fn_set_status $1
66781 # Portably unset VAR.
66784 { eval $1=; unset $1;}
66786 as_unset=as_fn_unset
66787 # as_fn_append VAR VALUE
66788 # ----------------------
66789 # Append the text in VALUE to the end of the definition contained in VAR. Take
66790 # advantage of any shell optimizations that allow amortized linear growth over
66791 # repeated appends, instead of the typical quadratic growth present in naive
66793 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
66794 eval 'as_fn_append ()
66805 # as_fn_arith ARG...
66806 # ------------------
66807 # Perform arithmetic evaluation on the ARGs, and store the result in the
66808 # global $as_val. Take advantage of shells that can avoid forks. The arguments
66809 # must be portable across $(()) and expr.
66810 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
66811 eval 'as_fn_arith ()
66818 as_val=`expr "$@" || test $? -eq 1`
66823 if expr a : '\(a\)' >/dev/null 2>&1 &&
66824 test "X`expr 00001 : '.*\(...\)'`" = X001; then
66830 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
66831 as_basename=basename
66836 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
66842 as_me=`$as_basename -- "$0" ||
66843 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66844 X"$0" : 'X\(//\)$' \| \
66845 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
66847 sed '/^.*\/\([^/][^/]*\)\/*$/{
66861 # Avoid depending upon Character Ranges.
66862 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
66863 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
66864 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
66865 as_cr_digits='0123456789'
66866 as_cr_alnum=$as_cr_Letters$as_cr_digits
66868 ECHO_C= ECHO_N= ECHO_T=
66869 case `echo -n x` in #(((((
66871 case `echo 'xy\c'` in
66872 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
66874 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
66881 rm -f conf$$ conf$$.exe conf$$.file
66882 if test -d conf$$.dir; then
66883 rm -f conf$$.dir/conf$$.file
66886 mkdir conf$$.dir 2>/dev/null
66888 if (echo >conf$$.file) 2>/dev/null; then
66889 if ln -s conf$$.file conf$$ 2>/dev/null; then
66891 # ... but there are two gotchas:
66892 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
66893 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
66894 # In both cases, we have to default to `cp -p'.
66895 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
66897 elif ln conf$$.file conf$$ 2>/dev/null; then
66905 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
66906 rmdir conf$$.dir 2>/dev/null
66911 # Create "$as_dir" as a directory, including parents if necessary.
66916 -*) as_dir=./$as_dir;;
66918 test -d "$as_dir" || eval $as_mkdir_p || {
66922 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
66923 *) as_qdir=$as_dir;;
66925 as_dirs="'$as_qdir' $as_dirs"
66926 as_dir=`$as_dirname -- "$as_dir" ||
66927 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
66928 X"$as_dir" : 'X\(//\)[^/]' \| \
66929 X"$as_dir" : 'X\(//\)$' \| \
66930 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
66931 $as_echo X"$as_dir" |
66932 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
66936 /^X\(\/\/\)[^/].*/{
66949 test -d "$as_dir" && break
66951 test -z "$as_dirs" || eval "mkdir $as_dirs"
66952 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
66956 if mkdir -p . 2>/dev/null; then
66957 as_mkdir_p='mkdir -p "$as_dir"'
66959 test -d ./-p && rmdir ./-p
66963 if test -x / >/dev/null 2>&1; then
66964 as_test_x='test -x'
66966 if ls -dL / >/dev/null 2>&1; then
66973 if test -d "$1"; then
66979 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
66980 ???[sx]*):;;*)false;;esac;fi
66984 as_executable_p=$as_test_x
66986 # Sed expression to map a string onto a valid CPP name.
66987 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
66989 # Sed expression to map a string onto a valid variable name.
66990 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
66994 ## ----------------------------------- ##
66995 ## Main body of $CONFIG_STATUS script. ##
66996 ## ----------------------------------- ##
66998 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
67000 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67001 # Save the log message, to keep $0 and so on meaningful, and to
67002 # report actual input values of CONFIG_FILES etc. instead of their
67003 # values after options handling.
67005 This file was extended by package-unused $as_me version-unused, which was
67006 generated by GNU Autoconf 2.64. Invocation command line was
67008 CONFIG_FILES = $CONFIG_FILES
67009 CONFIG_HEADERS = $CONFIG_HEADERS
67010 CONFIG_LINKS = $CONFIG_LINKS
67011 CONFIG_COMMANDS = $CONFIG_COMMANDS
67014 on `(hostname || uname -n) 2>/dev/null | sed 1q`
67019 case $ac_config_files in *"
67020 "*) set x $ac_config_files; shift; ac_config_files=$*;;
67023 case $ac_config_headers in *"
67024 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
67028 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67029 # Files that config.status was made for.
67030 config_files="$ac_config_files"
67031 config_headers="$ac_config_headers"
67032 config_commands="$ac_config_commands"
67036 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67038 \`$as_me' instantiates files and other configuration actions
67039 from templates according to the current configuration. Unless the files
67040 and actions are specified as TAGs, all are instantiated by default.
67042 Usage: $0 [OPTION]... [TAG]...
67044 -h, --help print this help, then exit
67045 -V, --version print version number and configuration settings, then exit
67046 -q, --quiet, --silent
67047 do not print progress messages
67048 -d, --debug don't remove temporary files
67049 --recheck update $as_me by reconfiguring in the same conditions
67050 --file=FILE[:TEMPLATE]
67051 instantiate the configuration file FILE
67052 --header=FILE[:TEMPLATE]
67053 instantiate the configuration header FILE
67055 Configuration files:
67058 Configuration headers:
67061 Configuration commands:
67064 Report bugs to the package provider."
67067 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67069 package-unused config.status version-unused
67070 configured by $0, generated by GNU Autoconf 2.64,
67071 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
67073 Copyright (C) 2009 Free Software Foundation, Inc.
67074 This config.status script is free software; the Free Software Foundation
67075 gives unlimited permission to copy, distribute and modify it."
67082 test -n "\$AWK" || AWK=awk
67085 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67086 # The default lists apply if the user does not specify any file.
67092 ac_option=`expr "X$1" : 'X\([^=]*\)='`
67093 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
67104 # Handling of the options.
67105 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
67107 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
67108 $as_echo "$ac_cs_version"; exit ;;
67109 --debug | --debu | --deb | --de | --d | -d )
67111 --file | --fil | --fi | --f )
67114 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
67116 as_fn_append CONFIG_FILES " '$ac_optarg'"
67117 ac_need_defaults=false;;
67118 --header | --heade | --head | --hea )
67121 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
67123 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
67124 ac_need_defaults=false;;
67126 # Conflict between --help and --header
67127 as_fn_error "ambiguous option: \`$1'
67128 Try \`$0 --help' for more information.";;
67129 --help | --hel | -h )
67130 $as_echo "$ac_cs_usage"; exit ;;
67131 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
67132 | -silent | --silent | --silen | --sile | --sil | --si | --s)
67135 # This is an error.
67136 -*) as_fn_error "unrecognized option: \`$1'
67137 Try \`$0 --help' for more information." ;;
67139 *) as_fn_append ac_config_targets " $1"
67140 ac_need_defaults=false ;;
67146 ac_configure_extra_args=
67148 if $ac_cs_silent; then
67150 ac_configure_extra_args="$ac_configure_extra_args --silent"
67154 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67155 if \$ac_cs_recheck; then
67156 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
67158 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
67159 CONFIG_SHELL='$SHELL'
67160 export CONFIG_SHELL
67165 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67169 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
67170 ## Running $as_me. ##
67176 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67184 with_multisubdir="$with_multisubdir"
67185 with_multisrctop="$with_multisrctop"
67186 with_target_subdir="$with_target_subdir"
67187 ac_configure_args="${multilib_arg} ${ac_configure_args}"
67188 multi_basedir="$multi_basedir"
67189 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
67192 GFORTRAN="$GFORTRAN"
67196 # The HP-UX ksh and POSIX shell print the target directory to stdout
67197 # if CDPATH is set.
67198 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
67200 sed_quote_subst='$sed_quote_subst'
67201 double_quote_subst='$double_quote_subst'
67202 delay_variable_subst='$delay_variable_subst'
67203 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
67204 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
67205 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
67206 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
67207 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
67208 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
67209 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
67210 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
67211 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
67212 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
67213 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
67214 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
67215 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
67216 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
67217 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
67218 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
67219 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
67220 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
67221 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
67222 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
67223 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
67224 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
67225 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
67226 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
67227 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
67228 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
67229 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
67230 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
67231 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
67232 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
67233 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
67234 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
67235 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
67236 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
67237 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
67238 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
67239 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
67240 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
67241 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
67242 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
67243 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
67244 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
67245 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
67246 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
67247 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
67248 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
67249 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
67250 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
67251 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"`'
67252 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
67253 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
67254 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
67255 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
67256 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
67257 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
67258 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
67259 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
67260 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
67261 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
67262 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
67263 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
67264 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
67265 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
67266 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
67267 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
67268 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
67269 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
67270 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
67271 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
67272 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
67273 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
67274 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
67275 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
67276 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
67277 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
67278 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
67279 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
67280 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
67281 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
67282 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
67283 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
67284 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
67285 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
67286 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
67287 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
67288 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
67289 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
67290 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
67291 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
67292 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
67293 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
67294 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
67295 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
67296 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
67297 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
67298 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
67299 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
67300 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
67301 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
67302 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
67303 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
67304 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
67305 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
67306 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
67307 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
67308 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
67309 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
67310 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
67311 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
67312 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
67313 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
67314 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
67315 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
67316 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
67317 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
67318 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
67319 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
67320 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
67321 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
67322 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
67323 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
67324 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
67325 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
67326 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
67327 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
67328 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
67329 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
67330 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
67331 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67332 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67333 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
67334 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
67335 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
67336 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
67337 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
67338 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
67339 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
67340 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
67341 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
67342 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
67343 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
67344 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
67345 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67346 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67347 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67348 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67349 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67350 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67351 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
67352 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
67353 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
67354 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
67355 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
67356 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
67357 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
67358 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
67359 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
67360 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
67361 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
67362 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
67363 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
67364 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
67365 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
67366 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67367 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
67368 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
67369 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67370 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
67371 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
67372 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
67373 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
67374 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
67375 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
67376 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
67377 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
67380 LTCFLAGS='$LTCFLAGS'
67381 compiler='$compiler_DEFAULT'
67383 # A function that is used when there is no print builtin or printf.
67384 func_fallback_echo ()
67386 eval 'cat <<_LTECHO_EOF
67391 # Quote evaled strings.
67405 deplibs_check_method \
67414 lt_cv_sys_global_symbol_pipe \
67415 lt_cv_sys_global_symbol_to_cdecl \
67416 lt_cv_sys_global_symbol_to_c_name_address \
67417 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
67418 lt_prog_compiler_no_builtin_flag \
67419 lt_prog_compiler_wl \
67420 lt_prog_compiler_pic \
67421 lt_prog_compiler_static \
67422 lt_cv_prog_compiler_c_o \
67430 export_dynamic_flag_spec \
67431 whole_archive_flag_spec \
67432 compiler_needs_object \
67434 allow_undefined_flag \
67435 no_undefined_flag \
67436 hardcode_libdir_flag_spec \
67437 hardcode_libdir_flag_spec_ld \
67438 hardcode_libdir_separator \
67443 variables_saved_for_relink \
67445 library_names_spec \
67447 install_override_mode \
67451 compiler_lib_search_dirs \
67456 compiler_lib_search_path \
67460 lt_prog_compiler_no_builtin_flag_CXX \
67461 lt_prog_compiler_wl_CXX \
67462 lt_prog_compiler_pic_CXX \
67463 lt_prog_compiler_static_CXX \
67464 lt_cv_prog_compiler_c_o_CXX \
67465 export_dynamic_flag_spec_CXX \
67466 whole_archive_flag_spec_CXX \
67467 compiler_needs_object_CXX \
67469 allow_undefined_flag_CXX \
67470 no_undefined_flag_CXX \
67471 hardcode_libdir_flag_spec_CXX \
67472 hardcode_libdir_flag_spec_ld_CXX \
67473 hardcode_libdir_separator_CXX \
67474 fix_srcfile_path_CXX \
67475 exclude_expsyms_CXX \
67476 include_expsyms_CXX \
67477 file_list_spec_CXX \
67478 compiler_lib_search_dirs_CXX \
67479 predep_objects_CXX \
67480 postdep_objects_CXX \
67483 compiler_lib_search_path_CXX; do
67484 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
67485 *[\\\\\\\`\\"\\\$]*)
67486 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
67489 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
67494 # Double-quote double-evaled strings.
67495 for var in reload_cmds \
67496 old_postinstall_cmds \
67497 old_postuninstall_cmds \
67499 extract_expsyms_cmds \
67500 old_archive_from_new_cmds \
67501 old_archive_from_expsyms_cmds \
67503 archive_expsym_cmds \
67505 module_expsym_cmds \
67506 export_symbols_cmds \
67509 postuninstall_cmds \
67511 sys_lib_search_path_spec \
67512 sys_lib_dlsearch_path_spec \
67514 old_archive_cmds_CXX \
67515 old_archive_from_new_cmds_CXX \
67516 old_archive_from_expsyms_cmds_CXX \
67518 archive_expsym_cmds_CXX \
67520 module_expsym_cmds_CXX \
67521 export_symbols_cmds_CXX \
67522 prelink_cmds_CXX; do
67523 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
67524 *[\\\\\\\`\\"\\\$]*)
67525 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
67528 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
67533 ac_aux_dir='$ac_aux_dir'
67534 xsi_shell='$xsi_shell'
67535 lt_shell_append='$lt_shell_append'
67537 # See if we are running on zsh, and set the options which allow our
67538 # commands through without removal of \ escapes INIT.
67539 if test -n "\${ZSH_VERSION+set}" ; then
67540 setopt NO_GLOB_SUBST
67546 TIMESTAMP='$TIMESTAMP'
67557 acx_cv_header_stdint="$acx_cv_header_stdint"
67558 acx_cv_type_int8_t="$acx_cv_type_int8_t"
67559 acx_cv_type_int16_t="$acx_cv_type_int16_t"
67560 acx_cv_type_int32_t="$acx_cv_type_int32_t"
67561 acx_cv_type_int64_t="$acx_cv_type_int64_t"
67562 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
67563 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
67564 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
67565 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
67566 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
67567 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
67568 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
67569 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
67570 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
67575 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67577 # Handling of arguments.
67578 for ac_config_target in $ac_config_targets
67580 case $ac_config_target in
67581 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
67582 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
67583 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
67584 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
67585 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
67586 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
67587 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
67588 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
67589 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
67590 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
67591 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
67592 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
67593 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
67594 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
67595 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
67596 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
67597 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
67599 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
67604 # If the user did not use the arguments to specify the items to instantiate,
67605 # then the envvar interface is used. Set only those that are not.
67606 # We use the long form for the default assignment because of an extremely
67607 # bizarre bug on SunOS 4.1.3.
67608 if $ac_need_defaults; then
67609 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
67610 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
67611 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
67614 # Have a temporary directory for convenience. Make it in the build tree
67615 # simply because there is no reason against having it here, and in addition,
67616 # creating and moving files from /tmp can sometimes cause problems.
67617 # Hook for its removal unless debugging.
67618 # Note that there is a small window in which the directory will not be cleaned:
67619 # after its creation but before its name has been assigned to `$tmp'.
67623 trap 'exit_status=$?
67624 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
67626 trap 'as_fn_exit 1' 1 2 13 15
67628 # Create a (secure) tmp directory for tmp files.
67631 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
67632 test -n "$tmp" && test -d "$tmp"
67635 tmp=./conf$$-$RANDOM
67636 (umask 077 && mkdir "$tmp")
67637 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
67639 # Set up the scripts for CONFIG_FILES section.
67640 # No need to generate them if there are no CONFIG_FILES.
67641 # This happens for instance with `./config.status config.h'.
67642 if test -n "$CONFIG_FILES"; then
67645 ac_cr=`echo X | tr X '\015'`
67646 # On cygwin, bash can eat \r inside `` if the user requested igncr.
67647 # But we know of no other shell where ac_cr would be empty at this
67648 # point, so we can use a bashism as a fallback.
67649 if test "x$ac_cr" = x; then
67650 eval ac_cr=\$\'\\r\'
67652 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
67653 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
67656 ac_cs_awk_cr=$ac_cr
67659 echo 'BEGIN {' >"$tmp/subs1.awk" &&
67664 echo "cat >conf$$subs.awk <<_ACEOF" &&
67665 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
67667 } >conf$$subs.sh ||
67668 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67669 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
67671 for ac_last_try in false false false false false :; do
67672 . ./conf$$subs.sh ||
67673 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67675 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
67676 if test $ac_delim_n = $ac_delim_num; then
67678 elif $ac_last_try; then
67679 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67681 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67684 rm -f conf$$subs.sh
67686 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67687 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
67691 s/^/S["/; s/!.*/"]=/
67701 s/\(.\{148\}\).*/\1/
67703 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
67708 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67715 s/\(.\{148\}\).*/\1/
67717 s/["\\]/\\&/g; s/^/"/; s/$/"/
67721 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67726 ' <conf$$subs.awk | sed '
67731 ' >>$CONFIG_STATUS || ac_write_fail=1
67732 rm -f conf$$subs.awk
67733 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67735 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
67736 for (key in S) S_is_set[key] = 1
67742 nfields = split(line, field, "@")
67744 len = length(field[1])
67745 for (i = 2; i < nfields; i++) {
67747 keylen = length(key)
67748 if (S_is_set[key]) {
67750 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
67751 len += length(value) + length(field[++i])
67762 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67763 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
67764 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
67767 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
67768 || as_fn_error "could not setup config files machinery" "$LINENO" 5
67771 # VPATH may cause trouble with some makes, so we remove $(srcdir),
67772 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
67773 # trailing colons and then remove the whole line if VPATH becomes empty
67774 # (actually we leave an empty line to preserve line numbers).
67775 if test "x$srcdir" = x.; then
67776 ac_vpsub='/^[ ]*VPATH[ ]*=/{
67777 s/:*\$(srcdir):*/:/
67778 s/:*\${srcdir}:*/:/
67780 s/^\([^=]*=[ ]*\):*/\1/
67786 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67787 fi # test -n "$CONFIG_FILES"
67789 # Set up the scripts for CONFIG_HEADERS section.
67790 # No need to generate them if there are no CONFIG_HEADERS.
67791 # This happens for instance with `./config.status Makefile'.
67792 if test -n "$CONFIG_HEADERS"; then
67793 cat >"$tmp/defines.awk" <<\_ACAWK ||
67797 # Transform confdefs.h into an awk script `defines.awk', embedded as
67798 # here-document in config.status, that substitutes the proper values into
67799 # config.h.in to produce config.h.
67801 # Create a delimiter string that does not exist in confdefs.h, to ease
67802 # handling of long lines.
67804 for ac_last_try in false false :; do
67805 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
67806 if test -z "$ac_t"; then
67808 elif $ac_last_try; then
67809 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
67811 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67815 # For the awk script, D is an array of macro values keyed by name,
67816 # likewise P contains macro parameters if any. Preserve backslash
67817 # newline sequences.
67819 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
67821 s/.\{148\}/&'"$ac_delim"'/g
67824 s/^[ ]*#[ ]*define[ ][ ]*/ /
67831 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
67833 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
67837 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
67838 D["\1"]=" \3\\\\\\n"\\/p
67840 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
67845 s/.\{148\}/&'"$ac_delim"'/g
67850 s/["\\]/\\&/g; s/^/"/; s/$/"/p
67853 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
67855 ' <confdefs.h | sed '
67856 s/'"$ac_delim"'/"\\\
67857 "/g' >>$CONFIG_STATUS || ac_write_fail=1
67859 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67860 for (key in D) D_is_set[key] = 1
67863 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
67865 split(line, arg, " ")
67866 if (arg[1] == "#") {
67870 defundef = substr(arg[1], 2)
67873 split(mac1, mac2, "(") #)
67875 prefix = substr(line, 1, index(line, defundef) - 1)
67876 if (D_is_set[macro]) {
67877 # Preserve the white space surrounding the "#".
67878 print prefix "define", macro P[macro] D[macro]
67881 # Replace #undef with comments. This is necessary, for example,
67882 # in the case of _POSIX_SOURCE, which is predefined and required
67883 # on some systems where configure will not decide to define it.
67884 if (defundef == "undef") {
67885 print "/*", prefix defundef, macro, "*/"
67893 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67894 as_fn_error "could not setup config headers machinery" "$LINENO" 5
67895 fi # test -n "$CONFIG_HEADERS"
67898 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
67903 :[FHLC]) ac_mode=$ac_tag; continue;;
67905 case $ac_mode$ac_tag in
67907 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
67908 :[FH]-) ac_tag=-:-;;
67909 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
67926 -) ac_f="$tmp/stdin";;
67927 *) # Look for the file first in the build tree, then in the source tree
67928 # (if the path is not absolute). The absolute path cannot be DOS-style,
67929 # because $ac_f cannot contain `:'.
67933 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
67935 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
67937 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
67938 as_fn_append ac_file_inputs " '$ac_f'"
67941 # Let's still pretend it is `configure' which instantiates (i.e., don't
67942 # use $as_me), people would be surprised to read:
67943 # /* config.h. Generated by config.status. */
67944 configure_input='Generated from '`
67945 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
67947 if test x"$ac_file" != x-; then
67948 configure_input="$ac_file. $configure_input"
67949 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
67950 $as_echo "$as_me: creating $ac_file" >&6;}
67952 # Neutralize special characters interpreted by sed in replacement strings.
67953 case $configure_input in #(
67954 *\&* | *\|* | *\\* )
67955 ac_sed_conf_input=`$as_echo "$configure_input" |
67956 sed 's/[\\\\&|]/\\\\&/g'`;; #(
67957 *) ac_sed_conf_input=$configure_input;;
67961 *:-:* | *:-) cat >"$tmp/stdin" \
67962 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
67967 ac_dir=`$as_dirname -- "$ac_file" ||
67968 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67969 X"$ac_file" : 'X\(//\)[^/]' \| \
67970 X"$ac_file" : 'X\(//\)$' \| \
67971 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
67972 $as_echo X"$ac_file" |
67973 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67977 /^X\(\/\/\)[^/].*/{
67990 as_dir="$ac_dir"; as_fn_mkdir_p
67994 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
67996 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
67997 # A ".." for each directory in $ac_dir_suffix.
67998 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
67999 case $ac_top_builddir_sub in
68000 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
68001 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
68004 ac_abs_top_builddir=$ac_pwd
68005 ac_abs_builddir=$ac_pwd$ac_dir_suffix
68006 # for backward compatibility:
68007 ac_top_builddir=$ac_top_build_prefix
68010 .) # We are building in place.
68012 ac_top_srcdir=$ac_top_builddir_sub
68013 ac_abs_top_srcdir=$ac_pwd ;;
68014 [\\/]* | ?:[\\/]* ) # Absolute name.
68015 ac_srcdir=$srcdir$ac_dir_suffix;
68016 ac_top_srcdir=$srcdir
68017 ac_abs_top_srcdir=$srcdir ;;
68018 *) # Relative name.
68019 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
68020 ac_top_srcdir=$ac_top_build_prefix$srcdir
68021 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
68023 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
68033 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
68034 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
68036 ac_MKDIR_P=$MKDIR_P
68038 [\\/$]* | ?:[\\/]* ) ;;
68039 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
68043 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
68044 # If the template does not know about datarootdir, expand it.
68045 # FIXME: This hack should be removed a few years after 2.60.
68046 ac_datarootdir_hack=; ac_datarootdir_seen=
68057 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
68058 *datarootdir*) ac_datarootdir_seen=yes;;
68059 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
68060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
68061 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
68063 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
68064 ac_datarootdir_hack='
68065 s&@datadir@&$datadir&g
68066 s&@docdir@&$docdir&g
68067 s&@infodir@&$infodir&g
68068 s&@localedir@&$localedir&g
68069 s&@mandir@&$mandir&g
68070 s&\\\${datarootdir}&$datarootdir&g' ;;
68074 # Neutralize VPATH when `$srcdir' = `.'.
68075 # Shell code in configure.ac might set extrasub.
68076 # FIXME: do we really want to maintain this feature?
68077 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
68078 ac_sed_extra="$ac_vpsub
68081 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
68083 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
68084 s|@configure_input@|$ac_sed_conf_input|;t t
68085 s&@top_builddir@&$ac_top_builddir_sub&;t t
68086 s&@top_build_prefix@&$ac_top_build_prefix&;t t
68087 s&@srcdir@&$ac_srcdir&;t t
68088 s&@abs_srcdir@&$ac_abs_srcdir&;t t
68089 s&@top_srcdir@&$ac_top_srcdir&;t t
68090 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
68091 s&@builddir@&$ac_builddir&;t t
68092 s&@abs_builddir@&$ac_abs_builddir&;t t
68093 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
68094 s&@INSTALL@&$ac_INSTALL&;t t
68095 s&@MKDIR_P@&$ac_MKDIR_P&;t t
68096 $ac_datarootdir_hack
68098 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
68099 || as_fn_error "could not create $ac_file" "$LINENO" 5
68101 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
68102 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
68103 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
68104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
68105 which seems to be undefined. Please make sure it is defined." >&5
68106 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
68107 which seems to be undefined. Please make sure it is defined." >&2;}
68111 -) cat "$tmp/out" && rm -f "$tmp/out";;
68112 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
68114 || as_fn_error "could not create $ac_file" "$LINENO" 5
68120 if test x"$ac_file" != x-; then
68122 $as_echo "/* $configure_input */" \
68123 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
68124 } >"$tmp/config.h" \
68125 || as_fn_error "could not create $ac_file" "$LINENO" 5
68126 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
68127 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
68128 $as_echo "$as_me: $ac_file is unchanged" >&6;}
68131 mv "$tmp/config.h" "$ac_file" \
68132 || as_fn_error "could not create $ac_file" "$LINENO" 5
68135 $as_echo "/* $configure_input */" \
68136 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
68137 || as_fn_error "could not create -" "$LINENO" 5
68139 # Compute "$ac_file"'s index in $config_headers.
68142 for _am_header in $config_headers :; do
68143 case $_am_header in
68144 $_am_arg | $_am_arg:* )
68147 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
68150 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
68151 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
68152 X"$_am_arg" : 'X\(//\)[^/]' \| \
68153 X"$_am_arg" : 'X\(//\)$' \| \
68154 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
68155 $as_echo X"$_am_arg" |
68156 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
68160 /^X\(\/\/\)[^/].*/{
68172 s/.*/./; q'`/stamp-h$_am_stamp_count
68175 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
68176 $as_echo "$as_me: executing $ac_file commands" >&6;}
68181 case $ac_file$ac_mode in
68183 # Only add multilib support code if we just rebuilt the top-level
68185 case " $CONFIG_FILES " in
68187 ac_file=Makefile . ${multi_basedir}/config-ml.in
68192 # See if we are running on zsh, and set the options which allow our
68193 # commands through without removal of \ escapes.
68194 if test -n "${ZSH_VERSION+set}" ; then
68195 setopt NO_GLOB_SUBST
68198 cfgfile="${ofile}T"
68199 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
68202 cat <<_LT_EOF >> "$cfgfile"
68205 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
68206 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
68207 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
68208 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
68210 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
68211 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
68212 # Written by Gordon Matzigkeit, 1996
68214 # This file is part of GNU Libtool.
68216 # GNU Libtool is free software; you can redistribute it and/or
68217 # modify it under the terms of the GNU General Public License as
68218 # published by the Free Software Foundation; either version 2 of
68219 # the License, or (at your option) any later version.
68221 # As a special exception to the GNU General Public License,
68222 # if you distribute this file as part of a program or library that
68223 # is built using GNU Libtool, you may include this file under the
68224 # same distribution terms that you use for the rest of that program.
68226 # GNU Libtool is distributed in the hope that it will be useful,
68227 # but WITHOUT ANY WARRANTY; without even the implied warranty of
68228 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
68229 # GNU General Public License for more details.
68231 # You should have received a copy of the GNU General Public License
68232 # along with GNU Libtool; see the file COPYING. If not, a copy
68233 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
68234 # obtained by writing to the Free Software Foundation, Inc.,
68235 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
68238 # The names of the tagged configurations supported by this script.
68239 available_tags="CXX "
68241 # ### BEGIN LIBTOOL CONFIG
68243 # Which release of libtool.m4 was used?
68244 macro_version=$macro_version
68245 macro_revision=$macro_revision
68247 # Whether or not to build shared libraries.
68248 build_libtool_libs=$enable_shared
68250 # Whether or not to build static libraries.
68251 build_old_libs=$enable_static
68253 # What type of objects to build.
68256 # Whether or not to optimize for fast installation.
68257 fast_install=$enable_fast_install
68259 # Shell to use when invoking shell scripts.
68262 # An echo program that protects backslashes.
68266 host_alias=$host_alias
68270 # The build system.
68271 build_alias=$build_alias
68275 # A sed program that does not truncate output.
68278 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
68279 Xsed="\$SED -e 1s/^X//"
68281 # A grep program that handles long lines.
68287 # A literal string matcher.
68290 # A BSD- or MS-compatible name lister.
68293 # Whether we need soft or hard links.
68296 # What is the maximum length of a command?
68297 max_cmd_len=$max_cmd_len
68299 # Object file suffix (normally "o").
68302 # Executable file suffix (normally "").
68305 # whether the shell understands "unset".
68308 # turn spaces into newlines.
68311 # turn newlines into spaces.
68314 # An object symbol dumper.
68315 OBJDUMP=$lt_OBJDUMP
68317 # Method to check whether dependent libraries are shared objects.
68318 deplibs_check_method=$lt_deplibs_check_method
68320 # Command to use when deplibs_check_method == "file_magic".
68321 file_magic_cmd=$lt_file_magic_cmd
68325 AR_FLAGS=$lt_AR_FLAGS
68327 # A symbol stripping program.
68330 # Commands used to install an old-style archive.
68332 old_postinstall_cmds=$lt_old_postinstall_cmds
68333 old_postuninstall_cmds=$lt_old_postuninstall_cmds
68335 # Whether to use a lock for old archive extraction.
68336 lock_old_archive_extraction=$lock_old_archive_extraction
68341 # LTCC compiler flags.
68342 LTCFLAGS=$lt_CFLAGS
68344 # Take the output of nm and produce a listing of raw symbols and C names.
68345 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
68347 # Transform the output of nm in a proper C declaration.
68348 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
68350 # Transform the output of nm in a C name address pair.
68351 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
68353 # Transform the output of nm in a C name address pair when lib prefix is needed.
68354 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
68356 # The name of the directory that contains temporary libtool files.
68359 # Used to examine libraries when file_magic_cmd begins with "file".
68360 MAGIC_CMD=$MAGIC_CMD
68362 # Must we lock files when doing compilation?
68363 need_locks=$lt_need_locks
68365 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
68366 DSYMUTIL=$lt_DSYMUTIL
68368 # Tool to change global to local symbols on Mac OS X.
68371 # Tool to manipulate fat objects and archives on Mac OS X.
68374 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
68377 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
68378 OTOOL64=$lt_OTOOL64
68380 # Old archive suffix (normally "a").
68383 # Shared library suffix (normally ".so").
68384 shrext_cmds=$lt_shrext_cmds
68386 # The commands to extract the exported symbol list from a shared archive.
68387 extract_expsyms_cmds=$lt_extract_expsyms_cmds
68389 # Variables whose values should be saved in libtool wrapper scripts and
68390 # restored at link time.
68391 variables_saved_for_relink=$lt_variables_saved_for_relink
68393 # Do we need the "lib" prefix for modules?
68394 need_lib_prefix=$need_lib_prefix
68396 # Do we need a version for libraries?
68397 need_version=$need_version
68399 # Library versioning type.
68400 version_type=$version_type
68402 # Shared library runtime path variable.
68403 runpath_var=$runpath_var
68405 # Shared library path variable.
68406 shlibpath_var=$shlibpath_var
68408 # Is shlibpath searched before the hard-coded library search path?
68409 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
68411 # Format of library name prefix.
68412 libname_spec=$lt_libname_spec
68414 # List of archive names. First name is the real one, the rest are links.
68415 # The last name is the one that the linker finds with -lNAME
68416 library_names_spec=$lt_library_names_spec
68418 # The coded name of the library, if different from the real name.
68419 soname_spec=$lt_soname_spec
68421 # Permission mode override for installation of shared libraries.
68422 install_override_mode=$lt_install_override_mode
68424 # Command to use after installation of a shared archive.
68425 postinstall_cmds=$lt_postinstall_cmds
68427 # Command to use after uninstallation of a shared archive.
68428 postuninstall_cmds=$lt_postuninstall_cmds
68430 # Commands used to finish a libtool library installation in a directory.
68431 finish_cmds=$lt_finish_cmds
68433 # As "finish_cmds", except a single script fragment to be evaled but
68435 finish_eval=$lt_finish_eval
68437 # Whether we should hardcode library paths into libraries.
68438 hardcode_into_libs=$hardcode_into_libs
68440 # Compile-time system search path for libraries.
68441 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
68443 # Run-time system search path for libraries.
68444 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
68446 # Whether dlopen is supported.
68447 dlopen_support=$enable_dlopen
68449 # Whether dlopen of programs is supported.
68450 dlopen_self=$enable_dlopen_self
68452 # Whether dlopen of statically linked programs is supported.
68453 dlopen_self_static=$enable_dlopen_self_static
68455 # Commands to strip libraries.
68456 old_striplib=$lt_old_striplib
68457 striplib=$lt_striplib
68460 # The linker used to build libraries.
68463 # How to create reloadable object files.
68464 reload_flag=$lt_reload_flag
68465 reload_cmds=$lt_reload_cmds
68467 # Commands used to build an old-style archive.
68468 old_archive_cmds=$lt_old_archive_cmds
68470 # A language specific compiler.
68473 # Is the compiler the GNU compiler?
68476 # Compiler flag to turn off builtin functions.
68477 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
68479 # How to pass a linker flag through the compiler.
68480 wl=$lt_lt_prog_compiler_wl
68482 # Additional compiler flags for building library objects.
68483 pic_flag=$lt_lt_prog_compiler_pic
68485 # Compiler flag to prevent dynamic linking.
68486 link_static_flag=$lt_lt_prog_compiler_static
68488 # Does compiler simultaneously support -c and -o options?
68489 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
68491 # Whether or not to add -lc for building shared libraries.
68492 build_libtool_need_lc=$archive_cmds_need_lc
68494 # Whether or not to disallow shared libs when runtime libs are static.
68495 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
68497 # Compiler flag to allow reflexive dlopens.
68498 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
68500 # Compiler flag to generate shared objects directly from archives.
68501 whole_archive_flag_spec=$lt_whole_archive_flag_spec
68503 # Whether the compiler copes with passing no objects directly.
68504 compiler_needs_object=$lt_compiler_needs_object
68506 # Create an old-style archive from a shared archive.
68507 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
68509 # Create a temporary old-style archive to link instead of a shared archive.
68510 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
68512 # Commands used to build a shared archive.
68513 archive_cmds=$lt_archive_cmds
68514 archive_expsym_cmds=$lt_archive_expsym_cmds
68516 # Commands used to build a loadable module if different from building
68517 # a shared archive.
68518 module_cmds=$lt_module_cmds
68519 module_expsym_cmds=$lt_module_expsym_cmds
68521 # Whether we are building with GNU ld or not.
68522 with_gnu_ld=$lt_with_gnu_ld
68524 # Flag that allows shared libraries with undefined symbols to be built.
68525 allow_undefined_flag=$lt_allow_undefined_flag
68527 # Flag that enforces no undefined symbols.
68528 no_undefined_flag=$lt_no_undefined_flag
68530 # Flag to hardcode \$libdir into a binary during linking.
68531 # This must work even if \$libdir does not exist
68532 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
68534 # If ld is used when linking, flag to hardcode \$libdir into a binary
68535 # during linking. This must work even if \$libdir does not exist.
68536 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
68538 # Whether we need a single "-rpath" flag with a separated argument.
68539 hardcode_libdir_separator=$lt_hardcode_libdir_separator
68541 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68542 # DIR into the resulting binary.
68543 hardcode_direct=$hardcode_direct
68545 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68546 # DIR into the resulting binary and the resulting library dependency is
68547 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
68548 # library is relocated.
68549 hardcode_direct_absolute=$hardcode_direct_absolute
68551 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
68552 # into the resulting binary.
68553 hardcode_minus_L=$hardcode_minus_L
68555 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
68556 # into the resulting binary.
68557 hardcode_shlibpath_var=$hardcode_shlibpath_var
68559 # Set to "yes" if building a shared library automatically hardcodes DIR
68560 # into the library and all subsequent libraries and executables linked
68562 hardcode_automatic=$hardcode_automatic
68564 # Set to yes if linker adds runtime paths of dependent libraries
68565 # to runtime path list.
68566 inherit_rpath=$inherit_rpath
68568 # Whether libtool must link a program against all its dependency libraries.
68569 link_all_deplibs=$link_all_deplibs
68571 # Fix the shell variable \$srcfile for the compiler.
68572 fix_srcfile_path=$lt_fix_srcfile_path
68574 # Set to "yes" if exported symbols are required.
68575 always_export_symbols=$always_export_symbols
68577 # The commands to list exported symbols.
68578 export_symbols_cmds=$lt_export_symbols_cmds
68580 # Symbols that should not be listed in the preloaded symbols.
68581 exclude_expsyms=$lt_exclude_expsyms
68583 # Symbols that must always be exported.
68584 include_expsyms=$lt_include_expsyms
68586 # Commands necessary for linking programs (against libraries) with templates.
68587 prelink_cmds=$lt_prelink_cmds
68589 # Specify filename containing input files.
68590 file_list_spec=$lt_file_list_spec
68592 # How to hardcode a shared library path into an executable.
68593 hardcode_action=$hardcode_action
68595 # The directories searched by this compiler when creating a shared library.
68596 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
68598 # Dependencies to place before and after the objects being linked to
68599 # create a shared library.
68600 predep_objects=$lt_predep_objects
68601 postdep_objects=$lt_postdep_objects
68602 predeps=$lt_predeps
68603 postdeps=$lt_postdeps
68605 # The library search path used internally by the compiler when linking
68606 # a shared library.
68607 compiler_lib_search_path=$lt_compiler_lib_search_path
68609 # ### END LIBTOOL CONFIG
68615 cat <<\_LT_EOF >> "$cfgfile"
68616 # AIX sometimes has problems with the GCC collect2 program. For some
68617 # reason, if we set the COLLECT_NAMES environment variable, the problems
68618 # vanish in a puff of smoke.
68619 if test "X${COLLECT_NAMES+set}" != Xset; then
68621 export COLLECT_NAMES
68628 ltmain="$ac_aux_dir/ltmain.sh"
68631 # We use sed instead of cat because bash on DJGPP gets confused if
68632 # if finds mixed CR/LF and LF-only lines. Since sed operates in
68633 # text mode, it properly converts lines to CR/LF. This bash problem
68634 # is reportedly fixed, but why not run on old versions too?
68635 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
68636 || (rm -f "$cfgfile"; exit 1)
68640 cat << \_LT_EOF >> "$cfgfile"
68642 # func_dirname file append nondir_replacement
68643 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
68644 # otherwise set result to NONDIR_REPLACEMENT.
68648 */*) func_dirname_result="${1%/*}${2}" ;;
68649 * ) func_dirname_result="${3}" ;;
68653 # func_basename file
68656 func_basename_result="${1##*/}"
68659 # func_dirname_and_basename file append nondir_replacement
68660 # perform func_basename and func_dirname in a single function
68662 # dirname: Compute the dirname of FILE. If nonempty,
68663 # add APPEND to the result, otherwise set result
68664 # to NONDIR_REPLACEMENT.
68665 # value returned in "$func_dirname_result"
68666 # basename: Compute filename of FILE.
68667 # value retuned in "$func_basename_result"
68668 # Implementation must be kept synchronized with func_dirname
68669 # and func_basename. For efficiency, we do not delegate to
68670 # those functions but instead duplicate the functionality here.
68671 func_dirname_and_basename ()
68674 */*) func_dirname_result="${1%/*}${2}" ;;
68675 * ) func_dirname_result="${3}" ;;
68677 func_basename_result="${1##*/}"
68680 # func_stripname prefix suffix name
68681 # strip PREFIX and SUFFIX off of NAME.
68682 # PREFIX and SUFFIX must not contain globbing or regex special
68683 # characters, hashes, percent signs, but SUFFIX may contain a leading
68684 # dot (in which case that matches only a dot).
68687 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
68688 # positional parameters, so assign one to ordinary parameter first.
68689 func_stripname_result=${3}
68690 func_stripname_result=${func_stripname_result#"${1}"}
68691 func_stripname_result=${func_stripname_result%"${2}"}
68697 func_opt_split_opt=${1%%=*}
68698 func_opt_split_arg=${1#*=}
68705 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
68706 *) func_lo2o_result=${1} ;;
68710 # func_xform libobj-or-source
68713 func_xform_result=${1%.*}.lo
68716 # func_arith arithmetic-term...
68719 func_arith_result=$(( $* ))
68723 # STRING may not start with a hyphen.
68726 func_len_result=${#1}
68731 *) # Bourne compatible functions.
68732 cat << \_LT_EOF >> "$cfgfile"
68734 # func_dirname file append nondir_replacement
68735 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
68736 # otherwise set result to NONDIR_REPLACEMENT.
68739 # Extract subdirectory from the argument.
68740 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
68741 if test "X$func_dirname_result" = "X${1}"; then
68742 func_dirname_result="${3}"
68744 func_dirname_result="$func_dirname_result${2}"
68748 # func_basename file
68751 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
68755 # func_stripname prefix suffix name
68756 # strip PREFIX and SUFFIX off of NAME.
68757 # PREFIX and SUFFIX must not contain globbing or regex special
68758 # characters, hashes, percent signs, but SUFFIX may contain a leading
68759 # dot (in which case that matches only a dot).
68760 # func_strip_suffix prefix name
68764 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
68765 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
68770 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
68771 my_sed_long_arg='1s/^-[^=]*=//'
68776 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
68777 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
68783 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
68786 # func_xform libobj-or-source
68789 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
68792 # func_arith arithmetic-term...
68795 func_arith_result=`expr "$@"`
68799 # STRING may not start with a hyphen.
68802 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
68808 case $lt_shell_append in
68810 cat << \_LT_EOF >> "$cfgfile"
68812 # func_append var value
68813 # Append VALUE to the end of shell variable VAR.
68821 cat << \_LT_EOF >> "$cfgfile"
68823 # func_append var value
68824 # Append VALUE to the end of shell variable VAR.
68835 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
68836 || (rm -f "$cfgfile"; exit 1)
68838 mv -f "$cfgfile" "$ofile" ||
68839 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
68843 cat <<_LT_EOF >> "$ofile"
68845 # ### BEGIN LIBTOOL TAG CONFIG: CXX
68847 # The linker used to build libraries.
68850 # How to create reloadable object files.
68851 reload_flag=$lt_reload_flag_CXX
68852 reload_cmds=$lt_reload_cmds_CXX
68854 # Commands used to build an old-style archive.
68855 old_archive_cmds=$lt_old_archive_cmds_CXX
68857 # A language specific compiler.
68858 CC=$lt_compiler_CXX
68860 # Is the compiler the GNU compiler?
68863 # Compiler flag to turn off builtin functions.
68864 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
68866 # How to pass a linker flag through the compiler.
68867 wl=$lt_lt_prog_compiler_wl_CXX
68869 # Additional compiler flags for building library objects.
68870 pic_flag=$lt_lt_prog_compiler_pic_CXX
68872 # Compiler flag to prevent dynamic linking.
68873 link_static_flag=$lt_lt_prog_compiler_static_CXX
68875 # Does compiler simultaneously support -c and -o options?
68876 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
68878 # Whether or not to add -lc for building shared libraries.
68879 build_libtool_need_lc=$archive_cmds_need_lc_CXX
68881 # Whether or not to disallow shared libs when runtime libs are static.
68882 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
68884 # Compiler flag to allow reflexive dlopens.
68885 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
68887 # Compiler flag to generate shared objects directly from archives.
68888 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
68890 # Whether the compiler copes with passing no objects directly.
68891 compiler_needs_object=$lt_compiler_needs_object_CXX
68893 # Create an old-style archive from a shared archive.
68894 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
68896 # Create a temporary old-style archive to link instead of a shared archive.
68897 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
68899 # Commands used to build a shared archive.
68900 archive_cmds=$lt_archive_cmds_CXX
68901 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
68903 # Commands used to build a loadable module if different from building
68904 # a shared archive.
68905 module_cmds=$lt_module_cmds_CXX
68906 module_expsym_cmds=$lt_module_expsym_cmds_CXX
68908 # Whether we are building with GNU ld or not.
68909 with_gnu_ld=$lt_with_gnu_ld_CXX
68911 # Flag that allows shared libraries with undefined symbols to be built.
68912 allow_undefined_flag=$lt_allow_undefined_flag_CXX
68914 # Flag that enforces no undefined symbols.
68915 no_undefined_flag=$lt_no_undefined_flag_CXX
68917 # Flag to hardcode \$libdir into a binary during linking.
68918 # This must work even if \$libdir does not exist
68919 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
68921 # If ld is used when linking, flag to hardcode \$libdir into a binary
68922 # during linking. This must work even if \$libdir does not exist.
68923 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
68925 # Whether we need a single "-rpath" flag with a separated argument.
68926 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
68928 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68929 # DIR into the resulting binary.
68930 hardcode_direct=$hardcode_direct_CXX
68932 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68933 # DIR into the resulting binary and the resulting library dependency is
68934 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
68935 # library is relocated.
68936 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
68938 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
68939 # into the resulting binary.
68940 hardcode_minus_L=$hardcode_minus_L_CXX
68942 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
68943 # into the resulting binary.
68944 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
68946 # Set to "yes" if building a shared library automatically hardcodes DIR
68947 # into the library and all subsequent libraries and executables linked
68949 hardcode_automatic=$hardcode_automatic_CXX
68951 # Set to yes if linker adds runtime paths of dependent libraries
68952 # to runtime path list.
68953 inherit_rpath=$inherit_rpath_CXX
68955 # Whether libtool must link a program against all its dependency libraries.
68956 link_all_deplibs=$link_all_deplibs_CXX
68958 # Fix the shell variable \$srcfile for the compiler.
68959 fix_srcfile_path=$lt_fix_srcfile_path_CXX
68961 # Set to "yes" if exported symbols are required.
68962 always_export_symbols=$always_export_symbols_CXX
68964 # The commands to list exported symbols.
68965 export_symbols_cmds=$lt_export_symbols_cmds_CXX
68967 # Symbols that should not be listed in the preloaded symbols.
68968 exclude_expsyms=$lt_exclude_expsyms_CXX
68970 # Symbols that must always be exported.
68971 include_expsyms=$lt_include_expsyms_CXX
68973 # Commands necessary for linking programs (against libraries) with templates.
68974 prelink_cmds=$lt_prelink_cmds_CXX
68976 # Specify filename containing input files.
68977 file_list_spec=$lt_file_list_spec_CXX
68979 # How to hardcode a shared library path into an executable.
68980 hardcode_action=$hardcode_action_CXX
68982 # The directories searched by this compiler when creating a shared library.
68983 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
68985 # Dependencies to place before and after the objects being linked to
68986 # create a shared library.
68987 predep_objects=$lt_predep_objects_CXX
68988 postdep_objects=$lt_postdep_objects_CXX
68989 predeps=$lt_predeps_CXX
68990 postdeps=$lt_postdeps_CXX
68992 # The library search path used internally by the compiler when linking
68993 # a shared library.
68994 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
68996 # ### END LIBTOOL TAG CONFIG: CXX
69000 "include/gstdint.h":C)
69001 if test "$GCC" = yes; then
69002 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
69004 echo "/* generated for $CC */" > tmp-stdint.h
69007 sed 's/^ *//' >> tmp-stdint.h <<EOF
69009 #ifndef GCC_GENERATED_STDINT_H
69010 #define GCC_GENERATED_STDINT_H 1
69012 #include <sys/types.h>
69015 if test "$acx_cv_header_stdint" != stdint.h; then
69016 echo "#include <stddef.h>" >> tmp-stdint.h
69018 if test "$acx_cv_header_stdint" != stddef.h; then
69019 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
69022 sed 's/^ *//' >> tmp-stdint.h <<EOF
69023 /* glibc uses these symbols as guards to prevent redefinitions. */
69024 #ifdef __int8_t_defined
69029 #ifdef __uint32_t_defined
69035 # ----------------- done header, emit basic int types -------------
69036 if test "$acx_cv_header_stdint" = stddef.h; then
69037 sed 's/^ *//' >> tmp-stdint.h <<EOF
69041 #ifndef __uint8_t_defined
69042 #define __uint8_t_defined
69044 typedef unsigned $acx_cv_type_int8_t uint8_t;
69051 #ifndef __uint16_t_defined
69052 #define __uint16_t_defined
69054 typedef unsigned $acx_cv_type_int16_t uint16_t;
69061 #ifndef __uint32_t_defined
69062 #define __uint32_t_defined
69064 typedef unsigned $acx_cv_type_int32_t uint32_t;
69071 #ifndef __int8_t_defined
69072 #define __int8_t_defined
69074 typedef $acx_cv_type_int8_t int8_t;
69081 #ifndef __int16_t_defined
69082 #define __int16_t_defined
69084 typedef $acx_cv_type_int16_t int16_t;
69091 #ifndef __int32_t_defined
69092 #define __int32_t_defined
69094 typedef $acx_cv_type_int32_t int32_t;
69099 elif test "$ac_cv_type_u_int32_t" = yes; then
69100 sed 's/^ *//' >> tmp-stdint.h <<EOF
69102 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
69115 #ifndef __uint8_t_defined
69116 #define __uint8_t_defined
69118 typedef u_int8_t uint8_t;
69125 #ifndef __uint16_t_defined
69126 #define __uint16_t_defined
69128 typedef u_int16_t uint16_t;
69135 #ifndef __uint32_t_defined
69136 #define __uint32_t_defined
69138 typedef u_int32_t uint32_t;
69144 sed 's/^ *//' >> tmp-stdint.h <<EOF
69146 /* Some systems have guard macros to prevent redefinitions, define them. */
69168 # ------------- done basic int types, emit int64_t types ------------
69169 if test "$ac_cv_type_uint64_t" = yes; then
69170 sed 's/^ *//' >> tmp-stdint.h <<EOF
69172 /* system headers have good uint64_t and int64_t */
69180 elif test "$ac_cv_type_u_int64_t" = yes; then
69181 sed 's/^ *//' >> tmp-stdint.h <<EOF
69183 /* system headers have an u_int64_t (and int64_t) */
69189 #ifndef __uint64_t_defined
69190 #define __uint64_t_defined
69192 typedef u_int64_t uint64_t;
69197 elif test -n "$acx_cv_type_int64_t"; then
69198 sed 's/^ *//' >> tmp-stdint.h <<EOF
69200 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
69204 typedef $acx_cv_type_int64_t int64_t;
69209 #ifndef __uint64_t_defined
69210 #define __uint64_t_defined
69212 typedef unsigned $acx_cv_type_int64_t uint64_t;
69218 sed 's/^ *//' >> tmp-stdint.h <<EOF
69220 /* some common heuristics for int64_t, using compiler-specific tests */
69221 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
69224 #ifndef __int64_t_defined
69226 typedef long long int64_t;
69233 typedef unsigned long long uint64_t;
69237 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
69238 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
69239 does not implement __extension__. But that compiler doesn't define
69241 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
69242 # define __extension__
69248 __extension__ typedef long long int64_t;
69254 __extension__ typedef unsigned long long uint64_t;
69258 #elif !defined __STRICT_ANSI__
69259 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
69264 typedef __int64 int64_t;
69270 typedef unsigned __int64 uint64_t;
69273 # endif /* compiler */
69275 #endif /* ANSI version */
69279 # ------------- done int64_t types, emit intptr types ------------
69280 if test "$ac_cv_type_uintptr_t" != yes; then
69281 sed 's/^ *//' >> tmp-stdint.h <<EOF
69283 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
69284 #ifndef __uintptr_t_defined
69286 typedef u$acx_cv_type_intptr_t uintptr_t;
69289 #ifndef __intptr_t_defined
69291 typedef $acx_cv_type_intptr_t intptr_t;
69297 # ------------- done intptr types, emit int_least types ------------
69298 if test "$ac_cv_type_int_least32_t" != yes; then
69299 sed 's/^ *//' >> tmp-stdint.h <<EOF
69301 /* Define int_least types */
69302 typedef int8_t int_least8_t;
69303 typedef int16_t int_least16_t;
69304 typedef int32_t int_least32_t;
69306 typedef int64_t int_least64_t;
69309 typedef uint8_t uint_least8_t;
69310 typedef uint16_t uint_least16_t;
69311 typedef uint32_t uint_least32_t;
69313 typedef uint64_t uint_least64_t;
69318 # ------------- done intptr types, emit int_fast types ------------
69319 if test "$ac_cv_type_int_fast32_t" != yes; then
69320 sed 's/^ *//' >> tmp-stdint.h <<EOF
69322 /* Define int_fast types. short is often slow */
69323 typedef int8_t int_fast8_t;
69324 typedef int int_fast16_t;
69325 typedef int32_t int_fast32_t;
69327 typedef int64_t int_fast64_t;
69330 typedef uint8_t uint_fast8_t;
69331 typedef unsigned int uint_fast16_t;
69332 typedef uint32_t uint_fast32_t;
69334 typedef uint64_t uint_fast64_t;
69339 if test "$ac_cv_type_uintmax_t" != yes; then
69340 sed 's/^ *//' >> tmp-stdint.h <<EOF
69342 /* Define intmax based on what we found */
69345 typedef int64_t intmax_t;
69347 typedef long intmax_t;
69352 typedef uint64_t uintmax_t;
69354 typedef unsigned long uintmax_t;
69360 sed 's/^ *//' >> tmp-stdint.h <<EOF
69362 #endif /* GCC_GENERATED_STDINT_H */
69365 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
69368 mv -f tmp-stdint.h include/gstdint.h
69372 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
69373 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
69374 "include/Makefile":F) cat > vpsed$$ << \_EOF
69375 s!`test -f '$<' || echo '$(srcdir)/'`!!
69377 sed -f vpsed$$ $ac_file > tmp$$
69380 echo 'MULTISUBDIR =' >> $ac_file
69382 . ${multi_basedir}/config-ml.in
69383 { ml_norecursion=; unset ml_norecursion;}
69385 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
69386 s!`test -f '$<' || echo '$(srcdir)/'`!!
69388 sed -f vpsed$$ $ac_file > tmp$$
69391 echo 'MULTISUBDIR =' >> $ac_file
69393 . ${multi_basedir}/config-ml.in
69394 { ml_norecursion=; unset ml_norecursion;}
69396 "python/Makefile":F) cat > vpsed$$ << \_EOF
69397 s!`test -f '$<' || echo '$(srcdir)/'`!!
69399 sed -f vpsed$$ $ac_file > tmp$$
69402 echo 'MULTISUBDIR =' >> $ac_file
69404 . ${multi_basedir}/config-ml.in
69405 { ml_norecursion=; unset ml_norecursion;}
69407 "src/Makefile":F) cat > vpsed$$ << \_EOF
69408 s!`test -f '$<' || echo '$(srcdir)/'`!!
69410 sed -f vpsed$$ $ac_file > tmp$$
69413 echo 'MULTISUBDIR =' >> $ac_file
69415 . ${multi_basedir}/config-ml.in
69416 { ml_norecursion=; unset ml_norecursion;}
69418 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
69419 s!`test -f '$<' || echo '$(srcdir)/'`!!
69421 sed -f vpsed$$ $ac_file > tmp$$
69424 echo 'MULTISUBDIR =' >> $ac_file
69426 . ${multi_basedir}/config-ml.in
69427 { ml_norecursion=; unset ml_norecursion;}
69429 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
69430 s!`test -f '$<' || echo '$(srcdir)/'`!!
69432 sed -f vpsed$$ $ac_file > tmp$$
69435 echo 'MULTISUBDIR =' >> $ac_file
69437 . ${multi_basedir}/config-ml.in
69438 { ml_norecursion=; unset ml_norecursion;}
69440 "doc/Makefile":F) cat > vpsed$$ << \_EOF
69441 s!`test -f '$<' || echo '$(srcdir)/'`!!
69443 sed -f vpsed$$ $ac_file > tmp$$
69446 echo 'MULTISUBDIR =' >> $ac_file
69448 . ${multi_basedir}/config-ml.in
69449 { ml_norecursion=; unset ml_norecursion;}
69451 "po/Makefile":F) cat > vpsed$$ << \_EOF
69452 s!`test -f '$<' || echo '$(srcdir)/'`!!
69454 sed -f vpsed$$ $ac_file > tmp$$
69457 echo 'MULTISUBDIR =' >> $ac_file
69459 . ${multi_basedir}/config-ml.in
69460 { ml_norecursion=; unset ml_norecursion;}
69462 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
69463 s!`test -f '$<' || echo '$(srcdir)/'`!!
69465 sed -f vpsed$$ $ac_file > tmp$$
69468 echo 'MULTISUBDIR =' >> $ac_file
69470 . ${multi_basedir}/config-ml.in
69471 { ml_norecursion=; unset ml_norecursion;}
69473 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
69481 ac_clean_files=$ac_clean_files_save
69483 test $ac_write_fail = 0 ||
69484 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
69487 # configure is writing to config.log, and then calls config.status.
69488 # config.status does its own redirection, appending to config.log.
69489 # Unfortunately, on DOS this fails, as config.log is still kept open
69490 # by configure, so config.status won't be able to write to it; its
69491 # output is simply discarded. So we exec the FD to /dev/null,
69492 # effectively closing config.log, so it can be properly (re)opened and
69493 # appended to by config.status. When coming back to configure, we
69494 # need to make the FD available again.
69495 if test "$no_create" != yes; then
69497 ac_config_status_args=
69498 test "$silent" = yes &&
69499 ac_config_status_args="$ac_config_status_args --quiet"
69501 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
69503 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
69504 # would make configure fail if this is the last instruction.
69505 $ac_cs_success || as_fn_exit $?
69507 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
69508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
69509 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}