From 25dad4b35c562c7792a4dd047ba02d28e81c8b5e Mon Sep 17 00:00:00 2001 From: paolo Date: Mon, 25 Aug 2008 22:52:47 +0000 Subject: [PATCH] 2008-08-23 Paolo Carlini * acinclude.m4 ([GLIBCXX_CHECK_GETTIMEOFDAY]): Change to use GCC_TRY_COMPILE_OR_LINK. ([GLIBCXX_CHECK_CLOCK_GETTIME]): Rename to [GLIBCXX_ENABLE_CLOCK_GETTIME], a versatile configure-time option, [no] by default, since it includes TRY_LINK checks. librt is also searched, if requested. * doc/xml/manual/configure.xml: Document the latter. * configure.ac: Move the above checks outside native-only. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@139576 138bc75d-0d04-0410-961f-82ee72b054a4 --- libstdc++-v3/ChangeLog | 10 + libstdc++-v3/config.h.in | 42 - libstdc++-v3/configure | 27809 +++++++++++++------------------------- libstdc++-v3/configure.ac | 6 +- libstdc++-v3/crossconfig.m4 | 32 - libstdc++-v3/libmath/mathconf.h | 12 +- libstdc++-v3/linkage.m4 | 88 - 7 files changed, 9691 insertions(+), 18308 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 623948a828b..ca92259ebeb 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,13 @@ +2008-08-25 Paolo Carlini + + * linkage.m4 ([GLIBCXX_CHECK_BUILTIN_MATH_DECL_AND_LINKAGE_1], + [GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT]): Remove + * configure.ac: Do not call the latter. + * crossconfig.m4: Likewise. + * libmath/mathconf.h: Adjust. + * configure: Regenerate. + * config.h.in: Likewise. + 2008-08-24 Paolo Carlini * acinclude.m4 ([GLIBCXX_CHECK_RANDOM_TR1]): Simplify, just use diff --git a/libstdc++-v3/config.h.in b/libstdc++-v3/config.h.in index ae11784e71a..00747720418 100644 --- a/libstdc++-v3/config.h.in +++ b/libstdc++-v3/config.h.in @@ -631,48 +631,6 @@ /* Define to 1 if you have the `_tanl' function. */ #undef HAVE__TANL -/* Define if the compiler/host combination has __builtin_abs. */ -#undef HAVE___BUILTIN_ABS - -/* Define if the compiler/host combination has __builtin_cos. */ -#undef HAVE___BUILTIN_COS - -/* Define if the compiler/host combination has __builtin_cosf. */ -#undef HAVE___BUILTIN_COSF - -/* Define if the compiler/host combination has __builtin_cosl. */ -#undef HAVE___BUILTIN_COSL - -/* Define if the compiler/host combination has __builtin_fabs. */ -#undef HAVE___BUILTIN_FABS - -/* Define if the compiler/host combination has __builtin_fabsf. */ -#undef HAVE___BUILTIN_FABSF - -/* Define if the compiler/host combination has __builtin_fabsl. */ -#undef HAVE___BUILTIN_FABSL - -/* Define if the compiler/host combination has __builtin_labs. */ -#undef HAVE___BUILTIN_LABS - -/* Define if the compiler/host combination has __builtin_sin. */ -#undef HAVE___BUILTIN_SIN - -/* Define if the compiler/host combination has __builtin_sinf. */ -#undef HAVE___BUILTIN_SINF - -/* Define if the compiler/host combination has __builtin_sinl. */ -#undef HAVE___BUILTIN_SINL - -/* Define if the compiler/host combination has __builtin_sqrt. */ -#undef HAVE___BUILTIN_SQRT - -/* Define if the compiler/host combination has __builtin_sqrtf. */ -#undef HAVE___BUILTIN_SQRTF - -/* Define if the compiler/host combination has __builtin_sqrtl. */ -#undef HAVE___BUILTIN_SQRTL - /* Define to 1 if you have the `__signbit' function. */ #undef HAVE___SIGNBIT diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure index 98b0934b5a2..d53fe36ece6 100755 --- a/libstdc++-v3/configure +++ b/libstdc++-v3/configure @@ -14157,7 +14157,7 @@ _ACEOF -# Checks for compiler support that don't require linking. +# Checks for compiler support that doesn't require linking. # All these tests are for C++; save the language and the compiler flags. # The CXXFLAGS thing is suspicious, but based on similar bits previously @@ -14351,7 +14351,7 @@ _ACEOF fi -# Enable all the variable C++ runtime options that doesn't require linking. +# Enable all the variable C++ runtime options that don't require linking. echo "$as_me:$LINENO: checking for underlying I/O to use" >&5 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6 @@ -17363,7 +17363,7 @@ _ACEOF fi -# Checks for operating systems support that don't require linking. +# Checks for operating systems support that doesn't require linking. echo "$as_me:$LINENO: checking for EOWNERDEAD" >&5 @@ -39636,87 +39636,88 @@ done - echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5 -echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then +echo "$as_me:$LINENO: checking for main in -lm" >&5 +echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 +if test "${ac_cv_lib_m_main+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF + ac_check_lib_save_LIBS=$LIBS +LIBS="-lm $LIBS" +if test x$gcc_no_link = xyes; then + { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 +echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} + { (exit 1); exit 1; }; } +fi +cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include + + int main () { - __builtin_abs(0); +main (); ; return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' + { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_abs_use=yes + ac_cv_lib_m_main=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_abs_use=no +ac_cv_lib_m_main=no fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 +echo "${ECHO_T}$ac_cv_lib_m_main" >&6 +if test $ac_cv_lib_m_main = yes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBM 1 +_ACEOF + LIBS="-lm $LIBS" fi - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6 - if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5 -echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then + +for ac_func in copysignf +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - if test x$gcc_no_link = xyes; then + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -39727,11 +39728,47 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + int main () { - __builtin_abs(0); +return f != $ac_func; ; return 0; } @@ -39758,114 +39795,39 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_abs_link=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_abs_link=no +eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6 - - if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then - -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_ABS 1 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF - fi - - fi - - - echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5 -echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -int -main () -{ - __builtin_fabsf(0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_fabsf_use=yes else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func___builtin_fabsf_use=no + LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo" fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu +done -fi - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6 - if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5 -echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then +for ac_func in __signbit +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - if test x$gcc_no_link = xyes; then + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -39876,11 +39838,47 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + int main () { - __builtin_fabsf(0); +return f != $ac_func; ; return 0; } @@ -39907,114 +39905,150 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_fabsf_link=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_fabsf_link=no +eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6 - - if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then - -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_FABSF 1 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF - fi +else + LIBMATHOBJS="$LIBMATHOBJS signbit.lo" +fi +done - fi - echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5 -echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then +for ac_func in __signbitf +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF + if test x$gcc_no_link = xyes; then + { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 +echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} + { (exit 1); exit 1; }; } +fi +cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + int main () { - __builtin_fabs(0); +return f != $ac_func; ; return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' + { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_fabs_use=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_fabs_use=no +eval "$as_ac_var=no" fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF +else + LIBMATHOBJS="$LIBMATHOBJS signbitf.lo" fi +done - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6 - if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5 -echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then + + if test x$ac_cv_func_copysignl = x"yes"; then + +for ac_func in __signbitl +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - if test x$gcc_no_link = xyes; then + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -40025,11 +40059,47 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + int main () { - __builtin_fabs(0); +return f != $ac_func; ; return 0; } @@ -40056,37 +40126,46 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_fabs_link=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_fabs_link=no +eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF +else + LIBMATHOBJS="$LIBMATHOBJS signbitl.lo" fi +done - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6 + fi - if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then + # Used in libmath/Makefile.am. + if test -n "$LIBMATHOBJS"; then + need_libmath=yes + fi -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_FABS 1 -_ACEOF - fi - fi + ac_test_CXXFLAGS="${CXXFLAGS+set}" + ac_save_CXXFLAGS="$CXXFLAGS" + CXXFLAGS='-fno-builtin -D_GNU_SOURCE' - echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5 -echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then + echo "$as_me:$LINENO: checking for strtold declaration" >&5 +echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_strtold_use+set} != xset; then + if test "${glibcxx_cv_func_strtold_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -40104,11 +40183,11 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +#include int main () { - __builtin_fabsl(0); + strtold(0, 0); ; return 0; } @@ -40135,12 +40214,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_fabsl_use=yes + glibcxx_cv_func_strtold_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_fabsl_use=no +glibcxx_cv_func_strtold_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -40153,17 +40232,19 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6 - if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5 -echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then + echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6 + if test x$glibcxx_cv_func_strtold_use = x"yes"; then + +for ac_func in strtold +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - if test x$gcc_no_link = xyes; then + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -40174,11 +40255,47 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + int main () { - __builtin_fabsl(0); +return f != $ac_func; ; return 0; } @@ -40205,37 +40322,36 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_fabsl_link=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_fabsl_link=no +eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6 +fi +done - if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then + fi -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_FABSL 1 -_ACEOF - fi - fi - echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5 -echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then + echo "$as_me:$LINENO: checking for strtof declaration" >&5 +echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_strtof_use+set} != xset; then + if test "${glibcxx_cv_func_strtof_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -40253,11 +40369,11 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +#include int main () { - __builtin_labs(0); + strtof(0, 0); ; return 0; } @@ -40284,12 +40400,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_labs_use=yes + glibcxx_cv_func_strtof_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_labs_use=no +glibcxx_cv_func_strtof_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -40302,18 +40418,20 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6 - if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5 -echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else + echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6 + if test x$glibcxx_cv_func_strtof_use = x"yes"; then - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 +for ac_func in strtof +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test x$gcc_no_link = xyes; then + { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } fi @@ -40323,11 +40441,47 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + int main () { - __builtin_labs(0); +return f != $ac_func; ; return 0; } @@ -40354,133 +40508,96 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_labs_link=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_labs_link=no +eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF fi +done - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6 + fi - if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_LABS 1 -_ACEOF - fi - fi + CXXFLAGS="$ac_save_CXXFLAGS" + + + # For /dev/random and /dev/urandom for TR1. - echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5 -echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then + echo "$as_me:$LINENO: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5 +echo $ECHO_N "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... $ECHO_C" >&6 + if test "${glibcxx_cv_random_tr1+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else + if test -r /dev/random && test -r /dev/urandom; then + glibcxx_cv_random_tr1=yes; + else + glibcxx_cv_random_tr1=no; + fi +fi - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + echo "$as_me:$LINENO: result: $glibcxx_cv_random_tr1" >&5 +echo "${ECHO_T}$glibcxx_cv_random_tr1" >&6 - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -int -main () -{ - __builtin_sqrtf(0); - ; - return 0; -} + if test x"$glibcxx_cv_random_tr1" = x"yes"; then + +cat >>confdefs.h <<\_ACEOF +#define _GLIBCXX_USE_RANDOM_TR1 1 _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_sqrtf_use=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_sqrtf_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu + fi -fi - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6 - if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5 -echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then + # For TLS support. + + # Check whether --enable-tls or --disable-tls was given. +if test "${enable_tls+set}" = set; then + enableval="$enable_tls" + + case "$enableval" in + yes|no) ;; + *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5 +echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;} + { (exit 1); exit 1; }; } ;; + esac + +else + enable_tls=yes +fi; + + echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5 +echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6 +if test "${gcc_cv_have_tls+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - if test x$gcc_no_link = xyes; then + if test "$cross_compiling" = yes; then + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } fi cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -int -main () -{ - __builtin_sqrtf(0); - ; - return 0; -} +__thread int a; int b; int main() { return a = b; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 @@ -40504,114 +40621,113 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_sqrtf_link=yes + gcc_cv_have_tls=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_sqrtf_link=no +gcc_cv_have_tls=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext -fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6 - - if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then - -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_SQRTF 1 -_ACEOF - - fi - - fi - - echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5 -echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ + cat >conftest.$ac_ext <<_ACEOF +__thread int a; int b; int main() { return a = b; } _ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -int -main () -{ - __builtin_sqrt(0); - ; - return 0; -} +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + chktls_save_LDFLAGS="$LDFLAGS" + LDFLAGS="-static $LDFLAGS" + if test x$gcc_no_link = xyes; then + { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 +echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} + { (exit 1); exit 1; }; } +fi +cat >conftest.$ac_ext <<_ACEOF +int main() { return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' + { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_sqrt_use=yes + if test "$cross_compiling" = yes; then + { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +echo "$as_me: error: in \`$ac_pwd':" >&2;} +{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling +See \`config.log' for more details." >&5 +echo "$as_me: error: cannot run test program while cross compiling +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; }; } else - echo "$as_me: failed program was:" >&5 + cat >conftest.$ac_ext <<_ACEOF +__thread int a; int b; int main() { return a = b; } +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + gcc_cv_have_tls=yes +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_sqrt_use=no +( exit $ac_status ) +gcc_cv_have_tls=no fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6 - if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5 -echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 - if test x$gcc_no_link = xyes; then +gcc_cv_have_tls=yes +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LDFLAGS="$chktls_save_LDFLAGS" + if test $gcc_cv_have_tls = yes; then + chktls_save_CFLAGS="$CFLAGS" + thread_CFLAGS=failed + for flag in '' '-pthread' '-lpthread'; do + CFLAGS="$flag $chktls_save_CFLAGS" + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -40622,11 +40738,12 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +#include + void *g(void *d) { return NULL; } int main () { - __builtin_sqrt(0); +pthread_t t; pthread_create(&t,NULL,g,NULL); ; return 0; } @@ -40653,114 +40770,127 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_sqrt_link=yes + thread_CFLAGS="$flag" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_sqrt_link=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - -fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6 - - if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then - -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_SQRT 1 -_ACEOF - - fi - - fi - - - echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5 -echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + if test "X$thread_CFLAGS" != Xfailed; then + break + fi + done + CFLAGS="$chktls_save_CFLAGS" + if test "X$thread_CFLAGS" != Xfailed; then + CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS" + if test "$cross_compiling" = yes; then + { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +echo "$as_me: error: in \`$ac_pwd':" >&2;} +{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling +See \`config.log' for more details." >&5 +echo "$as_me: error: cannot run test program while cross compiling +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; }; } else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +#include + __thread int a; + static int *a_in_other_thread; + static void * + thread_func (void *arg) + { + a_in_other_thread = &a; + return (void *)0; + } int main () { - __builtin_sqrtl(0); +pthread_t thread; + void *thread_retval; + int *a_in_main_thread; + if (pthread_create (&thread, (pthread_attr_t *)0, + thread_func, (void *)0)) + return 0; + a_in_main_thread = &a; + if (pthread_join (thread, &thread_retval)) + return 0; + return (a_in_other_thread == a_in_main_thread); ; return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_sqrtl_use=yes + gcc_cv_have_tls=yes else - echo "$as_me: failed program was:" >&5 + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_sqrtl_use=no +( exit $ac_status ) +gcc_cv_have_tls=no fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi + CFLAGS="$chktls_save_CFLAGS" + fi + fi +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 +( exit $ac_status ) +gcc_cv_have_tls=no fi +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +fi +echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5 +echo "${ECHO_T}$gcc_cv_have_tls" >&6 + if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_TLS 1 +_ACEOF fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6 - if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5 -echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then + + # For _Unwind_GetIPInfo. + + + + ac_ext=cc +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + ac_save_CXXFLAGS="$CXXFLAGS" + CXXFLAGS="$CXXFLAGS -fno-exceptions" + echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5 +echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6 + if test "${gcc_cv_getipinfo+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - if test x$gcc_no_link = xyes; then + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -40771,11 +40901,11 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +extern "C" { extern void _Unwind_GetIPInfo(); } int main () { - __builtin_sqrtl(0); +_Unwind_GetIPInfo(); ; return 0; } @@ -40789,7 +40919,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 @@ -40802,9676 +40932,619 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_sqrtl_link=yes + gcc_cv_getipinfo=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_sqrtl_link=no +gcc_cv_getipinfo=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6 - - if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then + if test $gcc_cv_getipinfo = yes; then cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_SQRTL 1 +#define HAVE_GETIPINFO 1 _ACEOF - fi - fi - - - - echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5 -echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -int -main () -{ - __builtin_sinf(0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_sinf_use=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func___builtin_sinf_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5 +echo "${ECHO_T}$gcc_cv_getipinfo" >&6 + CXXFLAGS="$ac_save_CXXFLAGS" + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -fi - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6 - if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5 -echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -int -main () -{ - __builtin_sinf(0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_sinf_link=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func___builtin_sinf_link=no -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - -fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6 - - if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then - -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_SINF 1 -_ACEOF - - fi + # For iconv support. + if test "X$prefix" = "XNONE"; then + acl_final_prefix="$ac_default_prefix" + else + acl_final_prefix="$prefix" fi + if test "X$exec_prefix" = "XNONE"; then + acl_final_exec_prefix='${prefix}' + else + acl_final_exec_prefix="$exec_prefix" + fi + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" + prefix="$acl_save_prefix" - echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5 -echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -int -main () -{ - __builtin_sin(0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_sin_use=yes +# Check whether --with-gnu-ld or --without-gnu-ld was given. +if test "${with_gnu_ld+set}" = set; then + withval="$with_gnu_ld" + test "$withval" = no || with_gnu_ld=yes else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func___builtin_sin_use=no + with_gnu_ld=no +fi; +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + echo "$as_me:$LINENO: checking for ld used by GCC" >&5 +echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6 + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [\\/]* | [A-Za-z]:[\\/]*) + re_direlt='/[^/][^/]*/\.\./' + # Canonicalize the path of ld + ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do + ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + echo "$as_me:$LINENO: checking for GNU ld" >&5 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 +else + echo "$as_me:$LINENO: checking for non-GNU ld" >&5 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6 - if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5 -echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then +if test "${acl_cv_path_LD+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -int -main () -{ - __builtin_sin(0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_sin_link=yes + if test -z "$LD"; then + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" + for ac_dir in $PATH; do + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + acl_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some GNU ld's only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then + test "$with_gnu_ld" != no && break + else + test "$with_gnu_ld" != yes && break + fi + fi + done + IFS="$ac_save_ifs" else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func___builtin_sin_link=no + acl_cv_path_LD="$LD" # Let the user override the test with a path. fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - fi - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6 - - if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then - -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_SIN 1 -_ACEOF - - fi - - fi - - - echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5 -echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then +LD="$acl_cv_path_LD" +if test -n "$LD"; then + echo "$as_me:$LINENO: result: $LD" >&5 +echo "${ECHO_T}$LD" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi +test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 +echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} + { (exit 1); exit 1; }; } +echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 +if test "${acl_cv_prog_gnu_ld+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -int -main () -{ - __builtin_sinl(0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_sinl_use=yes + # I'd rather use --version here, but apparently some GNU ld's only accept -v. +if $LD -v 2>&1 &5; then + acl_cv_prog_gnu_ld=yes else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func___builtin_sinl_use=no + acl_cv_prog_gnu_ld=no fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu +fi +echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5 +echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6 +with_gnu_ld=$acl_cv_prog_gnu_ld -fi - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6 - if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5 -echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then + echo "$as_me:$LINENO: checking for shared library run path origin" >&5 +echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6 +if test "${acl_cv_rpath+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -int -main () -{ - __builtin_sinl(0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_sinl_link=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 + CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ + ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh + . ./conftest.sh + rm -f ./conftest.sh + acl_cv_rpath=done -glibcxx_cv_func___builtin_sinl_link=no fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext +echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5 +echo "${ECHO_T}$acl_cv_rpath" >&6 + wl="$acl_cv_wl" + libext="$acl_cv_libext" + shlibext="$acl_cv_shlibext" + hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" + hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" + hardcode_direct="$acl_cv_hardcode_direct" + hardcode_minus_L="$acl_cv_hardcode_minus_L" + # Check whether --enable-rpath or --disable-rpath was given. +if test "${enable_rpath+set}" = set; then + enableval="$enable_rpath" + : +else + enable_rpath=yes +fi; -fi - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6 - if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_SINL 1 -_ACEOF - fi - fi + use_additional=yes + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" - echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5 -echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu +# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given. +if test "${with_libiconv_prefix+set}" = set; then + withval="$with_libiconv_prefix" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -int -main () -{ - __builtin_cosf(0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_cosf_use=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 + if test "X$withval" = "Xno"; then + use_additional=no + else + if test "X$withval" = "X"; then -glibcxx_cv_func___builtin_cosf_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" -fi + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6 - if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5 -echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else + else + additional_includedir="$withval/include" + additional_libdir="$withval/lib" + fi + fi - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -int -main () -{ - __builtin_cosf(0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_cosf_link=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func___builtin_cosf_link=no -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - -fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6 - - if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then - -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_COSF 1 -_ACEOF - - fi - - fi - - - echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5 -echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -int -main () -{ - __builtin_cos(0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_cos_use=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func___builtin_cos_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6 - if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5 -echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -int -main () -{ - __builtin_cos(0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_cos_link=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func___builtin_cos_link=no -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - -fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6 - - if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then - -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_COS 1 -_ACEOF - - fi - - fi - - - echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5 -echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -int -main () -{ - __builtin_cosl(0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_cosl_use=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func___builtin_cosl_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6 - if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5 -echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -int -main () -{ - __builtin_cosl(0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_cosl_link=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func___builtin_cosl_link=no -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - -fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6 - - if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then - -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_COSL 1 -_ACEOF - - fi - - fi - - - - -echo "$as_me:$LINENO: checking for main in -lm" >&5 -echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 -if test "${ac_cv_lib_m_main+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lm $LIBS" -if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - - -int -main () -{ -main (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_lib_m_main=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -ac_cv_lib_m_main=no -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 -echo "${ECHO_T}$ac_cv_lib_m_main" >&6 -if test $ac_cv_lib_m_main = yes; then - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBM 1 -_ACEOF - - LIBS="-lm $LIBS" - -fi - - -for ac_func in copysignf -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif - -int -main () -{ -return f != $ac_func; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -eval "$as_ac_var=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -else - LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo" -fi -done - - - -for ac_func in __signbit -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif - -int -main () -{ -return f != $ac_func; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -eval "$as_ac_var=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -else - LIBMATHOBJS="$LIBMATHOBJS signbit.lo" -fi -done - - - -for ac_func in __signbitf -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif - -int -main () -{ -return f != $ac_func; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -eval "$as_ac_var=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -else - LIBMATHOBJS="$LIBMATHOBJS signbitf.lo" -fi -done - - - if test x$ac_cv_func_copysignl = x"yes"; then - -for ac_func in __signbitl -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif - -int -main () -{ -return f != $ac_func; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -eval "$as_ac_var=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -else - LIBMATHOBJS="$LIBMATHOBJS signbitl.lo" -fi -done - - fi - - # Used in libmath/Makefile.am. - if test -n "$LIBMATHOBJS"; then - need_libmath=yes - fi - - - - ac_test_CXXFLAGS="${CXXFLAGS+set}" - ac_save_CXXFLAGS="$CXXFLAGS" - CXXFLAGS='-fno-builtin -D_GNU_SOURCE' - - - echo "$as_me:$LINENO: checking for strtold declaration" >&5 -echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_strtold_use+set} != xset; then - if test "${glibcxx_cv_func_strtold_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -int -main () -{ - strtold(0, 0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func_strtold_use=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func_strtold_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6 - if test x$glibcxx_cv_func_strtold_use = x"yes"; then - -for ac_func in strtold -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif - -int -main () -{ -return f != $ac_func; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -eval "$as_ac_var=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - fi - - - - - - echo "$as_me:$LINENO: checking for strtof declaration" >&5 -echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_strtof_use+set} != xset; then - if test "${glibcxx_cv_func_strtof_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -int -main () -{ - strtof(0, 0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func_strtof_use=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func_strtof_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6 - if test x$glibcxx_cv_func_strtof_use = x"yes"; then - -for ac_func in strtof -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif - -int -main () -{ -return f != $ac_func; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -eval "$as_ac_var=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - fi - - - - - - CXXFLAGS="$ac_save_CXXFLAGS" - - - # For dev/random and dev/urandom for TR1. - - - echo "$as_me:$LINENO: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5 -echo $ECHO_N "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... $ECHO_C" >&6 - if test "${glibcxx_cv_random_tr1+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - if test -r /dev/random && test -r /dev/urandom; then - glibcxx_cv_random_tr1=yes; - else - glibcxx_cv_random_tr1=no; - fi - -fi - - echo "$as_me:$LINENO: result: $glibcxx_cv_random_tr1" >&5 -echo "${ECHO_T}$glibcxx_cv_random_tr1" >&6 - - if test x"$glibcxx_cv_random_tr1" = x"yes"; then - -cat >>confdefs.h <<\_ACEOF -#define _GLIBCXX_USE_RANDOM_TR1 1 -_ACEOF - - fi - - - - # For TLS support. - - # Check whether --enable-tls or --disable-tls was given. -if test "${enable_tls+set}" = set; then - enableval="$enable_tls" - - case "$enableval" in - yes|no) ;; - *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5 -echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;} - { (exit 1); exit 1; }; } ;; - esac - -else - enable_tls=yes -fi; - - echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5 -echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6 -if test "${gcc_cv_have_tls+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - if test "$cross_compiling" = yes; then - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -__thread int a; int b; int main() { return a = b; } -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - gcc_cv_have_tls=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -gcc_cv_have_tls=no -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - - -else - cat >conftest.$ac_ext <<_ACEOF -__thread int a; int b; int main() { return a = b; } -_ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - chktls_save_LDFLAGS="$LDFLAGS" - LDFLAGS="-static $LDFLAGS" - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -int main() { return 0; } -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - if test "$cross_compiling" = yes; then - { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling -See \`config.log' for more details." >&5 -echo "$as_me: error: cannot run test program while cross compiling -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; }; } -else - cat >conftest.$ac_ext <<_ACEOF -__thread int a; int b; int main() { return a = b; } -_ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - gcc_cv_have_tls=yes -else - echo "$as_me: program exited with status $ac_status" >&5 -echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -( exit $ac_status ) -gcc_cv_have_tls=no -fi -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext -fi -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -gcc_cv_have_tls=yes -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - LDFLAGS="$chktls_save_LDFLAGS" - if test $gcc_cv_have_tls = yes; then - chktls_save_CFLAGS="$CFLAGS" - thread_CFLAGS=failed - for flag in '' '-pthread' '-lpthread'; do - CFLAGS="$flag $chktls_save_CFLAGS" - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - void *g(void *d) { return NULL; } -int -main () -{ -pthread_t t; pthread_create(&t,NULL,g,NULL); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - thread_CFLAGS="$flag" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - if test "X$thread_CFLAGS" != Xfailed; then - break - fi - done - CFLAGS="$chktls_save_CFLAGS" - if test "X$thread_CFLAGS" != Xfailed; then - CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS" - if test "$cross_compiling" = yes; then - { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling -See \`config.log' for more details." >&5 -echo "$as_me: error: cannot run test program while cross compiling -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; }; } -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - __thread int a; - static int *a_in_other_thread; - static void * - thread_func (void *arg) - { - a_in_other_thread = &a; - return (void *)0; - } -int -main () -{ -pthread_t thread; - void *thread_retval; - int *a_in_main_thread; - if (pthread_create (&thread, (pthread_attr_t *)0, - thread_func, (void *)0)) - return 0; - a_in_main_thread = &a; - if (pthread_join (thread, &thread_retval)) - return 0; - return (a_in_other_thread == a_in_main_thread); - ; - return 0; -} -_ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - gcc_cv_have_tls=yes -else - echo "$as_me: program exited with status $ac_status" >&5 -echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -( exit $ac_status ) -gcc_cv_have_tls=no -fi -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext -fi - CFLAGS="$chktls_save_CFLAGS" - fi - fi -else - echo "$as_me: program exited with status $ac_status" >&5 -echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -( exit $ac_status ) -gcc_cv_have_tls=no -fi -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext -fi -fi -echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5 -echo "${ECHO_T}$gcc_cv_have_tls" >&6 - if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then - -cat >>confdefs.h <<\_ACEOF -#define HAVE_TLS 1 -_ACEOF - - fi - - # For _Unwind_GetIPInfo. - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - ac_save_CXXFLAGS="$CXXFLAGS" - CXXFLAGS="$CXXFLAGS -fno-exceptions" - echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5 -echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6 - if test "${gcc_cv_getipinfo+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -extern "C" { extern void _Unwind_GetIPInfo(); } -int -main () -{ -_Unwind_GetIPInfo(); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - gcc_cv_getipinfo=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -gcc_cv_getipinfo=no -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - -fi - - if test $gcc_cv_getipinfo = yes; then - -cat >>confdefs.h <<\_ACEOF -#define HAVE_GETIPINFO 1 -_ACEOF - - fi - echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5 -echo "${ECHO_T}$gcc_cv_getipinfo" >&6 - CXXFLAGS="$ac_save_CXXFLAGS" - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - - - # For iconv support. - - if test "X$prefix" = "XNONE"; then - acl_final_prefix="$ac_default_prefix" - else - acl_final_prefix="$prefix" - fi - if test "X$exec_prefix" = "XNONE"; then - acl_final_exec_prefix='${prefix}' - else - acl_final_exec_prefix="$exec_prefix" - fi - acl_save_prefix="$prefix" - prefix="$acl_final_prefix" - eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" - prefix="$acl_save_prefix" - - -# Check whether --with-gnu-ld or --without-gnu-ld was given. -if test "${with_gnu_ld+set}" = set; then - withval="$with_gnu_ld" - test "$withval" = no || with_gnu_ld=yes -else - with_gnu_ld=no -fi; -# Prepare PATH_SEPARATOR. -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - echo "#! /bin/sh" >conf$$.sh - echo "exit 0" >>conf$$.sh - chmod +x conf$$.sh - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then - PATH_SEPARATOR=';' - else - PATH_SEPARATOR=: - fi - rm -f conf$$.sh -fi -ac_prog=ld -if test "$GCC" = yes; then - # Check if gcc -print-prog-name=ld gives a path. - echo "$as_me:$LINENO: checking for ld used by GCC" >&5 -echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6 - case $host in - *-*-mingw*) - # gcc leaves a trailing carriage return which upsets mingw - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; - *) - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; - esac - case $ac_prog in - # Accept absolute paths. - [\\/]* | [A-Za-z]:[\\/]*) - re_direlt='/[^/][^/]*/\.\./' - # Canonicalize the path of ld - ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` - while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do - ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` - done - test -z "$LD" && LD="$ac_prog" - ;; - "") - # If it fails, then pretend we aren't using GCC. - ac_prog=ld - ;; - *) - # If it is relative, then search for the first ld in PATH. - with_gnu_ld=unknown - ;; - esac -elif test "$with_gnu_ld" = yes; then - echo "$as_me:$LINENO: checking for GNU ld" >&5 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 -else - echo "$as_me:$LINENO: checking for non-GNU ld" >&5 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 -fi -if test "${acl_cv_path_LD+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -z "$LD"; then - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" - for ac_dir in $PATH; do - test -z "$ac_dir" && ac_dir=. - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then - acl_cv_path_LD="$ac_dir/$ac_prog" - # Check to see if the program is GNU ld. I'd rather use --version, - # but apparently some GNU ld's only accept -v. - # Break only if it was the GNU/non-GNU ld that we prefer. - if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then - test "$with_gnu_ld" != no && break - else - test "$with_gnu_ld" != yes && break - fi - fi - done - IFS="$ac_save_ifs" -else - acl_cv_path_LD="$LD" # Let the user override the test with a path. -fi -fi - -LD="$acl_cv_path_LD" -if test -n "$LD"; then - echo "$as_me:$LINENO: result: $LD" >&5 -echo "${ECHO_T}$LD" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi -test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 -echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} - { (exit 1); exit 1; }; } -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 -if test "${acl_cv_prog_gnu_ld+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - # I'd rather use --version here, but apparently some GNU ld's only accept -v. -if $LD -v 2>&1 &5; then - acl_cv_prog_gnu_ld=yes -else - acl_cv_prog_gnu_ld=no -fi -fi -echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5 -echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6 -with_gnu_ld=$acl_cv_prog_gnu_ld - - - - echo "$as_me:$LINENO: checking for shared library run path origin" >&5 -echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6 -if test "${acl_cv_rpath+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ - ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh - . ./conftest.sh - rm -f ./conftest.sh - acl_cv_rpath=done - -fi -echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5 -echo "${ECHO_T}$acl_cv_rpath" >&6 - wl="$acl_cv_wl" - libext="$acl_cv_libext" - shlibext="$acl_cv_shlibext" - hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" - hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" - hardcode_direct="$acl_cv_hardcode_direct" - hardcode_minus_L="$acl_cv_hardcode_minus_L" - # Check whether --enable-rpath or --disable-rpath was given. -if test "${enable_rpath+set}" = set; then - enableval="$enable_rpath" - : -else - enable_rpath=yes -fi; - - - - - - - - use_additional=yes - - acl_save_prefix="$prefix" - prefix="$acl_final_prefix" - acl_save_exec_prefix="$exec_prefix" - exec_prefix="$acl_final_exec_prefix" - - eval additional_includedir=\"$includedir\" - eval additional_libdir=\"$libdir\" - - exec_prefix="$acl_save_exec_prefix" - prefix="$acl_save_prefix" - - -# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given. -if test "${with_libiconv_prefix+set}" = set; then - withval="$with_libiconv_prefix" - - if test "X$withval" = "Xno"; then - use_additional=no - else - if test "X$withval" = "X"; then - - acl_save_prefix="$prefix" - prefix="$acl_final_prefix" - acl_save_exec_prefix="$exec_prefix" - exec_prefix="$acl_final_exec_prefix" - - eval additional_includedir=\"$includedir\" - eval additional_libdir=\"$libdir\" - - exec_prefix="$acl_save_exec_prefix" - prefix="$acl_save_prefix" - - else - additional_includedir="$withval/include" - additional_libdir="$withval/lib" - fi - fi - -fi; - LIBICONV= - LTLIBICONV= - INCICONV= - rpathdirs= - ltrpathdirs= - names_already_handled= - names_next_round='iconv ' - while test -n "$names_next_round"; do - names_this_round="$names_next_round" - names_next_round= - for name in $names_this_round; do - already_handled= - for n in $names_already_handled; do - if test "$n" = "$name"; then - already_handled=yes - break - fi - done - if test -z "$already_handled"; then - names_already_handled="$names_already_handled $name" - uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` - eval value=\"\$HAVE_LIB$uppername\" - if test -n "$value"; then - if test "$value" = yes; then - eval value=\"\$LIB$uppername\" - test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" - eval value=\"\$LTLIB$uppername\" - test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" - else - : - fi - else - found_dir= - found_la= - found_so= - found_a= - if test $use_additional = yes; then - if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then - found_dir="$additional_libdir" - found_so="$additional_libdir/lib$name.$shlibext" - if test -f "$additional_libdir/lib$name.la"; then - found_la="$additional_libdir/lib$name.la" - fi - else - if test -f "$additional_libdir/lib$name.$libext"; then - found_dir="$additional_libdir" - found_a="$additional_libdir/lib$name.$libext" - if test -f "$additional_libdir/lib$name.la"; then - found_la="$additional_libdir/lib$name.la" - fi - fi - fi - fi - if test "X$found_dir" = "X"; then - for x in $LDFLAGS $LTLIBICONV; do - - acl_save_prefix="$prefix" - prefix="$acl_final_prefix" - acl_save_exec_prefix="$exec_prefix" - exec_prefix="$acl_final_exec_prefix" - eval x=\"$x\" - exec_prefix="$acl_save_exec_prefix" - prefix="$acl_save_prefix" - - case "$x" in - -L*) - dir=`echo "X$x" | sed -e 's/^X-L//'` - if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then - found_dir="$dir" - found_so="$dir/lib$name.$shlibext" - if test -f "$dir/lib$name.la"; then - found_la="$dir/lib$name.la" - fi - else - if test -f "$dir/lib$name.$libext"; then - found_dir="$dir" - found_a="$dir/lib$name.$libext" - if test -f "$dir/lib$name.la"; then - found_la="$dir/lib$name.la" - fi - fi - fi - ;; - esac - if test "X$found_dir" != "X"; then - break - fi - done - fi - if test "X$found_dir" != "X"; then - LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" - if test "X$found_so" != "X"; then - if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then - LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" - else - haveit= - for x in $ltrpathdirs; do - if test "X$x" = "X$found_dir"; then - haveit=yes - break - fi - done - if test -z "$haveit"; then - ltrpathdirs="$ltrpathdirs $found_dir" - fi - if test "$hardcode_direct" = yes; then - LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" - else - if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then - LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" - haveit= - for x in $rpathdirs; do - if test "X$x" = "X$found_dir"; then - haveit=yes - break - fi - done - if test -z "$haveit"; then - rpathdirs="$rpathdirs $found_dir" - fi - else - haveit= - for x in $LDFLAGS $LIBICONV; do - - acl_save_prefix="$prefix" - prefix="$acl_final_prefix" - acl_save_exec_prefix="$exec_prefix" - exec_prefix="$acl_final_exec_prefix" - eval x=\"$x\" - exec_prefix="$acl_save_exec_prefix" - prefix="$acl_save_prefix" - - if test "X$x" = "X-L$found_dir"; then - haveit=yes - break - fi - done - if test -z "$haveit"; then - LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" - fi - if test "$hardcode_minus_L" != no; then - LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" - else - LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" - fi - fi - fi - fi - else - if test "X$found_a" != "X"; then - LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" - else - LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" - fi - fi - additional_includedir= - case "$found_dir" in - */lib | */lib/) - basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'` - additional_includedir="$basedir/include" - ;; - esac - if test "X$additional_includedir" != "X"; then - if test "X$additional_includedir" != "X/usr/include"; then - haveit= - if test "X$additional_includedir" = "X/usr/local/include"; then - if test -n "$GCC"; then - case $host_os in - linux*) haveit=yes;; - esac - fi - fi - if test -z "$haveit"; then - for x in $CPPFLAGS $INCICONV; do - - acl_save_prefix="$prefix" - prefix="$acl_final_prefix" - acl_save_exec_prefix="$exec_prefix" - exec_prefix="$acl_final_exec_prefix" - eval x=\"$x\" - exec_prefix="$acl_save_exec_prefix" - prefix="$acl_save_prefix" - - if test "X$x" = "X-I$additional_includedir"; then - haveit=yes - break - fi - done - if test -z "$haveit"; then - if test -d "$additional_includedir"; then - INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" - fi - fi - fi - fi - fi - if test -n "$found_la"; then - save_libdir="$libdir" - case "$found_la" in - */* | *\\*) . "$found_la" ;; - *) . "./$found_la" ;; - esac - libdir="$save_libdir" - for dep in $dependency_libs; do - case "$dep" in - -L*) - additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` - if test "X$additional_libdir" != "X/usr/lib"; then - haveit= - if test "X$additional_libdir" = "X/usr/local/lib"; then - if test -n "$GCC"; then - case $host_os in - linux*) haveit=yes;; - esac - fi - fi - if test -z "$haveit"; then - haveit= - for x in $LDFLAGS $LIBICONV; do - - acl_save_prefix="$prefix" - prefix="$acl_final_prefix" - acl_save_exec_prefix="$exec_prefix" - exec_prefix="$acl_final_exec_prefix" - eval x=\"$x\" - exec_prefix="$acl_save_exec_prefix" - prefix="$acl_save_prefix" - - if test "X$x" = "X-L$additional_libdir"; then - haveit=yes - break - fi - done - if test -z "$haveit"; then - if test -d "$additional_libdir"; then - LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" - fi - fi - haveit= - for x in $LDFLAGS $LTLIBICONV; do - - acl_save_prefix="$prefix" - prefix="$acl_final_prefix" - acl_save_exec_prefix="$exec_prefix" - exec_prefix="$acl_final_exec_prefix" - eval x=\"$x\" - exec_prefix="$acl_save_exec_prefix" - prefix="$acl_save_prefix" - - if test "X$x" = "X-L$additional_libdir"; then - haveit=yes - break - fi - done - if test -z "$haveit"; then - if test -d "$additional_libdir"; then - LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" - fi - fi - fi - fi - ;; - -R*) - dir=`echo "X$dep" | sed -e 's/^X-R//'` - if test "$enable_rpath" != no; then - haveit= - for x in $rpathdirs; do - if test "X$x" = "X$dir"; then - haveit=yes - break - fi - done - if test -z "$haveit"; then - rpathdirs="$rpathdirs $dir" - fi - haveit= - for x in $ltrpathdirs; do - if test "X$x" = "X$dir"; then - haveit=yes - break - fi - done - if test -z "$haveit"; then - ltrpathdirs="$ltrpathdirs $dir" - fi - fi - ;; - -l*) - names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` - ;; - *.la) - names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` - ;; - *) - LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" - LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" - ;; - esac - done - fi - else - LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" - LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" - fi - fi - fi - done - done - if test "X$rpathdirs" != "X"; then - if test -n "$hardcode_libdir_separator"; then - alldirs= - for found_dir in $rpathdirs; do - alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" - done - acl_save_libdir="$libdir" - libdir="$alldirs" - eval flag=\"$hardcode_libdir_flag_spec\" - libdir="$acl_save_libdir" - LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" - else - for found_dir in $rpathdirs; do - acl_save_libdir="$libdir" - libdir="$found_dir" - eval flag=\"$hardcode_libdir_flag_spec\" - libdir="$acl_save_libdir" - LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" - done - fi - fi - if test "X$ltrpathdirs" != "X"; then - for found_dir in $ltrpathdirs; do - LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" - done - fi - - - - - - - - am_save_CPPFLAGS="$CPPFLAGS" - - for element in $INCICONV; do - haveit= - for x in $CPPFLAGS; do - - acl_save_prefix="$prefix" - prefix="$acl_final_prefix" - acl_save_exec_prefix="$exec_prefix" - exec_prefix="$acl_final_exec_prefix" - eval x=\"$x\" - exec_prefix="$acl_save_exec_prefix" - prefix="$acl_save_prefix" - - if test "X$x" = "X$element"; then - haveit=yes - break - fi - done - if test -z "$haveit"; then - CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" - fi - done - - - echo "$as_me:$LINENO: checking for iconv" >&5 -echo $ECHO_N "checking for iconv... $ECHO_C" >&6 -if test "${am_cv_func_iconv+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - am_cv_func_iconv="no, consider installing GNU libiconv" - am_cv_lib_iconv=no - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -#include -int -main () -{ -iconv_t cd = iconv_open("",""); - iconv(cd,NULL,NULL,NULL,NULL); - iconv_close(cd); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - am_cv_func_iconv=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - if test "$am_cv_func_iconv" != yes; then - am_save_LIBS="$LIBS" - LIBS="$LIBS $LIBICONV" - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -#include -int -main () -{ -iconv_t cd = iconv_open("",""); - iconv(cd,NULL,NULL,NULL,NULL); - iconv_close(cd); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - am_cv_lib_iconv=yes - am_cv_func_iconv=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - LIBS="$am_save_LIBS" - fi - -fi -echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5 -echo "${ECHO_T}$am_cv_func_iconv" >&6 - if test "$am_cv_func_iconv" = yes; then - -cat >>confdefs.h <<\_ACEOF -#define HAVE_ICONV 1 -_ACEOF - - fi - if test "$am_cv_lib_iconv" = yes; then - echo "$as_me:$LINENO: checking how to link with libiconv" >&5 -echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6 - echo "$as_me:$LINENO: result: $LIBICONV" >&5 -echo "${ECHO_T}$LIBICONV" >&6 - else - CPPFLAGS="$am_save_CPPFLAGS" - LIBICONV= - LTLIBICONV= - fi - - - - if test "$am_cv_func_iconv" = yes; then - echo "$as_me:$LINENO: checking for iconv declaration" >&5 -echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6 - if test "${am_cv_proto_iconv+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -#include -#include -extern -#ifdef __cplusplus -"C" -#endif -#if defined(__STDC__) || defined(__cplusplus) -size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); -#else -size_t iconv(); -#endif - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - am_cv_proto_iconv_arg1="" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -am_cv_proto_iconv_arg1="const" -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - 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);" -fi - - am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` - echo "$as_me:$LINENO: result: ${ac_t:- - }$am_cv_proto_iconv" >&5 -echo "${ECHO_T}${ac_t:- - }$am_cv_proto_iconv" >&6 - -cat >>confdefs.h <<_ACEOF -#define ICONV_CONST $am_cv_proto_iconv_arg1 -_ACEOF - - fi - - -else - - # This lets us hard-code the functionality we know we'll have in the cross - # target environment. "Let" is a sugar-coated word placed on an especially - # dull and tedious hack, actually. - # - # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros - # that involve linking, can't be used: - # "cannot open sim-crt0.o" - # "cannot open crt0.o" - # etc. All this is because there currently exists no unified, consistent - # way for top level CC information to be passed down to target directories: - # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc. - # When all of that is done, all of this hokey, excessive AC_DEFINE junk for - # crosses can be removed. - - # If Canadian cross, then don't pick up tools from the build directory. - # Used only in GLIBCXX_EXPORT_INCLUDES. - if test -n "$with_cross_host" && - test x"$build_alias" != x"$with_cross_host" && - test x"$build" != x"$target"; - then - CANADIAN=yes - else - CANADIAN=no - fi - - # Construct crosses by hand, eliminating bits that need ld... - # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT - # GLIBCXX_CHECK_MATH_SUPPORT - - # First, test for "known" system libraries. We may be using newlib even - # on a hosted environment. - if test "x${with_newlib}" = "xyes"; then - os_include_dir="os/newlib" - cat >>confdefs.h <<\_ACEOF -#define HAVE_HYPOT 1 -_ACEOF - - - # GLIBCXX_CHECK_STDLIB_SUPPORT - cat >>confdefs.h <<\_ACEOF -#define HAVE_STRTOF 1 -_ACEOF - - - cat >>confdefs.h <<\_ACEOF -#define HAVE_ACOSF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_ASINF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_ATAN2F 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_ATANF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_CEILF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_COPYSIGN 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_COPYSIGNF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_COSF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_COSHF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_EXPF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_FABSF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_FLOORF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_FMODF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_FREXPF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_LDEXPF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_LOG10F 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_LOGF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_MODFF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_POWF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_SINF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_SINHF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_SQRTF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_TANF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_TANHF 1 -_ACEOF - - - cat >>confdefs.h <<\_ACEOF -#define HAVE_ICONV 1 -_ACEOF - - else - -# Base decisions on target environment. -case "${host}" in - arm*-*-symbianelf*) - # This is a freestanding configuration; there is nothing to do here. - ;; - - mips*-sde-elf*) - # These definitions are for the SDE C library rather than newlib. - SECTION_FLAGS='-ffunction-sections -fdata-sections' - - - # All these tests are for C++; save the language and the compiler flags. - # The CXXFLAGS thing is suspicious, but based on similar bits previously - # found in GLIBCXX_CONFIGURE. - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - ac_test_CXXFLAGS="${CXXFLAGS+set}" - ac_save_CXXFLAGS="$CXXFLAGS" - - # Check for maintainer-mode bits. - if test x"$USE_MAINTAINER_MODE" = xno; then - WERROR='' - else - WERROR='-Werror' - fi - - # Check for -ffunction-sections -fdata-sections - echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5 -echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6 - CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections' - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -int foo; void bar() { }; -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_fdsections=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -ac_fdsections=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - if test "$ac_test_CXXFLAGS" = set; then - CXXFLAGS="$ac_save_CXXFLAGS" - else - # this is the suspicious part - CXXFLAGS='' - fi - if test x"$ac_fdsections" = x"yes"; then - SECTION_FLAGS='-ffunction-sections -fdata-sections' - fi - echo "$as_me:$LINENO: result: $ac_fdsections" >&5 -echo "${ECHO_T}$ac_fdsections" >&6 - - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - - - - - # If we're not using GNU ld, then there's no point in even trying these - # tests. Check for that first. We should have already tested for gld - # by now (in libtool), but require it now just to be safe... - test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS='' - test -z "$OPT_LDFLAGS" && OPT_LDFLAGS='' - - - - # The name set by libtool depends on the version of libtool. Shame on us - # for depending on an impl detail, but c'est la vie. Older versions used - # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on - # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually - # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't - # set (hence we're using an older libtool), then set it. - if test x${with_gnu_ld+set} != xset; then - if test x${ac_cv_prog_gnu_ld+set} != xset; then - # We got through "ac_require(ac_prog_ld)" and still not set? Huh? - with_gnu_ld=no - else - with_gnu_ld=$ac_cv_prog_gnu_ld - fi - fi - - # Start by getting the version number. I think the libtool test already - # does some of this, but throws away the result. - glibcxx_ld_is_gold=no - if test x"$with_gnu_ld" = x"yes"; then - echo "$as_me:$LINENO: checking for ld version" >&5 -echo $ECHO_N "checking for ld version... $ECHO_C" >&6 - - if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then - glibcxx_ld_is_gold=yes - fi - ldver=`$LD --version 2>/dev/null | head -1 | \ - sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'` - - glibcxx_gnu_ld_version=`echo $ldver | \ - $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'` - echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5 -echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6 - fi - - # Set --gc-sections. - glibcxx_have_gc_sections=no - if test "$glibcxx_ld_is_gold" = "yes"; then - if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then - glibcxx_have_gc_sections=yes - fi - else - glibcxx_gcsections_min_ld=21602 - if test x"$with_gnu_ld" = x"yes" && - test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then - glibcxx_have_gc_sections=yes - fi - fi - if test "$glibcxx_have_gc_sections" = "yes"; then - # Sufficiently young GNU ld it is! Joy and bunny rabbits! - # NB: This flag only works reliably after 2.16.1. Configure tests - # for this are difficult, so hard wire a value that should work. - - ac_test_CFLAGS="${CFLAGS+set}" - ac_save_CFLAGS="$CFLAGS" - CFLAGS='-Wl,--gc-sections' - - # Check for -Wl,--gc-sections - echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5 -echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6 - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - int one(void) { return 1; } - int two(void) { return 2; } - -int -main () -{ - two(); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_gcsections=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -ac_gcsections=no -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - if test "$ac_gcsections" = "yes"; then - rm -f conftest.c - touch conftest.c - if $CC -c conftest.c; then - if $LD --gc-sections -o conftest conftest.o 2>&1 | \ - grep "Warning: gc-sections option ignored" > /dev/null; then - ac_gcsections=no - fi - fi - rm -f conftest.c conftest.o conftest - fi - if test "$ac_gcsections" = "yes"; then - SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS" - fi - echo "$as_me:$LINENO: result: $ac_gcsections" >&5 -echo "${ECHO_T}$ac_gcsections" >&6 - - if test "$ac_test_CFLAGS" = set; then - CFLAGS="$ac_save_CFLAGS" - else - # this is the suspicious part - CFLAGS='' - fi - fi - - # Set -z,relro. - # Note this is only for shared objects. - ac_ld_relro=no - if test x"$with_gnu_ld" = x"yes"; then - echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5 -echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6 - cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"` - if test -n "$cxx_z_relo"; then - OPT_LDFLAGS="-Wl,-z,relro" - ac_ld_relro=yes - fi - echo "$as_me:$LINENO: result: $ac_ld_relro" >&5 -echo "${ECHO_T}$ac_ld_relro" >&6 - fi - - # Set linker optimization flags. - if test x"$with_gnu_ld" = x"yes"; then - OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS" - fi - - - - - - ac_test_CXXFLAGS="${CXXFLAGS+set}" - ac_save_CXXFLAGS="$CXXFLAGS" - CXXFLAGS='-fno-builtin -D_GNU_SOURCE' - - echo "$as_me:$LINENO: checking for sin in -lm" >&5 -echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6 -if test "${ac_cv_lib_m_sin+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lm $LIBS" -if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char sin (); -int -main () -{ -sin (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_lib_m_sin=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -ac_cv_lib_m_sin=no -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5 -echo "${ECHO_T}$ac_cv_lib_m_sin" >&6 -if test $ac_cv_lib_m_sin = yes; then - libm="-lm" -fi - - ac_save_LIBS="$LIBS" - LIBS="$LIBS $libm" - - - - echo "$as_me:$LINENO: checking for isinf declaration" >&5 -echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_isinf_use+set} != xset; then - if test "${glibcxx_cv_func_isinf_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - isinf(0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func_isinf_use=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func_isinf_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6 - - if test x$glibcxx_cv_func_isinf_use = x"yes"; then - -for ac_func in isinf -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif - -int -main () -{ -return f != $ac_func; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -eval "$as_ac_var=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - else - - echo "$as_me:$LINENO: checking for _isinf declaration" >&5 -echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__isinf_use+set} != xset; then - if test "${glibcxx_cv_func__isinf_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _isinf(0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func__isinf_use=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func__isinf_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6 - - if test x$glibcxx_cv_func__isinf_use = x"yes"; then - -for ac_func in _isinf -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif - -int -main () -{ -return f != $ac_func; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -eval "$as_ac_var=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - fi - fi - - - - - - - echo "$as_me:$LINENO: checking for isnan declaration" >&5 -echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_isnan_use+set} != xset; then - if test "${glibcxx_cv_func_isnan_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - isnan(0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func_isnan_use=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func_isnan_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6 - - if test x$glibcxx_cv_func_isnan_use = x"yes"; then - -for ac_func in isnan -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif - -int -main () -{ -return f != $ac_func; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -eval "$as_ac_var=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - else - - echo "$as_me:$LINENO: checking for _isnan declaration" >&5 -echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__isnan_use+set} != xset; then - if test "${glibcxx_cv_func__isnan_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _isnan(0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func__isnan_use=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func__isnan_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6 - - if test x$glibcxx_cv_func__isnan_use = x"yes"; then - -for ac_func in _isnan -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif - -int -main () -{ -return f != $ac_func; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -eval "$as_ac_var=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - fi - fi - - - - - - - echo "$as_me:$LINENO: checking for finite declaration" >&5 -echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_finite_use+set} != xset; then - if test "${glibcxx_cv_func_finite_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - finite(0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func_finite_use=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func_finite_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6 - - if test x$glibcxx_cv_func_finite_use = x"yes"; then - -for ac_func in finite -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif - -int -main () -{ -return f != $ac_func; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -eval "$as_ac_var=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - else - - echo "$as_me:$LINENO: checking for _finite declaration" >&5 -echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__finite_use+set} != xset; then - if test "${glibcxx_cv_func__finite_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _finite(0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func__finite_use=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func__finite_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6 - - if test x$glibcxx_cv_func__finite_use = x"yes"; then - -for ac_func in _finite -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif - -int -main () -{ -return f != $ac_func; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -eval "$as_ac_var=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - fi - fi - - - - - - - echo "$as_me:$LINENO: checking for copysign declaration" >&5 -echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_copysign_use+set} != xset; then - if test "${glibcxx_cv_func_copysign_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -int -main () -{ - copysign(0, 0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func_copysign_use=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func_copysign_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6 - - if test x$glibcxx_cv_func_copysign_use = x"yes"; then - -for ac_func in copysign -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif - -int -main () -{ -return f != $ac_func; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -eval "$as_ac_var=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - else - - echo "$as_me:$LINENO: checking for _copysign declaration" >&5 -echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__copysign_use+set} != xset; then - if test "${glibcxx_cv_func__copysign_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -int -main () -{ - _copysign(0, 0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func__copysign_use=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func__copysign_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6 - - if test x$glibcxx_cv_func__copysign_use = x"yes"; then - -for ac_func in _copysign -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif - -int -main () -{ -return f != $ac_func; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -eval "$as_ac_var=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - fi - fi - - - - - - - echo "$as_me:$LINENO: checking for sincos declaration" >&5 -echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_sincos_use+set} != xset; then - if test "${glibcxx_cv_func_sincos_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -int -main () -{ - sincos(0, 0, 0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func_sincos_use=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func_sincos_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6 - - if test x$glibcxx_cv_func_sincos_use = x"yes"; then - -for ac_func in sincos -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif - -int -main () -{ -return f != $ac_func; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -eval "$as_ac_var=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - else - - echo "$as_me:$LINENO: checking for _sincos declaration" >&5 -echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__sincos_use+set} != xset; then - if test "${glibcxx_cv_func__sincos_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -int -main () -{ - _sincos(0, 0, 0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func__sincos_use=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func__sincos_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6 - - if test x$glibcxx_cv_func__sincos_use = x"yes"; then - -for ac_func in _sincos -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif - -int -main () -{ -return f != $ac_func; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -eval "$as_ac_var=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - fi - fi - - - - - - - echo "$as_me:$LINENO: checking for fpclass declaration" >&5 -echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_fpclass_use+set} != xset; then - if test "${glibcxx_cv_func_fpclass_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - fpclass(0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func_fpclass_use=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func_fpclass_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6 - - if test x$glibcxx_cv_func_fpclass_use = x"yes"; then - -for ac_func in fpclass -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif - -int -main () -{ -return f != $ac_func; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -eval "$as_ac_var=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - else - - echo "$as_me:$LINENO: checking for _fpclass declaration" >&5 -echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__fpclass_use+set} != xset; then - if test "${glibcxx_cv_func__fpclass_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _fpclass(0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func__fpclass_use=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func__fpclass_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6 - - if test x$glibcxx_cv_func__fpclass_use = x"yes"; then - -for ac_func in _fpclass -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif - -int -main () -{ -return f != $ac_func; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -eval "$as_ac_var=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - fi - fi - - - - - - - echo "$as_me:$LINENO: checking for qfpclass declaration" >&5 -echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then - if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - qfpclass(0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func_qfpclass_use=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func_qfpclass_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6 - - if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then - -for ac_func in qfpclass -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif - -int -main () -{ -return f != $ac_func; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -eval "$as_ac_var=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - else - - echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5 -echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then - if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _qfpclass(0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func__qfpclass_use=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func__qfpclass_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6 - - if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then - -for ac_func in _qfpclass -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif - -int -main () -{ -return f != $ac_func; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -eval "$as_ac_var=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - fi - fi - - - - - - - echo "$as_me:$LINENO: checking for hypot declaration" >&5 -echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_hypot_use+set} != xset; then - if test "${glibcxx_cv_func_hypot_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -int -main () -{ - hypot(0, 0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func_hypot_use=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func_hypot_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6 - - if test x$glibcxx_cv_func_hypot_use = x"yes"; then - -for ac_func in hypot -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif - -int -main () -{ -return f != $ac_func; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -eval "$as_ac_var=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - else - - echo "$as_me:$LINENO: checking for _hypot declaration" >&5 -echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__hypot_use+set} != xset; then - if test "${glibcxx_cv_func__hypot_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -int -main () -{ - _hypot(0, 0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func__hypot_use=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func__hypot_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6 - - if test x$glibcxx_cv_func__hypot_use = x"yes"; then - -for ac_func in _hypot -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif - -int -main () -{ -return f != $ac_func; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -eval "$as_ac_var=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - fi - fi - - - - - - - echo "$as_me:$LINENO: checking for float trig functions" >&5 -echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6 - if test "${glibcxx_cv_func_float_trig_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -int -main () -{ -acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func_float_trig_use=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func_float_trig_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -fi - - echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6 - if test x$glibcxx_cv_func_float_trig_use = x"yes"; then - - - - - - - - - -for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif - -int -main () -{ -return f != $ac_func; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -eval "$as_ac_var=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - else - echo "$as_me:$LINENO: checking for _float trig functions" >&5 -echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6 - if test "${glibcxx_cv_func__float_trig_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -int -main () -{ -_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func__float_trig_use=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func__float_trig_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -fi - - echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6 - if test x$glibcxx_cv_func__float_trig_use = x"yes"; then - - - - - - - - - -for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif - -int -main () -{ -return f != $ac_func; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -eval "$as_ac_var=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - fi - fi - - - - - - - - - - - - - - - echo "$as_me:$LINENO: checking for float round functions" >&5 -echo $ECHO_N "checking for float round functions... $ECHO_C" >&6 - if test "${glibcxx_cv_func_float_round_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -int -main () -{ -ceilf (0); floorf (0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func_float_round_use=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func_float_round_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -fi - - echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6 - if test x$glibcxx_cv_func_float_round_use = x"yes"; then - - -for ac_func in ceilf floorf -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif - -int -main () -{ -return f != $ac_func; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -eval "$as_ac_var=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - else - echo "$as_me:$LINENO: checking for _float round functions" >&5 -echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6 - if test "${glibcxx_cv_func__float_round_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -int -main () -{ -_ceilf (0); _floorf (0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func__float_round_use=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func__float_round_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -fi - - echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6 - if test x$glibcxx_cv_func__float_round_use = x"yes"; then - - -for ac_func in _ceilf _floorf -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif - -int -main () -{ -return f != $ac_func; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -eval "$as_ac_var=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - fi - fi - - - - - - - - - echo "$as_me:$LINENO: checking for expf declaration" >&5 -echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_expf_use+set} != xset; then - if test "${glibcxx_cv_func_expf_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - expf(0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func_expf_use=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func_expf_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6 - - if test x$glibcxx_cv_func_expf_use = x"yes"; then - -for ac_func in expf -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif - -int -main () -{ -return f != $ac_func; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -eval "$as_ac_var=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - else - - echo "$as_me:$LINENO: checking for _expf declaration" >&5 -echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__expf_use+set} != xset; then - if test "${glibcxx_cv_func__expf_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _expf(0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func__expf_use=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func__expf_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6 - - if test x$glibcxx_cv_func__expf_use = x"yes"; then - -for ac_func in _expf -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif - -int -main () -{ -return f != $ac_func; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -eval "$as_ac_var=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - fi - fi - - - - - - - echo "$as_me:$LINENO: checking for isnanf declaration" >&5 -echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_isnanf_use+set} != xset; then - if test "${glibcxx_cv_func_isnanf_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - isnanf(0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func_isnanf_use=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func_isnanf_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6 - - if test x$glibcxx_cv_func_isnanf_use = x"yes"; then - -for ac_func in isnanf -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif - -int -main () -{ -return f != $ac_func; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -eval "$as_ac_var=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - else - - echo "$as_me:$LINENO: checking for _isnanf declaration" >&5 -echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__isnanf_use+set} != xset; then - if test "${glibcxx_cv_func__isnanf_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _isnanf(0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func__isnanf_use=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func__isnanf_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6 - - if test x$glibcxx_cv_func__isnanf_use = x"yes"; then - -for ac_func in _isnanf -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif - -int -main () -{ -return f != $ac_func; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -eval "$as_ac_var=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - fi - fi - - - - - - - echo "$as_me:$LINENO: checking for isinff declaration" >&5 -echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_isinff_use+set} != xset; then - if test "${glibcxx_cv_func_isinff_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - isinff(0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func_isinff_use=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func_isinff_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6 - - if test x$glibcxx_cv_func_isinff_use = x"yes"; then - -for ac_func in isinff -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif - -int -main () -{ -return f != $ac_func; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -eval "$as_ac_var=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - else - - echo "$as_me:$LINENO: checking for _isinff declaration" >&5 -echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__isinff_use+set} != xset; then - if test "${glibcxx_cv_func__isinff_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _isinff(0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func__isinff_use=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func__isinff_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6 - - if test x$glibcxx_cv_func__isinff_use = x"yes"; then - -for ac_func in _isinff -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif - -int -main () -{ -return f != $ac_func; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -eval "$as_ac_var=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - fi - fi - - - - - - - echo "$as_me:$LINENO: checking for atan2f declaration" >&5 -echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_atan2f_use+set} != xset; then - if test "${glibcxx_cv_func_atan2f_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -int -main () -{ - atan2f(0, 0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func_atan2f_use=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func_atan2f_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6 - - if test x$glibcxx_cv_func_atan2f_use = x"yes"; then - -for ac_func in atan2f -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif - -int -main () -{ -return f != $ac_func; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -eval "$as_ac_var=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - else - - echo "$as_me:$LINENO: checking for _atan2f declaration" >&5 -echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__atan2f_use+set} != xset; then - if test "${glibcxx_cv_func__atan2f_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -int -main () -{ - _atan2f(0, 0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func__atan2f_use=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func__atan2f_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6 - - if test x$glibcxx_cv_func__atan2f_use = x"yes"; then - -for ac_func in _atan2f -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif - -int -main () -{ -return f != $ac_func; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -eval "$as_ac_var=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - fi - fi - - - - - - - echo "$as_me:$LINENO: checking for fabsf declaration" >&5 -echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_fabsf_use+set} != xset; then - if test "${glibcxx_cv_func_fabsf_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - fabsf(0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func_fabsf_use=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func_fabsf_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6 - - if test x$glibcxx_cv_func_fabsf_use = x"yes"; then - -for ac_func in fabsf -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif - -int -main () -{ -return f != $ac_func; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -eval "$as_ac_var=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - else - - echo "$as_me:$LINENO: checking for _fabsf declaration" >&5 -echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__fabsf_use+set} != xset; then - if test "${glibcxx_cv_func__fabsf_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _fabsf(0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func__fabsf_use=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func__fabsf_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6 - - if test x$glibcxx_cv_func__fabsf_use = x"yes"; then - -for ac_func in _fabsf -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif - -int -main () -{ -return f != $ac_func; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -eval "$as_ac_var=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - fi - fi - - - - - - - echo "$as_me:$LINENO: checking for fmodf declaration" >&5 -echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_fmodf_use+set} != xset; then - if test "${glibcxx_cv_func_fmodf_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -int -main () -{ - fmodf(0, 0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func_fmodf_use=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func_fmodf_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6 - - if test x$glibcxx_cv_func_fmodf_use = x"yes"; then - -for ac_func in fmodf -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif - -int -main () -{ -return f != $ac_func; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -eval "$as_ac_var=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - else - - echo "$as_me:$LINENO: checking for _fmodf declaration" >&5 -echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__fmodf_use+set} != xset; then - if test "${glibcxx_cv_func__fmodf_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -int -main () -{ - _fmodf(0, 0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func__fmodf_use=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func__fmodf_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6 +fi; + LIBICONV= + LTLIBICONV= + INCICONV= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='iconv ' + while test -n "$names_next_round"; do + names_this_round="$names_next_round" + names_next_round= + for name in $names_this_round; do + already_handled= + for n in $names_already_handled; do + if test "$n" = "$name"; then + already_handled=yes + break + fi + done + if test -z "$already_handled"; then + names_already_handled="$names_already_handled $name" + uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` + eval value=\"\$HAVE_LIB$uppername\" + if test -n "$value"; then + if test "$value" = yes; then + eval value=\"\$LIB$uppername\" + test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" + else + : + fi + else + found_dir= + found_la= + found_so= + found_a= + if test $use_additional = yes; then + if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then + found_dir="$additional_libdir" + found_so="$additional_libdir/lib$name.$shlibext" + if test -f "$additional_libdir/lib$name.la"; then + found_la="$additional_libdir/lib$name.la" + fi + else + if test -f "$additional_libdir/lib$name.$libext"; then + found_dir="$additional_libdir" + found_a="$additional_libdir/lib$name.$libext" + if test -f "$additional_libdir/lib$name.la"; then + found_la="$additional_libdir/lib$name.la" + fi + fi + fi + fi + if test "X$found_dir" = "X"; then + for x in $LDFLAGS $LTLIBICONV; do - if test x$glibcxx_cv_func__fmodf_use = x"yes"; then + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" -for ac_func in _fmodf -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func + case "$x" in + -L*) + dir=`echo "X$x" | sed -e 's/^X-L//'` + if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then + found_dir="$dir" + found_so="$dir/lib$name.$shlibext" + if test -f "$dir/lib$name.la"; then + found_la="$dir/lib$name.la" + fi + else + if test -f "$dir/lib$name.$libext"; then + found_dir="$dir" + found_a="$dir/lib$name.$libext" + if test -f "$dir/lib$name.la"; then + found_la="$dir/lib$name.la" + fi + fi + fi + ;; + esac + if test "X$found_dir" != "X"; then + break + fi + done + fi + if test "X$found_dir" != "X"; then + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $found_dir" + fi + if test "$hardcode_direct" = yes; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $found_dir" + fi + else + haveit= + for x in $LDFLAGS $LIBICONV; do -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" -#ifdef __STDC__ -# include -#else -# include -#endif + if test "X$x" = "X-L$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" + fi + if test "$hardcode_minus_L" != no; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" + fi + fi + additional_includedir= + case "$found_dir" in + */lib | */lib/) + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'` + additional_includedir="$basedir/include" + ;; + esac + if test "X$additional_includedir" != "X"; then + if test "X$additional_includedir" != "X/usr/include"; then + haveit= + if test "X$additional_includedir" = "X/usr/local/include"; then + if test -n "$GCC"; then + case $host_os in + linux*) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + for x in $CPPFLAGS $INCICONV; do -#undef $ac_func + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif + if test "X$x" = "X-I$additional_includedir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_includedir"; then + INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" + fi + fi + fi + fi + fi + if test -n "$found_la"; then + save_libdir="$libdir" + case "$found_la" in + */* | *\\*) . "$found_la" ;; + *) . "./$found_la" ;; + esac + libdir="$save_libdir" + for dep in $dependency_libs; do + case "$dep" in + -L*) + additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` + if test "X$additional_libdir" != "X/usr/lib"; then + haveit= + if test "X$additional_libdir" = "X/usr/local/lib"; then + if test -n "$GCC"; then + case $host_os in + linux*) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + haveit= + for x in $LDFLAGS $LIBICONV; do -int -main () -{ -return f != $ac_func; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" -eval "$as_ac_var=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIBICONV; do -fi -done + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + fi + fi + ;; + -l*) + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` + ;; + *.la) + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` + ;; + *) + LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" + ;; + esac + done + fi + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" + fi + fi + fi + done + done + if test "X$rpathdirs" != "X"; then + if test -n "$hardcode_libdir_separator"; then + alldirs= + for found_dir in $rpathdirs; do + alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" + done + acl_save_libdir="$libdir" + libdir="$alldirs" + eval flag=\"$hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" + else + for found_dir in $rpathdirs; do + acl_save_libdir="$libdir" + libdir="$found_dir" + eval flag=\"$hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" + done fi fi + if test "X$ltrpathdirs" != "X"; then + for found_dir in $ltrpathdirs; do + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" + done + fi - echo "$as_me:$LINENO: checking for frexpf declaration" >&5 -echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_frexpf_use+set} != xset; then - if test "${glibcxx_cv_func_frexpf_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -int -main () -{ - frexpf(0, 0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func_frexpf_use=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_frexpf_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu + am_save_CPPFLAGS="$CPPFLAGS" + for element in $INCICONV; do + haveit= + for x in $CPPFLAGS; do -fi + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6 + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" + fi + done - if test x$glibcxx_cv_func_frexpf_use = x"yes"; then -for ac_func in frexpf -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then + echo "$as_me:$LINENO: checking for iconv" >&5 +echo $ECHO_N "checking for iconv... $ECHO_C" >&6 +if test "${am_cv_func_iconv+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - if test x$gcc_no_link = xyes; then + + am_cv_func_iconv="no, consider installing GNU libiconv" + am_cv_lib_iconv=no + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -50481,48 +41554,15 @@ cat >conftest.$ac_ext <<_ACEOF _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif - +/* end confdefs.h. */ +#include +#include int main () { -return f != $ac_func; +iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); ; return 0; } @@ -50549,170 +41589,134 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - eval "$as_ac_var=yes" + am_cv_func_iconv=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext + if test "$am_cv_func_iconv" != yes; then + am_save_LIBS="$LIBS" + LIBS="$LIBS $LIBICONV" + if test x$gcc_no_link = xyes; then + { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 +echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} + { (exit 1); exit 1; }; } fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - else - - echo "$as_me:$LINENO: checking for _frexpf declaration" >&5 -echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__frexpf_use+set} != xset; then - if test "${glibcxx_cv_func__frexpf_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF +cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +#include +#include int main () { - _frexpf(0, 0); +iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); ; return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' + { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__frexpf_use=yes + am_cv_lib_iconv=yes + am_cv_func_iconv=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__frexpf_use=no fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$am_save_LIBS" + fi fi +echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5 +echo "${ECHO_T}$am_cv_func_iconv" >&6 + if test "$am_cv_func_iconv" = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_ICONV 1 +_ACEOF fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6 + if test "$am_cv_lib_iconv" = yes; then + echo "$as_me:$LINENO: checking how to link with libiconv" >&5 +echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6 + echo "$as_me:$LINENO: result: $LIBICONV" >&5 +echo "${ECHO_T}$LIBICONV" >&6 + else + CPPFLAGS="$am_save_CPPFLAGS" + LIBICONV= + LTLIBICONV= + fi - if test x$glibcxx_cv_func__frexpf_use = x"yes"; then -for ac_func in _frexpf -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then + + if test "$am_cv_func_iconv" = yes; then + echo "$as_me:$LINENO: checking for iconv declaration" >&5 +echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6 + if test "${am_cv_proto_iconv+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF + + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func -/* Override any gcc2 internal prototype to avoid an error. */ +#include +#include +extern #ifdef __cplusplus -extern "C" -{ +"C" #endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me +#if defined(__STDC__) || defined(__cplusplus) +size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); #else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} +size_t iconv(); #endif int main () { -return f != $ac_func; + ; return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 @@ -50726,66 +41730,231 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' + { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - eval "$as_ac_var=yes" + am_cv_proto_iconv_arg1="" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -eval "$as_ac_var=no" +am_cv_proto_iconv_arg1="const" fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext + 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);" fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 + + am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` + echo "$as_me:$LINENO: result: ${ac_t:- + }$am_cv_proto_iconv" >&5 +echo "${ECHO_T}${ac_t:- + }$am_cv_proto_iconv" >&6 + +cat >>confdefs.h <<_ACEOF +#define ICONV_CONST $am_cv_proto_iconv_arg1 _ACEOF -fi -done + fi - fi + +else + + # This lets us hard-code the functionality we know we'll have in the cross + # target environment. "Let" is a sugar-coated word placed on an especially + # dull and tedious hack, actually. + # + # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros + # that involve linking, can't be used: + # "cannot open sim-crt0.o" + # "cannot open crt0.o" + # etc. All this is because there currently exists no unified, consistent + # way for top level CC information to be passed down to target directories: + # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc. + # When all of that is done, all of this hokey, excessive AC_DEFINE junk for + # crosses can be removed. + + # If Canadian cross, then don't pick up tools from the build directory. + # Used only in GLIBCXX_EXPORT_INCLUDES. + if test -n "$with_cross_host" && + test x"$build_alias" != x"$with_cross_host" && + test x"$build" != x"$target"; + then + CANADIAN=yes + else + CANADIAN=no fi + # Construct crosses by hand, eliminating bits that need ld... + # GLIBCXX_CHECK_MATH_SUPPORT + + # First, test for "known" system libraries. We may be using newlib even + # on a hosted environment. + if test "x${with_newlib}" = "xyes"; then + os_include_dir="os/newlib" + cat >>confdefs.h <<\_ACEOF +#define HAVE_HYPOT 1 +_ACEOF + + # GLIBCXX_CHECK_STDLIB_SUPPORT + cat >>confdefs.h <<\_ACEOF +#define HAVE_STRTOF 1 +_ACEOF + cat >>confdefs.h <<\_ACEOF +#define HAVE_ACOSF 1 +_ACEOF + cat >>confdefs.h <<\_ACEOF +#define HAVE_ASINF 1 +_ACEOF - echo "$as_me:$LINENO: checking for hypotf declaration" >&5 -echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_hypotf_use+set} != xset; then - if test "${glibcxx_cv_func_hypotf_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else + cat >>confdefs.h <<\_ACEOF +#define HAVE_ATAN2F 1 +_ACEOF + cat >>confdefs.h <<\_ACEOF +#define HAVE_ATANF 1 +_ACEOF + cat >>confdefs.h <<\_ACEOF +#define HAVE_CEILF 1 +_ACEOF - ac_ext=cc + cat >>confdefs.h <<\_ACEOF +#define HAVE_COPYSIGN 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_COPYSIGNF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_COSF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_COSHF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_EXPF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_FABSF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_FLOORF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_FMODF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_FREXPF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_LDEXPF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_LOG10F 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_LOGF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_MODFF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_POWF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_SINF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_SINHF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_SQRTF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_TANF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_TANHF 1 +_ACEOF + + + cat >>confdefs.h <<\_ACEOF +#define HAVE_ICONV 1 +_ACEOF + + else + +# Base decisions on target environment. +case "${host}" in + arm*-*-symbianelf*) + # This is a freestanding configuration; there is nothing to do here. + ;; + + mips*-sde-elf*) + # These definitions are for the SDE C library rather than newlib. + SECTION_FLAGS='-ffunction-sections -fdata-sections' + + + # All these tests are for C++; save the language and the compiler flags. + # The CXXFLAGS thing is suspicious, but based on similar bits previously + # found in GLIBCXX_CONFIGURE. + + + ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat >conftest.$ac_ext <<_ACEOF + ac_test_CXXFLAGS="${CXXFLAGS+set}" + ac_save_CXXFLAGS="$CXXFLAGS" + + # Check for maintainer-mode bits. + if test x"$USE_MAINTAINER_MODE" = xno; then + WERROR='' + else + WERROR='-Werror' + fi + + # Check for -ffunction-sections -fdata-sections + echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5 +echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6 + CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections' + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +int foo; void bar() { }; int main () { - hypotf(0, 0); + ; return 0; } @@ -50812,38 +41981,104 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_hypotf_use=yes + ac_fdsections=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_hypotf_use=no +ac_fdsections=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + if test "$ac_test_CXXFLAGS" = set; then + CXXFLAGS="$ac_save_CXXFLAGS" + else + # this is the suspicious part + CXXFLAGS='' + fi + if test x"$ac_fdsections" = x"yes"; then + SECTION_FLAGS='-ffunction-sections -fdata-sections' + fi + echo "$as_me:$LINENO: result: $ac_fdsections" >&5 +echo "${ECHO_T}$ac_fdsections" >&6 + + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -fi + + + # If we're not using GNU ld, then there's no point in even trying these + # tests. Check for that first. We should have already tested for gld + # by now (in libtool), but require it now just to be safe... + test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS='' + test -z "$OPT_LDFLAGS" && OPT_LDFLAGS='' + + + + # The name set by libtool depends on the version of libtool. Shame on us + # for depending on an impl detail, but c'est la vie. Older versions used + # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on + # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually + # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't + # set (hence we're using an older libtool), then set it. + if test x${with_gnu_ld+set} != xset; then + if test x${ac_cv_prog_gnu_ld+set} != xset; then + # We got through "ac_require(ac_prog_ld)" and still not set? Huh? + with_gnu_ld=no + else + with_gnu_ld=$ac_cv_prog_gnu_ld + fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6 - if test x$glibcxx_cv_func_hypotf_use = x"yes"; then + # Start by getting the version number. I think the libtool test already + # does some of this, but throws away the result. + glibcxx_ld_is_gold=no + if test x"$with_gnu_ld" = x"yes"; then + echo "$as_me:$LINENO: checking for ld version" >&5 +echo $ECHO_N "checking for ld version... $ECHO_C" >&6 -for ac_func in hypotf -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test x$gcc_no_link = xyes; then + if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then + glibcxx_ld_is_gold=yes + fi + ldver=`$LD --version 2>/dev/null | head -1 | \ + sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'` + + glibcxx_gnu_ld_version=`echo $ldver | \ + $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'` + echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5 +echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6 + fi + + # Set --gc-sections. + glibcxx_have_gc_sections=no + if test "$glibcxx_ld_is_gold" = "yes"; then + if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then + glibcxx_have_gc_sections=yes + fi + else + glibcxx_gcsections_min_ld=21602 + if test x"$with_gnu_ld" = x"yes" && + test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then + glibcxx_have_gc_sections=yes + fi + fi + if test "$glibcxx_have_gc_sections" = "yes"; then + # Sufficiently young GNU ld it is! Joy and bunny rabbits! + # NB: This flag only works reliably after 2.16.1. Configure tests + # for this are difficult, so hard wire a value that should work. + + ac_test_CFLAGS="${CFLAGS+set}" + ac_save_CFLAGS="$CFLAGS" + CFLAGS='-Wl,--gc-sections' + + # Check for -Wl,--gc-sections + echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5 +echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6 + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -50854,47 +42089,13 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif + int one(void) { return 1; } + int two(void) { return 2; } int main () { -return f != $ac_func; + two(); ; return 0; } @@ -50921,112 +42122,76 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - eval "$as_ac_var=yes" + ac_gcsections=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -eval "$as_ac_var=no" +ac_gcsections=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - else - - echo "$as_me:$LINENO: checking for _hypotf declaration" >&5 -echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__hypotf_use+set} != xset; then - if test "${glibcxx_cv_func__hypotf_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - + if test "$ac_gcsections" = "yes"; then + rm -f conftest.c + touch conftest.c + if $CC -c conftest.c; then + if $LD --gc-sections -o conftest conftest.o 2>&1 | \ + grep "Warning: gc-sections option ignored" > /dev/null; then + ac_gcsections=no + fi + fi + rm -f conftest.c conftest.o conftest + fi + if test "$ac_gcsections" = "yes"; then + SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS" + fi + echo "$as_me:$LINENO: result: $ac_gcsections" >&5 +echo "${ECHO_T}$ac_gcsections" >&6 + if test "$ac_test_CFLAGS" = set; then + CFLAGS="$ac_save_CFLAGS" + else + # this is the suspicious part + CFLAGS='' + fi + fi - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + # Set -z,relro. + # Note this is only for shared objects. + ac_ld_relro=no + if test x"$with_gnu_ld" = x"yes"; then + echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5 +echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6 + cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"` + if test -n "$cxx_z_relo"; then + OPT_LDFLAGS="-Wl,-z,relro" + ac_ld_relro=yes + fi + echo "$as_me:$LINENO: result: $ac_ld_relro" >&5 +echo "${ECHO_T}$ac_ld_relro" >&6 + fi - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -int -main () -{ - _hypotf(0, 0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func__hypotf_use=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 + # Set linker optimization flags. + if test x"$with_gnu_ld" = x"yes"; then + OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS" + fi -glibcxx_cv_func__hypotf_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -fi - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6 - if test x$glibcxx_cv_func__hypotf_use = x"yes"; then + ac_test_CXXFLAGS="${CXXFLAGS+set}" + ac_save_CXXFLAGS="$CXXFLAGS" + CXXFLAGS='-fno-builtin -D_GNU_SOURCE' -for ac_func in _hypotf -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then + echo "$as_me:$LINENO: checking for sin in -lm" >&5 +echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6 +if test "${ac_cv_lib_m_sin+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - if test x$gcc_no_link = xyes; then + ac_check_lib_save_LIBS=$LIBS +LIBS="-lm $LIBS" +if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -51037,47 +42202,18 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" -{ #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif - +char sin (); int main () { -return f != $ac_func; +sin (); ; return 0; } @@ -51104,38 +42240,32 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - eval "$as_ac_var=yes" + ac_cv_lib_m_sin=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -eval "$as_ac_var=no" +ac_cv_lib_m_sin=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - +echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5 +echo "${ECHO_T}$ac_cv_lib_m_sin" >&6 +if test $ac_cv_lib_m_sin = yes; then + libm="-lm" fi -done - - fi - fi - - + ac_save_LIBS="$LIBS" + LIBS="$LIBS $libm" - echo "$as_me:$LINENO: checking for ldexpf declaration" >&5 -echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then - if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then + echo "$as_me:$LINENO: checking for isinf declaration" >&5 +echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_isinf_use+set} != xset; then + if test "${glibcxx_cv_func_isinf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -51154,10 +42284,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - ldexpf(0, 0); + isinf(0); ; return 0; } @@ -51184,12 +42318,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_ldexpf_use=yes + glibcxx_cv_func_isinf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_ldexpf_use=no +glibcxx_cv_func_isinf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -51202,12 +42336,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6 - if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then + if test x$glibcxx_cv_func_isinf_use = x"yes"; then -for ac_func in ldexpf +for ac_func in isinf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -51315,10 +42449,10 @@ done else - echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5 -echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then - if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then + echo "$as_me:$LINENO: checking for _isinf declaration" >&5 +echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__isinf_use+set} != xset; then + if test "${glibcxx_cv_func__isinf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -51337,10 +42471,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _ldexpf(0, 0); + _isinf(0); ; return 0; } @@ -51367,12 +42505,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__ldexpf_use=yes + glibcxx_cv_func__isinf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__ldexpf_use=no +glibcxx_cv_func__isinf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -51385,12 +42523,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6 - if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then + if test x$glibcxx_cv_func__isinf_use = x"yes"; then -for ac_func in _ldexpf +for ac_func in _isinf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -51504,10 +42642,10 @@ done - echo "$as_me:$LINENO: checking for logf declaration" >&5 -echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_logf_use+set} != xset; then - if test "${glibcxx_cv_func_logf_use+set}" = set; then + echo "$as_me:$LINENO: checking for isnan declaration" >&5 +echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_isnan_use+set} != xset; then + if test "${glibcxx_cv_func_isnan_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -51533,7 +42671,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - logf(0); + isnan(0); ; return 0; } @@ -51560,12 +42698,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_logf_use=yes + glibcxx_cv_func_isnan_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_logf_use=no +glibcxx_cv_func_isnan_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -51578,12 +42716,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6 - if test x$glibcxx_cv_func_logf_use = x"yes"; then + if test x$glibcxx_cv_func_isnan_use = x"yes"; then -for ac_func in logf +for ac_func in isnan do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -51691,10 +42829,10 @@ done else - echo "$as_me:$LINENO: checking for _logf declaration" >&5 -echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__logf_use+set} != xset; then - if test "${glibcxx_cv_func__logf_use+set}" = set; then + echo "$as_me:$LINENO: checking for _isnan declaration" >&5 +echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__isnan_use+set} != xset; then + if test "${glibcxx_cv_func__isnan_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -51720,7 +42858,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - _logf(0); + _isnan(0); ; return 0; } @@ -51747,12 +42885,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__logf_use=yes + glibcxx_cv_func__isnan_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__logf_use=no +glibcxx_cv_func__isnan_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -51765,12 +42903,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6 - if test x$glibcxx_cv_func__logf_use = x"yes"; then + if test x$glibcxx_cv_func__isnan_use = x"yes"; then -for ac_func in _logf +for ac_func in _isnan do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -51884,10 +43022,10 @@ done - echo "$as_me:$LINENO: checking for log10f declaration" >&5 -echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_log10f_use+set} != xset; then - if test "${glibcxx_cv_func_log10f_use+set}" = set; then + echo "$as_me:$LINENO: checking for finite declaration" >&5 +echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_finite_use+set} != xset; then + if test "${glibcxx_cv_func_finite_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -51913,7 +43051,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - log10f(0); + finite(0); ; return 0; } @@ -51940,12 +43078,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_log10f_use=yes + glibcxx_cv_func_finite_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_log10f_use=no +glibcxx_cv_func_finite_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -51958,12 +43096,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6 - if test x$glibcxx_cv_func_log10f_use = x"yes"; then + if test x$glibcxx_cv_func_finite_use = x"yes"; then -for ac_func in log10f +for ac_func in finite do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -52071,10 +43209,10 @@ done else - echo "$as_me:$LINENO: checking for _log10f declaration" >&5 -echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__log10f_use+set} != xset; then - if test "${glibcxx_cv_func__log10f_use+set}" = set; then + echo "$as_me:$LINENO: checking for _finite declaration" >&5 +echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__finite_use+set} != xset; then + if test "${glibcxx_cv_func__finite_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -52100,7 +43238,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - _log10f(0); + _finite(0); ; return 0; } @@ -52127,12 +43265,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__log10f_use=yes + glibcxx_cv_func__finite_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__log10f_use=no +glibcxx_cv_func__finite_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -52145,12 +43283,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6 - if test x$glibcxx_cv_func__log10f_use = x"yes"; then + if test x$glibcxx_cv_func__finite_use = x"yes"; then -for ac_func in _log10f +for ac_func in _finite do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -52264,10 +43402,10 @@ done - echo "$as_me:$LINENO: checking for modff declaration" >&5 -echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_modff_use+set} != xset; then - if test "${glibcxx_cv_func_modff_use+set}" = set; then + echo "$as_me:$LINENO: checking for copysign declaration" >&5 +echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_copysign_use+set} != xset; then + if test "${glibcxx_cv_func_copysign_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -52289,7 +43427,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - modff(0, 0); + copysign(0, 0); ; return 0; } @@ -52316,12 +43454,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_modff_use=yes + glibcxx_cv_func_copysign_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_modff_use=no +glibcxx_cv_func_copysign_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -52334,12 +43472,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6 - if test x$glibcxx_cv_func_modff_use = x"yes"; then + if test x$glibcxx_cv_func_copysign_use = x"yes"; then -for ac_func in modff +for ac_func in copysign do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -52447,10 +43585,10 @@ done else - echo "$as_me:$LINENO: checking for _modff declaration" >&5 -echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__modff_use+set} != xset; then - if test "${glibcxx_cv_func__modff_use+set}" = set; then + echo "$as_me:$LINENO: checking for _copysign declaration" >&5 +echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__copysign_use+set} != xset; then + if test "${glibcxx_cv_func__copysign_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -52472,7 +43610,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - _modff(0, 0); + _copysign(0, 0); ; return 0; } @@ -52499,12 +43637,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__modff_use=yes + glibcxx_cv_func__copysign_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__modff_use=no +glibcxx_cv_func__copysign_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -52517,12 +43655,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6 - if test x$glibcxx_cv_func__modff_use = x"yes"; then + if test x$glibcxx_cv_func__copysign_use = x"yes"; then -for ac_func in _modff +for ac_func in _copysign do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -52636,10 +43774,10 @@ done - echo "$as_me:$LINENO: checking for modf declaration" >&5 -echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_modf_use+set} != xset; then - if test "${glibcxx_cv_func_modf_use+set}" = set; then + echo "$as_me:$LINENO: checking for sincos declaration" >&5 +echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_sincos_use+set} != xset; then + if test "${glibcxx_cv_func_sincos_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -52661,7 +43799,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - modf(0, 0); + sincos(0, 0, 0); ; return 0; } @@ -52688,12 +43826,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_modf_use=yes + glibcxx_cv_func_sincos_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_modf_use=no +glibcxx_cv_func_sincos_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -52706,12 +43844,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6 - if test x$glibcxx_cv_func_modf_use = x"yes"; then + if test x$glibcxx_cv_func_sincos_use = x"yes"; then -for ac_func in modf +for ac_func in sincos do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -52819,10 +43957,10 @@ done else - echo "$as_me:$LINENO: checking for _modf declaration" >&5 -echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__modf_use+set} != xset; then - if test "${glibcxx_cv_func__modf_use+set}" = set; then + echo "$as_me:$LINENO: checking for _sincos declaration" >&5 +echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__sincos_use+set} != xset; then + if test "${glibcxx_cv_func__sincos_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -52844,7 +43982,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - _modf(0, 0); + _sincos(0, 0, 0); ; return 0; } @@ -52871,12 +44009,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__modf_use=yes + glibcxx_cv_func__sincos_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__modf_use=no +glibcxx_cv_func__sincos_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -52889,12 +44027,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6 - if test x$glibcxx_cv_func__modf_use = x"yes"; then + if test x$glibcxx_cv_func__sincos_use = x"yes"; then -for ac_func in _modf +for ac_func in _sincos do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -53008,10 +44146,10 @@ done - echo "$as_me:$LINENO: checking for powf declaration" >&5 -echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_powf_use+set} != xset; then - if test "${glibcxx_cv_func_powf_use+set}" = set; then + echo "$as_me:$LINENO: checking for fpclass declaration" >&5 +echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_fpclass_use+set} != xset; then + if test "${glibcxx_cv_func_fpclass_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -53030,10 +44168,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - powf(0, 0); + fpclass(0); ; return 0; } @@ -53060,12 +44202,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_powf_use=yes + glibcxx_cv_func_fpclass_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_powf_use=no +glibcxx_cv_func_fpclass_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -53078,12 +44220,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6 - if test x$glibcxx_cv_func_powf_use = x"yes"; then + if test x$glibcxx_cv_func_fpclass_use = x"yes"; then -for ac_func in powf +for ac_func in fpclass do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -53191,10 +44333,10 @@ done else - echo "$as_me:$LINENO: checking for _powf declaration" >&5 -echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__powf_use+set} != xset; then - if test "${glibcxx_cv_func__powf_use+set}" = set; then + echo "$as_me:$LINENO: checking for _fpclass declaration" >&5 +echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__fpclass_use+set} != xset; then + if test "${glibcxx_cv_func__fpclass_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -53213,10 +44355,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _powf(0, 0); + _fpclass(0); ; return 0; } @@ -53243,12 +44389,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__powf_use=yes + glibcxx_cv_func__fpclass_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__powf_use=no +glibcxx_cv_func__fpclass_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -53261,12 +44407,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6 - if test x$glibcxx_cv_func__powf_use = x"yes"; then + if test x$glibcxx_cv_func__fpclass_use = x"yes"; then -for ac_func in _powf +for ac_func in _fpclass do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -53380,10 +44526,10 @@ done - echo "$as_me:$LINENO: checking for sqrtf declaration" >&5 -echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then - if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then + echo "$as_me:$LINENO: checking for qfpclass declaration" >&5 +echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then + if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -53409,7 +44555,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - sqrtf(0); + qfpclass(0); ; return 0; } @@ -53436,12 +44582,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_sqrtf_use=yes + glibcxx_cv_func_qfpclass_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_sqrtf_use=no +glibcxx_cv_func_qfpclass_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -53454,12 +44600,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6 - if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then + if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then -for ac_func in sqrtf +for ac_func in qfpclass do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -53567,10 +44713,10 @@ done else - echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5 -echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then - if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then + echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5 +echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then + if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -53596,7 +44742,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - _sqrtf(0); + _qfpclass(0); ; return 0; } @@ -53623,12 +44769,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__sqrtf_use=yes + glibcxx_cv_func__qfpclass_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__sqrtf_use=no +glibcxx_cv_func__qfpclass_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -53641,12 +44787,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6 - if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then + if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then -for ac_func in _sqrtf +for ac_func in _qfpclass do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -53760,10 +44906,10 @@ done - echo "$as_me:$LINENO: checking for sincosf declaration" >&5 -echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_sincosf_use+set} != xset; then - if test "${glibcxx_cv_func_sincosf_use+set}" = set; then + echo "$as_me:$LINENO: checking for hypot declaration" >&5 +echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_hypot_use+set} != xset; then + if test "${glibcxx_cv_func_hypot_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -53785,7 +44931,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - sincosf(0, 0, 0); + hypot(0, 0); ; return 0; } @@ -53812,12 +44958,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_sincosf_use=yes + glibcxx_cv_func_hypot_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_sincosf_use=no +glibcxx_cv_func_hypot_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -53830,12 +44976,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6 - if test x$glibcxx_cv_func_sincosf_use = x"yes"; then + if test x$glibcxx_cv_func_hypot_use = x"yes"; then -for ac_func in sincosf +for ac_func in hypot do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -53943,10 +45089,10 @@ done else - echo "$as_me:$LINENO: checking for _sincosf declaration" >&5 -echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__sincosf_use+set} != xset; then - if test "${glibcxx_cv_func__sincosf_use+set}" = set; then + echo "$as_me:$LINENO: checking for _hypot declaration" >&5 +echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__hypot_use+set} != xset; then + if test "${glibcxx_cv_func__hypot_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -53968,7 +45114,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - _sincosf(0, 0, 0); + _hypot(0, 0); ; return 0; } @@ -53995,12 +45141,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__sincosf_use=yes + glibcxx_cv_func__hypot_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__sincosf_use=no +glibcxx_cv_func__hypot_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -54013,12 +45159,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6 - if test x$glibcxx_cv_func__sincosf_use = x"yes"; then + if test x$glibcxx_cv_func__hypot_use = x"yes"; then -for ac_func in _sincosf +for ac_func in _hypot do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -54132,36 +45278,31 @@ done - echo "$as_me:$LINENO: checking for finitef declaration" >&5 -echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_finitef_use+set} != xset; then - if test "${glibcxx_cv_func_finitef_use+set}" = set; then + echo "$as_me:$LINENO: checking for float trig functions" >&5 +echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6 + if test "${glibcxx_cv_func_float_trig_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - ac_ext=cc + ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - finitef(0); +acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0); ; return 0; } @@ -54188,30 +45329,35 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_finitef_use=yes + glibcxx_cv_func_float_trig_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_finitef_use=no +glibcxx_cv_func_float_trig_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6 + if test x$glibcxx_cv_func_float_trig_use = x"yes"; then - if test x$glibcxx_cv_func_finitef_use = x"yes"; then -for ac_func in finitef + + + + + + + +for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -54318,11 +45464,9 @@ fi done else - - echo "$as_me:$LINENO: checking for _finitef declaration" >&5 -echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__finitef_use+set} != xset; then - if test "${glibcxx_cv_func__finitef_use+set}" = set; then + echo "$as_me:$LINENO: checking for _float trig functions" >&5 +echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6 + if test "${glibcxx_cv_func__float_trig_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -54341,14 +45485,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _finitef(0); +_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0); ; return 0; } @@ -54375,12 +45515,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__finitef_use=yes + glibcxx_cv_func__float_trig_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__finitef_use=no +glibcxx_cv_func__float_trig_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -54389,16 +45529,21 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6 + if test x$glibcxx_cv_func__float_trig_use = x"yes"; then - if test x$glibcxx_cv_func__finitef_use = x"yes"; then -for ac_func in _finitef + + + + + + + +for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -54512,9 +45657,17 @@ done - echo "$as_me:$LINENO: checking for long double trig functions" >&5 -echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6 - if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then + + + + + + + + + echo "$as_me:$LINENO: checking for float round functions" >&5 +echo $ECHO_N "checking for float round functions... $ECHO_C" >&6 + if test "${glibcxx_cv_func_float_round_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -54536,7 +45689,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { -acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0); +ceilf (0); floorf (0); ; return 0; } @@ -54563,12 +45716,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_long_double_trig_use=yes + glibcxx_cv_func_float_round_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_long_double_trig_use=no +glibcxx_cv_func_float_round_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -54579,19 +45732,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6 - if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then - - - - - - - + echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6 + if test x$glibcxx_cv_func_float_round_use = x"yes"; then -for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl +for ac_func in ceilf floorf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -54698,9 +45844,9 @@ fi done else - echo "$as_me:$LINENO: checking for _long double trig functions" >&5 -echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6 - if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then + echo "$as_me:$LINENO: checking for _float round functions" >&5 +echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6 + if test "${glibcxx_cv_func__float_round_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -54722,7 +45868,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { -_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0); +_ceilf (0); _floorf (0); ; return 0; } @@ -54749,12 +45895,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__long_double_trig_use=yes + glibcxx_cv_func__float_round_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__long_double_trig_use=no +glibcxx_cv_func__float_round_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -54765,19 +45911,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6 - if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then - - - - - - - + echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6 + if test x$glibcxx_cv_func__float_round_use = x"yes"; then -for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl +for ac_func in _ceilf _floorf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -54893,37 +46032,36 @@ done - - - - - - - echo "$as_me:$LINENO: checking for long double round functions" >&5 -echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6 - if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then + echo "$as_me:$LINENO: checking for expf declaration" >&5 +echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_expf_use+set} != xset; then + if test "${glibcxx_cv_func_expf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - ac_ext=cc + ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { -ceill (0); floorl (0); + expf(0); ; return 0; } @@ -54950,28 +46088,30 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_long_double_round_use=yes + glibcxx_cv_func_expf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_long_double_round_use=no +glibcxx_cv_func_expf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu + fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6 - if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then + fi + echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6 + if test x$glibcxx_cv_func_expf_use = x"yes"; then -for ac_func in ceill floorl +for ac_func in expf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -55078,9 +46218,11 @@ fi done else - echo "$as_me:$LINENO: checking for _long double round functions" >&5 -echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6 - if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then + + echo "$as_me:$LINENO: checking for _expf declaration" >&5 +echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__expf_use+set} != xset; then + if test "${glibcxx_cv_func__expf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -55099,10 +46241,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { -_ceill (0); _floorl (0); + _expf(0); ; return 0; } @@ -55129,12 +46275,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__long_double_round_use=yes + glibcxx_cv_func__expf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__long_double_round_use=no +glibcxx_cv_func__expf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -55143,14 +46289,16 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu + fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6 - if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then + fi + echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6 + if test x$glibcxx_cv_func__expf_use = x"yes"; then -for ac_func in _ceill _floorl +for ac_func in _expf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -55264,12 +46412,10 @@ done - - - echo "$as_me:$LINENO: checking for isnanl declaration" >&5 -echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_isnanl_use+set} != xset; then - if test "${glibcxx_cv_func_isnanl_use+set}" = set; then + echo "$as_me:$LINENO: checking for isnanf declaration" >&5 +echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_isnanf_use+set} != xset; then + if test "${glibcxx_cv_func_isnanf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -55295,7 +46441,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - isnanl(0); + isnanf(0); ; return 0; } @@ -55322,12 +46468,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_isnanl_use=yes + glibcxx_cv_func_isnanf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_isnanl_use=no +glibcxx_cv_func_isnanf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -55340,12 +46486,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6 - if test x$glibcxx_cv_func_isnanl_use = x"yes"; then + if test x$glibcxx_cv_func_isnanf_use = x"yes"; then -for ac_func in isnanl +for ac_func in isnanf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -55453,10 +46599,10 @@ done else - echo "$as_me:$LINENO: checking for _isnanl declaration" >&5 -echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__isnanl_use+set} != xset; then - if test "${glibcxx_cv_func__isnanl_use+set}" = set; then + echo "$as_me:$LINENO: checking for _isnanf declaration" >&5 +echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__isnanf_use+set} != xset; then + if test "${glibcxx_cv_func__isnanf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -55482,7 +46628,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - _isnanl(0); + _isnanf(0); ; return 0; } @@ -55509,12 +46655,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__isnanl_use=yes + glibcxx_cv_func__isnanf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__isnanl_use=no +glibcxx_cv_func__isnanf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -55527,12 +46673,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6 - if test x$glibcxx_cv_func__isnanl_use = x"yes"; then + if test x$glibcxx_cv_func__isnanf_use = x"yes"; then -for ac_func in _isnanl +for ac_func in _isnanf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -55646,10 +46792,10 @@ done - echo "$as_me:$LINENO: checking for isinfl declaration" >&5 -echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_isinfl_use+set} != xset; then - if test "${glibcxx_cv_func_isinfl_use+set}" = set; then + echo "$as_me:$LINENO: checking for isinff declaration" >&5 +echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_isinff_use+set} != xset; then + if test "${glibcxx_cv_func_isinff_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -55675,7 +46821,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - isinfl(0); + isinff(0); ; return 0; } @@ -55702,12 +46848,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_isinfl_use=yes + glibcxx_cv_func_isinff_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_isinfl_use=no +glibcxx_cv_func_isinff_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -55720,12 +46866,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6 - if test x$glibcxx_cv_func_isinfl_use = x"yes"; then + if test x$glibcxx_cv_func_isinff_use = x"yes"; then -for ac_func in isinfl +for ac_func in isinff do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -55833,10 +46979,10 @@ done else - echo "$as_me:$LINENO: checking for _isinfl declaration" >&5 -echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__isinfl_use+set} != xset; then - if test "${glibcxx_cv_func__isinfl_use+set}" = set; then + echo "$as_me:$LINENO: checking for _isinff declaration" >&5 +echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__isinff_use+set} != xset; then + if test "${glibcxx_cv_func__isinff_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -55862,7 +47008,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - _isinfl(0); + _isinff(0); ; return 0; } @@ -55889,12 +47035,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__isinfl_use=yes + glibcxx_cv_func__isinff_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__isinfl_use=no +glibcxx_cv_func__isinff_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -55907,12 +47053,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6 - if test x$glibcxx_cv_func__isinfl_use = x"yes"; then + if test x$glibcxx_cv_func__isinff_use = x"yes"; then -for ac_func in _isinfl +for ac_func in _isinff do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -56026,10 +47172,10 @@ done - echo "$as_me:$LINENO: checking for copysignl declaration" >&5 -echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_copysignl_use+set} != xset; then - if test "${glibcxx_cv_func_copysignl_use+set}" = set; then + echo "$as_me:$LINENO: checking for atan2f declaration" >&5 +echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_atan2f_use+set} != xset; then + if test "${glibcxx_cv_func_atan2f_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -56051,7 +47197,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - copysignl(0, 0); + atan2f(0, 0); ; return 0; } @@ -56078,12 +47224,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_copysignl_use=yes + glibcxx_cv_func_atan2f_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_copysignl_use=no +glibcxx_cv_func_atan2f_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -56096,12 +47242,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6 - if test x$glibcxx_cv_func_copysignl_use = x"yes"; then + if test x$glibcxx_cv_func_atan2f_use = x"yes"; then -for ac_func in copysignl +for ac_func in atan2f do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -56209,10 +47355,10 @@ done else - echo "$as_me:$LINENO: checking for _copysignl declaration" >&5 -echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__copysignl_use+set} != xset; then - if test "${glibcxx_cv_func__copysignl_use+set}" = set; then + echo "$as_me:$LINENO: checking for _atan2f declaration" >&5 +echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__atan2f_use+set} != xset; then + if test "${glibcxx_cv_func__atan2f_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -56234,7 +47380,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - _copysignl(0, 0); + _atan2f(0, 0); ; return 0; } @@ -56261,12 +47407,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__copysignl_use=yes + glibcxx_cv_func__atan2f_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__copysignl_use=no +glibcxx_cv_func__atan2f_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -56279,12 +47425,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6 - if test x$glibcxx_cv_func__copysignl_use = x"yes"; then + if test x$glibcxx_cv_func__atan2f_use = x"yes"; then -for ac_func in _copysignl +for ac_func in _atan2f do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -56398,10 +47544,10 @@ done - echo "$as_me:$LINENO: checking for atan2l declaration" >&5 -echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_atan2l_use+set} != xset; then - if test "${glibcxx_cv_func_atan2l_use+set}" = set; then + echo "$as_me:$LINENO: checking for fabsf declaration" >&5 +echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_fabsf_use+set} != xset; then + if test "${glibcxx_cv_func_fabsf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -56420,10 +47566,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - atan2l(0, 0); + fabsf(0); ; return 0; } @@ -56450,12 +47600,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_atan2l_use=yes + glibcxx_cv_func_fabsf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_atan2l_use=no +glibcxx_cv_func_fabsf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -56468,12 +47618,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6 - if test x$glibcxx_cv_func_atan2l_use = x"yes"; then + if test x$glibcxx_cv_func_fabsf_use = x"yes"; then -for ac_func in atan2l +for ac_func in fabsf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -56581,10 +47731,10 @@ done else - echo "$as_me:$LINENO: checking for _atan2l declaration" >&5 -echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__atan2l_use+set} != xset; then - if test "${glibcxx_cv_func__atan2l_use+set}" = set; then + echo "$as_me:$LINENO: checking for _fabsf declaration" >&5 +echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__fabsf_use+set} != xset; then + if test "${glibcxx_cv_func__fabsf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -56603,10 +47753,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _atan2l(0, 0); + _fabsf(0); ; return 0; } @@ -56633,12 +47787,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__atan2l_use=yes + glibcxx_cv_func__fabsf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__atan2l_use=no +glibcxx_cv_func__fabsf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -56651,12 +47805,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6 - if test x$glibcxx_cv_func__atan2l_use = x"yes"; then + if test x$glibcxx_cv_func__fabsf_use = x"yes"; then -for ac_func in _atan2l +for ac_func in _fabsf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -56770,10 +47924,10 @@ done - echo "$as_me:$LINENO: checking for expl declaration" >&5 -echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_expl_use+set} != xset; then - if test "${glibcxx_cv_func_expl_use+set}" = set; then + echo "$as_me:$LINENO: checking for fmodf declaration" >&5 +echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_fmodf_use+set} != xset; then + if test "${glibcxx_cv_func_fmodf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -56792,14 +47946,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - expl(0); + fmodf(0, 0); ; return 0; } @@ -56826,12 +47976,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_expl_use=yes + glibcxx_cv_func_fmodf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_expl_use=no +glibcxx_cv_func_fmodf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -56844,12 +47994,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6 - if test x$glibcxx_cv_func_expl_use = x"yes"; then + if test x$glibcxx_cv_func_fmodf_use = x"yes"; then -for ac_func in expl +for ac_func in fmodf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -56957,10 +48107,10 @@ done else - echo "$as_me:$LINENO: checking for _expl declaration" >&5 -echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__expl_use+set} != xset; then - if test "${glibcxx_cv_func__expl_use+set}" = set; then + echo "$as_me:$LINENO: checking for _fmodf declaration" >&5 +echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__fmodf_use+set} != xset; then + if test "${glibcxx_cv_func__fmodf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -56979,14 +48129,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _expl(0); + _fmodf(0, 0); ; return 0; } @@ -57013,12 +48159,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__expl_use=yes + glibcxx_cv_func__fmodf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__expl_use=no +glibcxx_cv_func__fmodf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -57031,12 +48177,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6 - if test x$glibcxx_cv_func__expl_use = x"yes"; then + if test x$glibcxx_cv_func__fmodf_use = x"yes"; then -for ac_func in _expl +for ac_func in _fmodf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -57150,10 +48296,10 @@ done - echo "$as_me:$LINENO: checking for fabsl declaration" >&5 -echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_fabsl_use+set} != xset; then - if test "${glibcxx_cv_func_fabsl_use+set}" = set; then + echo "$as_me:$LINENO: checking for frexpf declaration" >&5 +echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_frexpf_use+set} != xset; then + if test "${glibcxx_cv_func_frexpf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -57172,14 +48318,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - fabsl(0); + frexpf(0, 0); ; return 0; } @@ -57206,12 +48348,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_fabsl_use=yes + glibcxx_cv_func_frexpf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_fabsl_use=no +glibcxx_cv_func_frexpf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -57224,12 +48366,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6 - if test x$glibcxx_cv_func_fabsl_use = x"yes"; then + if test x$glibcxx_cv_func_frexpf_use = x"yes"; then -for ac_func in fabsl +for ac_func in frexpf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -57337,10 +48479,10 @@ done else - echo "$as_me:$LINENO: checking for _fabsl declaration" >&5 -echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__fabsl_use+set} != xset; then - if test "${glibcxx_cv_func__fabsl_use+set}" = set; then + echo "$as_me:$LINENO: checking for _frexpf declaration" >&5 +echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__frexpf_use+set} != xset; then + if test "${glibcxx_cv_func__frexpf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -57359,14 +48501,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _fabsl(0); + _frexpf(0, 0); ; return 0; } @@ -57393,12 +48531,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__fabsl_use=yes + glibcxx_cv_func__frexpf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__fabsl_use=no +glibcxx_cv_func__frexpf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -57411,12 +48549,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6 - if test x$glibcxx_cv_func__fabsl_use = x"yes"; then + if test x$glibcxx_cv_func__frexpf_use = x"yes"; then -for ac_func in _fabsl +for ac_func in _frexpf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -57530,10 +48668,10 @@ done - echo "$as_me:$LINENO: checking for fmodl declaration" >&5 -echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_fmodl_use+set} != xset; then - if test "${glibcxx_cv_func_fmodl_use+set}" = set; then + echo "$as_me:$LINENO: checking for hypotf declaration" >&5 +echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_hypotf_use+set} != xset; then + if test "${glibcxx_cv_func_hypotf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -57555,7 +48693,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - fmodl(0, 0); + hypotf(0, 0); ; return 0; } @@ -57582,12 +48720,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_fmodl_use=yes + glibcxx_cv_func_hypotf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_fmodl_use=no +glibcxx_cv_func_hypotf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -57600,12 +48738,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6 - if test x$glibcxx_cv_func_fmodl_use = x"yes"; then + if test x$glibcxx_cv_func_hypotf_use = x"yes"; then -for ac_func in fmodl +for ac_func in hypotf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -57713,10 +48851,10 @@ done else - echo "$as_me:$LINENO: checking for _fmodl declaration" >&5 -echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__fmodl_use+set} != xset; then - if test "${glibcxx_cv_func__fmodl_use+set}" = set; then + echo "$as_me:$LINENO: checking for _hypotf declaration" >&5 +echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__hypotf_use+set} != xset; then + if test "${glibcxx_cv_func__hypotf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -57738,7 +48876,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - _fmodl(0, 0); + _hypotf(0, 0); ; return 0; } @@ -57765,12 +48903,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__fmodl_use=yes + glibcxx_cv_func__hypotf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__fmodl_use=no +glibcxx_cv_func__hypotf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -57783,12 +48921,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6 - if test x$glibcxx_cv_func__fmodl_use = x"yes"; then + if test x$glibcxx_cv_func__hypotf_use = x"yes"; then -for ac_func in _fmodl +for ac_func in _hypotf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -57902,10 +49040,10 @@ done - echo "$as_me:$LINENO: checking for frexpl declaration" >&5 -echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_frexpl_use+set} != xset; then - if test "${glibcxx_cv_func_frexpl_use+set}" = set; then + echo "$as_me:$LINENO: checking for ldexpf declaration" >&5 +echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then + if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -57927,7 +49065,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - frexpl(0, 0); + ldexpf(0, 0); ; return 0; } @@ -57954,12 +49092,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_frexpl_use=yes + glibcxx_cv_func_ldexpf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_frexpl_use=no +glibcxx_cv_func_ldexpf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -57972,12 +49110,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6 - if test x$glibcxx_cv_func_frexpl_use = x"yes"; then + if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then -for ac_func in frexpl +for ac_func in ldexpf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -58085,10 +49223,10 @@ done else - echo "$as_me:$LINENO: checking for _frexpl declaration" >&5 -echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__frexpl_use+set} != xset; then - if test "${glibcxx_cv_func__frexpl_use+set}" = set; then + echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5 +echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then + if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -58110,7 +49248,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - _frexpl(0, 0); + _ldexpf(0, 0); ; return 0; } @@ -58137,12 +49275,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__frexpl_use=yes + glibcxx_cv_func__ldexpf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__frexpl_use=no +glibcxx_cv_func__ldexpf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -58155,12 +49293,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6 - if test x$glibcxx_cv_func__frexpl_use = x"yes"; then + if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then -for ac_func in _frexpl +for ac_func in _ldexpf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -58274,10 +49412,10 @@ done - echo "$as_me:$LINENO: checking for hypotl declaration" >&5 -echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_hypotl_use+set} != xset; then - if test "${glibcxx_cv_func_hypotl_use+set}" = set; then + echo "$as_me:$LINENO: checking for logf declaration" >&5 +echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_logf_use+set} != xset; then + if test "${glibcxx_cv_func_logf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -58296,10 +49434,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - hypotl(0, 0); + logf(0); ; return 0; } @@ -58326,12 +49468,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_hypotl_use=yes + glibcxx_cv_func_logf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_hypotl_use=no +glibcxx_cv_func_logf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -58344,12 +49486,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6 - if test x$glibcxx_cv_func_hypotl_use = x"yes"; then + if test x$glibcxx_cv_func_logf_use = x"yes"; then -for ac_func in hypotl +for ac_func in logf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -58457,10 +49599,10 @@ done else - echo "$as_me:$LINENO: checking for _hypotl declaration" >&5 -echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__hypotl_use+set} != xset; then - if test "${glibcxx_cv_func__hypotl_use+set}" = set; then + echo "$as_me:$LINENO: checking for _logf declaration" >&5 +echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__logf_use+set} != xset; then + if test "${glibcxx_cv_func__logf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -58479,10 +49621,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _hypotl(0, 0); + _logf(0); ; return 0; } @@ -58509,12 +49655,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__hypotl_use=yes + glibcxx_cv_func__logf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__hypotl_use=no +glibcxx_cv_func__logf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -58527,12 +49673,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6 - if test x$glibcxx_cv_func__hypotl_use = x"yes"; then + if test x$glibcxx_cv_func__logf_use = x"yes"; then -for ac_func in _hypotl +for ac_func in _logf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -58646,10 +49792,10 @@ done - echo "$as_me:$LINENO: checking for ldexpl declaration" >&5 -echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then - if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then + echo "$as_me:$LINENO: checking for log10f declaration" >&5 +echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_log10f_use+set} != xset; then + if test "${glibcxx_cv_func_log10f_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -58668,10 +49814,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - ldexpl(0, 0); + log10f(0); ; return 0; } @@ -58698,12 +49848,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_ldexpl_use=yes + glibcxx_cv_func_log10f_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_ldexpl_use=no +glibcxx_cv_func_log10f_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -58716,12 +49866,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6 - if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then + if test x$glibcxx_cv_func_log10f_use = x"yes"; then -for ac_func in ldexpl +for ac_func in log10f do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -58829,10 +49979,10 @@ done else - echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5 -echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then - if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then + echo "$as_me:$LINENO: checking for _log10f declaration" >&5 +echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__log10f_use+set} != xset; then + if test "${glibcxx_cv_func__log10f_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -58851,10 +50001,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _ldexpl(0, 0); + _log10f(0); ; return 0; } @@ -58881,12 +50035,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__ldexpl_use=yes + glibcxx_cv_func__log10f_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__ldexpl_use=no +glibcxx_cv_func__log10f_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -58899,12 +50053,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6 - if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then + if test x$glibcxx_cv_func__log10f_use = x"yes"; then -for ac_func in _ldexpl +for ac_func in _log10f do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -59018,10 +50172,10 @@ done - echo "$as_me:$LINENO: checking for logl declaration" >&5 -echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_logl_use+set} != xset; then - if test "${glibcxx_cv_func_logl_use+set}" = set; then + echo "$as_me:$LINENO: checking for modff declaration" >&5 +echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_modff_use+set} != xset; then + if test "${glibcxx_cv_func_modff_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -59040,14 +50194,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - logl(0); + modff(0, 0); ; return 0; } @@ -59074,12 +50224,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_logl_use=yes + glibcxx_cv_func_modff_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_logl_use=no +glibcxx_cv_func_modff_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -59092,12 +50242,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6 - if test x$glibcxx_cv_func_logl_use = x"yes"; then + if test x$glibcxx_cv_func_modff_use = x"yes"; then -for ac_func in logl +for ac_func in modff do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -59205,10 +50355,10 @@ done else - echo "$as_me:$LINENO: checking for _logl declaration" >&5 -echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__logl_use+set} != xset; then - if test "${glibcxx_cv_func__logl_use+set}" = set; then + echo "$as_me:$LINENO: checking for _modff declaration" >&5 +echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__modff_use+set} != xset; then + if test "${glibcxx_cv_func__modff_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -59227,14 +50377,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _logl(0); + _modff(0, 0); ; return 0; } @@ -59261,12 +50407,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__logl_use=yes + glibcxx_cv_func__modff_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__logl_use=no +glibcxx_cv_func__modff_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -59279,12 +50425,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6 - if test x$glibcxx_cv_func__logl_use = x"yes"; then + if test x$glibcxx_cv_func__modff_use = x"yes"; then -for ac_func in _logl +for ac_func in _modff do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -59398,10 +50544,10 @@ done - echo "$as_me:$LINENO: checking for log10l declaration" >&5 -echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_log10l_use+set} != xset; then - if test "${glibcxx_cv_func_log10l_use+set}" = set; then + echo "$as_me:$LINENO: checking for modf declaration" >&5 +echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_modf_use+set} != xset; then + if test "${glibcxx_cv_func_modf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -59420,14 +50566,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - log10l(0); + modf(0, 0); ; return 0; } @@ -59454,12 +50596,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_log10l_use=yes + glibcxx_cv_func_modf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_log10l_use=no +glibcxx_cv_func_modf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -59472,12 +50614,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6 - if test x$glibcxx_cv_func_log10l_use = x"yes"; then + if test x$glibcxx_cv_func_modf_use = x"yes"; then -for ac_func in log10l +for ac_func in modf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -59585,10 +50727,10 @@ done else - echo "$as_me:$LINENO: checking for _log10l declaration" >&5 -echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__log10l_use+set} != xset; then - if test "${glibcxx_cv_func__log10l_use+set}" = set; then + echo "$as_me:$LINENO: checking for _modf declaration" >&5 +echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__modf_use+set} != xset; then + if test "${glibcxx_cv_func__modf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -59607,14 +50749,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _log10l(0); + _modf(0, 0); ; return 0; } @@ -59641,12 +50779,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__log10l_use=yes + glibcxx_cv_func__modf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__log10l_use=no +glibcxx_cv_func__modf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -59659,12 +50797,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6 - if test x$glibcxx_cv_func__log10l_use = x"yes"; then + if test x$glibcxx_cv_func__modf_use = x"yes"; then -for ac_func in _log10l +for ac_func in _modf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -59778,10 +50916,10 @@ done - echo "$as_me:$LINENO: checking for modfl declaration" >&5 -echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_modfl_use+set} != xset; then - if test "${glibcxx_cv_func_modfl_use+set}" = set; then + echo "$as_me:$LINENO: checking for powf declaration" >&5 +echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_powf_use+set} != xset; then + if test "${glibcxx_cv_func_powf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -59803,7 +50941,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - modfl(0, 0); + powf(0, 0); ; return 0; } @@ -59830,12 +50968,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_modfl_use=yes + glibcxx_cv_func_powf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_modfl_use=no +glibcxx_cv_func_powf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -59848,12 +50986,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6 - if test x$glibcxx_cv_func_modfl_use = x"yes"; then + if test x$glibcxx_cv_func_powf_use = x"yes"; then -for ac_func in modfl +for ac_func in powf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -59961,10 +51099,10 @@ done else - echo "$as_me:$LINENO: checking for _modfl declaration" >&5 -echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__modfl_use+set} != xset; then - if test "${glibcxx_cv_func__modfl_use+set}" = set; then + echo "$as_me:$LINENO: checking for _powf declaration" >&5 +echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__powf_use+set} != xset; then + if test "${glibcxx_cv_func__powf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -59986,7 +51124,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - _modfl(0, 0); + _powf(0, 0); ; return 0; } @@ -60013,12 +51151,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__modfl_use=yes + glibcxx_cv_func__powf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__modfl_use=no +glibcxx_cv_func__powf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -60031,12 +51169,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6 - if test x$glibcxx_cv_func__modfl_use = x"yes"; then + if test x$glibcxx_cv_func__powf_use = x"yes"; then -for ac_func in _modfl +for ac_func in _powf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -60150,10 +51288,10 @@ done - echo "$as_me:$LINENO: checking for powl declaration" >&5 -echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_powl_use+set} != xset; then - if test "${glibcxx_cv_func_powl_use+set}" = set; then + echo "$as_me:$LINENO: checking for sqrtf declaration" >&5 +echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then + if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -60172,10 +51310,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - powl(0, 0); + sqrtf(0); ; return 0; } @@ -60202,12 +51344,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_powl_use=yes + glibcxx_cv_func_sqrtf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_powl_use=no +glibcxx_cv_func_sqrtf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -60220,12 +51362,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6 - if test x$glibcxx_cv_func_powl_use = x"yes"; then + if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then -for ac_func in powl +for ac_func in sqrtf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -60333,10 +51475,10 @@ done else - echo "$as_me:$LINENO: checking for _powl declaration" >&5 -echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__powl_use+set} != xset; then - if test "${glibcxx_cv_func__powl_use+set}" = set; then + echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5 +echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then + if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -60355,10 +51497,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _powl(0, 0); + _sqrtf(0); ; return 0; } @@ -60385,12 +51531,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__powl_use=yes + glibcxx_cv_func__sqrtf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__powl_use=no +glibcxx_cv_func__sqrtf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -60403,12 +51549,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6 - if test x$glibcxx_cv_func__powl_use = x"yes"; then + if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then -for ac_func in _powl +for ac_func in _sqrtf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -60522,10 +51668,10 @@ done - echo "$as_me:$LINENO: checking for sqrtl declaration" >&5 -echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then - if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then + echo "$as_me:$LINENO: checking for sincosf declaration" >&5 +echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_sincosf_use+set} != xset; then + if test "${glibcxx_cv_func_sincosf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -60544,14 +51690,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - sqrtl(0); + sincosf(0, 0, 0); ; return 0; } @@ -60578,12 +51720,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_sqrtl_use=yes + glibcxx_cv_func_sincosf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_sqrtl_use=no +glibcxx_cv_func_sincosf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -60596,12 +51738,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6 - if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then + if test x$glibcxx_cv_func_sincosf_use = x"yes"; then -for ac_func in sqrtl +for ac_func in sincosf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -60709,10 +51851,10 @@ done else - echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5 -echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then - if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then + echo "$as_me:$LINENO: checking for _sincosf declaration" >&5 +echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__sincosf_use+set} != xset; then + if test "${glibcxx_cv_func__sincosf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -60731,14 +51873,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _sqrtl(0); + _sincosf(0, 0, 0); ; return 0; } @@ -60765,12 +51903,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__sqrtl_use=yes + glibcxx_cv_func__sincosf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__sqrtl_use=no +glibcxx_cv_func__sincosf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -60783,12 +51921,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6 - if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then + if test x$glibcxx_cv_func__sincosf_use = x"yes"; then -for ac_func in _sqrtl +for ac_func in _sincosf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -60902,10 +52040,10 @@ done - echo "$as_me:$LINENO: checking for sincosl declaration" >&5 -echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_sincosl_use+set} != xset; then - if test "${glibcxx_cv_func_sincosl_use+set}" = set; then + echo "$as_me:$LINENO: checking for finitef declaration" >&5 +echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_finitef_use+set} != xset; then + if test "${glibcxx_cv_func_finitef_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -60924,10 +52062,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - sincosl(0, 0, 0); + finitef(0); ; return 0; } @@ -60954,12 +52096,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_sincosl_use=yes + glibcxx_cv_func_finitef_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_sincosl_use=no +glibcxx_cv_func_finitef_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -60972,12 +52114,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6 - if test x$glibcxx_cv_func_sincosl_use = x"yes"; then + if test x$glibcxx_cv_func_finitef_use = x"yes"; then -for ac_func in sincosl +for ac_func in finitef do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -61085,10 +52227,10 @@ done else - echo "$as_me:$LINENO: checking for _sincosl declaration" >&5 -echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__sincosl_use+set} != xset; then - if test "${glibcxx_cv_func__sincosl_use+set}" = set; then + echo "$as_me:$LINENO: checking for _finitef declaration" >&5 +echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__finitef_use+set} != xset; then + if test "${glibcxx_cv_func__finitef_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -61107,10 +52249,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _sincosl(0, 0, 0); + _finitef(0); ; return 0; } @@ -61137,12 +52283,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__sincosl_use=yes + glibcxx_cv_func__finitef_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__sincosl_use=no +glibcxx_cv_func__finitef_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -61155,12 +52301,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6 - if test x$glibcxx_cv_func__sincosl_use = x"yes"; then + if test x$glibcxx_cv_func__finitef_use = x"yes"; then -for ac_func in _sincosl +for ac_func in _finitef do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -61274,36 +52420,31 @@ done - echo "$as_me:$LINENO: checking for finitel declaration" >&5 -echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_finitel_use+set} != xset; then - if test "${glibcxx_cv_func_finitel_use+set}" = set; then + echo "$as_me:$LINENO: checking for long double trig functions" >&5 +echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6 + if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - ac_ext=cc + ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - finitel(0); +acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0); ; return 0; } @@ -61330,30 +52471,35 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_finitel_use=yes + glibcxx_cv_func_long_double_trig_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_finitel_use=no +glibcxx_cv_func_long_double_trig_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6 + if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then - if test x$glibcxx_cv_func_finitel_use = x"yes"; then -for ac_func in finitel + + + + + + + +for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -61460,11 +52606,9 @@ fi done else - - echo "$as_me:$LINENO: checking for _finitel declaration" >&5 -echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__finitel_use+set} != xset; then - if test "${glibcxx_cv_func__finitel_use+set}" = set; then + echo "$as_me:$LINENO: checking for _long double trig functions" >&5 +echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6 + if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -61483,14 +52627,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _finitel(0); +_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0); ; return 0; } @@ -61517,12 +52657,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__finitel_use=yes + glibcxx_cv_func__long_double_trig_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__finitel_use=no +glibcxx_cv_func__long_double_trig_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -61531,16 +52671,21 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6 + if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then - if test x$glibcxx_cv_func__finitel_use = x"yes"; then -for ac_func in _finitel + + + + + + + +for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -61653,27 +52798,30 @@ done - LIBS="$ac_save_LIBS" - CXXFLAGS="$ac_save_CXXFLAGS" - echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5 -echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then + + + + + + + echo "$as_me:$LINENO: checking for long double round functions" >&5 +echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6 + if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - ac_ext=cc + ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -61683,7 +52831,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - __builtin_abs(0); +ceill (0); floorl (0); ; return 0; } @@ -61710,35 +52858,36 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_abs_use=yes + glibcxx_cv_func_long_double_round_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_abs_use=no +glibcxx_cv_func_long_double_round_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6 - if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5 -echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then + echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6 + if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then + + +for ac_func in ceill floorl +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - if test x$gcc_no_link = xyes; then + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -61749,11 +52898,47 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + int main () { - __builtin_abs(0); +return f != $ac_func; ; return 0; } @@ -61780,37 +52965,30 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_abs_link=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_abs_link=no +eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6 - - if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then - -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_ABS 1 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF - fi - - fi - +fi +done - echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5 -echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then + else + echo "$as_me:$LINENO: checking for _long double round functions" >&5 +echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6 + if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -61832,7 +53010,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - __builtin_fabsf(0); +_ceill (0); _floorl (0); ; return 0; } @@ -61859,12 +53037,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_fabsf_use=yes + glibcxx_cv_func__long_double_round_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_fabsf_use=no +glibcxx_cv_func__long_double_round_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -61873,21 +53051,22 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6 - if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5 -echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then + echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6 + if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then + + +for ac_func in _ceill _floorl +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - if test x$gcc_no_link = xyes; then + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -61898,11 +53077,47 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + int main () { - __builtin_fabsf(0); +return f != $ac_func; ; return 0; } @@ -61929,37 +53144,40 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_fabsf_link=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_fabsf_link=no +eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF fi +done fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6 + fi + + - if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_FABSF 1 -_ACEOF - fi - fi - echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5 -echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then + echo "$as_me:$LINENO: checking for isnanl declaration" >&5 +echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_isnanl_use+set} != xset; then + if test "${glibcxx_cv_func_isnanl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -61978,10 +53196,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - __builtin_fabs(0); + isnanl(0); ; return 0; } @@ -62008,12 +53230,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_fabs_use=yes + glibcxx_cv_func_isnanl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_fabs_use=no +glibcxx_cv_func_isnanl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -62026,17 +53248,20 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6 - if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5 -echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then + echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6 + + if test x$glibcxx_cv_func_isnanl_use = x"yes"; then + +for ac_func in isnanl +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - if test x$gcc_no_link = xyes; then + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -62047,160 +53272,47 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include -int -main () -{ - __builtin_fabs(0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_fabs_link=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func___builtin_fabs_link=no -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - -fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6 - - if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then - -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_FABS 1 -_ACEOF - - fi - - fi - - - echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5 -echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu +#undef $ac_func - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -int -main () +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" { - __builtin_fabsl(0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_fabsl_use=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func___builtin_fabsl_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6 - if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5 -echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include int main () { - __builtin_fabsl(0); +return f != $ac_func; ; return 0; } @@ -62227,37 +53339,32 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_fabsl_link=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_fabsl_link=no +eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6 - - if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then - -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_FABSL 1 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF - fi - - fi +fi +done + else - echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5 -echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then + echo "$as_me:$LINENO: checking for _isnanl declaration" >&5 +echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__isnanl_use+set} != xset; then + if test "${glibcxx_cv_func__isnanl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -62276,10 +53383,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - __builtin_labs(0); + _isnanl(0); ; return 0; } @@ -62306,12 +53417,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_labs_use=yes + glibcxx_cv_func__isnanl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_labs_use=no +glibcxx_cv_func__isnanl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -62324,17 +53435,20 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6 - if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5 -echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then + echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6 + + if test x$glibcxx_cv_func__isnanl_use = x"yes"; then + +for ac_func in _isnanl +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - if test x$gcc_no_link = xyes; then + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -62345,11 +53459,47 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + int main () { - __builtin_labs(0); +return f != $ac_func; ; return 0; } @@ -62376,38 +53526,38 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_labs_link=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_labs_link=no +eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF fi +done fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6 - - if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then + fi -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_LABS 1 -_ACEOF - fi - fi - echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5 -echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then + echo "$as_me:$LINENO: checking for isinfl declaration" >&5 +echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_isinfl_use+set} != xset; then + if test "${glibcxx_cv_func_isinfl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -62426,10 +53576,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - __builtin_sqrtf(0); + isinfl(0); ; return 0; } @@ -62456,12 +53610,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_sqrtf_use=yes + glibcxx_cv_func_isinfl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_sqrtf_use=no +glibcxx_cv_func_isinfl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -62474,17 +53628,20 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6 - if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5 -echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then + echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6 + + if test x$glibcxx_cv_func_isinfl_use = x"yes"; then + +for ac_func in isinfl +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - if test x$gcc_no_link = xyes; then + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -62495,11 +53652,47 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + int main () { - __builtin_sqrtf(0); +return f != $ac_func; ; return 0; } @@ -62526,37 +53719,32 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_sqrtf_link=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_sqrtf_link=no +eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6 - - if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then - -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_SQRTF 1 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF - fi - - fi +fi +done + else - echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5 -echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then + echo "$as_me:$LINENO: checking for _isinfl declaration" >&5 +echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__isinfl_use+set} != xset; then + if test "${glibcxx_cv_func__isinfl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -62575,10 +53763,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - __builtin_sqrt(0); + _isinfl(0); ; return 0; } @@ -62605,12 +53797,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_sqrt_use=yes + glibcxx_cv_func__isinfl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_sqrt_use=no +glibcxx_cv_func__isinfl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -62623,17 +53815,20 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6 - if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5 -echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then + echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6 + + if test x$glibcxx_cv_func__isinfl_use = x"yes"; then + +for ac_func in _isinfl +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - if test x$gcc_no_link = xyes; then + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -62644,11 +53839,47 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + int main () { - __builtin_sqrt(0); +return f != $ac_func; ; return 0; } @@ -62675,37 +53906,38 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_sqrt_link=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_sqrt_link=no +eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF fi +done fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6 + fi - if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_SQRT 1 -_ACEOF - fi - fi - echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5 -echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then + echo "$as_me:$LINENO: checking for copysignl declaration" >&5 +echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_copysignl_use+set} != xset; then + if test "${glibcxx_cv_func_copysignl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -62727,7 +53959,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - __builtin_sqrtl(0); + copysignl(0, 0); ; return 0; } @@ -62754,12 +53986,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_sqrtl_use=yes + glibcxx_cv_func_copysignl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_sqrtl_use=no +glibcxx_cv_func_copysignl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -62772,17 +54004,20 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6 - if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5 -echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then + echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6 + + if test x$glibcxx_cv_func_copysignl_use = x"yes"; then + +for ac_func in copysignl +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - if test x$gcc_no_link = xyes; then + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -62793,11 +54028,47 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + int main () { - __builtin_sqrtl(0); +return f != $ac_func; ; return 0; } @@ -62824,38 +54095,32 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_sqrtl_link=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_sqrtl_link=no +eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6 - - if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then - -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_SQRTL 1 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF - fi - - fi - +fi +done + else - echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5 -echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then + echo "$as_me:$LINENO: checking for _copysignl declaration" >&5 +echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__copysignl_use+set} != xset; then + if test "${glibcxx_cv_func__copysignl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -62877,7 +54142,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - __builtin_sinf(0); + _copysignl(0, 0); ; return 0; } @@ -62904,12 +54169,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_sinf_use=yes + glibcxx_cv_func__copysignl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_sinf_use=no +glibcxx_cv_func__copysignl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -62922,17 +54187,20 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6 - if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5 -echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then + echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6 + + if test x$glibcxx_cv_func__copysignl_use = x"yes"; then + +for ac_func in _copysignl +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - if test x$gcc_no_link = xyes; then + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -62943,11 +54211,47 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + int main () { - __builtin_sinf(0); +return f != $ac_func; ; return 0; } @@ -62974,37 +54278,38 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_sinf_link=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_sinf_link=no +eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF fi +done fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6 + fi - if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_SINF 1 -_ACEOF - fi - fi - echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5 -echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then + echo "$as_me:$LINENO: checking for atan2l declaration" >&5 +echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_atan2l_use+set} != xset; then + if test "${glibcxx_cv_func_atan2l_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -63026,7 +54331,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - __builtin_sin(0); + atan2l(0, 0); ; return 0; } @@ -63053,12 +54358,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_sin_use=yes + glibcxx_cv_func_atan2l_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_sin_use=no +glibcxx_cv_func_atan2l_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -63071,17 +54376,20 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6 - if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5 -echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then + echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6 + + if test x$glibcxx_cv_func_atan2l_use = x"yes"; then + +for ac_func in atan2l +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - if test x$gcc_no_link = xyes; then + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -63092,11 +54400,47 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + int main () { - __builtin_sin(0); +return f != $ac_func; ; return 0; } @@ -63123,37 +54467,32 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_sin_link=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_sin_link=no +eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6 - - if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then - -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_SIN 1 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF - fi - - fi +fi +done + else - echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5 -echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then + echo "$as_me:$LINENO: checking for _atan2l declaration" >&5 +echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__atan2l_use+set} != xset; then + if test "${glibcxx_cv_func__atan2l_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -63175,7 +54514,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - __builtin_sinl(0); + _atan2l(0, 0); ; return 0; } @@ -63202,12 +54541,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_sinl_use=yes + glibcxx_cv_func__atan2l_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_sinl_use=no +glibcxx_cv_func__atan2l_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -63220,17 +54559,20 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6 - if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5 -echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then + echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6 + + if test x$glibcxx_cv_func__atan2l_use = x"yes"; then + +for ac_func in _atan2l +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - if test x$gcc_no_link = xyes; then + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -63241,11 +54583,47 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + int main () { - __builtin_sinl(0); +return f != $ac_func; ; return 0; } @@ -63272,38 +54650,38 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_sinl_link=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_sinl_link=no +eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF fi +done fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6 - - if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then + fi -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_SINL 1 -_ACEOF - fi - fi - echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5 -echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then + echo "$as_me:$LINENO: checking for expl declaration" >&5 +echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_expl_use+set} != xset; then + if test "${glibcxx_cv_func_expl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -63322,10 +54700,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - __builtin_cosf(0); + expl(0); ; return 0; } @@ -63352,12 +54734,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_cosf_use=yes + glibcxx_cv_func_expl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_cosf_use=no +glibcxx_cv_func_expl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -63370,17 +54752,20 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6 - if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5 -echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then + echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6 + + if test x$glibcxx_cv_func_expl_use = x"yes"; then + +for ac_func in expl +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - if test x$gcc_no_link = xyes; then + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -63391,11 +54776,47 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + int main () { - __builtin_cosf(0); +return f != $ac_func; ; return 0; } @@ -63422,37 +54843,32 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_cosf_link=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_cosf_link=no +eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6 - - if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then - -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_COSF 1 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF - fi - - fi +fi +done + else - echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5 -echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then + echo "$as_me:$LINENO: checking for _expl declaration" >&5 +echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__expl_use+set} != xset; then + if test "${glibcxx_cv_func__expl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -63471,10 +54887,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - __builtin_cos(0); + _expl(0); ; return 0; } @@ -63501,12 +54921,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_cos_use=yes + glibcxx_cv_func__expl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_cos_use=no +glibcxx_cv_func__expl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -63519,17 +54939,20 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6 - if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5 -echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then + echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6 + + if test x$glibcxx_cv_func__expl_use = x"yes"; then + +for ac_func in _expl +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - if test x$gcc_no_link = xyes; then + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -63540,11 +54963,47 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + int main () { - __builtin_cos(0); +return f != $ac_func; ; return 0; } @@ -63571,37 +55030,38 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_cos_link=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_cos_link=no +eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF fi +done fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6 + fi - if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_COS 1 -_ACEOF - fi - fi - echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5 -echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then + echo "$as_me:$LINENO: checking for fabsl declaration" >&5 +echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_fabsl_use+set} != xset; then + if test "${glibcxx_cv_func_fabsl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -63620,10 +55080,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - __builtin_cosl(0); + fabsl(0); ; return 0; } @@ -63650,12 +55114,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_cosl_use=yes + glibcxx_cv_func_fabsl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_cosl_use=no +glibcxx_cv_func_fabsl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -63668,17 +55132,20 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6 - if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5 -echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then + echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6 + + if test x$glibcxx_cv_func_fabsl_use = x"yes"; then + +for ac_func in fabsl +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - if test x$gcc_no_link = xyes; then + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -63689,11 +55156,47 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + int main () { - __builtin_cosl(0); +return f != $ac_func; ; return 0; } @@ -63720,109 +55223,108 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_cosl_link=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_cosl_link=no +eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6 - - if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then - -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_COSL 1 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF - fi +fi +done - fi + else + echo "$as_me:$LINENO: checking for _fabsl declaration" >&5 +echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__fabsl_use+set} != xset; then + if test "${glibcxx_cv_func__fabsl_use+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else -echo "$as_me:$LINENO: checking for main in -lm" >&5 -echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 -if test "${ac_cv_lib_m_main+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lm $LIBS" -if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF + ac_ext=cc +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ - +#include + #ifdef HAVE_IEEEFP_H + #include + #endif int main () { -main (); + _fabsl(0); ; return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' + { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - ac_cv_lib_m_main=yes + glibcxx_cv_func__fabsl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -ac_cv_lib_m_main=no -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS +glibcxx_cv_func__fabsl_use=no fi -echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 -echo "${ECHO_T}$ac_cv_lib_m_main" >&6 -if test $ac_cv_lib_m_main = yes; then - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBM 1 -_ACEOF +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu - LIBS="-lm $LIBS" fi + fi + echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6 -for ac_func in copysignf + if test x$glibcxx_cv_func__fabsl_use = x"yes"; then + +for ac_func in _fabsl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -63925,124 +55427,93 @@ if test `eval echo '${'$as_ac_var'}'` = yes; then #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF -else - LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo" fi done + fi + fi -for ac_func in __signbit -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then + + + + + echo "$as_me:$LINENO: checking for fmodl declaration" >&5 +echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_fmodl_use+set} != xset; then + if test "${glibcxx_cv_func_fmodl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF + + + + ac_ext=cc +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif - +#include int main () { -return f != $ac_func; + fmodl(0, 0); ; return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' + { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - eval "$as_ac_var=yes" + glibcxx_cv_func_fmodl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -eval "$as_ac_var=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext +glibcxx_cv_func_fmodl_use=no fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + -else - LIBMATHOBJS="$LIBMATHOBJS signbit.lo" fi -done + fi + echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6 + if test x$glibcxx_cv_func_fmodl_use = x"yes"; then -for ac_func in __signbitf +for ac_func in fmodl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -64145,15 +55616,87 @@ if test `eval echo '${'$as_ac_var'}'` = yes; then #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF -else - LIBMATHOBJS="$LIBMATHOBJS signbitf.lo" fi done + else - if test x$ac_cv_func_copysignl = x"yes"; then + echo "$as_me:$LINENO: checking for _fmodl declaration" >&5 +echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__fmodl_use+set} != xset; then + if test "${glibcxx_cv_func__fmodl_use+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else -for ac_func in __signbitl + + + ac_ext=cc +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +int +main () +{ + _fmodl(0, 0); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_cxx_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + glibcxx_cv_func__fmodl_use=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +glibcxx_cv_func__fmodl_use=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +fi + + fi + echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6 + + if test x$glibcxx_cv_func__fmodl_use = x"yes"; then + +for ac_func in _fmodl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -64256,29 +55799,21 @@ if test `eval echo '${'$as_ac_var'}'` = yes; then #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF -else - LIBMATHOBJS="$LIBMATHOBJS signbitl.lo" fi done + fi fi - # Used in libmath/Makefile.am. - if test -n "$LIBMATHOBJS"; then - need_libmath=yes - fi - ac_test_CXXFLAGS="${CXXFLAGS+set}" - ac_save_CXXFLAGS="$CXXFLAGS" - CXXFLAGS='-fno-builtin -D_GNU_SOURCE' - echo "$as_me:$LINENO: checking for strtold declaration" >&5 -echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_strtold_use+set} != xset; then - if test "${glibcxx_cv_func_strtold_use+set}" = set; then + echo "$as_me:$LINENO: checking for frexpl declaration" >&5 +echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_frexpl_use+set} != xset; then + if test "${glibcxx_cv_func_frexpl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -64296,11 +55831,11 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +#include int main () { - strtold(0, 0); + frexpl(0, 0); ; return 0; } @@ -64327,12 +55862,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_strtold_use=yes + glibcxx_cv_func_frexpl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_strtold_use=no +glibcxx_cv_func_frexpl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -64345,11 +55880,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6 - if test x$glibcxx_cv_func_strtold_use = x"yes"; then + echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6 -for ac_func in strtold + if test x$glibcxx_cv_func_frexpl_use = x"yes"; then + +for ac_func in frexpl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -64455,16 +55991,12 @@ _ACEOF fi done - fi - - - - + else - echo "$as_me:$LINENO: checking for strtof declaration" >&5 -echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_strtof_use+set} != xset; then - if test "${glibcxx_cv_func_strtof_use+set}" = set; then + echo "$as_me:$LINENO: checking for _frexpl declaration" >&5 +echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__frexpl_use+set} != xset; then + if test "${glibcxx_cv_func__frexpl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -64482,11 +56014,11 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +#include int main () { - strtof(0, 0); + _frexpl(0, 0); ; return 0; } @@ -64513,12 +56045,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_strtof_use=yes + glibcxx_cv_func__frexpl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_strtof_use=no +glibcxx_cv_func__frexpl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -64531,11 +56063,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6 - if test x$glibcxx_cv_func_strtof_use = x"yes"; then + echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6 -for ac_func in strtof + if test x$glibcxx_cv_func__frexpl_use = x"yes"; then + +for ac_func in _frexpl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -64621,167 +56154,38 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -eval "$as_ac_var=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - fi - - - - - - CXXFLAGS="$ac_save_CXXFLAGS" - - - cat >>confdefs.h <<\_ACEOF -#define HAVE_LIBM 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_COPYSIGN 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_FINITE 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_HYPOT 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_ISNAN 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_ISINF 1 -_ACEOF - - - cat >>confdefs.h <<\_ACEOF -#define HAVE_LDEXPF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_MODF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_SQRTF 1 -_ACEOF - - ;; - - *-darwin*) - # Darwin versions vary, but the linker should work in a cross environment, - # so we just check for all the features here. - # Check for available headers. - - # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld - - ac_test_CXXFLAGS="${CXXFLAGS+set}" - ac_save_CXXFLAGS="$CXXFLAGS" - CXXFLAGS='-fno-builtin -D_GNU_SOURCE' - - echo "$as_me:$LINENO: checking for sin in -lm" >&5 -echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6 -if test "${ac_cv_lib_m_sin+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lm $LIBS" -if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char sin (); -int -main () -{ -sin (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_lib_m_sin=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -ac_cv_lib_m_sin=no +eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5 -echo "${ECHO_T}$ac_cv_lib_m_sin" >&6 -if test $ac_cv_lib_m_sin = yes; then - libm="-lm" +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + fi +done - ac_save_LIBS="$LIBS" - LIBS="$LIBS $libm" + fi + fi - echo "$as_me:$LINENO: checking for isinf declaration" >&5 -echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_isinf_use+set} != xset; then - if test "${glibcxx_cv_func_isinf_use+set}" = set; then + + + + echo "$as_me:$LINENO: checking for hypotl declaration" >&5 +echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_hypotl_use+set} != xset; then + if test "${glibcxx_cv_func_hypotl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -64800,14 +56204,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - isinf(0); + hypotl(0, 0); ; return 0; } @@ -64834,12 +56234,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_isinf_use=yes + glibcxx_cv_func_hypotl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_isinf_use=no +glibcxx_cv_func_hypotl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -64852,12 +56252,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6 - if test x$glibcxx_cv_func_isinf_use = x"yes"; then + if test x$glibcxx_cv_func_hypotl_use = x"yes"; then -for ac_func in isinf +for ac_func in hypotl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -64965,10 +56365,10 @@ done else - echo "$as_me:$LINENO: checking for _isinf declaration" >&5 -echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__isinf_use+set} != xset; then - if test "${glibcxx_cv_func__isinf_use+set}" = set; then + echo "$as_me:$LINENO: checking for _hypotl declaration" >&5 +echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__hypotl_use+set} != xset; then + if test "${glibcxx_cv_func__hypotl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -64987,14 +56387,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _isinf(0); + _hypotl(0, 0); ; return 0; } @@ -65021,12 +56417,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__isinf_use=yes + glibcxx_cv_func__hypotl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__isinf_use=no +glibcxx_cv_func__hypotl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -65039,12 +56435,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6 - if test x$glibcxx_cv_func__isinf_use = x"yes"; then + if test x$glibcxx_cv_func__hypotl_use = x"yes"; then -for ac_func in _isinf +for ac_func in _hypotl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -65158,10 +56554,10 @@ done - echo "$as_me:$LINENO: checking for isnan declaration" >&5 -echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_isnan_use+set} != xset; then - if test "${glibcxx_cv_func_isnan_use+set}" = set; then + echo "$as_me:$LINENO: checking for ldexpl declaration" >&5 +echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then + if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -65180,14 +56576,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - isnan(0); + ldexpl(0, 0); ; return 0; } @@ -65214,12 +56606,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_isnan_use=yes + glibcxx_cv_func_ldexpl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_isnan_use=no +glibcxx_cv_func_ldexpl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -65232,12 +56624,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6 - if test x$glibcxx_cv_func_isnan_use = x"yes"; then + if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then -for ac_func in isnan +for ac_func in ldexpl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -65345,10 +56737,10 @@ done else - echo "$as_me:$LINENO: checking for _isnan declaration" >&5 -echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__isnan_use+set} != xset; then - if test "${glibcxx_cv_func__isnan_use+set}" = set; then + echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5 +echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then + if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -65367,14 +56759,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _isnan(0); + _ldexpl(0, 0); ; return 0; } @@ -65401,12 +56789,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__isnan_use=yes + glibcxx_cv_func__ldexpl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__isnan_use=no +glibcxx_cv_func__ldexpl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -65419,12 +56807,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6 - if test x$glibcxx_cv_func__isnan_use = x"yes"; then + if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then -for ac_func in _isnan +for ac_func in _ldexpl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -65538,10 +56926,10 @@ done - echo "$as_me:$LINENO: checking for finite declaration" >&5 -echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_finite_use+set} != xset; then - if test "${glibcxx_cv_func_finite_use+set}" = set; then + echo "$as_me:$LINENO: checking for logl declaration" >&5 +echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_logl_use+set} != xset; then + if test "${glibcxx_cv_func_logl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -65567,7 +56955,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - finite(0); + logl(0); ; return 0; } @@ -65594,12 +56982,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_finite_use=yes + glibcxx_cv_func_logl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_finite_use=no +glibcxx_cv_func_logl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -65612,12 +57000,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6 - if test x$glibcxx_cv_func_finite_use = x"yes"; then + if test x$glibcxx_cv_func_logl_use = x"yes"; then -for ac_func in finite +for ac_func in logl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -65725,10 +57113,10 @@ done else - echo "$as_me:$LINENO: checking for _finite declaration" >&5 -echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__finite_use+set} != xset; then - if test "${glibcxx_cv_func__finite_use+set}" = set; then + echo "$as_me:$LINENO: checking for _logl declaration" >&5 +echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__logl_use+set} != xset; then + if test "${glibcxx_cv_func__logl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -65754,7 +57142,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - _finite(0); + _logl(0); ; return 0; } @@ -65781,12 +57169,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__finite_use=yes + glibcxx_cv_func__logl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__finite_use=no +glibcxx_cv_func__logl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -65799,12 +57187,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6 - if test x$glibcxx_cv_func__finite_use = x"yes"; then + if test x$glibcxx_cv_func__logl_use = x"yes"; then -for ac_func in _finite +for ac_func in _logl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -65918,10 +57306,10 @@ done - echo "$as_me:$LINENO: checking for copysign declaration" >&5 -echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_copysign_use+set} != xset; then - if test "${glibcxx_cv_func_copysign_use+set}" = set; then + echo "$as_me:$LINENO: checking for log10l declaration" >&5 +echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_log10l_use+set} != xset; then + if test "${glibcxx_cv_func_log10l_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -65940,10 +57328,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - copysign(0, 0); + log10l(0); ; return 0; } @@ -65970,12 +57362,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_copysign_use=yes + glibcxx_cv_func_log10l_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_copysign_use=no +glibcxx_cv_func_log10l_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -65988,12 +57380,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6 - if test x$glibcxx_cv_func_copysign_use = x"yes"; then + if test x$glibcxx_cv_func_log10l_use = x"yes"; then -for ac_func in copysign +for ac_func in log10l do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -66101,10 +57493,10 @@ done else - echo "$as_me:$LINENO: checking for _copysign declaration" >&5 -echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__copysign_use+set} != xset; then - if test "${glibcxx_cv_func__copysign_use+set}" = set; then + echo "$as_me:$LINENO: checking for _log10l declaration" >&5 +echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__log10l_use+set} != xset; then + if test "${glibcxx_cv_func__log10l_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -66123,10 +57515,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _copysign(0, 0); + _log10l(0); ; return 0; } @@ -66153,12 +57549,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__copysign_use=yes + glibcxx_cv_func__log10l_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__copysign_use=no +glibcxx_cv_func__log10l_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -66171,12 +57567,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6 - if test x$glibcxx_cv_func__copysign_use = x"yes"; then + if test x$glibcxx_cv_func__log10l_use = x"yes"; then -for ac_func in _copysign +for ac_func in _log10l do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -66290,10 +57686,10 @@ done - echo "$as_me:$LINENO: checking for sincos declaration" >&5 -echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_sincos_use+set} != xset; then - if test "${glibcxx_cv_func_sincos_use+set}" = set; then + echo "$as_me:$LINENO: checking for modfl declaration" >&5 +echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_modfl_use+set} != xset; then + if test "${glibcxx_cv_func_modfl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -66315,7 +57711,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - sincos(0, 0, 0); + modfl(0, 0); ; return 0; } @@ -66342,12 +57738,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_sincos_use=yes + glibcxx_cv_func_modfl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_sincos_use=no +glibcxx_cv_func_modfl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -66360,12 +57756,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6 - if test x$glibcxx_cv_func_sincos_use = x"yes"; then + if test x$glibcxx_cv_func_modfl_use = x"yes"; then -for ac_func in sincos +for ac_func in modfl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -66473,10 +57869,10 @@ done else - echo "$as_me:$LINENO: checking for _sincos declaration" >&5 -echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__sincos_use+set} != xset; then - if test "${glibcxx_cv_func__sincos_use+set}" = set; then + echo "$as_me:$LINENO: checking for _modfl declaration" >&5 +echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__modfl_use+set} != xset; then + if test "${glibcxx_cv_func__modfl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -66498,7 +57894,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - _sincos(0, 0, 0); + _modfl(0, 0); ; return 0; } @@ -66525,12 +57921,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__sincos_use=yes + glibcxx_cv_func__modfl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__sincos_use=no +glibcxx_cv_func__modfl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -66543,12 +57939,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6 - if test x$glibcxx_cv_func__sincos_use = x"yes"; then + if test x$glibcxx_cv_func__modfl_use = x"yes"; then -for ac_func in _sincos +for ac_func in _modfl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -66662,10 +58058,10 @@ done - echo "$as_me:$LINENO: checking for fpclass declaration" >&5 -echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_fpclass_use+set} != xset; then - if test "${glibcxx_cv_func_fpclass_use+set}" = set; then + echo "$as_me:$LINENO: checking for powl declaration" >&5 +echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_powl_use+set} != xset; then + if test "${glibcxx_cv_func_powl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -66684,14 +58080,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - fpclass(0); + powl(0, 0); ; return 0; } @@ -66718,12 +58110,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_fpclass_use=yes + glibcxx_cv_func_powl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_fpclass_use=no +glibcxx_cv_func_powl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -66736,12 +58128,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6 - if test x$glibcxx_cv_func_fpclass_use = x"yes"; then + if test x$glibcxx_cv_func_powl_use = x"yes"; then -for ac_func in fpclass +for ac_func in powl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -66849,10 +58241,10 @@ done else - echo "$as_me:$LINENO: checking for _fpclass declaration" >&5 -echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__fpclass_use+set} != xset; then - if test "${glibcxx_cv_func__fpclass_use+set}" = set; then + echo "$as_me:$LINENO: checking for _powl declaration" >&5 +echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__powl_use+set} != xset; then + if test "${glibcxx_cv_func__powl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -66871,14 +58263,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _fpclass(0); + _powl(0, 0); ; return 0; } @@ -66905,12 +58293,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__fpclass_use=yes + glibcxx_cv_func__powl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__fpclass_use=no +glibcxx_cv_func__powl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -66923,12 +58311,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6 - if test x$glibcxx_cv_func__fpclass_use = x"yes"; then + if test x$glibcxx_cv_func__powl_use = x"yes"; then -for ac_func in _fpclass +for ac_func in _powl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -67042,197 +58430,10 @@ done - echo "$as_me:$LINENO: checking for qfpclass declaration" >&5 -echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then - if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - qfpclass(0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func_qfpclass_use=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func_qfpclass_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6 - - if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then - -for ac_func in qfpclass -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif - -int -main () -{ -return f != $ac_func; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -eval "$as_ac_var=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - else - - echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5 -echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then - if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then + echo "$as_me:$LINENO: checking for sqrtl declaration" >&5 +echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then + if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -67258,7 +58459,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - _qfpclass(0); + sqrtl(0); ; return 0; } @@ -67285,12 +58486,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__qfpclass_use=yes + glibcxx_cv_func_sqrtl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__qfpclass_use=no +glibcxx_cv_func_sqrtl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -67303,12 +58504,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6 - if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then + if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then -for ac_func in _qfpclass +for ac_func in sqrtl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -67414,18 +58615,12 @@ _ACEOF fi done - fi - fi - - - - - + else - echo "$as_me:$LINENO: checking for hypot declaration" >&5 -echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_hypot_use+set} != xset; then - if test "${glibcxx_cv_func_hypot_use+set}" = set; then + echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5 +echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then + if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -67444,10 +58639,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - hypot(0, 0); + _sqrtl(0); ; return 0; } @@ -67474,12 +58673,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_hypot_use=yes + glibcxx_cv_func__sqrtl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_hypot_use=no +glibcxx_cv_func__sqrtl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -67492,12 +58691,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6 - if test x$glibcxx_cv_func_hypot_use = x"yes"; then + if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then -for ac_func in hypot +for ac_func in _sqrtl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -67603,12 +58802,18 @@ _ACEOF fi done - else + fi + fi - echo "$as_me:$LINENO: checking for _hypot declaration" >&5 -echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__hypot_use+set} != xset; then - if test "${glibcxx_cv_func__hypot_use+set}" = set; then + + + + + + echo "$as_me:$LINENO: checking for sincosl declaration" >&5 +echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_sincosl_use+set} != xset; then + if test "${glibcxx_cv_func_sincosl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -67630,7 +58835,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - _hypot(0, 0); + sincosl(0, 0, 0); ; return 0; } @@ -67657,12 +58862,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__hypot_use=yes + glibcxx_cv_func_sincosl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__hypot_use=no +glibcxx_cv_func_sincosl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -67675,12 +58880,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6 - if test x$glibcxx_cv_func__hypot_use = x"yes"; then + if test x$glibcxx_cv_func_sincosl_use = x"yes"; then -for ac_func in _hypot +for ac_func in sincosl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -67786,29 +58991,24 @@ _ACEOF fi done - fi - fi - - - - - + else - echo "$as_me:$LINENO: checking for float trig functions" >&5 -echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6 - if test "${glibcxx_cv_func_float_trig_use+set}" = set; then + echo "$as_me:$LINENO: checking for _sincosl declaration" >&5 +echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__sincosl_use+set} != xset; then + if test "${glibcxx_cv_func__sincosl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - ac_ext=cc + ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -67818,7 +59018,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { -acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0); + _sincosl(0, 0, 0); ; return 0; } @@ -67845,35 +59045,30 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_float_trig_use=yes + glibcxx_cv_func__sincosl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_float_trig_use=no +glibcxx_cv_func__sincosl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -fi - - echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6 - if test x$glibcxx_cv_func_float_trig_use = x"yes"; then - - - - - +fi + fi + echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6 + if test x$glibcxx_cv_func__sincosl_use = x"yes"; then -for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf +for ac_func in _sincosl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -67979,10 +59174,18 @@ _ACEOF fi done - else - echo "$as_me:$LINENO: checking for _float trig functions" >&5 -echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6 - if test "${glibcxx_cv_func__float_trig_use+set}" = set; then + fi + fi + + + + + + + echo "$as_me:$LINENO: checking for finitel declaration" >&5 +echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_finitel_use+set} != xset; then + if test "${glibcxx_cv_func_finitel_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -68001,10 +59204,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { -_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0); + finitel(0); ; return 0; } @@ -68031,12 +59238,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__float_trig_use=yes + glibcxx_cv_func_finitel_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__float_trig_use=no +glibcxx_cv_func_finitel_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -68045,21 +59252,16 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -fi - - echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6 - if test x$glibcxx_cv_func__float_trig_use = x"yes"; then - - - - - +fi + fi + echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6 + if test x$glibcxx_cv_func_finitel_use = x"yes"; then -for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf +for ac_func in finitel do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -68165,47 +59367,38 @@ _ACEOF fi done - fi - fi - - - - - - - - - - - - - + else - echo "$as_me:$LINENO: checking for float round functions" >&5 -echo $ECHO_N "checking for float round functions... $ECHO_C" >&6 - if test "${glibcxx_cv_func_float_round_use+set}" = set; then + echo "$as_me:$LINENO: checking for _finitel declaration" >&5 +echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__finitel_use+set} != xset; then + if test "${glibcxx_cv_func__finitel_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - ac_ext=cc + ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { -ceilf (0); floorf (0); + _finitel(0); ; return 0; } @@ -68232,28 +59425,30 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_float_round_use=yes + glibcxx_cv_func__finitel_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_float_round_use=no +glibcxx_cv_func__finitel_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu + fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6 - if test x$glibcxx_cv_func_float_round_use = x"yes"; then + fi + echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6 + if test x$glibcxx_cv_func__finitel_use = x"yes"; then -for ac_func in ceilf floorf +for ac_func in _finitel do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -68359,80 +59554,92 @@ _ACEOF fi done - else - echo "$as_me:$LINENO: checking for _float round functions" >&5 -echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6 - if test "${glibcxx_cv_func__float_round_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else + fi + fi - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat >conftest.$ac_ext <<_ACEOF + + LIBS="$ac_save_LIBS" + CXXFLAGS="$ac_save_CXXFLAGS" + + + +echo "$as_me:$LINENO: checking for main in -lm" >&5 +echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 +if test "${ac_cv_lib_m_main+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lm $LIBS" +if test x$gcc_no_link = xyes; then + { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 +echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} + { (exit 1); exit 1; }; } +fi +cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include + + int main () { -_ceilf (0); _floorf (0); +main (); ; return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' + { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__float_round_use=yes + ac_cv_lib_m_main=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__float_round_use=no +ac_cv_lib_m_main=no fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS fi +echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 +echo "${ECHO_T}$ac_cv_lib_m_main" >&6 +if test $ac_cv_lib_m_main = yes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBM 1 +_ACEOF - echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6 - if test x$glibcxx_cv_func__float_round_use = x"yes"; then + LIBS="-lm $LIBS" +fi -for ac_func in _ceilf _floorf + +for ac_func in copysignf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -68535,99 +59742,124 @@ if test `eval echo '${'$as_ac_var'}'` = yes; then #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF +else + LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo" fi done - fi - fi - - - - - - - echo "$as_me:$LINENO: checking for expf declaration" >&5 -echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_expf_use+set} != xset; then - if test "${glibcxx_cv_func_expf_use+set}" = set; then +for ac_func in __signbit +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF + if test x$gcc_no_link = xyes; then + { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 +echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} + { (exit 1); exit 1; }; } +fi +cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif int main () { - expf(0); +return f != $ac_func; ; return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' + { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_expf_use=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_expf_use=no +eval "$as_ac_var=no" fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF +else + LIBMATHOBJS="$LIBMATHOBJS signbit.lo" fi +done - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6 - if test x$glibcxx_cv_func_expf_use = x"yes"; then -for ac_func in expf +for ac_func in __signbitf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -68730,91 +59962,15 @@ if test `eval echo '${'$as_ac_var'}'` = yes; then #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF -fi -done - - else - - echo "$as_me:$LINENO: checking for _expf declaration" >&5 -echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__expf_use+set} != xset; then - if test "${glibcxx_cv_func__expf_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _expf(0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func__expf_use=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func__expf_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - + LIBMATHOBJS="$LIBMATHOBJS signbitf.lo" fi +done - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6 - if test x$glibcxx_cv_func__expf_use = x"yes"; then + if test x$ac_cv_func_copysignl = x"yes"; then -for ac_func in _expf +for ac_func in __signbitl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -68917,21 +60073,29 @@ if test `eval echo '${'$as_ac_var'}'` = yes; then #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF +else + LIBMATHOBJS="$LIBMATHOBJS signbitl.lo" fi done - fi fi + # Used in libmath/Makefile.am. + if test -n "$LIBMATHOBJS"; then + need_libmath=yes + fi + ac_test_CXXFLAGS="${CXXFLAGS+set}" + ac_save_CXXFLAGS="$CXXFLAGS" + CXXFLAGS='-fno-builtin -D_GNU_SOURCE' - echo "$as_me:$LINENO: checking for isnanf declaration" >&5 -echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_isnanf_use+set} != xset; then - if test "${glibcxx_cv_func_isnanf_use+set}" = set; then + echo "$as_me:$LINENO: checking for strtold declaration" >&5 +echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_strtold_use+set} != xset; then + if test "${glibcxx_cv_func_strtold_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -68949,15 +60113,11 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - +#include int main () { - isnanf(0); + strtold(0, 0); ; return 0; } @@ -68984,12 +60144,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_isnanf_use=yes + glibcxx_cv_func_strtold_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_isnanf_use=no +glibcxx_cv_func_strtold_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -69002,12 +60162,11 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6 - - if test x$glibcxx_cv_func_isnanf_use = x"yes"; then + echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6 + if test x$glibcxx_cv_func_strtold_use = x"yes"; then -for ac_func in isnanf +for ac_func in strtold do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -69113,12 +60272,16 @@ _ACEOF fi done - else + fi - echo "$as_me:$LINENO: checking for _isnanf declaration" >&5 -echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__isnanf_use+set} != xset; then - if test "${glibcxx_cv_func__isnanf_use+set}" = set; then + + + + + echo "$as_me:$LINENO: checking for strtof declaration" >&5 +echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_strtof_use+set} != xset; then + if test "${glibcxx_cv_func_strtof_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -69136,15 +60299,11 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - +#include int main () { - _isnanf(0); + strtof(0, 0); ; return 0; } @@ -69171,12 +60330,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__isnanf_use=yes + glibcxx_cv_func_strtof_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__isnanf_use=no +glibcxx_cv_func_strtof_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -69189,12 +60348,11 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6 - - if test x$glibcxx_cv_func__isnanf_use = x"yes"; then + echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6 + if test x$glibcxx_cv_func_strtof_use = x"yes"; then -for ac_func in _isnanf +for ac_func in strtof do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -69300,18 +60458,147 @@ _ACEOF fi done - fi fi + CXXFLAGS="$ac_save_CXXFLAGS" - echo "$as_me:$LINENO: checking for isinff declaration" >&5 -echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_isinff_use+set} != xset; then - if test "${glibcxx_cv_func_isinff_use+set}" = set; then + + cat >>confdefs.h <<\_ACEOF +#define HAVE_LIBM 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_COPYSIGN 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_FINITE 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_HYPOT 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_ISNAN 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_ISINF 1 +_ACEOF + + + cat >>confdefs.h <<\_ACEOF +#define HAVE_LDEXPF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_MODF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_SQRTF 1 +_ACEOF + + ;; + + *-darwin*) + # Darwin versions vary, but the linker should work in a cross environment, + # so we just check for all the features here. + # Check for available headers. + + # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld + + ac_test_CXXFLAGS="${CXXFLAGS+set}" + ac_save_CXXFLAGS="$CXXFLAGS" + CXXFLAGS='-fno-builtin -D_GNU_SOURCE' + + echo "$as_me:$LINENO: checking for sin in -lm" >&5 +echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6 +if test "${ac_cv_lib_m_sin+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lm $LIBS" +if test x$gcc_no_link = xyes; then + { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 +echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} + { (exit 1); exit 1; }; } +fi +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char sin (); +int +main () +{ +sin (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_lib_m_sin=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_m_sin=no +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5 +echo "${ECHO_T}$ac_cv_lib_m_sin" >&6 +if test $ac_cv_lib_m_sin = yes; then + libm="-lm" +fi + + ac_save_LIBS="$LIBS" + LIBS="$LIBS $libm" + + + + echo "$as_me:$LINENO: checking for isinf declaration" >&5 +echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_isinf_use+set} != xset; then + if test "${glibcxx_cv_func_isinf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -69337,7 +60624,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - isinff(0); + isinf(0); ; return 0; } @@ -69364,12 +60651,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_isinff_use=yes + glibcxx_cv_func_isinf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_isinff_use=no +glibcxx_cv_func_isinf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -69382,12 +60669,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6 - if test x$glibcxx_cv_func_isinff_use = x"yes"; then + if test x$glibcxx_cv_func_isinf_use = x"yes"; then -for ac_func in isinff +for ac_func in isinf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -69495,10 +60782,10 @@ done else - echo "$as_me:$LINENO: checking for _isinff declaration" >&5 -echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__isinff_use+set} != xset; then - if test "${glibcxx_cv_func__isinff_use+set}" = set; then + echo "$as_me:$LINENO: checking for _isinf declaration" >&5 +echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__isinf_use+set} != xset; then + if test "${glibcxx_cv_func__isinf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -69524,7 +60811,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - _isinff(0); + _isinf(0); ; return 0; } @@ -69551,12 +60838,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__isinff_use=yes + glibcxx_cv_func__isinf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__isinff_use=no +glibcxx_cv_func__isinf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -69569,12 +60856,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6 - if test x$glibcxx_cv_func__isinff_use = x"yes"; then + if test x$glibcxx_cv_func__isinf_use = x"yes"; then -for ac_func in _isinff +for ac_func in _isinf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -69688,10 +60975,10 @@ done - echo "$as_me:$LINENO: checking for atan2f declaration" >&5 -echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_atan2f_use+set} != xset; then - if test "${glibcxx_cv_func_atan2f_use+set}" = set; then + echo "$as_me:$LINENO: checking for isnan declaration" >&5 +echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_isnan_use+set} != xset; then + if test "${glibcxx_cv_func_isnan_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -69710,10 +60997,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - atan2f(0, 0); + isnan(0); ; return 0; } @@ -69740,12 +61031,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_atan2f_use=yes + glibcxx_cv_func_isnan_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_atan2f_use=no +glibcxx_cv_func_isnan_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -69758,12 +61049,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6 - if test x$glibcxx_cv_func_atan2f_use = x"yes"; then + if test x$glibcxx_cv_func_isnan_use = x"yes"; then -for ac_func in atan2f +for ac_func in isnan do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -69871,10 +61162,10 @@ done else - echo "$as_me:$LINENO: checking for _atan2f declaration" >&5 -echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__atan2f_use+set} != xset; then - if test "${glibcxx_cv_func__atan2f_use+set}" = set; then + echo "$as_me:$LINENO: checking for _isnan declaration" >&5 +echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__isnan_use+set} != xset; then + if test "${glibcxx_cv_func__isnan_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -69893,10 +61184,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _atan2f(0, 0); + _isnan(0); ; return 0; } @@ -69923,12 +61218,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__atan2f_use=yes + glibcxx_cv_func__isnan_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__atan2f_use=no +glibcxx_cv_func__isnan_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -69941,12 +61236,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6 - if test x$glibcxx_cv_func__atan2f_use = x"yes"; then + if test x$glibcxx_cv_func__isnan_use = x"yes"; then -for ac_func in _atan2f +for ac_func in _isnan do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -70060,10 +61355,10 @@ done - echo "$as_me:$LINENO: checking for fabsf declaration" >&5 -echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_fabsf_use+set} != xset; then - if test "${glibcxx_cv_func_fabsf_use+set}" = set; then + echo "$as_me:$LINENO: checking for finite declaration" >&5 +echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_finite_use+set} != xset; then + if test "${glibcxx_cv_func_finite_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -70089,7 +61384,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - fabsf(0); + finite(0); ; return 0; } @@ -70116,12 +61411,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_fabsf_use=yes + glibcxx_cv_func_finite_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_fabsf_use=no +glibcxx_cv_func_finite_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -70134,12 +61429,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6 - if test x$glibcxx_cv_func_fabsf_use = x"yes"; then + if test x$glibcxx_cv_func_finite_use = x"yes"; then -for ac_func in fabsf +for ac_func in finite do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -70247,10 +61542,10 @@ done else - echo "$as_me:$LINENO: checking for _fabsf declaration" >&5 -echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__fabsf_use+set} != xset; then - if test "${glibcxx_cv_func__fabsf_use+set}" = set; then + echo "$as_me:$LINENO: checking for _finite declaration" >&5 +echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__finite_use+set} != xset; then + if test "${glibcxx_cv_func__finite_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -70276,7 +61571,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - _fabsf(0); + _finite(0); ; return 0; } @@ -70303,12 +61598,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__fabsf_use=yes + glibcxx_cv_func__finite_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__fabsf_use=no +glibcxx_cv_func__finite_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -70321,12 +61616,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6 - if test x$glibcxx_cv_func__fabsf_use = x"yes"; then + if test x$glibcxx_cv_func__finite_use = x"yes"; then -for ac_func in _fabsf +for ac_func in _finite do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -70440,10 +61735,10 @@ done - echo "$as_me:$LINENO: checking for fmodf declaration" >&5 -echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_fmodf_use+set} != xset; then - if test "${glibcxx_cv_func_fmodf_use+set}" = set; then + echo "$as_me:$LINENO: checking for copysign declaration" >&5 +echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_copysign_use+set} != xset; then + if test "${glibcxx_cv_func_copysign_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -70465,7 +61760,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - fmodf(0, 0); + copysign(0, 0); ; return 0; } @@ -70492,12 +61787,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_fmodf_use=yes + glibcxx_cv_func_copysign_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_fmodf_use=no +glibcxx_cv_func_copysign_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -70510,12 +61805,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6 - if test x$glibcxx_cv_func_fmodf_use = x"yes"; then + if test x$glibcxx_cv_func_copysign_use = x"yes"; then -for ac_func in fmodf +for ac_func in copysign do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -70623,10 +61918,10 @@ done else - echo "$as_me:$LINENO: checking for _fmodf declaration" >&5 -echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__fmodf_use+set} != xset; then - if test "${glibcxx_cv_func__fmodf_use+set}" = set; then + echo "$as_me:$LINENO: checking for _copysign declaration" >&5 +echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__copysign_use+set} != xset; then + if test "${glibcxx_cv_func__copysign_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -70648,7 +61943,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - _fmodf(0, 0); + _copysign(0, 0); ; return 0; } @@ -70675,12 +61970,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__fmodf_use=yes + glibcxx_cv_func__copysign_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__fmodf_use=no +glibcxx_cv_func__copysign_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -70693,12 +61988,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6 - if test x$glibcxx_cv_func__fmodf_use = x"yes"; then + if test x$glibcxx_cv_func__copysign_use = x"yes"; then -for ac_func in _fmodf +for ac_func in _copysign do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -70812,10 +62107,10 @@ done - echo "$as_me:$LINENO: checking for frexpf declaration" >&5 -echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_frexpf_use+set} != xset; then - if test "${glibcxx_cv_func_frexpf_use+set}" = set; then + echo "$as_me:$LINENO: checking for sincos declaration" >&5 +echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_sincos_use+set} != xset; then + if test "${glibcxx_cv_func_sincos_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -70837,7 +62132,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - frexpf(0, 0); + sincos(0, 0, 0); ; return 0; } @@ -70864,12 +62159,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_frexpf_use=yes + glibcxx_cv_func_sincos_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_frexpf_use=no +glibcxx_cv_func_sincos_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -70882,12 +62177,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6 - if test x$glibcxx_cv_func_frexpf_use = x"yes"; then + if test x$glibcxx_cv_func_sincos_use = x"yes"; then -for ac_func in frexpf +for ac_func in sincos do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -70995,10 +62290,10 @@ done else - echo "$as_me:$LINENO: checking for _frexpf declaration" >&5 -echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__frexpf_use+set} != xset; then - if test "${glibcxx_cv_func__frexpf_use+set}" = set; then + echo "$as_me:$LINENO: checking for _sincos declaration" >&5 +echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__sincos_use+set} != xset; then + if test "${glibcxx_cv_func__sincos_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -71020,7 +62315,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - _frexpf(0, 0); + _sincos(0, 0, 0); ; return 0; } @@ -71047,12 +62342,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__frexpf_use=yes + glibcxx_cv_func__sincos_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__frexpf_use=no +glibcxx_cv_func__sincos_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -71065,12 +62360,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6 - if test x$glibcxx_cv_func__frexpf_use = x"yes"; then + if test x$glibcxx_cv_func__sincos_use = x"yes"; then -for ac_func in _frexpf +for ac_func in _sincos do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -71184,10 +62479,10 @@ done - echo "$as_me:$LINENO: checking for hypotf declaration" >&5 -echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_hypotf_use+set} != xset; then - if test "${glibcxx_cv_func_hypotf_use+set}" = set; then + echo "$as_me:$LINENO: checking for fpclass declaration" >&5 +echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_fpclass_use+set} != xset; then + if test "${glibcxx_cv_func_fpclass_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -71206,10 +62501,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - hypotf(0, 0); + fpclass(0); ; return 0; } @@ -71236,12 +62535,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_hypotf_use=yes + glibcxx_cv_func_fpclass_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_hypotf_use=no +glibcxx_cv_func_fpclass_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -71254,12 +62553,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6 - if test x$glibcxx_cv_func_hypotf_use = x"yes"; then + if test x$glibcxx_cv_func_fpclass_use = x"yes"; then -for ac_func in hypotf +for ac_func in fpclass do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -71367,10 +62666,10 @@ done else - echo "$as_me:$LINENO: checking for _hypotf declaration" >&5 -echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__hypotf_use+set} != xset; then - if test "${glibcxx_cv_func__hypotf_use+set}" = set; then + echo "$as_me:$LINENO: checking for _fpclass declaration" >&5 +echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__fpclass_use+set} != xset; then + if test "${glibcxx_cv_func__fpclass_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -71389,10 +62688,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _hypotf(0, 0); + _fpclass(0); ; return 0; } @@ -71419,12 +62722,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__hypotf_use=yes + glibcxx_cv_func__fpclass_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__hypotf_use=no +glibcxx_cv_func__fpclass_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -71437,12 +62740,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6 - if test x$glibcxx_cv_func__hypotf_use = x"yes"; then + if test x$glibcxx_cv_func__fpclass_use = x"yes"; then -for ac_func in _hypotf +for ac_func in _fpclass do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -71556,10 +62859,10 @@ done - echo "$as_me:$LINENO: checking for ldexpf declaration" >&5 -echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then - if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then + echo "$as_me:$LINENO: checking for qfpclass declaration" >&5 +echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then + if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -71578,10 +62881,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - ldexpf(0, 0); + qfpclass(0); ; return 0; } @@ -71608,12 +62915,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_ldexpf_use=yes + glibcxx_cv_func_qfpclass_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_ldexpf_use=no +glibcxx_cv_func_qfpclass_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -71626,12 +62933,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6 - if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then + if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then -for ac_func in ldexpf +for ac_func in qfpclass do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -71739,10 +63046,10 @@ done else - echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5 -echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then - if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then + echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5 +echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then + if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -71761,10 +63068,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _ldexpf(0, 0); + _qfpclass(0); ; return 0; } @@ -71791,12 +63102,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__ldexpf_use=yes + glibcxx_cv_func__qfpclass_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__ldexpf_use=no +glibcxx_cv_func__qfpclass_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -71809,12 +63120,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6 - if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then + if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then -for ac_func in _ldexpf +for ac_func in _qfpclass do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -71928,10 +63239,10 @@ done - echo "$as_me:$LINENO: checking for logf declaration" >&5 -echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_logf_use+set} != xset; then - if test "${glibcxx_cv_func_logf_use+set}" = set; then + echo "$as_me:$LINENO: checking for hypot declaration" >&5 +echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_hypot_use+set} != xset; then + if test "${glibcxx_cv_func_hypot_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -71950,14 +63261,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - logf(0); + hypot(0, 0); ; return 0; } @@ -71984,12 +63291,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_logf_use=yes + glibcxx_cv_func_hypot_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_logf_use=no +glibcxx_cv_func_hypot_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -72002,12 +63309,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6 - if test x$glibcxx_cv_func_logf_use = x"yes"; then + if test x$glibcxx_cv_func_hypot_use = x"yes"; then -for ac_func in logf +for ac_func in hypot do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -72115,10 +63422,10 @@ done else - echo "$as_me:$LINENO: checking for _logf declaration" >&5 -echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__logf_use+set} != xset; then - if test "${glibcxx_cv_func__logf_use+set}" = set; then + echo "$as_me:$LINENO: checking for _hypot declaration" >&5 +echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__hypot_use+set} != xset; then + if test "${glibcxx_cv_func__hypot_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -72137,14 +63444,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _logf(0); + _hypot(0, 0); ; return 0; } @@ -72171,12 +63474,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__logf_use=yes + glibcxx_cv_func__hypot_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__logf_use=no +glibcxx_cv_func__hypot_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -72189,12 +63492,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6 - if test x$glibcxx_cv_func__logf_use = x"yes"; then + if test x$glibcxx_cv_func__hypot_use = x"yes"; then -for ac_func in _logf +for ac_func in _hypot do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -72308,36 +63611,31 @@ done - echo "$as_me:$LINENO: checking for log10f declaration" >&5 -echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_log10f_use+set} != xset; then - if test "${glibcxx_cv_func_log10f_use+set}" = set; then + echo "$as_me:$LINENO: checking for float trig functions" >&5 +echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6 + if test "${glibcxx_cv_func_float_trig_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - ac_ext=cc + ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - log10f(0); +acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0); ; return 0; } @@ -72364,30 +63662,35 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_log10f_use=yes + glibcxx_cv_func_float_trig_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_log10f_use=no +glibcxx_cv_func_float_trig_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6 + if test x$glibcxx_cv_func_float_trig_use = x"yes"; then - if test x$glibcxx_cv_func_log10f_use = x"yes"; then -for ac_func in log10f + + + + + + + +for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -72494,11 +63797,9 @@ fi done else - - echo "$as_me:$LINENO: checking for _log10f declaration" >&5 -echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__log10f_use+set} != xset; then - if test "${glibcxx_cv_func__log10f_use+set}" = set; then + echo "$as_me:$LINENO: checking for _float trig functions" >&5 +echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6 + if test "${glibcxx_cv_func__float_trig_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -72517,14 +63818,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _log10f(0); +_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0); ; return 0; } @@ -72551,12 +63848,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__log10f_use=yes + glibcxx_cv_func__float_trig_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__log10f_use=no +glibcxx_cv_func__float_trig_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -72565,16 +63862,21 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6 + if test x$glibcxx_cv_func__float_trig_use = x"yes"; then - if test x$glibcxx_cv_func__log10f_use = x"yes"; then -for ac_func in _log10f + + + + + + + +for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -72688,22 +63990,29 @@ done - echo "$as_me:$LINENO: checking for modff declaration" >&5 -echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_modff_use+set} != xset; then - if test "${glibcxx_cv_func_modff_use+set}" = set; then + + + + + + + + + echo "$as_me:$LINENO: checking for float round functions" >&5 +echo $ECHO_N "checking for float round functions... $ECHO_C" >&6 + if test "${glibcxx_cv_func_float_round_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - ac_ext=cc + ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -72713,7 +64022,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - modff(0, 0); +ceilf (0); floorf (0); ; return 0; } @@ -72740,30 +64049,28 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_modff_use=yes + glibcxx_cv_func_float_round_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_modff_use=no +glibcxx_cv_func_float_round_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6 + if test x$glibcxx_cv_func_float_round_use = x"yes"; then - if test x$glibcxx_cv_func_modff_use = x"yes"; then -for ac_func in modff +for ac_func in ceilf floorf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -72870,11 +64177,9 @@ fi done else - - echo "$as_me:$LINENO: checking for _modff declaration" >&5 -echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__modff_use+set} != xset; then - if test "${glibcxx_cv_func__modff_use+set}" = set; then + echo "$as_me:$LINENO: checking for _float round functions" >&5 +echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6 + if test "${glibcxx_cv_func__float_round_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -72896,7 +64201,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - _modff(0, 0); +_ceilf (0); _floorf (0); ; return 0; } @@ -72923,12 +64228,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__modff_use=yes + glibcxx_cv_func__float_round_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__modff_use=no +glibcxx_cv_func__float_round_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -72937,16 +64242,14 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6 + if test x$glibcxx_cv_func__float_round_use = x"yes"; then - if test x$glibcxx_cv_func__modff_use = x"yes"; then -for ac_func in _modff +for ac_func in _ceilf _floorf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -73060,10 +64363,12 @@ done - echo "$as_me:$LINENO: checking for modf declaration" >&5 -echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_modf_use+set} != xset; then - if test "${glibcxx_cv_func_modf_use+set}" = set; then + + + echo "$as_me:$LINENO: checking for expf declaration" >&5 +echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_expf_use+set} != xset; then + if test "${glibcxx_cv_func_expf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -73082,10 +64387,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - modf(0, 0); + expf(0); ; return 0; } @@ -73112,12 +64421,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_modf_use=yes + glibcxx_cv_func_expf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_modf_use=no +glibcxx_cv_func_expf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -73130,12 +64439,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6 - if test x$glibcxx_cv_func_modf_use = x"yes"; then + if test x$glibcxx_cv_func_expf_use = x"yes"; then -for ac_func in modf +for ac_func in expf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -73243,10 +64552,10 @@ done else - echo "$as_me:$LINENO: checking for _modf declaration" >&5 -echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__modf_use+set} != xset; then - if test "${glibcxx_cv_func__modf_use+set}" = set; then + echo "$as_me:$LINENO: checking for _expf declaration" >&5 +echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__expf_use+set} != xset; then + if test "${glibcxx_cv_func__expf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -73265,10 +64574,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _modf(0, 0); + _expf(0); ; return 0; } @@ -73295,12 +64608,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__modf_use=yes + glibcxx_cv_func__expf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__modf_use=no +glibcxx_cv_func__expf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -73313,12 +64626,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6 - if test x$glibcxx_cv_func__modf_use = x"yes"; then + if test x$glibcxx_cv_func__expf_use = x"yes"; then -for ac_func in _modf +for ac_func in _expf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -73432,10 +64745,10 @@ done - echo "$as_me:$LINENO: checking for powf declaration" >&5 -echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_powf_use+set} != xset; then - if test "${glibcxx_cv_func_powf_use+set}" = set; then + echo "$as_me:$LINENO: checking for isnanf declaration" >&5 +echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_isnanf_use+set} != xset; then + if test "${glibcxx_cv_func_isnanf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -73454,10 +64767,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - powf(0, 0); + isnanf(0); ; return 0; } @@ -73484,12 +64801,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_powf_use=yes + glibcxx_cv_func_isnanf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_powf_use=no +glibcxx_cv_func_isnanf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -73502,12 +64819,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6 - if test x$glibcxx_cv_func_powf_use = x"yes"; then + if test x$glibcxx_cv_func_isnanf_use = x"yes"; then -for ac_func in powf +for ac_func in isnanf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -73615,10 +64932,10 @@ done else - echo "$as_me:$LINENO: checking for _powf declaration" >&5 -echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__powf_use+set} != xset; then - if test "${glibcxx_cv_func__powf_use+set}" = set; then + echo "$as_me:$LINENO: checking for _isnanf declaration" >&5 +echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__isnanf_use+set} != xset; then + if test "${glibcxx_cv_func__isnanf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -73637,10 +64954,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _powf(0, 0); + _isnanf(0); ; return 0; } @@ -73667,12 +64988,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__powf_use=yes + glibcxx_cv_func__isnanf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__powf_use=no +glibcxx_cv_func__isnanf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -73685,12 +65006,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6 - if test x$glibcxx_cv_func__powf_use = x"yes"; then + if test x$glibcxx_cv_func__isnanf_use = x"yes"; then -for ac_func in _powf +for ac_func in _isnanf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -73804,10 +65125,10 @@ done - echo "$as_me:$LINENO: checking for sqrtf declaration" >&5 -echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then - if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then + echo "$as_me:$LINENO: checking for isinff declaration" >&5 +echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_isinff_use+set} != xset; then + if test "${glibcxx_cv_func_isinff_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -73833,7 +65154,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - sqrtf(0); + isinff(0); ; return 0; } @@ -73860,12 +65181,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_sqrtf_use=yes + glibcxx_cv_func_isinff_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_sqrtf_use=no +glibcxx_cv_func_isinff_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -73878,12 +65199,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6 - if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then + if test x$glibcxx_cv_func_isinff_use = x"yes"; then -for ac_func in sqrtf +for ac_func in isinff do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -73991,10 +65312,10 @@ done else - echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5 -echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then - if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then + echo "$as_me:$LINENO: checking for _isinff declaration" >&5 +echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__isinff_use+set} != xset; then + if test "${glibcxx_cv_func__isinff_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -74020,7 +65341,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - _sqrtf(0); + _isinff(0); ; return 0; } @@ -74047,12 +65368,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__sqrtf_use=yes + glibcxx_cv_func__isinff_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__sqrtf_use=no +glibcxx_cv_func__isinff_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -74065,12 +65386,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6 - if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then + if test x$glibcxx_cv_func__isinff_use = x"yes"; then -for ac_func in _sqrtf +for ac_func in _isinff do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -74184,10 +65505,10 @@ done - echo "$as_me:$LINENO: checking for sincosf declaration" >&5 -echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_sincosf_use+set} != xset; then - if test "${glibcxx_cv_func_sincosf_use+set}" = set; then + echo "$as_me:$LINENO: checking for atan2f declaration" >&5 +echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_atan2f_use+set} != xset; then + if test "${glibcxx_cv_func_atan2f_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -74209,7 +65530,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - sincosf(0, 0, 0); + atan2f(0, 0); ; return 0; } @@ -74236,12 +65557,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_sincosf_use=yes + glibcxx_cv_func_atan2f_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_sincosf_use=no +glibcxx_cv_func_atan2f_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -74254,12 +65575,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6 - if test x$glibcxx_cv_func_sincosf_use = x"yes"; then + if test x$glibcxx_cv_func_atan2f_use = x"yes"; then -for ac_func in sincosf +for ac_func in atan2f do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -74367,10 +65688,10 @@ done else - echo "$as_me:$LINENO: checking for _sincosf declaration" >&5 -echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__sincosf_use+set} != xset; then - if test "${glibcxx_cv_func__sincosf_use+set}" = set; then + echo "$as_me:$LINENO: checking for _atan2f declaration" >&5 +echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__atan2f_use+set} != xset; then + if test "${glibcxx_cv_func__atan2f_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -74392,7 +65713,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - _sincosf(0, 0, 0); + _atan2f(0, 0); ; return 0; } @@ -74419,12 +65740,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__sincosf_use=yes + glibcxx_cv_func__atan2f_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__sincosf_use=no +glibcxx_cv_func__atan2f_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -74437,12 +65758,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6 - if test x$glibcxx_cv_func__sincosf_use = x"yes"; then + if test x$glibcxx_cv_func__atan2f_use = x"yes"; then -for ac_func in _sincosf +for ac_func in _atan2f do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -74556,10 +65877,10 @@ done - echo "$as_me:$LINENO: checking for finitef declaration" >&5 -echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_finitef_use+set} != xset; then - if test "${glibcxx_cv_func_finitef_use+set}" = set; then + echo "$as_me:$LINENO: checking for fabsf declaration" >&5 +echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_fabsf_use+set} != xset; then + if test "${glibcxx_cv_func_fabsf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -74585,7 +65906,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - finitef(0); + fabsf(0); ; return 0; } @@ -74612,12 +65933,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_finitef_use=yes + glibcxx_cv_func_fabsf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_finitef_use=no +glibcxx_cv_func_fabsf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -74630,12 +65951,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6 - if test x$glibcxx_cv_func_finitef_use = x"yes"; then + if test x$glibcxx_cv_func_fabsf_use = x"yes"; then -for ac_func in finitef +for ac_func in fabsf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -74743,10 +66064,10 @@ done else - echo "$as_me:$LINENO: checking for _finitef declaration" >&5 -echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__finitef_use+set} != xset; then - if test "${glibcxx_cv_func__finitef_use+set}" = set; then + echo "$as_me:$LINENO: checking for _fabsf declaration" >&5 +echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__fabsf_use+set} != xset; then + if test "${glibcxx_cv_func__fabsf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -74772,7 +66093,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - _finitef(0); + _fabsf(0); ; return 0; } @@ -74799,12 +66120,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__finitef_use=yes + glibcxx_cv_func__fabsf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__finitef_use=no +glibcxx_cv_func__fabsf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -74817,12 +66138,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6 - if test x$glibcxx_cv_func__finitef_use = x"yes"; then + if test x$glibcxx_cv_func__fabsf_use = x"yes"; then -for ac_func in _finitef +for ac_func in _fabsf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -74936,21 +66257,22 @@ done - echo "$as_me:$LINENO: checking for long double trig functions" >&5 -echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6 - if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then + echo "$as_me:$LINENO: checking for fmodf declaration" >&5 +echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_fmodf_use+set} != xset; then + if test "${glibcxx_cv_func_fmodf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - ac_ext=cc + ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -74960,7 +66282,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { -acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0); + fmodf(0, 0); ; return 0; } @@ -74987,35 +66309,30 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_long_double_trig_use=yes + glibcxx_cv_func_fmodf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_long_double_trig_use=no +glibcxx_cv_func_fmodf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -fi - - echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6 - if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then - - - - - +fi + fi + echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6 + if test x$glibcxx_cv_func_fmodf_use = x"yes"; then -for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl +for ac_func in fmodf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -75122,9 +66439,11 @@ fi done else - echo "$as_me:$LINENO: checking for _long double trig functions" >&5 -echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6 - if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then + + echo "$as_me:$LINENO: checking for _fmodf declaration" >&5 +echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__fmodf_use+set} != xset; then + if test "${glibcxx_cv_func__fmodf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -75146,7 +66465,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { -_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0); + _fmodf(0, 0); ; return 0; } @@ -75173,12 +66492,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__long_double_trig_use=yes + glibcxx_cv_func__fmodf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__long_double_trig_use=no +glibcxx_cv_func__fmodf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -75187,21 +66506,16 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -fi - - echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6 - if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then - - - - - +fi + fi + echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6 + if test x$glibcxx_cv_func__fmodf_use = x"yes"; then -for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl +for ac_func in _fmodf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -75315,29 +66629,22 @@ done - - - - - - - - - echo "$as_me:$LINENO: checking for long double round functions" >&5 -echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6 - if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then + echo "$as_me:$LINENO: checking for frexpf declaration" >&5 +echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_frexpf_use+set} != xset; then + if test "${glibcxx_cv_func_frexpf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - ac_ext=cc + ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -75347,7 +66654,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { -ceill (0); floorl (0); + frexpf(0, 0); ; return 0; } @@ -75374,28 +66681,30 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_long_double_round_use=yes + glibcxx_cv_func_frexpf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_long_double_round_use=no +glibcxx_cv_func_frexpf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu + fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6 - if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then + fi + echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6 + if test x$glibcxx_cv_func_frexpf_use = x"yes"; then -for ac_func in ceill floorl +for ac_func in frexpf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -75502,9 +66811,11 @@ fi done else - echo "$as_me:$LINENO: checking for _long double round functions" >&5 -echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6 - if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then + + echo "$as_me:$LINENO: checking for _frexpf declaration" >&5 +echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__frexpf_use+set} != xset; then + if test "${glibcxx_cv_func__frexpf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -75526,7 +66837,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { -_ceill (0); _floorl (0); + _frexpf(0, 0); ; return 0; } @@ -75553,12 +66864,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__long_double_round_use=yes + glibcxx_cv_func__frexpf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__long_double_round_use=no +glibcxx_cv_func__frexpf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -75567,14 +66878,16 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu + fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6 - if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then + fi + echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6 + if test x$glibcxx_cv_func__frexpf_use = x"yes"; then -for ac_func in _ceill _floorl +for ac_func in _frexpf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -75688,12 +67001,10 @@ done - - - echo "$as_me:$LINENO: checking for isnanl declaration" >&5 -echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_isnanl_use+set} != xset; then - if test "${glibcxx_cv_func_isnanl_use+set}" = set; then + echo "$as_me:$LINENO: checking for hypotf declaration" >&5 +echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_hypotf_use+set} != xset; then + if test "${glibcxx_cv_func_hypotf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -75712,14 +67023,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - isnanl(0); + hypotf(0, 0); ; return 0; } @@ -75746,12 +67053,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_isnanl_use=yes + glibcxx_cv_func_hypotf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_isnanl_use=no +glibcxx_cv_func_hypotf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -75764,12 +67071,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6 - if test x$glibcxx_cv_func_isnanl_use = x"yes"; then + if test x$glibcxx_cv_func_hypotf_use = x"yes"; then -for ac_func in isnanl +for ac_func in hypotf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -75877,10 +67184,10 @@ done else - echo "$as_me:$LINENO: checking for _isnanl declaration" >&5 -echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__isnanl_use+set} != xset; then - if test "${glibcxx_cv_func__isnanl_use+set}" = set; then + echo "$as_me:$LINENO: checking for _hypotf declaration" >&5 +echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__hypotf_use+set} != xset; then + if test "${glibcxx_cv_func__hypotf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -75899,14 +67206,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _isnanl(0); + _hypotf(0, 0); ; return 0; } @@ -75933,12 +67236,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__isnanl_use=yes + glibcxx_cv_func__hypotf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__isnanl_use=no +glibcxx_cv_func__hypotf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -75951,12 +67254,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6 - if test x$glibcxx_cv_func__isnanl_use = x"yes"; then + if test x$glibcxx_cv_func__hypotf_use = x"yes"; then -for ac_func in _isnanl +for ac_func in _hypotf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -76070,10 +67373,10 @@ done - echo "$as_me:$LINENO: checking for isinfl declaration" >&5 -echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_isinfl_use+set} != xset; then - if test "${glibcxx_cv_func_isinfl_use+set}" = set; then + echo "$as_me:$LINENO: checking for ldexpf declaration" >&5 +echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then + if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -76092,14 +67395,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - isinfl(0); + ldexpf(0, 0); ; return 0; } @@ -76126,12 +67425,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_isinfl_use=yes + glibcxx_cv_func_ldexpf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_isinfl_use=no +glibcxx_cv_func_ldexpf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -76144,12 +67443,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6 - if test x$glibcxx_cv_func_isinfl_use = x"yes"; then + if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then -for ac_func in isinfl +for ac_func in ldexpf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -76257,10 +67556,10 @@ done else - echo "$as_me:$LINENO: checking for _isinfl declaration" >&5 -echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__isinfl_use+set} != xset; then - if test "${glibcxx_cv_func__isinfl_use+set}" = set; then + echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5 +echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then + if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -76279,14 +67578,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _isinfl(0); + _ldexpf(0, 0); ; return 0; } @@ -76313,12 +67608,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__isinfl_use=yes + glibcxx_cv_func__ldexpf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__isinfl_use=no +glibcxx_cv_func__ldexpf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -76331,12 +67626,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6 - if test x$glibcxx_cv_func__isinfl_use = x"yes"; then + if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then -for ac_func in _isinfl +for ac_func in _ldexpf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -76450,10 +67745,10 @@ done - echo "$as_me:$LINENO: checking for copysignl declaration" >&5 -echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_copysignl_use+set} != xset; then - if test "${glibcxx_cv_func_copysignl_use+set}" = set; then + echo "$as_me:$LINENO: checking for logf declaration" >&5 +echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_logf_use+set} != xset; then + if test "${glibcxx_cv_func_logf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -76472,10 +67767,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - copysignl(0, 0); + logf(0); ; return 0; } @@ -76502,12 +67801,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_copysignl_use=yes + glibcxx_cv_func_logf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_copysignl_use=no +glibcxx_cv_func_logf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -76520,12 +67819,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6 - if test x$glibcxx_cv_func_copysignl_use = x"yes"; then + if test x$glibcxx_cv_func_logf_use = x"yes"; then -for ac_func in copysignl +for ac_func in logf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -76633,10 +67932,10 @@ done else - echo "$as_me:$LINENO: checking for _copysignl declaration" >&5 -echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__copysignl_use+set} != xset; then - if test "${glibcxx_cv_func__copysignl_use+set}" = set; then + echo "$as_me:$LINENO: checking for _logf declaration" >&5 +echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__logf_use+set} != xset; then + if test "${glibcxx_cv_func__logf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -76655,10 +67954,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _copysignl(0, 0); + _logf(0); ; return 0; } @@ -76685,12 +67988,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__copysignl_use=yes + glibcxx_cv_func__logf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__copysignl_use=no +glibcxx_cv_func__logf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -76703,12 +68006,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6 - if test x$glibcxx_cv_func__copysignl_use = x"yes"; then + if test x$glibcxx_cv_func__logf_use = x"yes"; then -for ac_func in _copysignl +for ac_func in _logf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -76822,10 +68125,10 @@ done - echo "$as_me:$LINENO: checking for atan2l declaration" >&5 -echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_atan2l_use+set} != xset; then - if test "${glibcxx_cv_func_atan2l_use+set}" = set; then + echo "$as_me:$LINENO: checking for log10f declaration" >&5 +echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_log10f_use+set} != xset; then + if test "${glibcxx_cv_func_log10f_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -76844,10 +68147,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - atan2l(0, 0); + log10f(0); ; return 0; } @@ -76874,12 +68181,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_atan2l_use=yes + glibcxx_cv_func_log10f_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_atan2l_use=no +glibcxx_cv_func_log10f_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -76892,12 +68199,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6 - if test x$glibcxx_cv_func_atan2l_use = x"yes"; then + if test x$glibcxx_cv_func_log10f_use = x"yes"; then -for ac_func in atan2l +for ac_func in log10f do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -77005,10 +68312,10 @@ done else - echo "$as_me:$LINENO: checking for _atan2l declaration" >&5 -echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__atan2l_use+set} != xset; then - if test "${glibcxx_cv_func__atan2l_use+set}" = set; then + echo "$as_me:$LINENO: checking for _log10f declaration" >&5 +echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__log10f_use+set} != xset; then + if test "${glibcxx_cv_func__log10f_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -77027,10 +68334,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _atan2l(0, 0); + _log10f(0); ; return 0; } @@ -77057,12 +68368,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__atan2l_use=yes + glibcxx_cv_func__log10f_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__atan2l_use=no +glibcxx_cv_func__log10f_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -77075,12 +68386,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6 - if test x$glibcxx_cv_func__atan2l_use = x"yes"; then + if test x$glibcxx_cv_func__log10f_use = x"yes"; then -for ac_func in _atan2l +for ac_func in _log10f do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -77194,10 +68505,10 @@ done - echo "$as_me:$LINENO: checking for expl declaration" >&5 -echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_expl_use+set} != xset; then - if test "${glibcxx_cv_func_expl_use+set}" = set; then + echo "$as_me:$LINENO: checking for modff declaration" >&5 +echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_modff_use+set} != xset; then + if test "${glibcxx_cv_func_modff_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -77216,14 +68527,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - expl(0); + modff(0, 0); ; return 0; } @@ -77250,12 +68557,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_expl_use=yes + glibcxx_cv_func_modff_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_expl_use=no +glibcxx_cv_func_modff_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -77268,12 +68575,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6 - if test x$glibcxx_cv_func_expl_use = x"yes"; then + if test x$glibcxx_cv_func_modff_use = x"yes"; then -for ac_func in expl +for ac_func in modff do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -77381,10 +68688,10 @@ done else - echo "$as_me:$LINENO: checking for _expl declaration" >&5 -echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__expl_use+set} != xset; then - if test "${glibcxx_cv_func__expl_use+set}" = set; then + echo "$as_me:$LINENO: checking for _modff declaration" >&5 +echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__modff_use+set} != xset; then + if test "${glibcxx_cv_func__modff_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -77403,14 +68710,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _expl(0); + _modff(0, 0); ; return 0; } @@ -77437,12 +68740,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__expl_use=yes + glibcxx_cv_func__modff_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__expl_use=no +glibcxx_cv_func__modff_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -77455,12 +68758,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6 - if test x$glibcxx_cv_func__expl_use = x"yes"; then + if test x$glibcxx_cv_func__modff_use = x"yes"; then -for ac_func in _expl +for ac_func in _modff do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -77574,10 +68877,10 @@ done - echo "$as_me:$LINENO: checking for fabsl declaration" >&5 -echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_fabsl_use+set} != xset; then - if test "${glibcxx_cv_func_fabsl_use+set}" = set; then + echo "$as_me:$LINENO: checking for modf declaration" >&5 +echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_modf_use+set} != xset; then + if test "${glibcxx_cv_func_modf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -77596,14 +68899,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - fabsl(0); + modf(0, 0); ; return 0; } @@ -77630,12 +68929,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_fabsl_use=yes + glibcxx_cv_func_modf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_fabsl_use=no +glibcxx_cv_func_modf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -77648,12 +68947,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6 - if test x$glibcxx_cv_func_fabsl_use = x"yes"; then + if test x$glibcxx_cv_func_modf_use = x"yes"; then -for ac_func in fabsl +for ac_func in modf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -77761,10 +69060,10 @@ done else - echo "$as_me:$LINENO: checking for _fabsl declaration" >&5 -echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__fabsl_use+set} != xset; then - if test "${glibcxx_cv_func__fabsl_use+set}" = set; then + echo "$as_me:$LINENO: checking for _modf declaration" >&5 +echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__modf_use+set} != xset; then + if test "${glibcxx_cv_func__modf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -77783,14 +69082,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _fabsl(0); + _modf(0, 0); ; return 0; } @@ -77817,12 +69112,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__fabsl_use=yes + glibcxx_cv_func__modf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__fabsl_use=no +glibcxx_cv_func__modf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -77835,12 +69130,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6 - if test x$glibcxx_cv_func__fabsl_use = x"yes"; then + if test x$glibcxx_cv_func__modf_use = x"yes"; then -for ac_func in _fabsl +for ac_func in _modf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -77954,10 +69249,10 @@ done - echo "$as_me:$LINENO: checking for fmodl declaration" >&5 -echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_fmodl_use+set} != xset; then - if test "${glibcxx_cv_func_fmodl_use+set}" = set; then + echo "$as_me:$LINENO: checking for powf declaration" >&5 +echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_powf_use+set} != xset; then + if test "${glibcxx_cv_func_powf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -77979,7 +69274,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - fmodl(0, 0); + powf(0, 0); ; return 0; } @@ -78006,12 +69301,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_fmodl_use=yes + glibcxx_cv_func_powf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_fmodl_use=no +glibcxx_cv_func_powf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -78024,12 +69319,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6 - if test x$glibcxx_cv_func_fmodl_use = x"yes"; then + if test x$glibcxx_cv_func_powf_use = x"yes"; then -for ac_func in fmodl +for ac_func in powf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -78137,10 +69432,10 @@ done else - echo "$as_me:$LINENO: checking for _fmodl declaration" >&5 -echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__fmodl_use+set} != xset; then - if test "${glibcxx_cv_func__fmodl_use+set}" = set; then + echo "$as_me:$LINENO: checking for _powf declaration" >&5 +echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__powf_use+set} != xset; then + if test "${glibcxx_cv_func__powf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -78162,7 +69457,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - _fmodl(0, 0); + _powf(0, 0); ; return 0; } @@ -78189,12 +69484,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__fmodl_use=yes + glibcxx_cv_func__powf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__fmodl_use=no +glibcxx_cv_func__powf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -78207,12 +69502,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6 - if test x$glibcxx_cv_func__fmodl_use = x"yes"; then + if test x$glibcxx_cv_func__powf_use = x"yes"; then -for ac_func in _fmodl +for ac_func in _powf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -78326,10 +69621,10 @@ done - echo "$as_me:$LINENO: checking for frexpl declaration" >&5 -echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_frexpl_use+set} != xset; then - if test "${glibcxx_cv_func_frexpl_use+set}" = set; then + echo "$as_me:$LINENO: checking for sqrtf declaration" >&5 +echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then + if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -78348,10 +69643,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - frexpl(0, 0); + sqrtf(0); ; return 0; } @@ -78378,12 +69677,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_frexpl_use=yes + glibcxx_cv_func_sqrtf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_frexpl_use=no +glibcxx_cv_func_sqrtf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -78396,12 +69695,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6 - if test x$glibcxx_cv_func_frexpl_use = x"yes"; then + if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then -for ac_func in frexpl +for ac_func in sqrtf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -78509,10 +69808,10 @@ done else - echo "$as_me:$LINENO: checking for _frexpl declaration" >&5 -echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__frexpl_use+set} != xset; then - if test "${glibcxx_cv_func__frexpl_use+set}" = set; then + echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5 +echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then + if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -78531,10 +69830,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _frexpl(0, 0); + _sqrtf(0); ; return 0; } @@ -78561,12 +69864,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__frexpl_use=yes + glibcxx_cv_func__sqrtf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__frexpl_use=no +glibcxx_cv_func__sqrtf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -78579,12 +69882,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6 - if test x$glibcxx_cv_func__frexpl_use = x"yes"; then + if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then -for ac_func in _frexpl +for ac_func in _sqrtf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -78698,193 +70001,10 @@ done - echo "$as_me:$LINENO: checking for hypotl declaration" >&5 -echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_hypotl_use+set} != xset; then - if test "${glibcxx_cv_func_hypotl_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -int -main () -{ - hypotl(0, 0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func_hypotl_use=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func_hypotl_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6 - - if test x$glibcxx_cv_func_hypotl_use = x"yes"; then - -for ac_func in hypotl -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif - -int -main () -{ -return f != $ac_func; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -eval "$as_ac_var=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - else - - echo "$as_me:$LINENO: checking for _hypotl declaration" >&5 -echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__hypotl_use+set} != xset; then - if test "${glibcxx_cv_func__hypotl_use+set}" = set; then + echo "$as_me:$LINENO: checking for sincosf declaration" >&5 +echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_sincosf_use+set} != xset; then + if test "${glibcxx_cv_func_sincosf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -78906,7 +70026,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - _hypotl(0, 0); + sincosf(0, 0, 0); ; return 0; } @@ -78933,12 +70053,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__hypotl_use=yes + glibcxx_cv_func_sincosf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__hypotl_use=no +glibcxx_cv_func_sincosf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -78951,12 +70071,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6 - if test x$glibcxx_cv_func__hypotl_use = x"yes"; then + if test x$glibcxx_cv_func_sincosf_use = x"yes"; then -for ac_func in _hypotl +for ac_func in sincosf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -79062,18 +70182,12 @@ _ACEOF fi done - fi - fi - - - - - + else - echo "$as_me:$LINENO: checking for ldexpl declaration" >&5 -echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then - if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then + echo "$as_me:$LINENO: checking for _sincosf declaration" >&5 +echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__sincosf_use+set} != xset; then + if test "${glibcxx_cv_func__sincosf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -79095,7 +70209,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - ldexpl(0, 0); + _sincosf(0, 0, 0); ; return 0; } @@ -79122,12 +70236,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_ldexpl_use=yes + glibcxx_cv_func__sincosf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_ldexpl_use=no +glibcxx_cv_func__sincosf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -79140,12 +70254,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6 - if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then + if test x$glibcxx_cv_func__sincosf_use = x"yes"; then -for ac_func in ldexpl +for ac_func in _sincosf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -79251,12 +70365,18 @@ _ACEOF fi done - else + fi + fi - echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5 -echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then - if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then + + + + + + echo "$as_me:$LINENO: checking for finitef declaration" >&5 +echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_finitef_use+set} != xset; then + if test "${glibcxx_cv_func_finitef_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -79275,10 +70395,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _ldexpl(0, 0); + finitef(0); ; return 0; } @@ -79305,12 +70429,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__ldexpl_use=yes + glibcxx_cv_func_finitef_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__ldexpl_use=no +glibcxx_cv_func_finitef_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -79323,12 +70447,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6 - if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then + if test x$glibcxx_cv_func_finitef_use = x"yes"; then -for ac_func in _ldexpl +for ac_func in finitef do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -79434,18 +70558,12 @@ _ACEOF fi done - fi - fi - - - - - + else - echo "$as_me:$LINENO: checking for logl declaration" >&5 -echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_logl_use+set} != xset; then - if test "${glibcxx_cv_func_logl_use+set}" = set; then + echo "$as_me:$LINENO: checking for _finitef declaration" >&5 +echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__finitef_use+set} != xset; then + if test "${glibcxx_cv_func__finitef_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -79471,7 +70589,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - logl(0); + _finitef(0); ; return 0; } @@ -79498,12 +70616,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_logl_use=yes + glibcxx_cv_func__finitef_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_logl_use=no +glibcxx_cv_func__finitef_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -79516,12 +70634,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6 - if test x$glibcxx_cv_func_logl_use = x"yes"; then + if test x$glibcxx_cv_func__finitef_use = x"yes"; then -for ac_func in logl +for ac_func in _finitef do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -79627,38 +70745,39 @@ _ACEOF fi done - else + fi + fi - echo "$as_me:$LINENO: checking for _logl declaration" >&5 -echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__logl_use+set} != xset; then - if test "${glibcxx_cv_func__logl_use+set}" = set; then + + + + + + echo "$as_me:$LINENO: checking for long double trig functions" >&5 +echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6 + if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - ac_ext=cc + ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _logl(0); +acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0); ; return 0; } @@ -79685,30 +70804,35 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__logl_use=yes + glibcxx_cv_func_long_double_trig_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__logl_use=no +glibcxx_cv_func_long_double_trig_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6 + if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then - if test x$glibcxx_cv_func__logl_use = x"yes"; then -for ac_func in _logl + + + + + + + +for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -79814,18 +70938,10 @@ _ACEOF fi done - fi - fi - - - - - - - echo "$as_me:$LINENO: checking for log10l declaration" >&5 -echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_log10l_use+set} != xset; then - if test "${glibcxx_cv_func_log10l_use+set}" = set; then + else + echo "$as_me:$LINENO: checking for _long double trig functions" >&5 +echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6 + if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -79844,14 +70960,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - log10l(0); +_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0); ; return 0; } @@ -79878,12 +70990,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_log10l_use=yes + glibcxx_cv_func__long_double_trig_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_log10l_use=no +glibcxx_cv_func__long_double_trig_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -79892,16 +71004,21 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6 + if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then - if test x$glibcxx_cv_func_log10l_use = x"yes"; then -for ac_func in log10l + + + + + + + +for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -80007,38 +71124,47 @@ _ACEOF fi done - else + fi + fi - echo "$as_me:$LINENO: checking for _log10l declaration" >&5 -echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__log10l_use+set} != xset; then - if test "${glibcxx_cv_func__log10l_use+set}" = set; then + + + + + + + + + + + + + + echo "$as_me:$LINENO: checking for long double round functions" >&5 +echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6 + if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - ac_ext=cc + ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _log10l(0); +ceill (0); floorl (0); ; return 0; } @@ -80065,30 +71191,28 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__log10l_use=yes + glibcxx_cv_func_long_double_round_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__log10l_use=no +glibcxx_cv_func_long_double_round_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6 + if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then - if test x$glibcxx_cv_func__log10l_use = x"yes"; then -for ac_func in _log10l +for ac_func in ceill floorl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -80194,18 +71318,10 @@ _ACEOF fi done - fi - fi - - - - - - - echo "$as_me:$LINENO: checking for modfl declaration" >&5 -echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_modfl_use+set} != xset; then - if test "${glibcxx_cv_func_modfl_use+set}" = set; then + else + echo "$as_me:$LINENO: checking for _long double round functions" >&5 +echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6 + if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -80227,7 +71343,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - modfl(0, 0); +_ceill (0); _floorl (0); ; return 0; } @@ -80254,12 +71370,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_modfl_use=yes + glibcxx_cv_func__long_double_round_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_modfl_use=no +glibcxx_cv_func__long_double_round_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -80268,16 +71384,14 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6 + if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then - if test x$glibcxx_cv_func_modfl_use = x"yes"; then -for ac_func in modfl +for ac_func in _ceill _floorl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -80383,201 +71497,20 @@ _ACEOF fi done - else - - echo "$as_me:$LINENO: checking for _modfl declaration" >&5 -echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__modfl_use+set} != xset; then - if test "${glibcxx_cv_func__modfl_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -int -main () -{ - _modfl(0, 0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func__modfl_use=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func__modfl_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - + fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6 - if test x$glibcxx_cv_func__modfl_use = x"yes"; then -for ac_func in _modfl -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif - -int -main () -{ -return f != $ac_func; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -eval "$as_ac_var=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - fi - fi - - - echo "$as_me:$LINENO: checking for powl declaration" >&5 -echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_powl_use+set} != xset; then - if test "${glibcxx_cv_func_powl_use+set}" = set; then + echo "$as_me:$LINENO: checking for isnanl declaration" >&5 +echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_isnanl_use+set} != xset; then + if test "${glibcxx_cv_func_isnanl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -80596,10 +71529,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - powl(0, 0); + isnanl(0); ; return 0; } @@ -80626,12 +71563,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_powl_use=yes + glibcxx_cv_func_isnanl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_powl_use=no +glibcxx_cv_func_isnanl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -80644,12 +71581,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6 - if test x$glibcxx_cv_func_powl_use = x"yes"; then + if test x$glibcxx_cv_func_isnanl_use = x"yes"; then -for ac_func in powl +for ac_func in isnanl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -80757,10 +71694,10 @@ done else - echo "$as_me:$LINENO: checking for _powl declaration" >&5 -echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__powl_use+set} != xset; then - if test "${glibcxx_cv_func__powl_use+set}" = set; then + echo "$as_me:$LINENO: checking for _isnanl declaration" >&5 +echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__isnanl_use+set} != xset; then + if test "${glibcxx_cv_func__isnanl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -80779,10 +71716,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _powl(0, 0); + _isnanl(0); ; return 0; } @@ -80809,12 +71750,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__powl_use=yes + glibcxx_cv_func__isnanl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__powl_use=no +glibcxx_cv_func__isnanl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -80827,12 +71768,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6 - if test x$glibcxx_cv_func__powl_use = x"yes"; then + if test x$glibcxx_cv_func__isnanl_use = x"yes"; then -for ac_func in _powl +for ac_func in _isnanl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -80946,10 +71887,10 @@ done - echo "$as_me:$LINENO: checking for sqrtl declaration" >&5 -echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then - if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then + echo "$as_me:$LINENO: checking for isinfl declaration" >&5 +echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_isinfl_use+set} != xset; then + if test "${glibcxx_cv_func_isinfl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -80975,7 +71916,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - sqrtl(0); + isinfl(0); ; return 0; } @@ -81002,12 +71943,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_sqrtl_use=yes + glibcxx_cv_func_isinfl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_sqrtl_use=no +glibcxx_cv_func_isinfl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -81020,12 +71961,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6 - if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then + if test x$glibcxx_cv_func_isinfl_use = x"yes"; then -for ac_func in sqrtl +for ac_func in isinfl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -81133,10 +72074,10 @@ done else - echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5 -echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then - if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then + echo "$as_me:$LINENO: checking for _isinfl declaration" >&5 +echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__isinfl_use+set} != xset; then + if test "${glibcxx_cv_func__isinfl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -81162,7 +72103,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - _sqrtl(0); + _isinfl(0); ; return 0; } @@ -81189,12 +72130,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__sqrtl_use=yes + glibcxx_cv_func__isinfl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__sqrtl_use=no +glibcxx_cv_func__isinfl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -81207,12 +72148,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6 - if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then + if test x$glibcxx_cv_func__isinfl_use = x"yes"; then -for ac_func in _sqrtl +for ac_func in _isinfl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -81326,10 +72267,10 @@ done - echo "$as_me:$LINENO: checking for sincosl declaration" >&5 -echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_sincosl_use+set} != xset; then - if test "${glibcxx_cv_func_sincosl_use+set}" = set; then + echo "$as_me:$LINENO: checking for copysignl declaration" >&5 +echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_copysignl_use+set} != xset; then + if test "${glibcxx_cv_func_copysignl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -81351,7 +72292,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - sincosl(0, 0, 0); + copysignl(0, 0); ; return 0; } @@ -81378,12 +72319,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_sincosl_use=yes + glibcxx_cv_func_copysignl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_sincosl_use=no +glibcxx_cv_func_copysignl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -81396,12 +72337,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6 - if test x$glibcxx_cv_func_sincosl_use = x"yes"; then + if test x$glibcxx_cv_func_copysignl_use = x"yes"; then -for ac_func in sincosl +for ac_func in copysignl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -81509,10 +72450,10 @@ done else - echo "$as_me:$LINENO: checking for _sincosl declaration" >&5 -echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__sincosl_use+set} != xset; then - if test "${glibcxx_cv_func__sincosl_use+set}" = set; then + echo "$as_me:$LINENO: checking for _copysignl declaration" >&5 +echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__copysignl_use+set} != xset; then + if test "${glibcxx_cv_func__copysignl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -81534,7 +72475,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - _sincosl(0, 0, 0); + _copysignl(0, 0); ; return 0; } @@ -81561,12 +72502,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__sincosl_use=yes + glibcxx_cv_func__copysignl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__sincosl_use=no +glibcxx_cv_func__copysignl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -81579,12 +72520,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6 - if test x$glibcxx_cv_func__sincosl_use = x"yes"; then + if test x$glibcxx_cv_func__copysignl_use = x"yes"; then -for ac_func in _sincosl +for ac_func in _copysignl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -81698,10 +72639,10 @@ done - echo "$as_me:$LINENO: checking for finitel declaration" >&5 -echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_finitel_use+set} != xset; then - if test "${glibcxx_cv_func_finitel_use+set}" = set; then + echo "$as_me:$LINENO: checking for atan2l declaration" >&5 +echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_atan2l_use+set} != xset; then + if test "${glibcxx_cv_func_atan2l_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -81720,14 +72661,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - finitel(0); + atan2l(0, 0); ; return 0; } @@ -81754,12 +72691,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_finitel_use=yes + glibcxx_cv_func_atan2l_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_finitel_use=no +glibcxx_cv_func_atan2l_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -81772,12 +72709,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6 - if test x$glibcxx_cv_func_finitel_use = x"yes"; then + if test x$glibcxx_cv_func_atan2l_use = x"yes"; then -for ac_func in finitel +for ac_func in atan2l do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -81885,10 +72822,10 @@ done else - echo "$as_me:$LINENO: checking for _finitel declaration" >&5 -echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__finitel_use+set} != xset; then - if test "${glibcxx_cv_func__finitel_use+set}" = set; then + echo "$as_me:$LINENO: checking for _atan2l declaration" >&5 +echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__atan2l_use+set} != xset; then + if test "${glibcxx_cv_func__atan2l_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -81907,14 +72844,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _finitel(0); + _atan2l(0, 0); ; return 0; } @@ -81941,12 +72874,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__finitel_use=yes + glibcxx_cv_func__atan2l_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__finitel_use=no +glibcxx_cv_func__atan2l_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -81959,12 +72892,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6 - if test x$glibcxx_cv_func__finitel_use = x"yes"; then + if test x$glibcxx_cv_func__atan2l_use = x"yes"; then -for ac_func in _finitel +for ac_func in _atan2l do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -82019,165 +72952,11 @@ char (*f) () = $ac_func; #ifdef __cplusplus } #endif - -int -main () -{ -return f != $ac_func; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -eval "$as_ac_var=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - fi - fi - - - - - - LIBS="$ac_save_LIBS" - CXXFLAGS="$ac_save_CXXFLAGS" - - - - echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5 -echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -int -main () -{ - __builtin_abs(0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_abs_use=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func___builtin_abs_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6 - if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5 -echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include + int main () { - __builtin_abs(0); +return f != $ac_func; ; return 0; } @@ -82204,37 +72983,38 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_abs_link=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_abs_link=no +eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF fi +done fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6 + fi - if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_ABS 1 -_ACEOF - fi - fi - echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5 -echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then + echo "$as_me:$LINENO: checking for expl declaration" >&5 +echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_expl_use+set} != xset; then + if test "${glibcxx_cv_func_expl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -82253,10 +73033,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - __builtin_fabsf(0); + expl(0); ; return 0; } @@ -82283,12 +73067,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_fabsf_use=yes + glibcxx_cv_func_expl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_fabsf_use=no +glibcxx_cv_func_expl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -82301,17 +73085,20 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6 - if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5 -echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then + echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6 + + if test x$glibcxx_cv_func_expl_use = x"yes"; then + +for ac_func in expl +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - if test x$gcc_no_link = xyes; then + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -82322,11 +73109,47 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + int main () { - __builtin_fabsf(0); +return f != $ac_func; ; return 0; } @@ -82353,37 +73176,32 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_fabsf_link=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_fabsf_link=no +eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6 - - if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then - -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_FABSF 1 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF - fi - - fi +fi +done + else - echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5 -echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then + echo "$as_me:$LINENO: checking for _expl declaration" >&5 +echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__expl_use+set} != xset; then + if test "${glibcxx_cv_func__expl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -82402,10 +73220,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - __builtin_fabs(0); + _expl(0); ; return 0; } @@ -82432,12 +73254,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_fabs_use=yes + glibcxx_cv_func__expl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_fabs_use=no +glibcxx_cv_func__expl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -82450,17 +73272,20 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6 - if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5 -echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then + echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6 + + if test x$glibcxx_cv_func__expl_use = x"yes"; then + +for ac_func in _expl +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - if test x$gcc_no_link = xyes; then + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -82471,11 +73296,47 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + int main () { - __builtin_fabs(0); +return f != $ac_func; ; return 0; } @@ -82502,37 +73363,38 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_fabs_link=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_fabs_link=no +eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF fi +done fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6 + fi - if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_FABS 1 -_ACEOF - fi - fi - echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5 -echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then + echo "$as_me:$LINENO: checking for fabsl declaration" >&5 +echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_fabsl_use+set} != xset; then + if test "${glibcxx_cv_func_fabsl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -82551,10 +73413,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - __builtin_fabsl(0); + fabsl(0); ; return 0; } @@ -82581,12 +73447,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_fabsl_use=yes + glibcxx_cv_func_fabsl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_fabsl_use=no +glibcxx_cv_func_fabsl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -82599,17 +73465,20 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6 - if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5 -echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then + echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6 + + if test x$glibcxx_cv_func_fabsl_use = x"yes"; then + +for ac_func in fabsl +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - if test x$gcc_no_link = xyes; then + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -82620,11 +73489,47 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + int main () { - __builtin_fabsl(0); +return f != $ac_func; ; return 0; } @@ -82651,37 +73556,32 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_fabsl_link=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_fabsl_link=no +eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6 - - if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then - -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_FABSL 1 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF - fi - - fi +fi +done + else - echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5 -echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then + echo "$as_me:$LINENO: checking for _fabsl declaration" >&5 +echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__fabsl_use+set} != xset; then + if test "${glibcxx_cv_func__fabsl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -82700,10 +73600,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - __builtin_labs(0); + _fabsl(0); ; return 0; } @@ -82730,12 +73634,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_labs_use=yes + glibcxx_cv_func__fabsl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_labs_use=no +glibcxx_cv_func__fabsl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -82748,17 +73652,20 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6 - if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5 -echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then + echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6 + + if test x$glibcxx_cv_func__fabsl_use = x"yes"; then + +for ac_func in _fabsl +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - if test x$gcc_no_link = xyes; then + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -82769,11 +73676,47 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + int main () { - __builtin_labs(0); +return f != $ac_func; ; return 0; } @@ -82800,38 +73743,38 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_labs_link=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_labs_link=no +eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF fi +done fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6 - - if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then + fi -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_LABS 1 -_ACEOF - fi - fi - echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5 -echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then + echo "$as_me:$LINENO: checking for fmodl declaration" >&5 +echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_fmodl_use+set} != xset; then + if test "${glibcxx_cv_func_fmodl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -82853,7 +73796,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - __builtin_sqrtf(0); + fmodl(0, 0); ; return 0; } @@ -82880,12 +73823,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_sqrtf_use=yes + glibcxx_cv_func_fmodl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_sqrtf_use=no +glibcxx_cv_func_fmodl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -82898,17 +73841,20 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6 - if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5 -echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then + echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6 + + if test x$glibcxx_cv_func_fmodl_use = x"yes"; then + +for ac_func in fmodl +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - if test x$gcc_no_link = xyes; then + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -82919,11 +73865,47 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + int main () { - __builtin_sqrtf(0); +return f != $ac_func; ; return 0; } @@ -82950,37 +73932,32 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_sqrtf_link=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_sqrtf_link=no +eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6 - - if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then - -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_SQRTF 1 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF - fi - - fi +fi +done + else - echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5 -echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then + echo "$as_me:$LINENO: checking for _fmodl declaration" >&5 +echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__fmodl_use+set} != xset; then + if test "${glibcxx_cv_func__fmodl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -83002,7 +73979,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - __builtin_sqrt(0); + _fmodl(0, 0); ; return 0; } @@ -83029,12 +74006,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_sqrt_use=yes + glibcxx_cv_func__fmodl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_sqrt_use=no +glibcxx_cv_func__fmodl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -83047,17 +74024,20 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6 - if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5 -echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then + echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6 + + if test x$glibcxx_cv_func__fmodl_use = x"yes"; then + +for ac_func in _fmodl +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - if test x$gcc_no_link = xyes; then + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -83068,11 +74048,47 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + int main () { - __builtin_sqrt(0); +return f != $ac_func; ; return 0; } @@ -83099,37 +74115,38 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_sqrt_link=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_sqrt_link=no +eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF fi +done fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6 + fi - if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_SQRT 1 -_ACEOF - fi - fi - echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5 -echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then + echo "$as_me:$LINENO: checking for frexpl declaration" >&5 +echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_frexpl_use+set} != xset; then + if test "${glibcxx_cv_func_frexpl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -83151,7 +74168,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - __builtin_sqrtl(0); + frexpl(0, 0); ; return 0; } @@ -83178,12 +74195,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_sqrtl_use=yes + glibcxx_cv_func_frexpl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_sqrtl_use=no +glibcxx_cv_func_frexpl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -83196,17 +74213,20 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6 - if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5 -echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then + echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6 + + if test x$glibcxx_cv_func_frexpl_use = x"yes"; then + +for ac_func in frexpl +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - if test x$gcc_no_link = xyes; then + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -83217,11 +74237,47 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + int main () { - __builtin_sqrtl(0); +return f != $ac_func; ; return 0; } @@ -83248,38 +74304,32 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_sqrtl_link=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_sqrtl_link=no +eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6 - - if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then - -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_SQRTL 1 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF - fi - - fi - +fi +done + else - echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5 -echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then + echo "$as_me:$LINENO: checking for _frexpl declaration" >&5 +echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__frexpl_use+set} != xset; then + if test "${glibcxx_cv_func__frexpl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -83301,7 +74351,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - __builtin_sinf(0); + _frexpl(0, 0); ; return 0; } @@ -83328,12 +74378,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_sinf_use=yes + glibcxx_cv_func__frexpl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_sinf_use=no +glibcxx_cv_func__frexpl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -83346,17 +74396,20 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6 - if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5 -echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then + echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6 + + if test x$glibcxx_cv_func__frexpl_use = x"yes"; then + +for ac_func in _frexpl +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - if test x$gcc_no_link = xyes; then + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -83367,11 +74420,47 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + int main () { - __builtin_sinf(0); +return f != $ac_func; ; return 0; } @@ -83398,37 +74487,38 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_sinf_link=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_sinf_link=no +eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF fi +done fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6 + fi - if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_SINF 1 -_ACEOF - fi - fi - echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5 -echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then + echo "$as_me:$LINENO: checking for hypotl declaration" >&5 +echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_hypotl_use+set} != xset; then + if test "${glibcxx_cv_func_hypotl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -83450,7 +74540,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - __builtin_sin(0); + hypotl(0, 0); ; return 0; } @@ -83477,12 +74567,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_sin_use=yes + glibcxx_cv_func_hypotl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_sin_use=no +glibcxx_cv_func_hypotl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -83495,17 +74585,20 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6 - if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5 -echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then + echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6 + + if test x$glibcxx_cv_func_hypotl_use = x"yes"; then + +for ac_func in hypotl +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - if test x$gcc_no_link = xyes; then + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -83516,11 +74609,47 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + int main () { - __builtin_sin(0); +return f != $ac_func; ; return 0; } @@ -83547,37 +74676,32 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_sin_link=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_sin_link=no +eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6 - - if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then - -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_SIN 1 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF - fi - - fi +fi +done + else - echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5 -echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then + echo "$as_me:$LINENO: checking for _hypotl declaration" >&5 +echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__hypotl_use+set} != xset; then + if test "${glibcxx_cv_func__hypotl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -83599,7 +74723,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - __builtin_sinl(0); + _hypotl(0, 0); ; return 0; } @@ -83626,12 +74750,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_sinl_use=yes + glibcxx_cv_func__hypotl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_sinl_use=no +glibcxx_cv_func__hypotl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -83644,17 +74768,20 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6 - if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5 -echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then + echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6 + + if test x$glibcxx_cv_func__hypotl_use = x"yes"; then + +for ac_func in _hypotl +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - if test x$gcc_no_link = xyes; then + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -83665,11 +74792,47 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + int main () { - __builtin_sinl(0); +return f != $ac_func; ; return 0; } @@ -83696,38 +74859,38 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_sinl_link=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_sinl_link=no +eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF fi +done fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6 - - if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then + fi -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_SINL 1 -_ACEOF - fi - fi - echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5 -echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then + echo "$as_me:$LINENO: checking for ldexpl declaration" >&5 +echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then + if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -83749,7 +74912,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - __builtin_cosf(0); + ldexpl(0, 0); ; return 0; } @@ -83776,12 +74939,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_cosf_use=yes + glibcxx_cv_func_ldexpl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_cosf_use=no +glibcxx_cv_func_ldexpl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -83794,17 +74957,20 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6 - if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5 -echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then + echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6 + + if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then + +for ac_func in ldexpl +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - if test x$gcc_no_link = xyes; then + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -83815,11 +74981,47 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + int main () { - __builtin_cosf(0); +return f != $ac_func; ; return 0; } @@ -83846,37 +75048,32 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_cosf_link=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_cosf_link=no +eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6 - - if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then - -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_COSF 1 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF - fi - - fi +fi +done + else - echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5 -echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then + echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5 +echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then + if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -83898,7 +75095,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - __builtin_cos(0); + _ldexpl(0, 0); ; return 0; } @@ -83925,12 +75122,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_cos_use=yes + glibcxx_cv_func__ldexpl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_cos_use=no +glibcxx_cv_func__ldexpl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -83943,17 +75140,20 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6 - if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5 -echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then + echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6 + + if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then + +for ac_func in _ldexpl +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - if test x$gcc_no_link = xyes; then + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -83964,11 +75164,47 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + int main () { - __builtin_cos(0); +return f != $ac_func; ; return 0; } @@ -83995,37 +75231,38 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_cos_link=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_cos_link=no +eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF fi +done fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6 + fi - if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_COS 1 -_ACEOF - fi - fi - echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5 -echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then + echo "$as_me:$LINENO: checking for logl declaration" >&5 +echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_logl_use+set} != xset; then + if test "${glibcxx_cv_func_logl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -84044,10 +75281,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - __builtin_cosl(0); + logl(0); ; return 0; } @@ -84074,12 +75315,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_cosl_use=yes + glibcxx_cv_func_logl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_cosl_use=no +glibcxx_cv_func_logl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -84092,17 +75333,20 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6 - if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5 -echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then + echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6 + + if test x$glibcxx_cv_func_logl_use = x"yes"; then + +for ac_func in logl +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - if test x$gcc_no_link = xyes; then + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -84113,11 +75357,47 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + int main () { - __builtin_cosl(0); +return f != $ac_func; ; return 0; } @@ -84144,109 +75424,108 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_cosl_link=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_cosl_link=no +eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6 - - if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then - -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_COSL 1 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF - fi +fi +done - fi + else + echo "$as_me:$LINENO: checking for _logl declaration" >&5 +echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__logl_use+set} != xset; then + if test "${glibcxx_cv_func__logl_use+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else -echo "$as_me:$LINENO: checking for main in -lm" >&5 -echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 -if test "${ac_cv_lib_m_main+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lm $LIBS" -if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF + ac_ext=cc +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ - +#include + #ifdef HAVE_IEEEFP_H + #include + #endif int main () { -main (); + _logl(0); ; return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' + { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - ac_cv_lib_m_main=yes + glibcxx_cv_func__logl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -ac_cv_lib_m_main=no -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS +glibcxx_cv_func__logl_use=no fi -echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 -echo "${ECHO_T}$ac_cv_lib_m_main" >&6 -if test $ac_cv_lib_m_main = yes; then - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBM 1 -_ACEOF +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu - LIBS="-lm $LIBS" fi + fi + echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6 -for ac_func in copysignf + if test x$glibcxx_cv_func__logl_use = x"yes"; then + +for ac_func in _logl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -84349,124 +75628,97 @@ if test `eval echo '${'$as_ac_var'}'` = yes; then #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF -else - LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo" fi done + fi + fi -for ac_func in __signbit -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then + + + + + echo "$as_me:$LINENO: checking for log10l declaration" >&5 +echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_log10l_use+set} != xset; then + if test "${glibcxx_cv_func_log10l_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF + + + + ac_ext=cc +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif +#include + #ifdef HAVE_IEEEFP_H + #include + #endif int main () { -return f != $ac_func; + log10l(0); ; return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' + { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - eval "$as_ac_var=yes" + glibcxx_cv_func_log10l_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -eval "$as_ac_var=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext +glibcxx_cv_func_log10l_use=no fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + -else - LIBMATHOBJS="$LIBMATHOBJS signbit.lo" fi -done + fi + echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6 + if test x$glibcxx_cv_func_log10l_use = x"yes"; then -for ac_func in __signbitf +for ac_func in log10l do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -84569,15 +75821,91 @@ if test `eval echo '${'$as_ac_var'}'` = yes; then #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF -else - LIBMATHOBJS="$LIBMATHOBJS signbitf.lo" fi done + else - if test x$ac_cv_func_copysignl = x"yes"; then + echo "$as_me:$LINENO: checking for _log10l declaration" >&5 +echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__log10l_use+set} != xset; then + if test "${glibcxx_cv_func__log10l_use+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else -for ac_func in __signbitl + + + ac_ext=cc +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include + #ifdef HAVE_IEEEFP_H + #include + #endif + +int +main () +{ + _log10l(0); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_cxx_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + glibcxx_cv_func__log10l_use=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +glibcxx_cv_func__log10l_use=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +fi + + fi + echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6 + + if test x$glibcxx_cv_func__log10l_use = x"yes"; then + +for ac_func in _log10l do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -84680,29 +76008,21 @@ if test `eval echo '${'$as_ac_var'}'` = yes; then #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF -else - LIBMATHOBJS="$LIBMATHOBJS signbitl.lo" fi done + fi fi - # Used in libmath/Makefile.am. - if test -n "$LIBMATHOBJS"; then - need_libmath=yes - fi - ac_test_CXXFLAGS="${CXXFLAGS+set}" - ac_save_CXXFLAGS="$CXXFLAGS" - CXXFLAGS='-fno-builtin -D_GNU_SOURCE' - echo "$as_me:$LINENO: checking for strtold declaration" >&5 -echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_strtold_use+set} != xset; then - if test "${glibcxx_cv_func_strtold_use+set}" = set; then + echo "$as_me:$LINENO: checking for modfl declaration" >&5 +echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_modfl_use+set} != xset; then + if test "${glibcxx_cv_func_modfl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -84720,11 +76040,11 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +#include int main () { - strtold(0, 0); + modfl(0, 0); ; return 0; } @@ -84751,12 +76071,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_strtold_use=yes + glibcxx_cv_func_modfl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_strtold_use=no +glibcxx_cv_func_modfl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -84769,11 +76089,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6 - if test x$glibcxx_cv_func_strtold_use = x"yes"; then + echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6 -for ac_func in strtold + if test x$glibcxx_cv_func_modfl_use = x"yes"; then + +for ac_func in modfl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -84879,16 +76200,12 @@ _ACEOF fi done - fi - - - - + else - echo "$as_me:$LINENO: checking for strtof declaration" >&5 -echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_strtof_use+set} != xset; then - if test "${glibcxx_cv_func_strtof_use+set}" = set; then + echo "$as_me:$LINENO: checking for _modfl declaration" >&5 +echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__modfl_use+set} != xset; then + if test "${glibcxx_cv_func__modfl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -84906,11 +76223,11 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +#include int main () { - strtof(0, 0); + _modfl(0, 0); ; return 0; } @@ -84937,12 +76254,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_strtof_use=yes + glibcxx_cv_func__modfl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_strtof_use=no +glibcxx_cv_func__modfl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -84955,11 +76272,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6 - if test x$glibcxx_cv_func_strtof_use = x"yes"; then + echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6 -for ac_func in strtof + if test x$glibcxx_cv_func__modfl_use = x"yes"; then + +for ac_func in _modfl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -85065,363 +76383,90 @@ _ACEOF fi done - fi - - - - - - CXXFLAGS="$ac_save_CXXFLAGS" - - ;; - - *djgpp) - # GLIBCXX_CHECK_MATH_SUPPORT - cat >>confdefs.h <<\_ACEOF -#define HAVE_LIBM 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_ISINF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_ISNAN 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_FINITE 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_COPYSIGN 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_SINCOS 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_HYPOT 1 -_ACEOF - - # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT - cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_ABS 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_FABSF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_FABS 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_FABSL 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_LABS 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_SQRTF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_SQRT 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_SQRTL 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_SINF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_SIN 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_SINL 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_COSF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_COS 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_COSL 1 -_ACEOF - - # GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT - # GLIBCXX_CHECK_STDLIB_SUPPORT - cat >>confdefs.h <<\_ACEOF -#define HAVE_COPYSIGN 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_COPYSIGNF 1 -_ACEOF - - ;; - - *-freebsd*) - SECTION_FLAGS='-ffunction-sections -fdata-sections' - - - # If we're not using GNU ld, then there's no point in even trying these - # tests. Check for that first. We should have already tested for gld - # by now (in libtool), but require it now just to be safe... - test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS='' - test -z "$OPT_LDFLAGS" && OPT_LDFLAGS='' - - - - # The name set by libtool depends on the version of libtool. Shame on us - # for depending on an impl detail, but c'est la vie. Older versions used - # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on - # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually - # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't - # set (hence we're using an older libtool), then set it. - if test x${with_gnu_ld+set} != xset; then - if test x${ac_cv_prog_gnu_ld+set} != xset; then - # We got through "ac_require(ac_prog_ld)" and still not set? Huh? - with_gnu_ld=no - else - with_gnu_ld=$ac_cv_prog_gnu_ld fi fi - # Start by getting the version number. I think the libtool test already - # does some of this, but throws away the result. - glibcxx_ld_is_gold=no - if test x"$with_gnu_ld" = x"yes"; then - echo "$as_me:$LINENO: checking for ld version" >&5 -echo $ECHO_N "checking for ld version... $ECHO_C" >&6 - - if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then - glibcxx_ld_is_gold=yes - fi - ldver=`$LD --version 2>/dev/null | head -1 | \ - sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'` - glibcxx_gnu_ld_version=`echo $ldver | \ - $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'` - echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5 -echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6 - fi - # Set --gc-sections. - glibcxx_have_gc_sections=no - if test "$glibcxx_ld_is_gold" = "yes"; then - if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then - glibcxx_have_gc_sections=yes - fi - else - glibcxx_gcsections_min_ld=21602 - if test x"$with_gnu_ld" = x"yes" && - test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then - glibcxx_have_gc_sections=yes - fi - fi - if test "$glibcxx_have_gc_sections" = "yes"; then - # Sufficiently young GNU ld it is! Joy and bunny rabbits! - # NB: This flag only works reliably after 2.16.1. Configure tests - # for this are difficult, so hard wire a value that should work. - ac_test_CFLAGS="${CFLAGS+set}" - ac_save_CFLAGS="$CFLAGS" - CFLAGS='-Wl,--gc-sections' - # Check for -Wl,--gc-sections - echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5 -echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6 - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - int one(void) { return 1; } - int two(void) { return 2; } -int -main () -{ - two(); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_gcsections=yes + echo "$as_me:$LINENO: checking for powl declaration" >&5 +echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_powl_use+set} != xset; then + if test "${glibcxx_cv_func_powl_use+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -ac_gcsections=no -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - if test "$ac_gcsections" = "yes"; then - rm -f conftest.c - touch conftest.c - if $CC -c conftest.c; then - if $LD --gc-sections -o conftest conftest.o 2>&1 | \ - grep "Warning: gc-sections option ignored" > /dev/null; then - ac_gcsections=no - fi - fi - rm -f conftest.c conftest.o conftest - fi - if test "$ac_gcsections" = "yes"; then - SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS" - fi - echo "$as_me:$LINENO: result: $ac_gcsections" >&5 -echo "${ECHO_T}$ac_gcsections" >&6 - - if test "$ac_test_CFLAGS" = set; then - CFLAGS="$ac_save_CFLAGS" - else - # this is the suspicious part - CFLAGS='' - fi - fi - - # Set -z,relro. - # Note this is only for shared objects. - ac_ld_relro=no - if test x"$with_gnu_ld" = x"yes"; then - echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5 -echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6 - cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"` - if test -n "$cxx_z_relo"; then - OPT_LDFLAGS="-Wl,-z,relro" - ac_ld_relro=yes - fi - echo "$as_me:$LINENO: result: $ac_ld_relro" >&5 -echo "${ECHO_T}$ac_ld_relro" >&6 - fi - - # Set linker optimization flags. - if test x"$with_gnu_ld" = x"yes"; then - OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS" - fi - - + ac_ext=cc +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -echo "$as_me:$LINENO: checking for main in -lm" >&5 -echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 -if test "${ac_cv_lib_m_main+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lm $LIBS" -if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ - - +#include int main () { -main (); + powl(0, 0); ; return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' + { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - ac_cv_lib_m_main=yes + glibcxx_cv_func_powl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -ac_cv_lib_m_main=no -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS +glibcxx_cv_func_powl_use=no fi -echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 -echo "${ECHO_T}$ac_cv_lib_m_main" >&6 -if test $ac_cv_lib_m_main = yes; then - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBM 1 -_ACEOF +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu - LIBS="-lm $LIBS" fi + fi + echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6 + + if test x$glibcxx_cv_func_powl_use = x"yes"; then -for ac_func in copysignf +for ac_func in powl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -85524,14 +76569,87 @@ if test `eval echo '${'$as_ac_var'}'` = yes; then #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF -else - LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo" fi done + else + + echo "$as_me:$LINENO: checking for _powl declaration" >&5 +echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__powl_use+set} != xset; then + if test "${glibcxx_cv_func__powl_use+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + -for ac_func in __signbit + ac_ext=cc +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +int +main () +{ + _powl(0, 0); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_cxx_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + glibcxx_cv_func__powl_use=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +glibcxx_cv_func__powl_use=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +fi + + fi + echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6 + + if test x$glibcxx_cv_func__powl_use = x"yes"; then + +for ac_func in _powl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -85634,125 +76752,97 @@ if test `eval echo '${'$as_ac_var'}'` = yes; then #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF -else - LIBMATHOBJS="$LIBMATHOBJS signbit.lo" fi done + fi + fi -for ac_func in __signbitf -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then + + + + + echo "$as_me:$LINENO: checking for sqrtl declaration" >&5 +echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then + if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF + + + + ac_ext=cc +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif +#include + #ifdef HAVE_IEEEFP_H + #include + #endif int main () { -return f != $ac_func; + sqrtl(0); ; return 0; } -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' + { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - eval "$as_ac_var=yes" + glibcxx_cv_func_sqrtl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -eval "$as_ac_var=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext +glibcxx_cv_func_sqrtl_use=no fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + -else - LIBMATHOBJS="$LIBMATHOBJS signbitf.lo" fi -done + fi + echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6 - if test x$ac_cv_func_copysignl = x"yes"; then + if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then -for ac_func in __signbitl +for ac_func in sqrtl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -85855,357 +76945,99 @@ if test `eval echo '${'$as_ac_var'}'` = yes; then #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF -else - LIBMATHOBJS="$LIBMATHOBJS signbitl.lo" fi done - fi - - # Used in libmath/Makefile.am. - if test -n "$LIBMATHOBJS"; then - need_libmath=yes - fi - - - cat >>confdefs.h <<\_ACEOF -#define HAVE_SETENV 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_COPYSIGN 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_COPYSIGNF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_FINITEF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_FINITE 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_FREXPF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_HYPOT 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_HYPOTF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_ISINF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_ISNAN 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_ISNANF 1 -_ACEOF - - - cat >>confdefs.h <<\_ACEOF -#define HAVE_ACOSF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_ASINF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_ATAN2F 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_ATANF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_CEILF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_COPYSIGN 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_COPYSIGNF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_COSF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_COSHF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_EXPF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_FABSF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_FLOORF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_FMODF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_FREXPF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_LDEXPF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_LOG10F 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_LOGF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_MODFF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_POWF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_SINF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_SINHF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_SQRTF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_TANF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_TANHF 1 -_ACEOF - - if test x"long_double_math_on_this_cpu" = x"yes"; then - cat >>confdefs.h <<\_ACEOF -#define HAVE_FINITEL 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_ISINFL 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_ISNANL 1 -_ACEOF - - fi - ;; - *-hpux*) - SECTION_FLAGS='-ffunction-sections -fdata-sections' - - - # If we're not using GNU ld, then there's no point in even trying these - # tests. Check for that first. We should have already tested for gld - # by now (in libtool), but require it now just to be safe... - test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS='' - test -z "$OPT_LDFLAGS" && OPT_LDFLAGS='' - - - - # The name set by libtool depends on the version of libtool. Shame on us - # for depending on an impl detail, but c'est la vie. Older versions used - # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on - # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually - # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't - # set (hence we're using an older libtool), then set it. - if test x${with_gnu_ld+set} != xset; then - if test x${ac_cv_prog_gnu_ld+set} != xset; then - # We got through "ac_require(ac_prog_ld)" and still not set? Huh? - with_gnu_ld=no - else - with_gnu_ld=$ac_cv_prog_gnu_ld - fi - fi - - # Start by getting the version number. I think the libtool test already - # does some of this, but throws away the result. - glibcxx_ld_is_gold=no - if test x"$with_gnu_ld" = x"yes"; then - echo "$as_me:$LINENO: checking for ld version" >&5 -echo $ECHO_N "checking for ld version... $ECHO_C" >&6 + else - if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then - glibcxx_ld_is_gold=yes - fi - ldver=`$LD --version 2>/dev/null | head -1 | \ - sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'` + echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5 +echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then + if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else - glibcxx_gnu_ld_version=`echo $ldver | \ - $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'` - echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5 -echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6 - fi - # Set --gc-sections. - glibcxx_have_gc_sections=no - if test "$glibcxx_ld_is_gold" = "yes"; then - if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then - glibcxx_have_gc_sections=yes - fi - else - glibcxx_gcsections_min_ld=21602 - if test x"$with_gnu_ld" = x"yes" && - test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then - glibcxx_have_gc_sections=yes - fi - fi - if test "$glibcxx_have_gc_sections" = "yes"; then - # Sufficiently young GNU ld it is! Joy and bunny rabbits! - # NB: This flag only works reliably after 2.16.1. Configure tests - # for this are difficult, so hard wire a value that should work. - ac_test_CFLAGS="${CFLAGS+set}" - ac_save_CFLAGS="$CFLAGS" - CFLAGS='-Wl,--gc-sections' + ac_ext=cc +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - # Check for -Wl,--gc-sections - echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5 -echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6 - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ - int one(void) { return 1; } - int two(void) { return 2; } +#include + #ifdef HAVE_IEEEFP_H + #include + #endif int main () { - two(); + _sqrtl(0); ; return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' + { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - ac_gcsections=yes + glibcxx_cv_func__sqrtl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -ac_gcsections=no +glibcxx_cv_func__sqrtl_use=no fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - if test "$ac_gcsections" = "yes"; then - rm -f conftest.c - touch conftest.c - if $CC -c conftest.c; then - if $LD --gc-sections -o conftest conftest.o 2>&1 | \ - grep "Warning: gc-sections option ignored" > /dev/null; then - ac_gcsections=no - fi - fi - rm -f conftest.c conftest.o conftest - fi - if test "$ac_gcsections" = "yes"; then - SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS" - fi - echo "$as_me:$LINENO: result: $ac_gcsections" >&5 -echo "${ECHO_T}$ac_gcsections" >&6 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu - if test "$ac_test_CFLAGS" = set; then - CFLAGS="$ac_save_CFLAGS" - else - # this is the suspicious part - CFLAGS='' - fi - fi - # Set -z,relro. - # Note this is only for shared objects. - ac_ld_relro=no - if test x"$with_gnu_ld" = x"yes"; then - echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5 -echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6 - cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"` - if test -n "$cxx_z_relo"; then - OPT_LDFLAGS="-Wl,-z,relro" - ac_ld_relro=yes - fi - echo "$as_me:$LINENO: result: $ac_ld_relro" >&5 -echo "${ECHO_T}$ac_ld_relro" >&6 - fi +fi - # Set linker optimization flags. - if test x"$with_gnu_ld" = x"yes"; then - OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS" fi + echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6 + if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then - - - - -echo "$as_me:$LINENO: checking for main in -lm" >&5 -echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 -if test "${ac_cv_lib_m_main+set}" = set; then +for ac_func in _sqrtl +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lm $LIBS" -if test x$gcc_no_link = xyes; then + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -86216,12 +77048,47 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif int main () { -main (); +return f != $ac_func; ; return 0; } @@ -86248,140 +77115,110 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - ac_cv_lib_m_main=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -ac_cv_lib_m_main=no +eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 -echo "${ECHO_T}$ac_cv_lib_m_main" >&6 -if test $ac_cv_lib_m_main = yes; then +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF -#define HAVE_LIBM 1 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF - LIBS="-lm $LIBS" - fi +done + fi + fi -for ac_func in copysignf -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then + + + + + + echo "$as_me:$LINENO: checking for sincosl declaration" >&5 +echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_sincosl_use+set} != xset; then + if test "${glibcxx_cv_func_sincosl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF + + + + ac_ext=cc +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif - +#include int main () { -return f != $ac_func; + sincosl(0, 0, 0); ; return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' + { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - eval "$as_ac_var=yes" + glibcxx_cv_func_sincosl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -eval "$as_ac_var=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext +glibcxx_cv_func_sincosl_use=no fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + -else - LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo" fi -done + fi + echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6 + if test x$glibcxx_cv_func_sincosl_use = x"yes"; then -for ac_func in __signbit +for ac_func in sincosl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -86484,125 +77321,87 @@ if test `eval echo '${'$as_ac_var'}'` = yes; then #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF -else - LIBMATHOBJS="$LIBMATHOBJS signbit.lo" fi done + else - -for ac_func in __signbitf -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then + echo "$as_me:$LINENO: checking for _sincosl declaration" >&5 +echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__sincosl_use+set} != xset; then + if test "${glibcxx_cv_func__sincosl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF + + + + ac_ext=cc +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif - +#include int main () { -return f != $ac_func; + _sincosl(0, 0, 0); ; return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' + { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - eval "$as_ac_var=yes" + glibcxx_cv_func__sincosl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -eval "$as_ac_var=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext +glibcxx_cv_func__sincosl_use=no fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + -else - LIBMATHOBJS="$LIBMATHOBJS signbitf.lo" fi -done + fi + echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6 - if test x$ac_cv_func_copysignl = x"yes"; then + if test x$glibcxx_cv_func__sincosl_use = x"yes"; then -for ac_func in __signbitl +for ac_func in _sincosl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -86705,104 +77504,47 @@ if test `eval echo '${'$as_ac_var'}'` = yes; then #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF -else - LIBMATHOBJS="$LIBMATHOBJS signbitl.lo" fi done + fi fi - # Used in libmath/Makefile.am. - if test -n "$LIBMATHOBJS"; then - need_libmath=yes - fi - - - cat >>confdefs.h <<\_ACEOF -#define HAVE_COPYSIGN 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_COPYSIGNF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_FREXPF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_HYPOT 1 -_ACEOF - - case "$target" in - *-hpux10*) - cat >>confdefs.h <<\_ACEOF -#define HAVE_FINITE 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_FINITEF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE_ISINF 1 -_ACEOF - cat >>confdefs.h <<\_ACEOF -#define HAVE_ISINFF 1 -_ACEOF - cat >>confdefs.h <<\_ACEOF -#define HAVE_ISNAN 1 -_ACEOF - cat >>confdefs.h <<\_ACEOF -#define HAVE_ISNANF 1 -_ACEOF - ;; - esac - ;; - *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu) - SECTION_FLAGS='-ffunction-sections -fdata-sections' + echo "$as_me:$LINENO: checking for finitel declaration" >&5 +echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_finitel_use+set} != xset; then + if test "${glibcxx_cv_func_finitel_use+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else - # All these tests are for C++; save the language and the compiler flags. - # The CXXFLAGS thing is suspicious, but based on similar bits previously - # found in GLIBCXX_CONFIGURE. - ac_ext=cc + ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - ac_test_CXXFLAGS="${CXXFLAGS+set}" - ac_save_CXXFLAGS="$CXXFLAGS" - - # Check for maintainer-mode bits. - if test x"$USE_MAINTAINER_MODE" = xno; then - WERROR='' - else - WERROR='-Werror' - fi - - # Check for -ffunction-sections -fdata-sections - echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5 -echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6 - CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections' - cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -int foo; void bar() { }; +#include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - + finitel(0); ; return 0; } @@ -86829,217 +77571,38 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - ac_fdsections=yes + glibcxx_cv_func_finitel_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -ac_fdsections=no +glibcxx_cv_func_finitel_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - if test "$ac_test_CXXFLAGS" = set; then - CXXFLAGS="$ac_save_CXXFLAGS" - else - # this is the suspicious part - CXXFLAGS='' - fi - if test x"$ac_fdsections" = x"yes"; then - SECTION_FLAGS='-ffunction-sections -fdata-sections' - fi - echo "$as_me:$LINENO: result: $ac_fdsections" >&5 -echo "${ECHO_T}$ac_fdsections" >&6 - - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - - - - # If we're not using GNU ld, then there's no point in even trying these - # tests. Check for that first. We should have already tested for gld - # by now (in libtool), but require it now just to be safe... - test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS='' - test -z "$OPT_LDFLAGS" && OPT_LDFLAGS='' - - - - # The name set by libtool depends on the version of libtool. Shame on us - # for depending on an impl detail, but c'est la vie. Older versions used - # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on - # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually - # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't - # set (hence we're using an older libtool), then set it. - if test x${with_gnu_ld+set} != xset; then - if test x${ac_cv_prog_gnu_ld+set} != xset; then - # We got through "ac_require(ac_prog_ld)" and still not set? Huh? - with_gnu_ld=no - else - with_gnu_ld=$ac_cv_prog_gnu_ld - fi - fi - - # Start by getting the version number. I think the libtool test already - # does some of this, but throws away the result. - glibcxx_ld_is_gold=no - if test x"$with_gnu_ld" = x"yes"; then - echo "$as_me:$LINENO: checking for ld version" >&5 -echo $ECHO_N "checking for ld version... $ECHO_C" >&6 - - if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then - glibcxx_ld_is_gold=yes - fi - ldver=`$LD --version 2>/dev/null | head -1 | \ - sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'` - - glibcxx_gnu_ld_version=`echo $ldver | \ - $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'` - echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5 -echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6 - fi - - # Set --gc-sections. - glibcxx_have_gc_sections=no - if test "$glibcxx_ld_is_gold" = "yes"; then - if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then - glibcxx_have_gc_sections=yes - fi - else - glibcxx_gcsections_min_ld=21602 - if test x"$with_gnu_ld" = x"yes" && - test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then - glibcxx_have_gc_sections=yes - fi - fi - if test "$glibcxx_have_gc_sections" = "yes"; then - # Sufficiently young GNU ld it is! Joy and bunny rabbits! - # NB: This flag only works reliably after 2.16.1. Configure tests - # for this are difficult, so hard wire a value that should work. - - ac_test_CFLAGS="${CFLAGS+set}" - ac_save_CFLAGS="$CFLAGS" - CFLAGS='-Wl,--gc-sections' - - # Check for -Wl,--gc-sections - echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5 -echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6 - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - int one(void) { return 1; } - int two(void) { return 2; } - -int -main () -{ - two(); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_gcsections=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -ac_gcsections=no fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - if test "$ac_gcsections" = "yes"; then - rm -f conftest.c - touch conftest.c - if $CC -c conftest.c; then - if $LD --gc-sections -o conftest conftest.o 2>&1 | \ - grep "Warning: gc-sections option ignored" > /dev/null; then - ac_gcsections=no - fi - fi - rm -f conftest.c conftest.o conftest - fi - if test "$ac_gcsections" = "yes"; then - SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS" - fi - echo "$as_me:$LINENO: result: $ac_gcsections" >&5 -echo "${ECHO_T}$ac_gcsections" >&6 - - if test "$ac_test_CFLAGS" = set; then - CFLAGS="$ac_save_CFLAGS" - else - # this is the suspicious part - CFLAGS='' - fi - fi - - # Set -z,relro. - # Note this is only for shared objects. - ac_ld_relro=no - if test x"$with_gnu_ld" = x"yes"; then - echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5 -echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6 - cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"` - if test -n "$cxx_z_relo"; then - OPT_LDFLAGS="-Wl,-z,relro" - ac_ld_relro=yes - fi - echo "$as_me:$LINENO: result: $ac_ld_relro" >&5 -echo "${ECHO_T}$ac_ld_relro" >&6 - fi - # Set linker optimization flags. - if test x"$with_gnu_ld" = x"yes"; then - OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS" fi + echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6 + if test x$glibcxx_cv_func_finitel_use = x"yes"; then - - - - ac_test_CXXFLAGS="${CXXFLAGS+set}" - ac_save_CXXFLAGS="$CXXFLAGS" - CXXFLAGS='-fno-builtin -D_GNU_SOURCE' - - echo "$as_me:$LINENO: checking for sin in -lm" >&5 -echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6 -if test "${ac_cv_lib_m_sin+set}" = set; then +for ac_func in finitel +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lm $LIBS" -if test x$gcc_no_link = xyes; then + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -87050,18 +77613,47 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" +{ #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ -char sin (); +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + int main () { -sin (); +return f != $ac_func; ; return 0; } @@ -87088,32 +77680,32 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - ac_cv_lib_m_sin=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -ac_cv_lib_m_sin=no +eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5 -echo "${ECHO_T}$ac_cv_lib_m_sin" >&6 -if test $ac_cv_lib_m_sin = yes; then - libm="-lm" fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF - ac_save_LIBS="$LIBS" - LIBS="$LIBS $libm" - +fi +done + else - echo "$as_me:$LINENO: checking for isinf declaration" >&5 -echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_isinf_use+set} != xset; then - if test "${glibcxx_cv_func_isinf_use+set}" = set; then + echo "$as_me:$LINENO: checking for _finitel declaration" >&5 +echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__finitel_use+set} != xset; then + if test "${glibcxx_cv_func__finitel_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -87139,7 +77731,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - isinf(0); + _finitel(0); ; return 0; } @@ -87166,12 +77758,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_isinf_use=yes + glibcxx_cv_func__finitel_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_isinf_use=no +glibcxx_cv_func__finitel_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -87184,12 +77776,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6 - if test x$glibcxx_cv_func_isinf_use = x"yes"; then + if test x$glibcxx_cv_func__finitel_use = x"yes"; then -for ac_func in isinf +for ac_func in _finitel do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -87295,88 +77887,92 @@ _ACEOF fi done - else + fi + fi - echo "$as_me:$LINENO: checking for _isinf declaration" >&5 -echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__isinf_use+set} != xset; then - if test "${glibcxx_cv_func__isinf_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat >conftest.$ac_ext <<_ACEOF + LIBS="$ac_save_LIBS" + CXXFLAGS="$ac_save_CXXFLAGS" + + + +echo "$as_me:$LINENO: checking for main in -lm" >&5 +echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 +if test "${ac_cv_lib_m_main+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lm $LIBS" +if test x$gcc_no_link = xyes; then + { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 +echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} + { (exit 1); exit 1; }; } +fi +cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif + int main () { - _isinf(0); +main (); ; return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' + { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__isinf_use=yes + ac_cv_lib_m_main=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__isinf_use=no +ac_cv_lib_m_main=no fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 +echo "${ECHO_T}$ac_cv_lib_m_main" >&6 +if test $ac_cv_lib_m_main = yes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBM 1 +_ACEOF + LIBS="-lm $LIBS" fi - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6 - - if test x$glibcxx_cv_func__isinf_use = x"yes"; then -for ac_func in _isinf +for ac_func in copysignf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -87479,97 +78075,124 @@ if test `eval echo '${'$as_ac_var'}'` = yes; then #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF +else + LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo" fi done - fi - fi - - - - - echo "$as_me:$LINENO: checking for isnan declaration" >&5 -echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_isnan_use+set} != xset; then - if test "${glibcxx_cv_func_isnan_use+set}" = set; then +for ac_func in __signbit +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF + if test x$gcc_no_link = xyes; then + { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 +echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} + { (exit 1); exit 1; }; } +fi +cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif int main () { - isnan(0); +return f != $ac_func; ; return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' + { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_isnan_use=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_isnan_use=no +eval "$as_ac_var=no" fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF +else + LIBMATHOBJS="$LIBMATHOBJS signbit.lo" fi +done - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6 - if test x$glibcxx_cv_func_isnan_use = x"yes"; then -for ac_func in isnan +for ac_func in __signbitf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -87672,91 +78295,15 @@ if test `eval echo '${'$as_ac_var'}'` = yes; then #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF -fi -done - - else - - echo "$as_me:$LINENO: checking for _isnan declaration" >&5 -echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__isnan_use+set} != xset; then - if test "${glibcxx_cv_func__isnan_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _isnan(0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func__isnan_use=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func__isnan_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - + LIBMATHOBJS="$LIBMATHOBJS signbitf.lo" fi +done - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6 - if test x$glibcxx_cv_func__isnan_use = x"yes"; then + if test x$ac_cv_func_copysignl = x"yes"; then -for ac_func in _isnan +for ac_func in __signbitl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -87859,21 +78406,29 @@ if test `eval echo '${'$as_ac_var'}'` = yes; then #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF +else + LIBMATHOBJS="$LIBMATHOBJS signbitl.lo" fi done - fi + fi + + # Used in libmath/Makefile.am. + if test -n "$LIBMATHOBJS"; then + need_libmath=yes fi + ac_test_CXXFLAGS="${CXXFLAGS+set}" + ac_save_CXXFLAGS="$CXXFLAGS" + CXXFLAGS='-fno-builtin -D_GNU_SOURCE' - - echo "$as_me:$LINENO: checking for finite declaration" >&5 -echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_finite_use+set} != xset; then - if test "${glibcxx_cv_func_finite_use+set}" = set; then + echo "$as_me:$LINENO: checking for strtold declaration" >&5 +echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_strtold_use+set} != xset; then + if test "${glibcxx_cv_func_strtold_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -87891,15 +78446,11 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - +#include int main () { - finite(0); + strtold(0, 0); ; return 0; } @@ -87926,12 +78477,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_finite_use=yes + glibcxx_cv_func_strtold_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_finite_use=no +glibcxx_cv_func_strtold_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -87944,12 +78495,11 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6 - - if test x$glibcxx_cv_func_finite_use = x"yes"; then + echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6 + if test x$glibcxx_cv_func_strtold_use = x"yes"; then -for ac_func in finite +for ac_func in strtold do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -88055,12 +78605,16 @@ _ACEOF fi done - else + fi - echo "$as_me:$LINENO: checking for _finite declaration" >&5 -echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__finite_use+set} != xset; then - if test "${glibcxx_cv_func__finite_use+set}" = set; then + + + + + echo "$as_me:$LINENO: checking for strtof declaration" >&5 +echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_strtof_use+set} != xset; then + if test "${glibcxx_cv_func_strtof_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -88078,15 +78632,11 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - +#include int main () { - _finite(0); + strtof(0, 0); ; return 0; } @@ -88113,12 +78663,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__finite_use=yes + glibcxx_cv_func_strtof_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__finite_use=no +glibcxx_cv_func_strtof_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -88131,12 +78681,11 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6 - - if test x$glibcxx_cv_func__finite_use = x"yes"; then + echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6 + if test x$glibcxx_cv_func_strtof_use = x"yes"; then -for ac_func in _finite +for ac_func in strtof do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -88242,90 +78791,306 @@ _ACEOF fi done + fi + + + + + + CXXFLAGS="$ac_save_CXXFLAGS" + + ;; + + *djgpp) + # GLIBCXX_CHECK_MATH_SUPPORT + cat >>confdefs.h <<\_ACEOF +#define HAVE_LIBM 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_ISINF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_ISNAN 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_FINITE 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_COPYSIGN 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_SINCOS 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_HYPOT 1 +_ACEOF + + # GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT + # GLIBCXX_CHECK_STDLIB_SUPPORT + cat >>confdefs.h <<\_ACEOF +#define HAVE_COPYSIGN 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_COPYSIGNF 1 +_ACEOF + + ;; + + *-freebsd*) + SECTION_FLAGS='-ffunction-sections -fdata-sections' + + + # If we're not using GNU ld, then there's no point in even trying these + # tests. Check for that first. We should have already tested for gld + # by now (in libtool), but require it now just to be safe... + test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS='' + test -z "$OPT_LDFLAGS" && OPT_LDFLAGS='' + + + + # The name set by libtool depends on the version of libtool. Shame on us + # for depending on an impl detail, but c'est la vie. Older versions used + # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on + # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually + # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't + # set (hence we're using an older libtool), then set it. + if test x${with_gnu_ld+set} != xset; then + if test x${ac_cv_prog_gnu_ld+set} != xset; then + # We got through "ac_require(ac_prog_ld)" and still not set? Huh? + with_gnu_ld=no + else + with_gnu_ld=$ac_cv_prog_gnu_ld fi fi + # Start by getting the version number. I think the libtool test already + # does some of this, but throws away the result. + glibcxx_ld_is_gold=no + if test x"$with_gnu_ld" = x"yes"; then + echo "$as_me:$LINENO: checking for ld version" >&5 +echo $ECHO_N "checking for ld version... $ECHO_C" >&6 + if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then + glibcxx_ld_is_gold=yes + fi + ldver=`$LD --version 2>/dev/null | head -1 | \ + sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'` + glibcxx_gnu_ld_version=`echo $ldver | \ + $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'` + echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5 +echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6 + fi + # Set --gc-sections. + glibcxx_have_gc_sections=no + if test "$glibcxx_ld_is_gold" = "yes"; then + if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then + glibcxx_have_gc_sections=yes + fi + else + glibcxx_gcsections_min_ld=21602 + if test x"$with_gnu_ld" = x"yes" && + test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then + glibcxx_have_gc_sections=yes + fi + fi + if test "$glibcxx_have_gc_sections" = "yes"; then + # Sufficiently young GNU ld it is! Joy and bunny rabbits! + # NB: This flag only works reliably after 2.16.1. Configure tests + # for this are difficult, so hard wire a value that should work. + ac_test_CFLAGS="${CFLAGS+set}" + ac_save_CFLAGS="$CFLAGS" + CFLAGS='-Wl,--gc-sections' - echo "$as_me:$LINENO: checking for copysign declaration" >&5 -echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_copysign_use+set} != xset; then - if test "${glibcxx_cv_func_copysign_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + # Check for -Wl,--gc-sections + echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5 +echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6 + if test x$gcc_no_link = xyes; then + { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 +echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} + { (exit 1); exit 1; }; } +fi +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + int one(void) { return 1; } + int two(void) { return 2; } + +int +main () +{ + two(); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_gcsections=yes else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_gcsections=no +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test "$ac_gcsections" = "yes"; then + rm -f conftest.c + touch conftest.c + if $CC -c conftest.c; then + if $LD --gc-sections -o conftest conftest.o 2>&1 | \ + grep "Warning: gc-sections option ignored" > /dev/null; then + ac_gcsections=no + fi + fi + rm -f conftest.c conftest.o conftest + fi + if test "$ac_gcsections" = "yes"; then + SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS" + fi + echo "$as_me:$LINENO: result: $ac_gcsections" >&5 +echo "${ECHO_T}$ac_gcsections" >&6 + if test "$ac_test_CFLAGS" = set; then + CFLAGS="$ac_save_CFLAGS" + else + # this is the suspicious part + CFLAGS='' + fi + fi + # Set -z,relro. + # Note this is only for shared objects. + ac_ld_relro=no + if test x"$with_gnu_ld" = x"yes"; then + echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5 +echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6 + cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"` + if test -n "$cxx_z_relo"; then + OPT_LDFLAGS="-Wl,-z,relro" + ac_ld_relro=yes + fi + echo "$as_me:$LINENO: result: $ac_ld_relro" >&5 +echo "${ECHO_T}$ac_ld_relro" >&6 + fi - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + # Set linker optimization flags. + if test x"$with_gnu_ld" = x"yes"; then + OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS" + fi - cat >conftest.$ac_ext <<_ACEOF + + + + + +echo "$as_me:$LINENO: checking for main in -lm" >&5 +echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 +if test "${ac_cv_lib_m_main+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lm $LIBS" +if test x$gcc_no_link = xyes; then + { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 +echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} + { (exit 1); exit 1; }; } +fi +cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include + + int main () { - copysign(0, 0); +main (); ; return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' + { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_copysign_use=yes + ac_cv_lib_m_main=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_copysign_use=no +ac_cv_lib_m_main=no fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 +echo "${ECHO_T}$ac_cv_lib_m_main" >&6 +if test $ac_cv_lib_m_main = yes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBM 1 +_ACEOF + LIBS="-lm $LIBS" fi - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6 - - if test x$glibcxx_cv_func_copysign_use = x"yes"; then -for ac_func in copysign +for ac_func in copysignf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -88428,87 +79193,14 @@ if test `eval echo '${'$as_ac_var'}'` = yes; then #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF -fi -done - - else - - echo "$as_me:$LINENO: checking for _copysign declaration" >&5 -echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__copysign_use+set} != xset; then - if test "${glibcxx_cv_func__copysign_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -int -main () -{ - _copysign(0, 0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func__copysign_use=yes else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func__copysign_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - + LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo" fi +done - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6 - if test x$glibcxx_cv_func__copysign_use = x"yes"; then -for ac_func in _copysign +for ac_func in __signbit do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -88611,93 +79303,125 @@ if test `eval echo '${'$as_ac_var'}'` = yes; then #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF +else + LIBMATHOBJS="$LIBMATHOBJS signbit.lo" fi done - fi - fi - - - - - echo "$as_me:$LINENO: checking for sincos declaration" >&5 -echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_sincos_use+set} != xset; then - if test "${glibcxx_cv_func_sincos_use+set}" = set; then +for ac_func in __signbitf +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF + if test x$gcc_no_link = xyes; then + { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 +echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} + { (exit 1); exit 1; }; } +fi +cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + int main () { - sincos(0, 0, 0); +return f != $ac_func; ; return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' + { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_sincos_use=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_sincos_use=no +eval "$as_ac_var=no" fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF +else + LIBMATHOBJS="$LIBMATHOBJS signbitf.lo" fi +done - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6 - if test x$glibcxx_cv_func_sincos_use = x"yes"; then + if test x$ac_cv_func_copysignl = x"yes"; then -for ac_func in sincos +for ac_func in __signbitl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -88800,87 +79524,423 @@ if test `eval echo '${'$as_ac_var'}'` = yes; then #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF +else + LIBMATHOBJS="$LIBMATHOBJS signbitl.lo" fi done + fi + + # Used in libmath/Makefile.am. + if test -n "$LIBMATHOBJS"; then + need_libmath=yes + fi + + + cat >>confdefs.h <<\_ACEOF +#define HAVE_SETENV 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_COPYSIGN 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_COPYSIGNF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_FINITEF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_FINITE 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_FREXPF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_HYPOT 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_HYPOTF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_ISINF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_ISNAN 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_ISNANF 1 +_ACEOF + + + cat >>confdefs.h <<\_ACEOF +#define HAVE_ACOSF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_ASINF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_ATAN2F 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_ATANF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_CEILF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_COPYSIGN 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_COPYSIGNF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_COSF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_COSHF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_EXPF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_FABSF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_FLOORF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_FMODF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_FREXPF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_LDEXPF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_LOG10F 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_LOGF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_MODFF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_POWF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_SINF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_SINHF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_SQRTF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_TANF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_TANHF 1 +_ACEOF + + if test x"long_double_math_on_this_cpu" = x"yes"; then + cat >>confdefs.h <<\_ACEOF +#define HAVE_FINITEL 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_ISINFL 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_ISNANL 1 +_ACEOF + + fi + ;; + *-hpux*) + SECTION_FLAGS='-ffunction-sections -fdata-sections' + + + # If we're not using GNU ld, then there's no point in even trying these + # tests. Check for that first. We should have already tested for gld + # by now (in libtool), but require it now just to be safe... + test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS='' + test -z "$OPT_LDFLAGS" && OPT_LDFLAGS='' + + + + # The name set by libtool depends on the version of libtool. Shame on us + # for depending on an impl detail, but c'est la vie. Older versions used + # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on + # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually + # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't + # set (hence we're using an older libtool), then set it. + if test x${with_gnu_ld+set} != xset; then + if test x${ac_cv_prog_gnu_ld+set} != xset; then + # We got through "ac_require(ac_prog_ld)" and still not set? Huh? + with_gnu_ld=no + else + with_gnu_ld=$ac_cv_prog_gnu_ld + fi + fi + + # Start by getting the version number. I think the libtool test already + # does some of this, but throws away the result. + glibcxx_ld_is_gold=no + if test x"$with_gnu_ld" = x"yes"; then + echo "$as_me:$LINENO: checking for ld version" >&5 +echo $ECHO_N "checking for ld version... $ECHO_C" >&6 + + if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then + glibcxx_ld_is_gold=yes + fi + ldver=`$LD --version 2>/dev/null | head -1 | \ + sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'` + + glibcxx_gnu_ld_version=`echo $ldver | \ + $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'` + echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5 +echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6 + fi + + # Set --gc-sections. + glibcxx_have_gc_sections=no + if test "$glibcxx_ld_is_gold" = "yes"; then + if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then + glibcxx_have_gc_sections=yes + fi else + glibcxx_gcsections_min_ld=21602 + if test x"$with_gnu_ld" = x"yes" && + test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then + glibcxx_have_gc_sections=yes + fi + fi + if test "$glibcxx_have_gc_sections" = "yes"; then + # Sufficiently young GNU ld it is! Joy and bunny rabbits! + # NB: This flag only works reliably after 2.16.1. Configure tests + # for this are difficult, so hard wire a value that should work. - echo "$as_me:$LINENO: checking for _sincos declaration" >&5 -echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__sincos_use+set} != xset; then - if test "${glibcxx_cv_func__sincos_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + ac_test_CFLAGS="${CFLAGS+set}" + ac_save_CFLAGS="$CFLAGS" + CFLAGS='-Wl,--gc-sections' + + # Check for -Wl,--gc-sections + echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5 +echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6 + if test x$gcc_no_link = xyes; then + { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 +echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} + { (exit 1); exit 1; }; } +fi +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + int one(void) { return 1; } + int two(void) { return 2; } + +int +main () +{ + two(); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_gcsections=yes else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_gcsections=no +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test "$ac_gcsections" = "yes"; then + rm -f conftest.c + touch conftest.c + if $CC -c conftest.c; then + if $LD --gc-sections -o conftest conftest.o 2>&1 | \ + grep "Warning: gc-sections option ignored" > /dev/null; then + ac_gcsections=no + fi + fi + rm -f conftest.c conftest.o conftest + fi + if test "$ac_gcsections" = "yes"; then + SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS" + fi + echo "$as_me:$LINENO: result: $ac_gcsections" >&5 +echo "${ECHO_T}$ac_gcsections" >&6 + + if test "$ac_test_CFLAGS" = set; then + CFLAGS="$ac_save_CFLAGS" + else + # this is the suspicious part + CFLAGS='' + fi + fi + + # Set -z,relro. + # Note this is only for shared objects. + ac_ld_relro=no + if test x"$with_gnu_ld" = x"yes"; then + echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5 +echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6 + cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"` + if test -n "$cxx_z_relo"; then + OPT_LDFLAGS="-Wl,-z,relro" + ac_ld_relro=yes + fi + echo "$as_me:$LINENO: result: $ac_ld_relro" >&5 +echo "${ECHO_T}$ac_ld_relro" >&6 + fi + # Set linker optimization flags. + if test x"$with_gnu_ld" = x"yes"; then + OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS" + fi - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat >conftest.$ac_ext <<_ACEOF + + + +echo "$as_me:$LINENO: checking for main in -lm" >&5 +echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 +if test "${ac_cv_lib_m_main+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lm $LIBS" +if test x$gcc_no_link = xyes; then + { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 +echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} + { (exit 1); exit 1; }; } +fi +cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include + + int main () { - _sincos(0, 0, 0); +main (); ; return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' + { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__sincos_use=yes + ac_cv_lib_m_main=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__sincos_use=no +ac_cv_lib_m_main=no fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 +echo "${ECHO_T}$ac_cv_lib_m_main" >&6 +if test $ac_cv_lib_m_main = yes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBM 1 +_ACEOF + LIBS="-lm $LIBS" fi - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6 - - if test x$glibcxx_cv_func__sincos_use = x"yes"; then -for ac_func in _sincos +for ac_func in copysignf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -88983,97 +80043,14 @@ if test `eval echo '${'$as_ac_var'}'` = yes; then #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF -fi -done - - fi - fi - - - - - - - echo "$as_me:$LINENO: checking for fpclass declaration" >&5 -echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_fpclass_use+set} != xset; then - if test "${glibcxx_cv_func_fpclass_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - fpclass(0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func_fpclass_use=yes else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func_fpclass_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - + LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo" fi +done - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6 - if test x$glibcxx_cv_func_fpclass_use = x"yes"; then -for ac_func in fpclass +for ac_func in __signbit do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -89176,91 +80153,14 @@ if test `eval echo '${'$as_ac_var'}'` = yes; then #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF -fi -done - - else - - echo "$as_me:$LINENO: checking for _fpclass declaration" >&5 -echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__fpclass_use+set} != xset; then - if test "${glibcxx_cv_func__fpclass_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _fpclass(0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func__fpclass_use=yes else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func__fpclass_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - + LIBMATHOBJS="$LIBMATHOBJS signbit.lo" fi +done - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6 - if test x$glibcxx_cv_func__fpclass_use = x"yes"; then -for ac_func in _fpclass +for ac_func in __signbitf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -89363,97 +80263,15 @@ if test `eval echo '${'$as_ac_var'}'` = yes; then #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF -fi -done - - fi - fi - - - - - - - echo "$as_me:$LINENO: checking for qfpclass declaration" >&5 -echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then - if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - qfpclass(0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func_qfpclass_use=yes else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func_qfpclass_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - + LIBMATHOBJS="$LIBMATHOBJS signbitf.lo" fi +done - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6 - if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then + if test x$ac_cv_func_copysignl = x"yes"; then -for ac_func in qfpclass +for ac_func in __signbitl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -89556,41 +80374,104 @@ if test `eval echo '${'$as_ac_var'}'` = yes; then #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF +else + LIBMATHOBJS="$LIBMATHOBJS signbitl.lo" fi done - else + fi - echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5 -echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then - if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else + # Used in libmath/Makefile.am. + if test -n "$LIBMATHOBJS"; then + need_libmath=yes + fi + cat >>confdefs.h <<\_ACEOF +#define HAVE_COPYSIGN 1 +_ACEOF - ac_ext=cc + cat >>confdefs.h <<\_ACEOF +#define HAVE_COPYSIGNF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_FREXPF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_HYPOT 1 +_ACEOF + + case "$target" in + *-hpux10*) + cat >>confdefs.h <<\_ACEOF +#define HAVE_FINITE 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_FINITEF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_ISINF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_ISINFF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_ISNAN 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_ISNANF 1 +_ACEOF + + ;; + esac + ;; + *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu) + SECTION_FLAGS='-ffunction-sections -fdata-sections' + + + # All these tests are for C++; save the language and the compiler flags. + # The CXXFLAGS thing is suspicious, but based on similar bits previously + # found in GLIBCXX_CONFIGURE. + + + ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat >conftest.$ac_ext <<_ACEOF + ac_test_CXXFLAGS="${CXXFLAGS+set}" + ac_save_CXXFLAGS="$CXXFLAGS" + + # Check for maintainer-mode bits. + if test x"$USE_MAINTAINER_MODE" = xno; then + WERROR='' + else + WERROR='-Werror' + fi + + # Check for -ffunction-sections -fdata-sections + echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5 +echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6 + CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections' + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - +int foo; void bar() { }; int main () { - _qfpclass(0); + ; return 0; } @@ -89617,38 +80498,104 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__qfpclass_use=yes + ac_fdsections=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__qfpclass_use=no +ac_fdsections=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + if test "$ac_test_CXXFLAGS" = set; then + CXXFLAGS="$ac_save_CXXFLAGS" + else + # this is the suspicious part + CXXFLAGS='' + fi + if test x"$ac_fdsections" = x"yes"; then + SECTION_FLAGS='-ffunction-sections -fdata-sections' + fi + echo "$as_me:$LINENO: result: $ac_fdsections" >&5 +echo "${ECHO_T}$ac_fdsections" >&6 + + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -fi + + + # If we're not using GNU ld, then there's no point in even trying these + # tests. Check for that first. We should have already tested for gld + # by now (in libtool), but require it now just to be safe... + test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS='' + test -z "$OPT_LDFLAGS" && OPT_LDFLAGS='' + + + + # The name set by libtool depends on the version of libtool. Shame on us + # for depending on an impl detail, but c'est la vie. Older versions used + # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on + # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually + # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't + # set (hence we're using an older libtool), then set it. + if test x${with_gnu_ld+set} != xset; then + if test x${ac_cv_prog_gnu_ld+set} != xset; then + # We got through "ac_require(ac_prog_ld)" and still not set? Huh? + with_gnu_ld=no + else + with_gnu_ld=$ac_cv_prog_gnu_ld + fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6 - if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then + # Start by getting the version number. I think the libtool test already + # does some of this, but throws away the result. + glibcxx_ld_is_gold=no + if test x"$with_gnu_ld" = x"yes"; then + echo "$as_me:$LINENO: checking for ld version" >&5 +echo $ECHO_N "checking for ld version... $ECHO_C" >&6 -for ac_func in _qfpclass -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test x$gcc_no_link = xyes; then + if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then + glibcxx_ld_is_gold=yes + fi + ldver=`$LD --version 2>/dev/null | head -1 | \ + sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'` + + glibcxx_gnu_ld_version=`echo $ldver | \ + $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'` + echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5 +echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6 + fi + + # Set --gc-sections. + glibcxx_have_gc_sections=no + if test "$glibcxx_ld_is_gold" = "yes"; then + if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then + glibcxx_have_gc_sections=yes + fi + else + glibcxx_gcsections_min_ld=21602 + if test x"$with_gnu_ld" = x"yes" && + test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then + glibcxx_have_gc_sections=yes + fi + fi + if test "$glibcxx_have_gc_sections" = "yes"; then + # Sufficiently young GNU ld it is! Joy and bunny rabbits! + # NB: This flag only works reliably after 2.16.1. Configure tests + # for this are difficult, so hard wire a value that should work. + + ac_test_CFLAGS="${CFLAGS+set}" + ac_save_CFLAGS="$CFLAGS" + CFLAGS='-Wl,--gc-sections' + + # Check for -Wl,--gc-sections + echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5 +echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6 + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -89659,47 +80606,131 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func + int one(void) { return 1; } + int two(void) { return 2; } -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ +int +main () +{ + two(); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_gcsections=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 -#ifdef __STDC__ -# include -#else -# include -#endif +ac_gcsections=no +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test "$ac_gcsections" = "yes"; then + rm -f conftest.c + touch conftest.c + if $CC -c conftest.c; then + if $LD --gc-sections -o conftest conftest.o 2>&1 | \ + grep "Warning: gc-sections option ignored" > /dev/null; then + ac_gcsections=no + fi + fi + rm -f conftest.c conftest.o conftest + fi + if test "$ac_gcsections" = "yes"; then + SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS" + fi + echo "$as_me:$LINENO: result: $ac_gcsections" >&5 +echo "${ECHO_T}$ac_gcsections" >&6 -#undef $ac_func + if test "$ac_test_CFLAGS" = set; then + CFLAGS="$ac_save_CFLAGS" + else + # this is the suspicious part + CFLAGS='' + fi + fi + + # Set -z,relro. + # Note this is only for shared objects. + ac_ld_relro=no + if test x"$with_gnu_ld" = x"yes"; then + echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5 +echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6 + cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"` + if test -n "$cxx_z_relo"; then + OPT_LDFLAGS="-Wl,-z,relro" + ac_ld_relro=yes + fi + echo "$as_me:$LINENO: result: $ac_ld_relro" >&5 +echo "${ECHO_T}$ac_ld_relro" >&6 + fi + + # Set linker optimization flags. + if test x"$with_gnu_ld" = x"yes"; then + OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS" + fi + + + + + + ac_test_CXXFLAGS="${CXXFLAGS+set}" + ac_save_CXXFLAGS="$CXXFLAGS" + CXXFLAGS='-fno-builtin -D_GNU_SOURCE' + + echo "$as_me:$LINENO: checking for sin in -lm" >&5 +echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6 +if test "${ac_cv_lib_m_sin+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lm $LIBS" +if test x$gcc_no_link = xyes; then + { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 +echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} + { (exit 1); exit 1; }; } +fi +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" -{ #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif - +char sin (); int main () { -return f != $ac_func; +sin (); ; return 0; } @@ -89726,38 +80757,32 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - eval "$as_ac_var=yes" + ac_cv_lib_m_sin=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -eval "$as_ac_var=no" +ac_cv_lib_m_sin=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - +echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5 +echo "${ECHO_T}$ac_cv_lib_m_sin" >&6 +if test $ac_cv_lib_m_sin = yes; then + libm="-lm" fi -done - - fi - fi - - + ac_save_LIBS="$LIBS" + LIBS="$LIBS $libm" - echo "$as_me:$LINENO: checking for hypot declaration" >&5 -echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_hypot_use+set} != xset; then - if test "${glibcxx_cv_func_hypot_use+set}" = set; then + echo "$as_me:$LINENO: checking for isinf declaration" >&5 +echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_isinf_use+set} != xset; then + if test "${glibcxx_cv_func_isinf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -89776,10 +80801,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - hypot(0, 0); + isinf(0); ; return 0; } @@ -89806,12 +80835,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_hypot_use=yes + glibcxx_cv_func_isinf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_hypot_use=no +glibcxx_cv_func_isinf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -89824,12 +80853,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6 - if test x$glibcxx_cv_func_hypot_use = x"yes"; then + if test x$glibcxx_cv_func_isinf_use = x"yes"; then -for ac_func in hypot +for ac_func in isinf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -89937,10 +80966,10 @@ done else - echo "$as_me:$LINENO: checking for _hypot declaration" >&5 -echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__hypot_use+set} != xset; then - if test "${glibcxx_cv_func__hypot_use+set}" = set; then + echo "$as_me:$LINENO: checking for _isinf declaration" >&5 +echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__isinf_use+set} != xset; then + if test "${glibcxx_cv_func__isinf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -89959,10 +80988,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _hypot(0, 0); + _isinf(0); ; return 0; } @@ -89989,12 +81022,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__hypot_use=yes + glibcxx_cv_func__isinf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__hypot_use=no +glibcxx_cv_func__isinf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -90007,12 +81040,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6 - if test x$glibcxx_cv_func__hypot_use = x"yes"; then + if test x$glibcxx_cv_func__isinf_use = x"yes"; then -for ac_func in _hypot +for ac_func in _isinf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -90126,31 +81159,36 @@ done - echo "$as_me:$LINENO: checking for float trig functions" >&5 -echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6 - if test "${glibcxx_cv_func_float_trig_use+set}" = set; then + echo "$as_me:$LINENO: checking for isnan declaration" >&5 +echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_isnan_use+set} != xset; then + if test "${glibcxx_cv_func_isnan_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - ac_ext=cc + ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { -acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0); + isnan(0); ; return 0; } @@ -90177,35 +81215,30 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_float_trig_use=yes + glibcxx_cv_func_isnan_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_float_trig_use=no +glibcxx_cv_func_isnan_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -fi - - echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6 - if test x$glibcxx_cv_func_float_trig_use = x"yes"; then - - - - - +fi + fi + echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6 + if test x$glibcxx_cv_func_isnan_use = x"yes"; then -for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf +for ac_func in isnan do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -90312,9 +81345,11 @@ fi done else - echo "$as_me:$LINENO: checking for _float trig functions" >&5 -echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6 - if test "${glibcxx_cv_func__float_trig_use+set}" = set; then + + echo "$as_me:$LINENO: checking for _isnan declaration" >&5 +echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__isnan_use+set} != xset; then + if test "${glibcxx_cv_func__isnan_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -90333,10 +81368,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { -_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0); + _isnan(0); ; return 0; } @@ -90363,12 +81402,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__float_trig_use=yes + glibcxx_cv_func__isnan_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__float_trig_use=no +glibcxx_cv_func__isnan_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -90377,21 +81416,16 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -fi - - echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6 - if test x$glibcxx_cv_func__float_trig_use = x"yes"; then - - - - - +fi + fi + echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6 + if test x$glibcxx_cv_func__isnan_use = x"yes"; then -for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf +for ac_func in _isnan do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -90505,39 +81539,36 @@ done - - - - - - - - - echo "$as_me:$LINENO: checking for float round functions" >&5 -echo $ECHO_N "checking for float round functions... $ECHO_C" >&6 - if test "${glibcxx_cv_func_float_round_use+set}" = set; then + echo "$as_me:$LINENO: checking for finite declaration" >&5 +echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_finite_use+set} != xset; then + if test "${glibcxx_cv_func_finite_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - ac_ext=cc + ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { -ceilf (0); floorf (0); + finite(0); ; return 0; } @@ -90564,28 +81595,30 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_float_round_use=yes + glibcxx_cv_func_finite_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_float_round_use=no +glibcxx_cv_func_finite_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu + fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6 - if test x$glibcxx_cv_func_float_round_use = x"yes"; then + fi + echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6 + if test x$glibcxx_cv_func_finite_use = x"yes"; then -for ac_func in ceilf floorf +for ac_func in finite do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -90692,9 +81725,11 @@ fi done else - echo "$as_me:$LINENO: checking for _float round functions" >&5 -echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6 - if test "${glibcxx_cv_func__float_round_use+set}" = set; then + + echo "$as_me:$LINENO: checking for _finite declaration" >&5 +echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__finite_use+set} != xset; then + if test "${glibcxx_cv_func__finite_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -90713,10 +81748,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { -_ceilf (0); _floorf (0); + _finite(0); ; return 0; } @@ -90743,12 +81782,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__float_round_use=yes + glibcxx_cv_func__finite_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__float_round_use=no +glibcxx_cv_func__finite_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -90757,14 +81796,16 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu + fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6 - if test x$glibcxx_cv_func__float_round_use = x"yes"; then + fi + echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6 + if test x$glibcxx_cv_func__finite_use = x"yes"; then -for ac_func in _ceilf _floorf +for ac_func in _finite do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -90878,12 +81919,10 @@ done - - - echo "$as_me:$LINENO: checking for expf declaration" >&5 -echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_expf_use+set} != xset; then - if test "${glibcxx_cv_func_expf_use+set}" = set; then + echo "$as_me:$LINENO: checking for copysign declaration" >&5 +echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_copysign_use+set} != xset; then + if test "${glibcxx_cv_func_copysign_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -90902,14 +81941,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - expf(0); + copysign(0, 0); ; return 0; } @@ -90936,12 +81971,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_expf_use=yes + glibcxx_cv_func_copysign_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_expf_use=no +glibcxx_cv_func_copysign_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -90954,12 +81989,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6 - if test x$glibcxx_cv_func_expf_use = x"yes"; then + if test x$glibcxx_cv_func_copysign_use = x"yes"; then -for ac_func in expf +for ac_func in copysign do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -91067,10 +82102,10 @@ done else - echo "$as_me:$LINENO: checking for _expf declaration" >&5 -echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__expf_use+set} != xset; then - if test "${glibcxx_cv_func__expf_use+set}" = set; then + echo "$as_me:$LINENO: checking for _copysign declaration" >&5 +echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__copysign_use+set} != xset; then + if test "${glibcxx_cv_func__copysign_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -91089,14 +82124,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _expf(0); + _copysign(0, 0); ; return 0; } @@ -91123,12 +82154,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__expf_use=yes + glibcxx_cv_func__copysign_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__expf_use=no +glibcxx_cv_func__copysign_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -91141,12 +82172,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6 - if test x$glibcxx_cv_func__expf_use = x"yes"; then + if test x$glibcxx_cv_func__copysign_use = x"yes"; then -for ac_func in _expf +for ac_func in _copysign do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -91260,10 +82291,10 @@ done - echo "$as_me:$LINENO: checking for isnanf declaration" >&5 -echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_isnanf_use+set} != xset; then - if test "${glibcxx_cv_func_isnanf_use+set}" = set; then + echo "$as_me:$LINENO: checking for sincos declaration" >&5 +echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_sincos_use+set} != xset; then + if test "${glibcxx_cv_func_sincos_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -91282,14 +82313,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - isnanf(0); + sincos(0, 0, 0); ; return 0; } @@ -91316,12 +82343,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_isnanf_use=yes + glibcxx_cv_func_sincos_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_isnanf_use=no +glibcxx_cv_func_sincos_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -91334,12 +82361,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6 - if test x$glibcxx_cv_func_isnanf_use = x"yes"; then + if test x$glibcxx_cv_func_sincos_use = x"yes"; then -for ac_func in isnanf +for ac_func in sincos do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -91447,10 +82474,10 @@ done else - echo "$as_me:$LINENO: checking for _isnanf declaration" >&5 -echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__isnanf_use+set} != xset; then - if test "${glibcxx_cv_func__isnanf_use+set}" = set; then + echo "$as_me:$LINENO: checking for _sincos declaration" >&5 +echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__sincos_use+set} != xset; then + if test "${glibcxx_cv_func__sincos_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -91469,14 +82496,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _isnanf(0); + _sincos(0, 0, 0); ; return 0; } @@ -91503,12 +82526,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__isnanf_use=yes + glibcxx_cv_func__sincos_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__isnanf_use=no +glibcxx_cv_func__sincos_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -91521,12 +82544,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6 - if test x$glibcxx_cv_func__isnanf_use = x"yes"; then + if test x$glibcxx_cv_func__sincos_use = x"yes"; then -for ac_func in _isnanf +for ac_func in _sincos do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -91640,10 +82663,10 @@ done - echo "$as_me:$LINENO: checking for isinff declaration" >&5 -echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_isinff_use+set} != xset; then - if test "${glibcxx_cv_func_isinff_use+set}" = set; then + echo "$as_me:$LINENO: checking for fpclass declaration" >&5 +echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_fpclass_use+set} != xset; then + if test "${glibcxx_cv_func_fpclass_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -91669,7 +82692,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - isinff(0); + fpclass(0); ; return 0; } @@ -91696,12 +82719,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_isinff_use=yes + glibcxx_cv_func_fpclass_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_isinff_use=no +glibcxx_cv_func_fpclass_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -91714,12 +82737,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6 - if test x$glibcxx_cv_func_isinff_use = x"yes"; then + if test x$glibcxx_cv_func_fpclass_use = x"yes"; then -for ac_func in isinff +for ac_func in fpclass do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -91827,10 +82850,10 @@ done else - echo "$as_me:$LINENO: checking for _isinff declaration" >&5 -echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__isinff_use+set} != xset; then - if test "${glibcxx_cv_func__isinff_use+set}" = set; then + echo "$as_me:$LINENO: checking for _fpclass declaration" >&5 +echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__fpclass_use+set} != xset; then + if test "${glibcxx_cv_func__fpclass_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -91856,7 +82879,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - _isinff(0); + _fpclass(0); ; return 0; } @@ -91883,12 +82906,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__isinff_use=yes + glibcxx_cv_func__fpclass_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__isinff_use=no +glibcxx_cv_func__fpclass_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -91901,12 +82924,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6 - if test x$glibcxx_cv_func__isinff_use = x"yes"; then + if test x$glibcxx_cv_func__fpclass_use = x"yes"; then -for ac_func in _isinff +for ac_func in _fpclass do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -92020,10 +83043,10 @@ done - echo "$as_me:$LINENO: checking for atan2f declaration" >&5 -echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_atan2f_use+set} != xset; then - if test "${glibcxx_cv_func_atan2f_use+set}" = set; then + echo "$as_me:$LINENO: checking for qfpclass declaration" >&5 +echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then + if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -92042,10 +83065,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - atan2f(0, 0); + qfpclass(0); ; return 0; } @@ -92072,12 +83099,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_atan2f_use=yes + glibcxx_cv_func_qfpclass_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_atan2f_use=no +glibcxx_cv_func_qfpclass_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -92090,12 +83117,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6 - if test x$glibcxx_cv_func_atan2f_use = x"yes"; then + if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then -for ac_func in atan2f +for ac_func in qfpclass do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -92203,10 +83230,10 @@ done else - echo "$as_me:$LINENO: checking for _atan2f declaration" >&5 -echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__atan2f_use+set} != xset; then - if test "${glibcxx_cv_func__atan2f_use+set}" = set; then + echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5 +echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then + if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -92225,10 +83252,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _atan2f(0, 0); + _qfpclass(0); ; return 0; } @@ -92255,12 +83286,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__atan2f_use=yes + glibcxx_cv_func__qfpclass_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__atan2f_use=no +glibcxx_cv_func__qfpclass_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -92273,12 +83304,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6 - if test x$glibcxx_cv_func__atan2f_use = x"yes"; then + if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then -for ac_func in _atan2f +for ac_func in _qfpclass do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -92392,10 +83423,10 @@ done - echo "$as_me:$LINENO: checking for fabsf declaration" >&5 -echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_fabsf_use+set} != xset; then - if test "${glibcxx_cv_func_fabsf_use+set}" = set; then + echo "$as_me:$LINENO: checking for hypot declaration" >&5 +echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_hypot_use+set} != xset; then + if test "${glibcxx_cv_func_hypot_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -92414,14 +83445,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - fabsf(0); + hypot(0, 0); ; return 0; } @@ -92448,12 +83475,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_fabsf_use=yes + glibcxx_cv_func_hypot_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_fabsf_use=no +glibcxx_cv_func_hypot_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -92466,12 +83493,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6 - if test x$glibcxx_cv_func_fabsf_use = x"yes"; then + if test x$glibcxx_cv_func_hypot_use = x"yes"; then -for ac_func in fabsf +for ac_func in hypot do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -92579,10 +83606,10 @@ done else - echo "$as_me:$LINENO: checking for _fabsf declaration" >&5 -echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__fabsf_use+set} != xset; then - if test "${glibcxx_cv_func__fabsf_use+set}" = set; then + echo "$as_me:$LINENO: checking for _hypot declaration" >&5 +echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__hypot_use+set} != xset; then + if test "${glibcxx_cv_func__hypot_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -92601,14 +83628,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _fabsf(0); + _hypot(0, 0); ; return 0; } @@ -92635,12 +83658,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__fabsf_use=yes + glibcxx_cv_func__hypot_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__fabsf_use=no +glibcxx_cv_func__hypot_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -92653,12 +83676,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6 - if test x$glibcxx_cv_func__fabsf_use = x"yes"; then + if test x$glibcxx_cv_func__hypot_use = x"yes"; then -for ac_func in _fabsf +for ac_func in _hypot do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -92772,22 +83795,21 @@ done - echo "$as_me:$LINENO: checking for fmodf declaration" >&5 -echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_fmodf_use+set} != xset; then - if test "${glibcxx_cv_func_fmodf_use+set}" = set; then + echo "$as_me:$LINENO: checking for float trig functions" >&5 +echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6 + if test "${glibcxx_cv_func_float_trig_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - ac_ext=cc + ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -92797,7 +83819,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - fmodf(0, 0); +acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0); ; return 0; } @@ -92824,30 +83846,35 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_fmodf_use=yes + glibcxx_cv_func_float_trig_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_fmodf_use=no +glibcxx_cv_func_float_trig_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6 + if test x$glibcxx_cv_func_float_trig_use = x"yes"; then - if test x$glibcxx_cv_func_fmodf_use = x"yes"; then -for ac_func in fmodf + + + + + + + +for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -92954,11 +83981,9 @@ fi done else - - echo "$as_me:$LINENO: checking for _fmodf declaration" >&5 -echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__fmodf_use+set} != xset; then - if test "${glibcxx_cv_func__fmodf_use+set}" = set; then + echo "$as_me:$LINENO: checking for _float trig functions" >&5 +echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6 + if test "${glibcxx_cv_func__float_trig_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -92980,7 +84005,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - _fmodf(0, 0); +_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0); ; return 0; } @@ -93007,12 +84032,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__fmodf_use=yes + glibcxx_cv_func__float_trig_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__fmodf_use=no +glibcxx_cv_func__float_trig_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -93021,16 +84046,21 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6 + if test x$glibcxx_cv_func__float_trig_use = x"yes"; then - if test x$glibcxx_cv_func__fmodf_use = x"yes"; then -for ac_func in _fmodf + + + + + + + +for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -93144,22 +84174,29 @@ done - echo "$as_me:$LINENO: checking for frexpf declaration" >&5 -echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_frexpf_use+set} != xset; then - if test "${glibcxx_cv_func_frexpf_use+set}" = set; then + + + + + + + + + echo "$as_me:$LINENO: checking for float round functions" >&5 +echo $ECHO_N "checking for float round functions... $ECHO_C" >&6 + if test "${glibcxx_cv_func_float_round_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - ac_ext=cc + ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -93169,7 +84206,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - frexpf(0, 0); +ceilf (0); floorf (0); ; return 0; } @@ -93196,30 +84233,28 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_frexpf_use=yes + glibcxx_cv_func_float_round_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_frexpf_use=no +glibcxx_cv_func_float_round_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6 + if test x$glibcxx_cv_func_float_round_use = x"yes"; then - if test x$glibcxx_cv_func_frexpf_use = x"yes"; then -for ac_func in frexpf +for ac_func in ceilf floorf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -93326,11 +84361,9 @@ fi done else - - echo "$as_me:$LINENO: checking for _frexpf declaration" >&5 -echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__frexpf_use+set} != xset; then - if test "${glibcxx_cv_func__frexpf_use+set}" = set; then + echo "$as_me:$LINENO: checking for _float round functions" >&5 +echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6 + if test "${glibcxx_cv_func__float_round_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -93352,7 +84385,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - _frexpf(0, 0); +_ceilf (0); _floorf (0); ; return 0; } @@ -93379,12 +84412,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__frexpf_use=yes + glibcxx_cv_func__float_round_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__frexpf_use=no +glibcxx_cv_func__float_round_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -93393,16 +84426,14 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6 + if test x$glibcxx_cv_func__float_round_use = x"yes"; then - if test x$glibcxx_cv_func__frexpf_use = x"yes"; then -for ac_func in _frexpf +for ac_func in _ceilf _floorf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -93516,10 +84547,12 @@ done - echo "$as_me:$LINENO: checking for hypotf declaration" >&5 -echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_hypotf_use+set} != xset; then - if test "${glibcxx_cv_func_hypotf_use+set}" = set; then + + + echo "$as_me:$LINENO: checking for expf declaration" >&5 +echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_expf_use+set} != xset; then + if test "${glibcxx_cv_func_expf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -93538,10 +84571,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - hypotf(0, 0); + expf(0); ; return 0; } @@ -93568,12 +84605,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_hypotf_use=yes + glibcxx_cv_func_expf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_hypotf_use=no +glibcxx_cv_func_expf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -93586,12 +84623,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6 - if test x$glibcxx_cv_func_hypotf_use = x"yes"; then + if test x$glibcxx_cv_func_expf_use = x"yes"; then -for ac_func in hypotf +for ac_func in expf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -93699,10 +84736,10 @@ done else - echo "$as_me:$LINENO: checking for _hypotf declaration" >&5 -echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__hypotf_use+set} != xset; then - if test "${glibcxx_cv_func__hypotf_use+set}" = set; then + echo "$as_me:$LINENO: checking for _expf declaration" >&5 +echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__expf_use+set} != xset; then + if test "${glibcxx_cv_func__expf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -93721,10 +84758,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _hypotf(0, 0); + _expf(0); ; return 0; } @@ -93751,12 +84792,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__hypotf_use=yes + glibcxx_cv_func__expf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__hypotf_use=no +glibcxx_cv_func__expf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -93769,12 +84810,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6 - if test x$glibcxx_cv_func__hypotf_use = x"yes"; then + if test x$glibcxx_cv_func__expf_use = x"yes"; then -for ac_func in _hypotf +for ac_func in _expf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -93888,10 +84929,10 @@ done - echo "$as_me:$LINENO: checking for ldexpf declaration" >&5 -echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then - if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then + echo "$as_me:$LINENO: checking for isnanf declaration" >&5 +echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_isnanf_use+set} != xset; then + if test "${glibcxx_cv_func_isnanf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -93910,10 +84951,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - ldexpf(0, 0); + isnanf(0); ; return 0; } @@ -93940,12 +84985,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_ldexpf_use=yes + glibcxx_cv_func_isnanf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_ldexpf_use=no +glibcxx_cv_func_isnanf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -93958,12 +85003,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6 - if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then + if test x$glibcxx_cv_func_isnanf_use = x"yes"; then -for ac_func in ldexpf +for ac_func in isnanf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -94071,10 +85116,10 @@ done else - echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5 -echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then - if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then + echo "$as_me:$LINENO: checking for _isnanf declaration" >&5 +echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__isnanf_use+set} != xset; then + if test "${glibcxx_cv_func__isnanf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -94093,10 +85138,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _ldexpf(0, 0); + _isnanf(0); ; return 0; } @@ -94123,12 +85172,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__ldexpf_use=yes + glibcxx_cv_func__isnanf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__ldexpf_use=no +glibcxx_cv_func__isnanf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -94141,12 +85190,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6 - if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then + if test x$glibcxx_cv_func__isnanf_use = x"yes"; then -for ac_func in _ldexpf +for ac_func in _isnanf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -94260,10 +85309,10 @@ done - echo "$as_me:$LINENO: checking for logf declaration" >&5 -echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_logf_use+set} != xset; then - if test "${glibcxx_cv_func_logf_use+set}" = set; then + echo "$as_me:$LINENO: checking for isinff declaration" >&5 +echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_isinff_use+set} != xset; then + if test "${glibcxx_cv_func_isinff_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -94289,7 +85338,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - logf(0); + isinff(0); ; return 0; } @@ -94316,12 +85365,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_logf_use=yes + glibcxx_cv_func_isinff_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_logf_use=no +glibcxx_cv_func_isinff_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -94334,12 +85383,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6 - if test x$glibcxx_cv_func_logf_use = x"yes"; then + if test x$glibcxx_cv_func_isinff_use = x"yes"; then -for ac_func in logf +for ac_func in isinff do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -94447,10 +85496,10 @@ done else - echo "$as_me:$LINENO: checking for _logf declaration" >&5 -echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__logf_use+set} != xset; then - if test "${glibcxx_cv_func__logf_use+set}" = set; then + echo "$as_me:$LINENO: checking for _isinff declaration" >&5 +echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__isinff_use+set} != xset; then + if test "${glibcxx_cv_func__isinff_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -94476,7 +85525,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - _logf(0); + _isinff(0); ; return 0; } @@ -94503,12 +85552,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__logf_use=yes + glibcxx_cv_func__isinff_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__logf_use=no +glibcxx_cv_func__isinff_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -94521,12 +85570,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6 - if test x$glibcxx_cv_func__logf_use = x"yes"; then + if test x$glibcxx_cv_func__isinff_use = x"yes"; then -for ac_func in _logf +for ac_func in _isinff do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -94640,10 +85689,10 @@ done - echo "$as_me:$LINENO: checking for log10f declaration" >&5 -echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_log10f_use+set} != xset; then - if test "${glibcxx_cv_func_log10f_use+set}" = set; then + echo "$as_me:$LINENO: checking for atan2f declaration" >&5 +echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_atan2f_use+set} != xset; then + if test "${glibcxx_cv_func_atan2f_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -94662,14 +85711,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - log10f(0); + atan2f(0, 0); ; return 0; } @@ -94696,12 +85741,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_log10f_use=yes + glibcxx_cv_func_atan2f_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_log10f_use=no +glibcxx_cv_func_atan2f_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -94714,12 +85759,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6 - if test x$glibcxx_cv_func_log10f_use = x"yes"; then + if test x$glibcxx_cv_func_atan2f_use = x"yes"; then -for ac_func in log10f +for ac_func in atan2f do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -94827,10 +85872,10 @@ done else - echo "$as_me:$LINENO: checking for _log10f declaration" >&5 -echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__log10f_use+set} != xset; then - if test "${glibcxx_cv_func__log10f_use+set}" = set; then + echo "$as_me:$LINENO: checking for _atan2f declaration" >&5 +echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__atan2f_use+set} != xset; then + if test "${glibcxx_cv_func__atan2f_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -94849,14 +85894,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _log10f(0); + _atan2f(0, 0); ; return 0; } @@ -94883,12 +85924,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__log10f_use=yes + glibcxx_cv_func__atan2f_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__log10f_use=no +glibcxx_cv_func__atan2f_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -94901,12 +85942,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6 - if test x$glibcxx_cv_func__log10f_use = x"yes"; then + if test x$glibcxx_cv_func__atan2f_use = x"yes"; then -for ac_func in _log10f +for ac_func in _atan2f do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -95020,10 +86061,10 @@ done - echo "$as_me:$LINENO: checking for modff declaration" >&5 -echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_modff_use+set} != xset; then - if test "${glibcxx_cv_func_modff_use+set}" = set; then + echo "$as_me:$LINENO: checking for fabsf declaration" >&5 +echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_fabsf_use+set} != xset; then + if test "${glibcxx_cv_func_fabsf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -95042,10 +86083,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - modff(0, 0); + fabsf(0); ; return 0; } @@ -95072,12 +86117,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_modff_use=yes + glibcxx_cv_func_fabsf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_modff_use=no +glibcxx_cv_func_fabsf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -95090,12 +86135,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6 - if test x$glibcxx_cv_func_modff_use = x"yes"; then + if test x$glibcxx_cv_func_fabsf_use = x"yes"; then -for ac_func in modff +for ac_func in fabsf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -95203,10 +86248,10 @@ done else - echo "$as_me:$LINENO: checking for _modff declaration" >&5 -echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__modff_use+set} != xset; then - if test "${glibcxx_cv_func__modff_use+set}" = set; then + echo "$as_me:$LINENO: checking for _fabsf declaration" >&5 +echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__fabsf_use+set} != xset; then + if test "${glibcxx_cv_func__fabsf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -95225,10 +86270,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _modff(0, 0); + _fabsf(0); ; return 0; } @@ -95255,12 +86304,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__modff_use=yes + glibcxx_cv_func__fabsf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__modff_use=no +glibcxx_cv_func__fabsf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -95273,12 +86322,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6 - if test x$glibcxx_cv_func__modff_use = x"yes"; then + if test x$glibcxx_cv_func__fabsf_use = x"yes"; then -for ac_func in _modff +for ac_func in _fabsf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -95392,10 +86441,10 @@ done - echo "$as_me:$LINENO: checking for modf declaration" >&5 -echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_modf_use+set} != xset; then - if test "${glibcxx_cv_func_modf_use+set}" = set; then + echo "$as_me:$LINENO: checking for fmodf declaration" >&5 +echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_fmodf_use+set} != xset; then + if test "${glibcxx_cv_func_fmodf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -95417,7 +86466,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - modf(0, 0); + fmodf(0, 0); ; return 0; } @@ -95444,12 +86493,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_modf_use=yes + glibcxx_cv_func_fmodf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_modf_use=no +glibcxx_cv_func_fmodf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -95462,12 +86511,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6 - if test x$glibcxx_cv_func_modf_use = x"yes"; then + if test x$glibcxx_cv_func_fmodf_use = x"yes"; then -for ac_func in modf +for ac_func in fmodf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -95575,10 +86624,10 @@ done else - echo "$as_me:$LINENO: checking for _modf declaration" >&5 -echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__modf_use+set} != xset; then - if test "${glibcxx_cv_func__modf_use+set}" = set; then + echo "$as_me:$LINENO: checking for _fmodf declaration" >&5 +echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__fmodf_use+set} != xset; then + if test "${glibcxx_cv_func__fmodf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -95600,7 +86649,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - _modf(0, 0); + _fmodf(0, 0); ; return 0; } @@ -95627,12 +86676,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__modf_use=yes + glibcxx_cv_func__fmodf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__modf_use=no +glibcxx_cv_func__fmodf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -95645,12 +86694,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6 - if test x$glibcxx_cv_func__modf_use = x"yes"; then + if test x$glibcxx_cv_func__fmodf_use = x"yes"; then -for ac_func in _modf +for ac_func in _fmodf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -95764,10 +86813,10 @@ done - echo "$as_me:$LINENO: checking for powf declaration" >&5 -echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_powf_use+set} != xset; then - if test "${glibcxx_cv_func_powf_use+set}" = set; then + echo "$as_me:$LINENO: checking for frexpf declaration" >&5 +echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_frexpf_use+set} != xset; then + if test "${glibcxx_cv_func_frexpf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -95789,7 +86838,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - powf(0, 0); + frexpf(0, 0); ; return 0; } @@ -95816,12 +86865,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_powf_use=yes + glibcxx_cv_func_frexpf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_powf_use=no +glibcxx_cv_func_frexpf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -95834,12 +86883,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6 - if test x$glibcxx_cv_func_powf_use = x"yes"; then + if test x$glibcxx_cv_func_frexpf_use = x"yes"; then -for ac_func in powf +for ac_func in frexpf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -95947,10 +86996,10 @@ done else - echo "$as_me:$LINENO: checking for _powf declaration" >&5 -echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__powf_use+set} != xset; then - if test "${glibcxx_cv_func__powf_use+set}" = set; then + echo "$as_me:$LINENO: checking for _frexpf declaration" >&5 +echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__frexpf_use+set} != xset; then + if test "${glibcxx_cv_func__frexpf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -95972,7 +87021,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - _powf(0, 0); + _frexpf(0, 0); ; return 0; } @@ -95999,12 +87048,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__powf_use=yes + glibcxx_cv_func__frexpf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__powf_use=no +glibcxx_cv_func__frexpf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -96017,12 +87066,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6 - if test x$glibcxx_cv_func__powf_use = x"yes"; then + if test x$glibcxx_cv_func__frexpf_use = x"yes"; then -for ac_func in _powf +for ac_func in _frexpf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -96136,10 +87185,10 @@ done - echo "$as_me:$LINENO: checking for sqrtf declaration" >&5 -echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then - if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then + echo "$as_me:$LINENO: checking for hypotf declaration" >&5 +echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_hypotf_use+set} != xset; then + if test "${glibcxx_cv_func_hypotf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -96158,14 +87207,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - sqrtf(0); + hypotf(0, 0); ; return 0; } @@ -96192,12 +87237,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_sqrtf_use=yes + glibcxx_cv_func_hypotf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_sqrtf_use=no +glibcxx_cv_func_hypotf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -96210,12 +87255,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6 - if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then + if test x$glibcxx_cv_func_hypotf_use = x"yes"; then -for ac_func in sqrtf +for ac_func in hypotf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -96323,10 +87368,10 @@ done else - echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5 -echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then - if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then + echo "$as_me:$LINENO: checking for _hypotf declaration" >&5 +echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__hypotf_use+set} != xset; then + if test "${glibcxx_cv_func__hypotf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -96345,14 +87390,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _sqrtf(0); + _hypotf(0, 0); ; return 0; } @@ -96379,12 +87420,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__sqrtf_use=yes + glibcxx_cv_func__hypotf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__sqrtf_use=no +glibcxx_cv_func__hypotf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -96397,12 +87438,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6 - if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then + if test x$glibcxx_cv_func__hypotf_use = x"yes"; then -for ac_func in _sqrtf +for ac_func in _hypotf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -96516,10 +87557,10 @@ done - echo "$as_me:$LINENO: checking for sincosf declaration" >&5 -echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_sincosf_use+set} != xset; then - if test "${glibcxx_cv_func_sincosf_use+set}" = set; then + echo "$as_me:$LINENO: checking for ldexpf declaration" >&5 +echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then + if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -96541,7 +87582,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - sincosf(0, 0, 0); + ldexpf(0, 0); ; return 0; } @@ -96568,12 +87609,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_sincosf_use=yes + glibcxx_cv_func_ldexpf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_sincosf_use=no +glibcxx_cv_func_ldexpf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -96586,12 +87627,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6 - if test x$glibcxx_cv_func_sincosf_use = x"yes"; then + if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then -for ac_func in sincosf +for ac_func in ldexpf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -96699,10 +87740,10 @@ done else - echo "$as_me:$LINENO: checking for _sincosf declaration" >&5 -echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__sincosf_use+set} != xset; then - if test "${glibcxx_cv_func__sincosf_use+set}" = set; then + echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5 +echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then + if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -96724,7 +87765,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - _sincosf(0, 0, 0); + _ldexpf(0, 0); ; return 0; } @@ -96751,12 +87792,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__sincosf_use=yes + glibcxx_cv_func__ldexpf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__sincosf_use=no +glibcxx_cv_func__ldexpf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -96769,12 +87810,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6 - if test x$glibcxx_cv_func__sincosf_use = x"yes"; then + if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then -for ac_func in _sincosf +for ac_func in _ldexpf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -96888,10 +87929,10 @@ done - echo "$as_me:$LINENO: checking for finitef declaration" >&5 -echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_finitef_use+set} != xset; then - if test "${glibcxx_cv_func_finitef_use+set}" = set; then + echo "$as_me:$LINENO: checking for logf declaration" >&5 +echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_logf_use+set} != xset; then + if test "${glibcxx_cv_func_logf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -96917,7 +87958,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - finitef(0); + logf(0); ; return 0; } @@ -96944,12 +87985,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_finitef_use=yes + glibcxx_cv_func_logf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_finitef_use=no +glibcxx_cv_func_logf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -96962,12 +88003,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6 - if test x$glibcxx_cv_func_finitef_use = x"yes"; then + if test x$glibcxx_cv_func_logf_use = x"yes"; then -for ac_func in finitef +for ac_func in logf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -97075,10 +88116,10 @@ done else - echo "$as_me:$LINENO: checking for _finitef declaration" >&5 -echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__finitef_use+set} != xset; then - if test "${glibcxx_cv_func__finitef_use+set}" = set; then + echo "$as_me:$LINENO: checking for _logf declaration" >&5 +echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__logf_use+set} != xset; then + if test "${glibcxx_cv_func__logf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -97104,7 +88145,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - _finitef(0); + _logf(0); ; return 0; } @@ -97131,12 +88172,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__finitef_use=yes + glibcxx_cv_func__logf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__finitef_use=no +glibcxx_cv_func__logf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -97149,12 +88190,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6 - if test x$glibcxx_cv_func__finitef_use = x"yes"; then + if test x$glibcxx_cv_func__logf_use = x"yes"; then -for ac_func in _finitef +for ac_func in _logf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -97268,31 +88309,36 @@ done - echo "$as_me:$LINENO: checking for long double trig functions" >&5 -echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6 - if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then + echo "$as_me:$LINENO: checking for log10f declaration" >&5 +echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_log10f_use+set} != xset; then + if test "${glibcxx_cv_func_log10f_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - ac_ext=cc + ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { -acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0); + log10f(0); ; return 0; } @@ -97319,35 +88365,30 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_long_double_trig_use=yes + glibcxx_cv_func_log10f_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_long_double_trig_use=no +glibcxx_cv_func_log10f_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -fi - - echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6 - if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then - - - - - +fi + fi + echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6 + if test x$glibcxx_cv_func_log10f_use = x"yes"; then -for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl +for ac_func in log10f do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -97454,9 +88495,11 @@ fi done else - echo "$as_me:$LINENO: checking for _long double trig functions" >&5 -echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6 - if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then + + echo "$as_me:$LINENO: checking for _log10f declaration" >&5 +echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__log10f_use+set} != xset; then + if test "${glibcxx_cv_func__log10f_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -97475,10 +88518,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { -_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0); + _log10f(0); ; return 0; } @@ -97505,12 +88552,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__long_double_trig_use=yes + glibcxx_cv_func__log10f_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__long_double_trig_use=no +glibcxx_cv_func__log10f_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -97519,21 +88566,16 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -fi - - echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6 - if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then - - - - - +fi + fi + echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6 + if test x$glibcxx_cv_func__log10f_use = x"yes"; then -for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl +for ac_func in _log10f do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -97647,29 +88689,22 @@ done - - - - - - - - - echo "$as_me:$LINENO: checking for long double round functions" >&5 -echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6 - if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then + echo "$as_me:$LINENO: checking for modff declaration" >&5 +echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_modff_use+set} != xset; then + if test "${glibcxx_cv_func_modff_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - ac_ext=cc + ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -97679,7 +88714,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { -ceill (0); floorl (0); + modff(0, 0); ; return 0; } @@ -97706,28 +88741,30 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_long_double_round_use=yes + glibcxx_cv_func_modff_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_long_double_round_use=no +glibcxx_cv_func_modff_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu + fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6 - if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then + fi + echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6 + if test x$glibcxx_cv_func_modff_use = x"yes"; then -for ac_func in ceill floorl +for ac_func in modff do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -97834,9 +88871,11 @@ fi done else - echo "$as_me:$LINENO: checking for _long double round functions" >&5 -echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6 - if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then + + echo "$as_me:$LINENO: checking for _modff declaration" >&5 +echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__modff_use+set} != xset; then + if test "${glibcxx_cv_func__modff_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -97858,7 +88897,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { -_ceill (0); _floorl (0); + _modff(0, 0); ; return 0; } @@ -97885,12 +88924,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__long_double_round_use=yes + glibcxx_cv_func__modff_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__long_double_round_use=no +glibcxx_cv_func__modff_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -97899,14 +88938,16 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu + fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6 - if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then + fi + echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6 + if test x$glibcxx_cv_func__modff_use = x"yes"; then -for ac_func in _ceill _floorl +for ac_func in _modff do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -98020,12 +89061,10 @@ done - - - echo "$as_me:$LINENO: checking for isnanl declaration" >&5 -echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_isnanl_use+set} != xset; then - if test "${glibcxx_cv_func_isnanl_use+set}" = set; then + echo "$as_me:$LINENO: checking for modf declaration" >&5 +echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_modf_use+set} != xset; then + if test "${glibcxx_cv_func_modf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -98044,14 +89083,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - isnanl(0); + modf(0, 0); ; return 0; } @@ -98078,12 +89113,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_isnanl_use=yes + glibcxx_cv_func_modf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_isnanl_use=no +glibcxx_cv_func_modf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -98096,12 +89131,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6 - if test x$glibcxx_cv_func_isnanl_use = x"yes"; then + if test x$glibcxx_cv_func_modf_use = x"yes"; then -for ac_func in isnanl +for ac_func in modf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -98209,10 +89244,10 @@ done else - echo "$as_me:$LINENO: checking for _isnanl declaration" >&5 -echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__isnanl_use+set} != xset; then - if test "${glibcxx_cv_func__isnanl_use+set}" = set; then + echo "$as_me:$LINENO: checking for _modf declaration" >&5 +echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__modf_use+set} != xset; then + if test "${glibcxx_cv_func__modf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -98231,14 +89266,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _isnanl(0); + _modf(0, 0); ; return 0; } @@ -98265,12 +89296,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__isnanl_use=yes + glibcxx_cv_func__modf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__isnanl_use=no +glibcxx_cv_func__modf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -98283,12 +89314,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6 - if test x$glibcxx_cv_func__isnanl_use = x"yes"; then + if test x$glibcxx_cv_func__modf_use = x"yes"; then -for ac_func in _isnanl +for ac_func in _modf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -98402,10 +89433,10 @@ done - echo "$as_me:$LINENO: checking for isinfl declaration" >&5 -echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_isinfl_use+set} != xset; then - if test "${glibcxx_cv_func_isinfl_use+set}" = set; then + echo "$as_me:$LINENO: checking for powf declaration" >&5 +echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_powf_use+set} != xset; then + if test "${glibcxx_cv_func_powf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -98424,14 +89455,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - isinfl(0); + powf(0, 0); ; return 0; } @@ -98458,12 +89485,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_isinfl_use=yes + glibcxx_cv_func_powf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_isinfl_use=no +glibcxx_cv_func_powf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -98476,12 +89503,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6 - if test x$glibcxx_cv_func_isinfl_use = x"yes"; then + if test x$glibcxx_cv_func_powf_use = x"yes"; then -for ac_func in isinfl +for ac_func in powf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -98589,10 +89616,10 @@ done else - echo "$as_me:$LINENO: checking for _isinfl declaration" >&5 -echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__isinfl_use+set} != xset; then - if test "${glibcxx_cv_func__isinfl_use+set}" = set; then + echo "$as_me:$LINENO: checking for _powf declaration" >&5 +echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__powf_use+set} != xset; then + if test "${glibcxx_cv_func__powf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -98611,14 +89638,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _isinfl(0); + _powf(0, 0); ; return 0; } @@ -98645,12 +89668,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__isinfl_use=yes + glibcxx_cv_func__powf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__isinfl_use=no +glibcxx_cv_func__powf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -98663,12 +89686,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6 - if test x$glibcxx_cv_func__isinfl_use = x"yes"; then + if test x$glibcxx_cv_func__powf_use = x"yes"; then -for ac_func in _isinfl +for ac_func in _powf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -98782,10 +89805,10 @@ done - echo "$as_me:$LINENO: checking for copysignl declaration" >&5 -echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_copysignl_use+set} != xset; then - if test "${glibcxx_cv_func_copysignl_use+set}" = set; then + echo "$as_me:$LINENO: checking for sqrtf declaration" >&5 +echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then + if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -98804,10 +89827,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - copysignl(0, 0); + sqrtf(0); ; return 0; } @@ -98834,12 +89861,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_copysignl_use=yes + glibcxx_cv_func_sqrtf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_copysignl_use=no +glibcxx_cv_func_sqrtf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -98852,12 +89879,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6 - if test x$glibcxx_cv_func_copysignl_use = x"yes"; then + if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then -for ac_func in copysignl +for ac_func in sqrtf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -98965,10 +89992,10 @@ done else - echo "$as_me:$LINENO: checking for _copysignl declaration" >&5 -echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__copysignl_use+set} != xset; then - if test "${glibcxx_cv_func__copysignl_use+set}" = set; then + echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5 +echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then + if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -98987,10 +90014,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _copysignl(0, 0); + _sqrtf(0); ; return 0; } @@ -99017,12 +90048,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__copysignl_use=yes + glibcxx_cv_func__sqrtf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__copysignl_use=no +glibcxx_cv_func__sqrtf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -99035,12 +90066,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6 - if test x$glibcxx_cv_func__copysignl_use = x"yes"; then + if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then -for ac_func in _copysignl +for ac_func in _sqrtf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -99154,10 +90185,10 @@ done - echo "$as_me:$LINENO: checking for atan2l declaration" >&5 -echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_atan2l_use+set} != xset; then - if test "${glibcxx_cv_func_atan2l_use+set}" = set; then + echo "$as_me:$LINENO: checking for sincosf declaration" >&5 +echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_sincosf_use+set} != xset; then + if test "${glibcxx_cv_func_sincosf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -99179,7 +90210,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - atan2l(0, 0); + sincosf(0, 0, 0); ; return 0; } @@ -99206,12 +90237,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_atan2l_use=yes + glibcxx_cv_func_sincosf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_atan2l_use=no +glibcxx_cv_func_sincosf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -99224,12 +90255,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6 - if test x$glibcxx_cv_func_atan2l_use = x"yes"; then + if test x$glibcxx_cv_func_sincosf_use = x"yes"; then -for ac_func in atan2l +for ac_func in sincosf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -99337,10 +90368,10 @@ done else - echo "$as_me:$LINENO: checking for _atan2l declaration" >&5 -echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__atan2l_use+set} != xset; then - if test "${glibcxx_cv_func__atan2l_use+set}" = set; then + echo "$as_me:$LINENO: checking for _sincosf declaration" >&5 +echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__sincosf_use+set} != xset; then + if test "${glibcxx_cv_func__sincosf_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -99362,7 +90393,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - _atan2l(0, 0); + _sincosf(0, 0, 0); ; return 0; } @@ -99389,12 +90420,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__atan2l_use=yes + glibcxx_cv_func__sincosf_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__atan2l_use=no +glibcxx_cv_func__sincosf_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -99407,12 +90438,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6 - if test x$glibcxx_cv_func__atan2l_use = x"yes"; then + if test x$glibcxx_cv_func__sincosf_use = x"yes"; then -for ac_func in _atan2l +for ac_func in _sincosf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -99526,10 +90557,10 @@ done - echo "$as_me:$LINENO: checking for expl declaration" >&5 -echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_expl_use+set} != xset; then - if test "${glibcxx_cv_func_expl_use+set}" = set; then + echo "$as_me:$LINENO: checking for finitef declaration" >&5 +echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_finitef_use+set} != xset; then + if test "${glibcxx_cv_func_finitef_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -99555,7 +90586,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - expl(0); + finitef(0); ; return 0; } @@ -99582,12 +90613,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_expl_use=yes + glibcxx_cv_func_finitef_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_expl_use=no +glibcxx_cv_func_finitef_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -99600,12 +90631,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6 - if test x$glibcxx_cv_func_expl_use = x"yes"; then + if test x$glibcxx_cv_func_finitef_use = x"yes"; then -for ac_func in expl +for ac_func in finitef do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -99713,10 +90744,10 @@ done else - echo "$as_me:$LINENO: checking for _expl declaration" >&5 -echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__expl_use+set} != xset; then - if test "${glibcxx_cv_func__expl_use+set}" = set; then + echo "$as_me:$LINENO: checking for _finitef declaration" >&5 +echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__finitef_use+set} != xset; then + if test "${glibcxx_cv_func__finitef_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -99742,7 +90773,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - _expl(0); + _finitef(0); ; return 0; } @@ -99769,12 +90800,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__expl_use=yes + glibcxx_cv_func__finitef_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__expl_use=no +glibcxx_cv_func__finitef_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -99787,12 +90818,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6 - if test x$glibcxx_cv_func__expl_use = x"yes"; then + if test x$glibcxx_cv_func__finitef_use = x"yes"; then -for ac_func in _expl +for ac_func in _finitef do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -99906,36 +90937,31 @@ done - echo "$as_me:$LINENO: checking for fabsl declaration" >&5 -echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_fabsl_use+set} != xset; then - if test "${glibcxx_cv_func_fabsl_use+set}" = set; then + echo "$as_me:$LINENO: checking for long double trig functions" >&5 +echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6 + if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - ac_ext=cc + ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - fabsl(0); +acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0); ; return 0; } @@ -99962,30 +90988,35 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_fabsl_use=yes + glibcxx_cv_func_long_double_trig_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_fabsl_use=no +glibcxx_cv_func_long_double_trig_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6 + if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then - if test x$glibcxx_cv_func_fabsl_use = x"yes"; then -for ac_func in fabsl + + + + + + + +for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -100092,11 +91123,9 @@ fi done else - - echo "$as_me:$LINENO: checking for _fabsl declaration" >&5 -echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__fabsl_use+set} != xset; then - if test "${glibcxx_cv_func__fabsl_use+set}" = set; then + echo "$as_me:$LINENO: checking for _long double trig functions" >&5 +echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6 + if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -100115,14 +91144,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _fabsl(0); +_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0); ; return 0; } @@ -100149,12 +91174,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__fabsl_use=yes + glibcxx_cv_func__long_double_trig_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__fabsl_use=no +glibcxx_cv_func__long_double_trig_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -100163,16 +91188,21 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6 + if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then - if test x$glibcxx_cv_func__fabsl_use = x"yes"; then -for ac_func in _fabsl + + + + + + + +for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -100286,22 +91316,29 @@ done - echo "$as_me:$LINENO: checking for fmodl declaration" >&5 -echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_fmodl_use+set} != xset; then - if test "${glibcxx_cv_func_fmodl_use+set}" = set; then + + + + + + + + + echo "$as_me:$LINENO: checking for long double round functions" >&5 +echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6 + if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - ac_ext=cc + ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -100311,7 +91348,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - fmodl(0, 0); +ceill (0); floorl (0); ; return 0; } @@ -100338,30 +91375,28 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_fmodl_use=yes + glibcxx_cv_func_long_double_round_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_fmodl_use=no +glibcxx_cv_func_long_double_round_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6 + if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then - if test x$glibcxx_cv_func_fmodl_use = x"yes"; then -for ac_func in fmodl +for ac_func in ceill floorl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -100468,11 +91503,9 @@ fi done else - - echo "$as_me:$LINENO: checking for _fmodl declaration" >&5 -echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__fmodl_use+set} != xset; then - if test "${glibcxx_cv_func__fmodl_use+set}" = set; then + echo "$as_me:$LINENO: checking for _long double round functions" >&5 +echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6 + if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -100494,7 +91527,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - _fmodl(0, 0); +_ceill (0); _floorl (0); ; return 0; } @@ -100521,12 +91554,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__fmodl_use=yes + glibcxx_cv_func__long_double_round_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__fmodl_use=no +glibcxx_cv_func__long_double_round_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -100535,16 +91568,14 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6 + if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then - if test x$glibcxx_cv_func__fmodl_use = x"yes"; then -for ac_func in _fmodl +for ac_func in _ceill _floorl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -100658,10 +91689,12 @@ done - echo "$as_me:$LINENO: checking for frexpl declaration" >&5 -echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_frexpl_use+set} != xset; then - if test "${glibcxx_cv_func_frexpl_use+set}" = set; then + + + echo "$as_me:$LINENO: checking for isnanl declaration" >&5 +echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_isnanl_use+set} != xset; then + if test "${glibcxx_cv_func_isnanl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -100680,10 +91713,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - frexpl(0, 0); + isnanl(0); ; return 0; } @@ -100710,12 +91747,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_frexpl_use=yes + glibcxx_cv_func_isnanl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_frexpl_use=no +glibcxx_cv_func_isnanl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -100728,12 +91765,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6 - if test x$glibcxx_cv_func_frexpl_use = x"yes"; then + if test x$glibcxx_cv_func_isnanl_use = x"yes"; then -for ac_func in frexpl +for ac_func in isnanl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -100841,10 +91878,10 @@ done else - echo "$as_me:$LINENO: checking for _frexpl declaration" >&5 -echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__frexpl_use+set} != xset; then - if test "${glibcxx_cv_func__frexpl_use+set}" = set; then + echo "$as_me:$LINENO: checking for _isnanl declaration" >&5 +echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__isnanl_use+set} != xset; then + if test "${glibcxx_cv_func__isnanl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -100863,10 +91900,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _frexpl(0, 0); + _isnanl(0); ; return 0; } @@ -100893,12 +91934,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__frexpl_use=yes + glibcxx_cv_func__isnanl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__frexpl_use=no +glibcxx_cv_func__isnanl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -100911,12 +91952,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6 - if test x$glibcxx_cv_func__frexpl_use = x"yes"; then + if test x$glibcxx_cv_func__isnanl_use = x"yes"; then -for ac_func in _frexpl +for ac_func in _isnanl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -101030,10 +92071,10 @@ done - echo "$as_me:$LINENO: checking for hypotl declaration" >&5 -echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_hypotl_use+set} != xset; then - if test "${glibcxx_cv_func_hypotl_use+set}" = set; then + echo "$as_me:$LINENO: checking for isinfl declaration" >&5 +echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_isinfl_use+set} != xset; then + if test "${glibcxx_cv_func_isinfl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -101052,10 +92093,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - hypotl(0, 0); + isinfl(0); ; return 0; } @@ -101082,12 +92127,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_hypotl_use=yes + glibcxx_cv_func_isinfl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_hypotl_use=no +glibcxx_cv_func_isinfl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -101100,12 +92145,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6 - if test x$glibcxx_cv_func_hypotl_use = x"yes"; then + if test x$glibcxx_cv_func_isinfl_use = x"yes"; then -for ac_func in hypotl +for ac_func in isinfl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -101213,10 +92258,10 @@ done else - echo "$as_me:$LINENO: checking for _hypotl declaration" >&5 -echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__hypotl_use+set} != xset; then - if test "${glibcxx_cv_func__hypotl_use+set}" = set; then + echo "$as_me:$LINENO: checking for _isinfl declaration" >&5 +echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__isinfl_use+set} != xset; then + if test "${glibcxx_cv_func__isinfl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -101235,10 +92280,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _hypotl(0, 0); + _isinfl(0); ; return 0; } @@ -101265,12 +92314,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__hypotl_use=yes + glibcxx_cv_func__isinfl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__hypotl_use=no +glibcxx_cv_func__isinfl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -101283,12 +92332,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6 - if test x$glibcxx_cv_func__hypotl_use = x"yes"; then + if test x$glibcxx_cv_func__isinfl_use = x"yes"; then -for ac_func in _hypotl +for ac_func in _isinfl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -101402,10 +92451,10 @@ done - echo "$as_me:$LINENO: checking for ldexpl declaration" >&5 -echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then - if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then + echo "$as_me:$LINENO: checking for copysignl declaration" >&5 +echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_copysignl_use+set} != xset; then + if test "${glibcxx_cv_func_copysignl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -101427,7 +92476,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - ldexpl(0, 0); + copysignl(0, 0); ; return 0; } @@ -101454,12 +92503,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_ldexpl_use=yes + glibcxx_cv_func_copysignl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_ldexpl_use=no +glibcxx_cv_func_copysignl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -101472,12 +92521,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6 - if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then + if test x$glibcxx_cv_func_copysignl_use = x"yes"; then -for ac_func in ldexpl +for ac_func in copysignl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -101585,10 +92634,10 @@ done else - echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5 -echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then - if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then + echo "$as_me:$LINENO: checking for _copysignl declaration" >&5 +echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__copysignl_use+set} != xset; then + if test "${glibcxx_cv_func__copysignl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -101610,7 +92659,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - _ldexpl(0, 0); + _copysignl(0, 0); ; return 0; } @@ -101637,12 +92686,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__ldexpl_use=yes + glibcxx_cv_func__copysignl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__ldexpl_use=no +glibcxx_cv_func__copysignl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -101655,12 +92704,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6 - if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then + if test x$glibcxx_cv_func__copysignl_use = x"yes"; then -for ac_func in _ldexpl +for ac_func in _copysignl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -101774,10 +92823,10 @@ done - echo "$as_me:$LINENO: checking for logl declaration" >&5 -echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_logl_use+set} != xset; then - if test "${glibcxx_cv_func_logl_use+set}" = set; then + echo "$as_me:$LINENO: checking for atan2l declaration" >&5 +echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_atan2l_use+set} != xset; then + if test "${glibcxx_cv_func_atan2l_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -101796,14 +92845,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - logl(0); + atan2l(0, 0); ; return 0; } @@ -101830,12 +92875,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_logl_use=yes + glibcxx_cv_func_atan2l_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_logl_use=no +glibcxx_cv_func_atan2l_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -101848,12 +92893,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6 - if test x$glibcxx_cv_func_logl_use = x"yes"; then + if test x$glibcxx_cv_func_atan2l_use = x"yes"; then -for ac_func in logl +for ac_func in atan2l do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -101961,10 +93006,10 @@ done else - echo "$as_me:$LINENO: checking for _logl declaration" >&5 -echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__logl_use+set} != xset; then - if test "${glibcxx_cv_func__logl_use+set}" = set; then + echo "$as_me:$LINENO: checking for _atan2l declaration" >&5 +echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__atan2l_use+set} != xset; then + if test "${glibcxx_cv_func__atan2l_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -101983,14 +93028,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _logl(0); + _atan2l(0, 0); ; return 0; } @@ -102017,12 +93058,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__logl_use=yes + glibcxx_cv_func__atan2l_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__logl_use=no +glibcxx_cv_func__atan2l_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -102035,12 +93076,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6 - if test x$glibcxx_cv_func__logl_use = x"yes"; then + if test x$glibcxx_cv_func__atan2l_use = x"yes"; then -for ac_func in _logl +for ac_func in _atan2l do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -102154,10 +93195,10 @@ done - echo "$as_me:$LINENO: checking for log10l declaration" >&5 -echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_log10l_use+set} != xset; then - if test "${glibcxx_cv_func_log10l_use+set}" = set; then + echo "$as_me:$LINENO: checking for expl declaration" >&5 +echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_expl_use+set} != xset; then + if test "${glibcxx_cv_func_expl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -102183,7 +93224,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - log10l(0); + expl(0); ; return 0; } @@ -102210,12 +93251,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_log10l_use=yes + glibcxx_cv_func_expl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_log10l_use=no +glibcxx_cv_func_expl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -102228,12 +93269,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6 - if test x$glibcxx_cv_func_log10l_use = x"yes"; then + if test x$glibcxx_cv_func_expl_use = x"yes"; then -for ac_func in log10l +for ac_func in expl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -102341,10 +93382,10 @@ done else - echo "$as_me:$LINENO: checking for _log10l declaration" >&5 -echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__log10l_use+set} != xset; then - if test "${glibcxx_cv_func__log10l_use+set}" = set; then + echo "$as_me:$LINENO: checking for _expl declaration" >&5 +echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__expl_use+set} != xset; then + if test "${glibcxx_cv_func__expl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -102370,7 +93411,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - _log10l(0); + _expl(0); ; return 0; } @@ -102397,12 +93438,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__log10l_use=yes + glibcxx_cv_func__expl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__log10l_use=no +glibcxx_cv_func__expl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -102415,12 +93456,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6 - if test x$glibcxx_cv_func__log10l_use = x"yes"; then + if test x$glibcxx_cv_func__expl_use = x"yes"; then -for ac_func in _log10l +for ac_func in _expl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -102534,10 +93575,10 @@ done - echo "$as_me:$LINENO: checking for modfl declaration" >&5 -echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_modfl_use+set} != xset; then - if test "${glibcxx_cv_func_modfl_use+set}" = set; then + echo "$as_me:$LINENO: checking for fabsl declaration" >&5 +echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_fabsl_use+set} != xset; then + if test "${glibcxx_cv_func_fabsl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -102556,10 +93597,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - modfl(0, 0); + fabsl(0); ; return 0; } @@ -102586,12 +93631,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_modfl_use=yes + glibcxx_cv_func_fabsl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_modfl_use=no +glibcxx_cv_func_fabsl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -102604,12 +93649,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6 - if test x$glibcxx_cv_func_modfl_use = x"yes"; then + if test x$glibcxx_cv_func_fabsl_use = x"yes"; then -for ac_func in modfl +for ac_func in fabsl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -102717,10 +93762,10 @@ done else - echo "$as_me:$LINENO: checking for _modfl declaration" >&5 -echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__modfl_use+set} != xset; then - if test "${glibcxx_cv_func__modfl_use+set}" = set; then + echo "$as_me:$LINENO: checking for _fabsl declaration" >&5 +echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__fabsl_use+set} != xset; then + if test "${glibcxx_cv_func__fabsl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -102739,10 +93784,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _modfl(0, 0); + _fabsl(0); ; return 0; } @@ -102769,12 +93818,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__modfl_use=yes + glibcxx_cv_func__fabsl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__modfl_use=no +glibcxx_cv_func__fabsl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -102787,12 +93836,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6 - if test x$glibcxx_cv_func__modfl_use = x"yes"; then + if test x$glibcxx_cv_func__fabsl_use = x"yes"; then -for ac_func in _modfl +for ac_func in _fabsl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -102906,193 +93955,10 @@ done - echo "$as_me:$LINENO: checking for powl declaration" >&5 -echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_powl_use+set} != xset; then - if test "${glibcxx_cv_func_powl_use+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - - - ac_ext=cc -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -int -main () -{ - powl(0, 0); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_cxx_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - glibcxx_cv_func_powl_use=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -glibcxx_cv_func_powl_use=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6 - - if test x$glibcxx_cv_func_powl_use = x"yes"; then - -for ac_func in powl -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif - -int -main () -{ -return f != $ac_func; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_var=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -eval "$as_ac_var=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - else - - echo "$as_me:$LINENO: checking for _powl declaration" >&5 -echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__powl_use+set} != xset; then - if test "${glibcxx_cv_func__powl_use+set}" = set; then + echo "$as_me:$LINENO: checking for fmodl declaration" >&5 +echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_fmodl_use+set} != xset; then + if test "${glibcxx_cv_func_fmodl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -103114,7 +93980,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - _powl(0, 0); + fmodl(0, 0); ; return 0; } @@ -103141,12 +94007,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__powl_use=yes + glibcxx_cv_func_fmodl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__powl_use=no +glibcxx_cv_func_fmodl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -103159,12 +94025,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6 - if test x$glibcxx_cv_func__powl_use = x"yes"; then + if test x$glibcxx_cv_func_fmodl_use = x"yes"; then -for ac_func in _powl +for ac_func in fmodl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -103270,18 +94136,12 @@ _ACEOF fi done - fi - fi - - - - - + else - echo "$as_me:$LINENO: checking for sqrtl declaration" >&5 -echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then - if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then + echo "$as_me:$LINENO: checking for _fmodl declaration" >&5 +echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__fmodl_use+set} != xset; then + if test "${glibcxx_cv_func__fmodl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -103300,14 +94160,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - sqrtl(0); + _fmodl(0, 0); ; return 0; } @@ -103334,12 +94190,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_sqrtl_use=yes + glibcxx_cv_func__fmodl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_sqrtl_use=no +glibcxx_cv_func__fmodl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -103352,12 +94208,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6 - if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then + if test x$glibcxx_cv_func__fmodl_use = x"yes"; then -for ac_func in sqrtl +for ac_func in _fmodl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -103463,12 +94319,18 @@ _ACEOF fi done - else + fi + fi - echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5 -echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then - if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then + + + + + + echo "$as_me:$LINENO: checking for frexpl declaration" >&5 +echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_frexpl_use+set} != xset; then + if test "${glibcxx_cv_func_frexpl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -103487,14 +94349,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _sqrtl(0); + frexpl(0, 0); ; return 0; } @@ -103521,12 +94379,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__sqrtl_use=yes + glibcxx_cv_func_frexpl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__sqrtl_use=no +glibcxx_cv_func_frexpl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -103539,12 +94397,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6 - if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then + if test x$glibcxx_cv_func_frexpl_use = x"yes"; then -for ac_func in _sqrtl +for ac_func in frexpl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -103650,18 +94508,12 @@ _ACEOF fi done - fi - fi - - - - - + else - echo "$as_me:$LINENO: checking for sincosl declaration" >&5 -echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_sincosl_use+set} != xset; then - if test "${glibcxx_cv_func_sincosl_use+set}" = set; then + echo "$as_me:$LINENO: checking for _frexpl declaration" >&5 +echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__frexpl_use+set} != xset; then + if test "${glibcxx_cv_func__frexpl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -103683,7 +94535,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - sincosl(0, 0, 0); + _frexpl(0, 0); ; return 0; } @@ -103710,12 +94562,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_sincosl_use=yes + glibcxx_cv_func__frexpl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_sincosl_use=no +glibcxx_cv_func__frexpl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -103728,12 +94580,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6 - if test x$glibcxx_cv_func_sincosl_use = x"yes"; then + if test x$glibcxx_cv_func__frexpl_use = x"yes"; then -for ac_func in sincosl +for ac_func in _frexpl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -103839,12 +94691,18 @@ _ACEOF fi done - else + fi + fi - echo "$as_me:$LINENO: checking for _sincosl declaration" >&5 -echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__sincosl_use+set} != xset; then - if test "${glibcxx_cv_func__sincosl_use+set}" = set; then + + + + + + echo "$as_me:$LINENO: checking for hypotl declaration" >&5 +echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_hypotl_use+set} != xset; then + if test "${glibcxx_cv_func_hypotl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -103866,7 +94724,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - _sincosl(0, 0, 0); + hypotl(0, 0); ; return 0; } @@ -103893,12 +94751,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__sincosl_use=yes + glibcxx_cv_func_hypotl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__sincosl_use=no +glibcxx_cv_func_hypotl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -103911,12 +94769,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6 - if test x$glibcxx_cv_func__sincosl_use = x"yes"; then + if test x$glibcxx_cv_func_hypotl_use = x"yes"; then -for ac_func in _sincosl +for ac_func in hypotl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -104022,18 +94880,12 @@ _ACEOF fi done - fi - fi - - - - - + else - echo "$as_me:$LINENO: checking for finitel declaration" >&5 -echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func_finitel_use+set} != xset; then - if test "${glibcxx_cv_func_finitel_use+set}" = set; then + echo "$as_me:$LINENO: checking for _hypotl declaration" >&5 +echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__hypotl_use+set} != xset; then + if test "${glibcxx_cv_func__hypotl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -104052,14 +94904,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - finitel(0); + _hypotl(0, 0); ; return 0; } @@ -104086,12 +94934,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func_finitel_use=yes + glibcxx_cv_func__hypotl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func_finitel_use=no +glibcxx_cv_func__hypotl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -104104,12 +94952,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6 - if test x$glibcxx_cv_func_finitel_use = x"yes"; then + if test x$glibcxx_cv_func__hypotl_use = x"yes"; then -for ac_func in finitel +for ac_func in _hypotl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -104215,12 +95063,18 @@ _ACEOF fi done - else + fi + fi - echo "$as_me:$LINENO: checking for _finitel declaration" >&5 -echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func__finitel_use+set} != xset; then - if test "${glibcxx_cv_func__finitel_use+set}" = set; then + + + + + + echo "$as_me:$LINENO: checking for ldexpl declaration" >&5 +echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then + if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -104239,14 +95093,10 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _finitel(0); + ldexpl(0, 0); ; return 0; } @@ -104273,12 +95123,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func__finitel_use=yes + glibcxx_cv_func_ldexpl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func__finitel_use=no +glibcxx_cv_func_ldexpl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -104291,12 +95141,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6 + echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6 - if test x$glibcxx_cv_func__finitel_use = x"yes"; then + if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then -for ac_func in _finitel +for ac_func in ldexpl do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -104402,22 +95252,12 @@ _ACEOF fi done - fi - fi - - - - - - LIBS="$ac_save_LIBS" - CXXFLAGS="$ac_save_CXXFLAGS" - - + else - echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5 -echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then + echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5 +echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then + if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -104439,7 +95279,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - __builtin_abs(0); + _ldexpl(0, 0); ; return 0; } @@ -104466,12 +95306,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_abs_use=yes + glibcxx_cv_func__ldexpl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_abs_use=no +glibcxx_cv_func__ldexpl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -104484,32 +95324,71 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6 - if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5 -echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then + echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6 + + if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then + +for ac_func in _ldexpl +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else + if test x$gcc_no_link = xyes; then + { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 +echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} + { (exit 1); exit 1; }; } +fi +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include int main () { - __builtin_abs(0); +return f != $ac_func; ; return 0; } @@ -104536,37 +95415,38 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_abs_link=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_abs_link=no +eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF fi +done fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6 + fi - if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_ABS 1 -_ACEOF - fi - fi - echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5 -echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then + echo "$as_me:$LINENO: checking for logl declaration" >&5 +echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_logl_use+set} != xset; then + if test "${glibcxx_cv_func_logl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -104585,10 +95465,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - __builtin_fabsf(0); + logl(0); ; return 0; } @@ -104615,12 +95499,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_fabsf_use=yes + glibcxx_cv_func_logl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_fabsf_use=no +glibcxx_cv_func_logl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -104633,17 +95517,20 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6 - if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5 -echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then + echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6 + + if test x$glibcxx_cv_func_logl_use = x"yes"; then + +for ac_func in logl +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - if test x$gcc_no_link = xyes; then + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -104654,11 +95541,47 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + int main () { - __builtin_fabsf(0); +return f != $ac_func; ; return 0; } @@ -104685,37 +95608,32 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_fabsf_link=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_fabsf_link=no +eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6 - - if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then - -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_FABSF 1 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF - fi - - fi +fi +done + else - echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5 -echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then + echo "$as_me:$LINENO: checking for _logl declaration" >&5 +echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__logl_use+set} != xset; then + if test "${glibcxx_cv_func__logl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -104734,10 +95652,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - __builtin_fabs(0); + _logl(0); ; return 0; } @@ -104764,12 +95686,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_fabs_use=yes + glibcxx_cv_func__logl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_fabs_use=no +glibcxx_cv_func__logl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -104782,17 +95704,20 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6 - if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5 -echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then + echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6 + + if test x$glibcxx_cv_func__logl_use = x"yes"; then + +for ac_func in _logl +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - if test x$gcc_no_link = xyes; then + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -104803,11 +95728,47 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + int main () { - __builtin_fabs(0); +return f != $ac_func; ; return 0; } @@ -104834,37 +95795,38 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_fabs_link=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_fabs_link=no +eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF fi +done fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6 + fi - if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_FABS 1 -_ACEOF - fi - fi - echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5 -echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then + echo "$as_me:$LINENO: checking for log10l declaration" >&5 +echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_log10l_use+set} != xset; then + if test "${glibcxx_cv_func_log10l_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -104883,10 +95845,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - __builtin_fabsl(0); + log10l(0); ; return 0; } @@ -104913,12 +95879,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_fabsl_use=yes + glibcxx_cv_func_log10l_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_fabsl_use=no +glibcxx_cv_func_log10l_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -104931,17 +95897,20 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6 - if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5 -echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then + echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6 + + if test x$glibcxx_cv_func_log10l_use = x"yes"; then + +for ac_func in log10l +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - if test x$gcc_no_link = xyes; then + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -104952,11 +95921,47 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + int main () { - __builtin_fabsl(0); +return f != $ac_func; ; return 0; } @@ -104983,37 +95988,32 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_fabsl_link=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_fabsl_link=no +eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6 - - if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then - -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_FABSL 1 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF - fi - - fi +fi +done + else - echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5 -echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then + echo "$as_me:$LINENO: checking for _log10l declaration" >&5 +echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__log10l_use+set} != xset; then + if test "${glibcxx_cv_func__log10l_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -105032,10 +96032,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - __builtin_labs(0); + _log10l(0); ; return 0; } @@ -105062,12 +96066,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_labs_use=yes + glibcxx_cv_func__log10l_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_labs_use=no +glibcxx_cv_func__log10l_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -105080,17 +96084,20 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6 - if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5 -echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then + echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6 + + if test x$glibcxx_cv_func__log10l_use = x"yes"; then + +for ac_func in _log10l +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - if test x$gcc_no_link = xyes; then + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -105101,11 +96108,47 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + int main () { - __builtin_labs(0); +return f != $ac_func; ; return 0; } @@ -105132,38 +96175,38 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_labs_link=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_labs_link=no +eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF fi +done fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6 - - if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then + fi -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_LABS 1 -_ACEOF - fi - fi - echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5 -echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then + echo "$as_me:$LINENO: checking for modfl declaration" >&5 +echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_modfl_use+set} != xset; then + if test "${glibcxx_cv_func_modfl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -105185,7 +96228,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - __builtin_sqrtf(0); + modfl(0, 0); ; return 0; } @@ -105212,12 +96255,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_sqrtf_use=yes + glibcxx_cv_func_modfl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_sqrtf_use=no +glibcxx_cv_func_modfl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -105230,17 +96273,20 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6 - if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5 -echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then + echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6 + + if test x$glibcxx_cv_func_modfl_use = x"yes"; then + +for ac_func in modfl +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - if test x$gcc_no_link = xyes; then + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -105251,11 +96297,47 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + int main () { - __builtin_sqrtf(0); +return f != $ac_func; ; return 0; } @@ -105282,37 +96364,32 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_sqrtf_link=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_sqrtf_link=no +eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6 - - if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then - -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_SQRTF 1 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF - fi - - fi +fi +done + else - echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5 -echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then + echo "$as_me:$LINENO: checking for _modfl declaration" >&5 +echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__modfl_use+set} != xset; then + if test "${glibcxx_cv_func__modfl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -105334,7 +96411,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - __builtin_sqrt(0); + _modfl(0, 0); ; return 0; } @@ -105361,12 +96438,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_sqrt_use=yes + glibcxx_cv_func__modfl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_sqrt_use=no +glibcxx_cv_func__modfl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -105379,32 +96456,71 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6 - if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5 -echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then + echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6 + + if test x$glibcxx_cv_func__modfl_use = x"yes"; then + +for ac_func in _modfl +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else + if test x$gcc_no_link = xyes; then + { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 +echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} + { (exit 1); exit 1; }; } +fi +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif - if test x$gcc_no_link = xyes; then - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} - { (exit 1); exit 1; }; } -fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include int main () { - __builtin_sqrt(0); +return f != $ac_func; ; return 0; } @@ -105431,37 +96547,38 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_sqrt_link=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_sqrt_link=no +eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF fi +done fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6 + fi - if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_SQRT 1 -_ACEOF - fi - fi - echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5 -echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then + echo "$as_me:$LINENO: checking for powl declaration" >&5 +echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_powl_use+set} != xset; then + if test "${glibcxx_cv_func_powl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -105483,7 +96600,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - __builtin_sqrtl(0); + powl(0, 0); ; return 0; } @@ -105510,12 +96627,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_sqrtl_use=yes + glibcxx_cv_func_powl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_sqrtl_use=no +glibcxx_cv_func_powl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -105528,17 +96645,20 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6 - if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5 -echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then + echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6 + + if test x$glibcxx_cv_func_powl_use = x"yes"; then + +for ac_func in powl +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - if test x$gcc_no_link = xyes; then + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -105549,11 +96669,47 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + int main () { - __builtin_sqrtl(0); +return f != $ac_func; ; return 0; } @@ -105580,38 +96736,32 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_sqrtl_link=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_sqrtl_link=no +eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6 - - if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then - -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_SQRTL 1 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF - fi - - fi - +fi +done + else - echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5 -echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then + echo "$as_me:$LINENO: checking for _powl declaration" >&5 +echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__powl_use+set} != xset; then + if test "${glibcxx_cv_func__powl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -105633,7 +96783,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - __builtin_sinf(0); + _powl(0, 0); ; return 0; } @@ -105660,12 +96810,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_sinf_use=yes + glibcxx_cv_func__powl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_sinf_use=no +glibcxx_cv_func__powl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -105678,17 +96828,20 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6 - if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5 -echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then + echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6 + + if test x$glibcxx_cv_func__powl_use = x"yes"; then + +for ac_func in _powl +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - if test x$gcc_no_link = xyes; then + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -105699,11 +96852,47 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + int main () { - __builtin_sinf(0); +return f != $ac_func; ; return 0; } @@ -105730,37 +96919,38 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_sinf_link=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_sinf_link=no +eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF fi +done fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6 + fi - if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_SINF 1 -_ACEOF - fi - fi - echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5 -echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then + echo "$as_me:$LINENO: checking for sqrtl declaration" >&5 +echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then + if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -105779,10 +96969,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - __builtin_sin(0); + sqrtl(0); ; return 0; } @@ -105809,12 +97003,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_sin_use=yes + glibcxx_cv_func_sqrtl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_sin_use=no +glibcxx_cv_func_sqrtl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -105827,17 +97021,20 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6 - if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5 -echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then + echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6 + + if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then + +for ac_func in sqrtl +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - if test x$gcc_no_link = xyes; then + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -105848,11 +97045,47 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + int main () { - __builtin_sin(0); +return f != $ac_func; ; return 0; } @@ -105879,37 +97112,32 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_sin_link=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_sin_link=no +eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6 - - if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then - -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_SIN 1 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF - fi - - fi +fi +done + else - echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5 -echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then + echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5 +echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then + if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -105928,10 +97156,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - __builtin_sinl(0); + _sqrtl(0); ; return 0; } @@ -105958,12 +97190,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_sinl_use=yes + glibcxx_cv_func__sqrtl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_sinl_use=no +glibcxx_cv_func__sqrtl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -105976,17 +97208,20 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6 - if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5 -echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then + echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6 + + if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then + +for ac_func in _sqrtl +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - if test x$gcc_no_link = xyes; then + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -105997,11 +97232,47 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + int main () { - __builtin_sinl(0); +return f != $ac_func; ; return 0; } @@ -106028,38 +97299,38 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_sinl_link=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_sinl_link=no +eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF fi +done fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6 - - if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then + fi -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_SINL 1 -_ACEOF - fi - fi - echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5 -echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then + echo "$as_me:$LINENO: checking for sincosl declaration" >&5 +echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_sincosl_use+set} != xset; then + if test "${glibcxx_cv_func_sincosl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -106081,7 +97352,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - __builtin_cosf(0); + sincosl(0, 0, 0); ; return 0; } @@ -106108,12 +97379,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_cosf_use=yes + glibcxx_cv_func_sincosl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_cosf_use=no +glibcxx_cv_func_sincosl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -106126,17 +97397,20 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6 - if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5 -echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then + echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6 + + if test x$glibcxx_cv_func_sincosl_use = x"yes"; then + +for ac_func in sincosl +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - if test x$gcc_no_link = xyes; then + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -106147,11 +97421,47 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + int main () { - __builtin_cosf(0); +return f != $ac_func; ; return 0; } @@ -106178,37 +97488,32 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_cosf_link=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_cosf_link=no +eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - fi - - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6 - - if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then - -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_COSF 1 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF - fi - - fi +fi +done + else - echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5 -echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then + echo "$as_me:$LINENO: checking for _sincosl declaration" >&5 +echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__sincosl_use+set} != xset; then + if test "${glibcxx_cv_func__sincosl_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -106230,7 +97535,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { - __builtin_cos(0); + _sincosl(0, 0, 0); ; return 0; } @@ -106257,12 +97562,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_cos_use=yes + glibcxx_cv_func__sincosl_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_cos_use=no +glibcxx_cv_func__sincosl_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -106275,17 +97580,20 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6 - if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5 -echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then + echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6 + + if test x$glibcxx_cv_func__sincosl_use = x"yes"; then + +for ac_func in _sincosl +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - if test x$gcc_no_link = xyes; then + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -106296,11 +97604,47 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + int main () { - __builtin_cos(0); +return f != $ac_func; ; return 0; } @@ -106327,37 +97671,38 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_cos_link=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_cos_link=no +eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF fi +done fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6 + fi - if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_COS 1 -_ACEOF - fi - fi - echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5 -echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then - if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then + echo "$as_me:$LINENO: checking for finitel declaration" >&5 +echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func_finitel_use+set} != xset; then + if test "${glibcxx_cv_func_finitel_use+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -106376,10 +97721,14 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - __builtin_cosl(0); + finitel(0); ; return 0; } @@ -106406,12 +97755,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_cosl_use=yes + glibcxx_cv_func_finitel_use=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_cosl_use=no +glibcxx_cv_func_finitel_use=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -106424,17 +97773,20 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6 - if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then - echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5 -echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6 - if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then - if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then + echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6 + + if test x$glibcxx_cv_func_finitel_use = x"yes"; then + +for ac_func in finitel +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - if test x$gcc_no_link = xyes; then + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} { (exit 1); exit 1; }; } @@ -106445,11 +97797,47 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + int main () { - __builtin_cosl(0); +return f != $ac_func; ; return 0; } @@ -106476,35 +97864,225 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - glibcxx_cv_func___builtin_cosl_link=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -glibcxx_cv_func___builtin_cosl_link=no +eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF fi +done - fi - echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5 -echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6 + else - if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then + echo "$as_me:$LINENO: checking for _finitel declaration" >&5 +echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6 + if test x${glibcxx_cv_func__finitel_use+set} != xset; then + if test "${glibcxx_cv_func__finitel_use+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else -cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_COSL 1 + + + ac_ext=cc +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ _ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include + #ifdef HAVE_IEEEFP_H + #include + #endif - fi +int +main () +{ + _finitel(0); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_cxx_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + glibcxx_cv_func__finitel_use=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +glibcxx_cv_func__finitel_use=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +fi + + fi + echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5 +echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6 + + if test x$glibcxx_cv_func__finitel_use = x"yes"; then + +for ac_func in _finitel +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test x$gcc_no_link = xyes; then + { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 +echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} + { (exit 1); exit 1; }; } +fi +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + fi fi + + LIBS="$ac_save_LIBS" + CXXFLAGS="$ac_save_CXXFLAGS" + + + echo "$as_me:$LINENO: checking for main in -lm" >&5 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 if test "${ac_cv_lib_m_main+set}" = set; then @@ -110764,47 +102342,6 @@ _ACEOF ;; esac case "$target" in - sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10) - # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386 - cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_ABS 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_LABS 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_FABS 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_FABSF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_FABSL 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_COS 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_COSF 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_SIN 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define HAVE___BUILTIN_SINF 1 -_ACEOF - - ;; - esac - case "$target" in *-*-solaris2.10) # These two C99 functions are present only in Solaris >= 10 cat >>confdefs.h <<\_ACEOF @@ -111690,7 +103227,7 @@ esac fi - # At some point, we should differentiate between architectures + # At some point, we should differentiate between aritectures # like x86, which have long double versions, and alpha/powerpc/etc., # which don't. For the time being, punt. if test x"long_double_math_on_this_cpu" = x"yes"; then diff --git a/libstdc++-v3/configure.ac b/libstdc++-v3/configure.ac index e99f8dc9f73..5704b4b17cf 100644 --- a/libstdc++-v3/configure.ac +++ b/libstdc++-v3/configure.ac @@ -104,7 +104,7 @@ GLIBCXX_ENABLE_THREADS GLIBCXX_CHECK_COMPILER_FEATURES GLIBCXX_CHECK_STANDARD_LAYOUT -# Enable all the variable C++ runtime options that doesn't require linking. +# Enable all the variable C++ runtime options that don't require linking. GLIBCXX_ENABLE_CSTDIO GLIBCXX_ENABLE_CLOCALE GLIBCXX_ENABLE_ALLOCATOR @@ -167,11 +167,10 @@ if $GLIBCXX_IS_NATIVE; then GLIBCXX_CHECK_LINKER_FEATURES GLIBCXX_CHECK_MATH_SUPPORT - GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT GLIBCXX_CHECK_STDLIB_SUPPORT - # For dev/random and dev/urandom for TR1. + # For /dev/random and /dev/urandom for TR1. GLIBCXX_CHECK_RANDOM_TR1 # For TLS support. @@ -211,7 +210,6 @@ else fi # Construct crosses by hand, eliminating bits that need ld... - # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT # GLIBCXX_CHECK_MATH_SUPPORT # First, test for "known" system libraries. We may be using newlib even diff --git a/libstdc++-v3/crossconfig.m4 b/libstdc++-v3/crossconfig.m4 index 03998eae85e..399077546d3 100644 --- a/libstdc++-v3/crossconfig.m4 +++ b/libstdc++-v3/crossconfig.m4 @@ -16,7 +16,6 @@ case "${host}" in GLIBCXX_CHECK_COMPILER_FEATURES GLIBCXX_CHECK_LINKER_FEATURES GLIBCXX_CHECK_MATH_SUPPORT - GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT GLIBCXX_CHECK_STDLIB_SUPPORT @@ -39,7 +38,6 @@ case "${host}" in # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld GLIBCXX_CHECK_MATH_SUPPORT - GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT GLIBCXX_CHECK_STDLIB_SUPPORT ;; @@ -53,21 +51,6 @@ case "${host}" in AC_DEFINE(HAVE_COPYSIGN) AC_DEFINE(HAVE_SINCOS) AC_DEFINE(HAVE_HYPOT) - # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT - AC_DEFINE(HAVE___BUILTIN_ABS) - AC_DEFINE(HAVE___BUILTIN_FABSF) - AC_DEFINE(HAVE___BUILTIN_FABS) - AC_DEFINE(HAVE___BUILTIN_FABSL) - AC_DEFINE(HAVE___BUILTIN_LABS) - AC_DEFINE(HAVE___BUILTIN_SQRTF) - AC_DEFINE(HAVE___BUILTIN_SQRT) - AC_DEFINE(HAVE___BUILTIN_SQRTL) - AC_DEFINE(HAVE___BUILTIN_SINF) - AC_DEFINE(HAVE___BUILTIN_SIN) - AC_DEFINE(HAVE___BUILTIN_SINL) - AC_DEFINE(HAVE___BUILTIN_COSF) - AC_DEFINE(HAVE___BUILTIN_COS) - AC_DEFINE(HAVE___BUILTIN_COSL) # GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT # GLIBCXX_CHECK_STDLIB_SUPPORT AC_DEFINE(HAVE_COPYSIGN) @@ -147,7 +130,6 @@ case "${host}" in GLIBCXX_CHECK_COMPILER_FEATURES GLIBCXX_CHECK_LINKER_FEATURES GLIBCXX_CHECK_MATH_SUPPORT - GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT GLIBCXX_CHECK_STDLIB_SUPPORT @@ -225,20 +207,6 @@ case "${host}" in ;; esac case "$target" in - sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10) - # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386 - AC_DEFINE(HAVE___BUILTIN_ABS) - AC_DEFINE(HAVE___BUILTIN_LABS) - AC_DEFINE(HAVE___BUILTIN_FABS) - AC_DEFINE(HAVE___BUILTIN_FABSF) - AC_DEFINE(HAVE___BUILTIN_FABSL) - AC_DEFINE(HAVE___BUILTIN_COS) - AC_DEFINE(HAVE___BUILTIN_COSF) - AC_DEFINE(HAVE___BUILTIN_SIN) - AC_DEFINE(HAVE___BUILTIN_SINF) - ;; - esac - case "$target" in *-*-solaris2.10) # These two C99 functions are present only in Solaris >= 10 AC_DEFINE(HAVE_STRTOF) diff --git a/libstdc++-v3/libmath/mathconf.h b/libstdc++-v3/libmath/mathconf.h index be8e96a4b3c..50ab0214c66 100644 --- a/libstdc++-v3/libmath/mathconf.h +++ b/libstdc++-v3/libmath/mathconf.h @@ -1,6 +1,7 @@ /* Configuration data for libmath subpart of libstdc++. */ -/* Copyright (C) 1997-1999, 2000, 2001 Free Software Foundation, Inc. +/* Copyright (C) 1997-1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, + 2007, 2008 Free Software Foundation, Inc. This file is part of the GNU ISO C++ Library. This library is free software; you can redistribute it and/or modify it under the @@ -263,10 +264,10 @@ do { \ /* Replacement for non-existing float functions. */ -#if !defined(HAVE_FABSF) && !defined(HAVE___BUILTIN_FABSF) +#ifndef HAVE_FABSF # define fabsf(x) fabs (x) #endif -#if !defined(HAVE_COSF) && !defined(HAVE___BUILTIN_COSF) +#ifndef HAVE_COSF # define cosf(x) cos (x) #endif #ifndef HAVE_COSHF @@ -284,13 +285,13 @@ do { \ #ifndef HAVE_POWF # define powf(x, y) pow (x, y) #endif -#if !defined(HAVE_SINF) && !defined(HAVE___BUILTIN_SINF) +#ifndef HAVE_SINF # define sinf(x) sin (x) #endif #ifndef HAVE_SINHF # define sinhf(x) sinh (x) #endif -#if !defined(HAVE_SQRTF) && !defined(HAVE___BUILTIN_SQRTF) +#ifndef HAVE_SQRTF # define sqrtf(x) sqrt (x) #endif #ifndef HAVE_TANF @@ -306,4 +307,3 @@ do { \ #ifdef __cplusplus } #endif - diff --git a/libstdc++-v3/linkage.m4 b/libstdc++-v3/linkage.m4 index 62d2c1da140..f1a15ac1885 100644 --- a/libstdc++-v3/linkage.m4 +++ b/libstdc++-v3/linkage.m4 @@ -291,94 +291,6 @@ AC_DEFUN([GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_3], [ ]) dnl -dnl Because the builtins are picky picky picky about the arguments they take, -dnl do an explict linkage tests here. -dnl Check to see if the (math function) argument passed is -dnl 1) declared when using the c++ compiler -dnl 2) has "C" linkage -dnl -dnl Define HAVE_CARGF etc if "cargf" is declared and links -dnl -dnl argument 1 is name of function to check -dnl -dnl ASSUMES argument is a math function with ONE parameter -dnl -dnl GLIBCXX_CHECK_BUILTIN_MATH_DECL_LINKAGE_1 -AC_DEFUN([GLIBCXX_CHECK_BUILTIN_MATH_DECL_AND_LINKAGE_1], [ - AC_MSG_CHECKING([for $1 declaration]) - if test x${glibcxx_cv_func_$1_use+set} != xset; then - AC_CACHE_VAL(glibcxx_cv_func_$1_use, [ - AC_LANG_SAVE - AC_LANG_CPLUSPLUS - AC_TRY_COMPILE([#include ], - [ $1(0);], - [glibcxx_cv_func_$1_use=yes], [glibcxx_cv_func_$1_use=no]) - AC_LANG_RESTORE - ]) - fi - AC_MSG_RESULT($glibcxx_cv_func_$1_use) - if test x$glibcxx_cv_func_$1_use = x"yes"; then - AC_MSG_CHECKING([for $1 linkage]) - if test x${glibcxx_cv_func_$1_link+set} != xset; then - AC_CACHE_VAL(glibcxx_cv_func_$1_link, [ - AC_TRY_LINK([#include ], - [ $1(0);], - [glibcxx_cv_func_$1_link=yes], [glibcxx_cv_func_$1_link=no]) - ]) - fi - AC_MSG_RESULT($glibcxx_cv_func_$1_link) - define([NAME], [translit([$1],[abcdefghijklmnopqrstuvwxyz], - [ABCDEFGHIJKLMNOPQRSTUVWXYZ])]) - if test x$glibcxx_cv_func_$1_link = x"yes"; then - AC_DEFINE([HAVE_]NAME, 1, [Define if the compiler/host combination has $1.]) - fi - undefine([NAME]) - fi -]) - - -dnl -dnl Check to see what builtin math functions are supported -dnl -dnl check for __builtin_abs -dnl check for __builtin_fabsf -dnl check for __builtin_fabs -dnl check for __builtin_fabl -dnl check for __builtin_labs -dnl check for __builtin_sqrtf -dnl check for __builtin_sqrtl -dnl check for __builtin_sqrt -dnl check for __builtin_sinf -dnl check for __builtin_sin -dnl check for __builtin_sinl -dnl check for __builtin_cosf -dnl check for __builtin_cos -dnl check for __builtin_cosl -dnl -dnl GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT -AC_DEFUN([GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT], [ - dnl Test for builtin math functions. - dnl These are made in gcc/c-common.c - GLIBCXX_CHECK_BUILTIN_MATH_DECL_AND_LINKAGE_1(__builtin_abs) - GLIBCXX_CHECK_BUILTIN_MATH_DECL_AND_LINKAGE_1(__builtin_fabsf) - GLIBCXX_CHECK_BUILTIN_MATH_DECL_AND_LINKAGE_1(__builtin_fabs) - GLIBCXX_CHECK_BUILTIN_MATH_DECL_AND_LINKAGE_1(__builtin_fabsl) - GLIBCXX_CHECK_BUILTIN_MATH_DECL_AND_LINKAGE_1(__builtin_labs) - - GLIBCXX_CHECK_BUILTIN_MATH_DECL_AND_LINKAGE_1(__builtin_sqrtf) - GLIBCXX_CHECK_BUILTIN_MATH_DECL_AND_LINKAGE_1(__builtin_sqrt) - GLIBCXX_CHECK_BUILTIN_MATH_DECL_AND_LINKAGE_1(__builtin_sqrtl) - - GLIBCXX_CHECK_BUILTIN_MATH_DECL_AND_LINKAGE_1(__builtin_sinf) - GLIBCXX_CHECK_BUILTIN_MATH_DECL_AND_LINKAGE_1(__builtin_sin) - GLIBCXX_CHECK_BUILTIN_MATH_DECL_AND_LINKAGE_1(__builtin_sinl) - - GLIBCXX_CHECK_BUILTIN_MATH_DECL_AND_LINKAGE_1(__builtin_cosf) - GLIBCXX_CHECK_BUILTIN_MATH_DECL_AND_LINKAGE_1(__builtin_cos) - GLIBCXX_CHECK_BUILTIN_MATH_DECL_AND_LINKAGE_1(__builtin_cosl) -]) - -dnl dnl Check to see what the underlying c library is like dnl These checks need to do two things: dnl 1) make sure the name is declared when using the c++ compiler -- 2.11.0