aboutsummaryrefslogtreecommitdiffhomepage
path: root/tvmet-1.7.1/config/ac_cxx_have_complex.m4
diff options
context:
space:
mode:
Diffstat (limited to 'tvmet-1.7.1/config/ac_cxx_have_complex.m4')
-rw-r--r--tvmet-1.7.1/config/ac_cxx_have_complex.m421
1 files changed, 0 insertions, 21 deletions
diff --git a/tvmet-1.7.1/config/ac_cxx_have_complex.m4 b/tvmet-1.7.1/config/ac_cxx_have_complex.m4
deleted file mode 100644
index efd4a46a8..000000000
--- a/tvmet-1.7.1/config/ac_cxx_have_complex.m4
+++ /dev/null
@@ -1,21 +0,0 @@
-dnl $Id: ac_cxx_have_complex.m4,v 1.3 2004/04/23 23:41:52 opetzold Exp $
-dnl
-dnl Available from the GNU Autoconf Macro Archive at:
-dnl http://www.gnu.org/software/ac-archive/htmldoc/ac_cxx_have_complex.html
-dnl
-
-AC_DEFUN([AC_CXX_HAVE_COMPLEX],
-[AC_CACHE_CHECK(whether the compiler has complex<T>,
-ac_cv_cxx_have_complex,
-[AC_REQUIRE([AC_CXX_NAMESPACES])
- AC_LANG_PUSH([C++])
- AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <complex>
-#ifdef HAVE_NAMESPACES
-using namespace std;
-#endif]], [[complex<float> a; complex<double> b; return 0;]])],[ac_cv_cxx_have_complex=yes],[ac_cv_cxx_have_complex=no])
- AC_LANG_POP([C++])
-])
-if test "$ac_cv_cxx_have_complex" = yes; then
- AC_DEFINE(HAVE_COMPLEX,,[define if the compiler has complex<T>])
-fi
-])