diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2008-08-25 22:52:47 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2008-08-25 22:52:47 +0000 |
commit | 1894e4c583d60037c1d51f76b461333799302042 (patch) | |
tree | 966487ab77d3d85b03bc8ec5435569466d611c78 /libstdc++-v3/crossconfig.m4 | |
parent | e57903b847ed740d541538d5c51d19879be2b825 (diff) | |
download | gcc-1894e4c583d60037c1d51f76b461333799302042.tar.gz |
acinclude.m4 ([GLIBCXX_CHECK_GETTIMEOFDAY]): Change to use GCC_TRY_COMPILE_OR_LINK.
2008-08-23 Paolo Carlini <paolo.carlini@oracle.com>
* 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.
From-SVN: r139576
Diffstat (limited to 'libstdc++-v3/crossconfig.m4')
-rw-r--r-- | libstdc++-v3/crossconfig.m4 | 32 |
1 files changed, 0 insertions, 32 deletions
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) |