summaryrefslogtreecommitdiff
path: root/libstdc++-v3/acinclude.m4
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2006-03-10 13:24:57 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2006-03-10 13:24:57 +0000
commit626791f9b6f7b122502728abfd6de34d7beeb8d4 (patch)
tree6115e2c2f2b494731a1f82cf33bdde9825984c6e /libstdc++-v3/acinclude.m4
parent300b0e0817a85c8c855f265eeb6e7bdea3160645 (diff)
downloadgcc-626791f9b6f7b122502728abfd6de34d7beeb8d4.tar.gz
2006-03-10 Paolo Carlini <pcarlini@suse.de>
* include/tr1/cmath: Add atan2 and pow bits; add using declarations. * include/tr1/math.h: Add using declarations. * include/tr1/complex: Add using declarations. * testsuite/tr1/8_c_compatibility/cmath/functions.cc: Fully qualify calls. * testsuite/tr1/8_c_compatibility/cmath/overloads.cc: Likewise; add atan2 and pow bits. * testsuite/tr1/8_c_compatibility/complex/overloads_float.cc: Likewise. * testsuite/tr1/8_c_compatibility/complex/overloads_int.cc: Likewise; adjust polar bits. * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Add checks for double_t and float_t typedefs. * include/tr1/cmath: Add double_t and float_t. * testsuite/tr1/8_c_compatibility/cmath/types.cc: New. * include/tr1/ctgmath: New. * include/tr1/tgmath.h: Likewise. * include/Makefile.am: Add. * testsuite/tr1/headers.cc: Update. * include/Makefile.in: Regenerate. * configure: Likewise. * docs/html/ext/tr1.html: Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111931 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/acinclude.m4')
-rw-r--r--libstdc++-v3/acinclude.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/libstdc++-v3/acinclude.m4 b/libstdc++-v3/acinclude.m4
index 4dc38b883ac..fbfb3f79c16 100644
--- a/libstdc++-v3/acinclude.m4
+++ b/libstdc++-v3/acinclude.m4
@@ -1194,7 +1194,9 @@ AC_DEFUN([GLIBCXX_CHECK_C99_TR1], [
AC_MSG_CHECKING([for ISO C99 support to TR1 in <math.h>])
AC_CACHE_VAL(ac_c99_math_tr1, [
AC_TRY_COMPILE([#include <math.h>],
- [acosh(0.0);
+ [typedef double_t my_double_t;
+ typedef float_t my_float_t;
+ acosh(0.0);
acoshf(0.0f);
acoshl(0.0l);
asinh(0.0);