summaryrefslogtreecommitdiff
path: root/libstdc++-v3/acinclude.m4
diff options
context:
space:
mode:
authorgdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2000-12-21 01:28:58 +0000
committergdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2000-12-21 01:28:58 +0000
commit5ce8da41186c2b7f5cc76dc9b7d03a934814a00b (patch)
tree61badc342d3eb229c3bff772c8045fd228faff42 /libstdc++-v3/acinclude.m4
parent615166bb45272b0ad86b04ff1a7d65770ed5f4f9 (diff)
downloadgcc-5ce8da41186c2b7f5cc76dc9b7d03a934814a00b.tar.gz
* src/Makefile.am (sources): Remove complex.cc, complexf.cc and
complexl.cc from list. * src/Makefile.in: Regenerate. * src/complex.cc: Remove. * src/complexf.cc: Likewise. * src/complexl.cc: Likewise. * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove csqrtl.c (EXTRA_DIST): Remove csqrt.c and csqrtf.c. * libmath/Makefile.in: Regenerate. * libmath/complex-stub.h: Remove. * libmath/csqrt.c: Likewise. * libmath/sqrtf.c: Likewise. * libmath/sqrtl.c: Likewise. * libmath/mathconf.h: Remove <complex.h> and "complex-stub.h" #inclusion. * include/bits/std_complex.h (sqrt<>): Define primary template. (complex<>): Remove sqrt friend declarations. * configure.in: Initialize with src/ios.cc. * configure: Regenerate. * acinclude.m4: Remove check for csqrt* and <complex.h> * aclocal.m4: Regenerate. * config.h.in: Regenerate. * Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38409 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/acinclude.m4')
-rw-r--r--libstdc++-v3/acinclude.m45
1 files changed, 2 insertions, 3 deletions
diff --git a/libstdc++-v3/acinclude.m4 b/libstdc++-v3/acinclude.m4
index 70cc42e5d1a..58a946cdfc0 100644
--- a/libstdc++-v3/acinclude.m4
+++ b/libstdc++-v3/acinclude.m4
@@ -748,9 +748,8 @@ dnl
dnl GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT
AC_DEFUN(GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT, [
dnl Check for complex versions of math functions of platform.
- AC_CHECK_HEADERS([complex.h])
AC_CHECK_LIB(m, main)
- AC_REPLACE_MATHFUNCS(csqrt csqrtf nan hypot hypotf atan2f expf copysignf)
+ AC_REPLACE_MATHFUNCS(nan hypot hypotf atan2f expf copysignf)
dnl Compile the long double complex functions only if the function
dnl provides the non-complex long double functions that are needed.
@@ -760,7 +759,7 @@ AC_DEFUN(GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT, [
if test x$ac_cv_func_atan2l = x"yes" \
&& test x$ac_cv_func_copysignl = x"yes"; then
USE_COMPLEX_LONG_DOUBLE=yes
- AC_REPLACE_MATHFUNCS(csqrtl hypotl signbitl)
+ AC_REPLACE_MATHFUNCS(hypotl signbitl)
fi
AC_SUBST(USE_COMPLEX_LONG_DOUBLE)