From 87b4f1237ce8ea5417f71a3c4b49e36bf59a7158 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Wed, 1 Dec 2010 05:43:07 +0000 Subject: =?UTF-8?q?2010-12-01=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * configure.ac: Check for complex.h. Add AM_CONDITIONAL(HAS_COMPLEX) to allow building with outdated toolchains. * complex/Makefile.am: Apply HAS_COMPLEX. --- testsuites/libtests/configure.ac | 3 +++ 1 file changed, 3 insertions(+) (limited to 'testsuites/libtests/configure.ac') diff --git a/testsuites/libtests/configure.ac b/testsuites/libtests/configure.ac index dbff9cf136..74ea49396f 100644 --- a/testsuites/libtests/configure.ac +++ b/testsuites/libtests/configure.ac @@ -31,9 +31,12 @@ RTEMS_CHECK_CXX(RTEMS_BSP) AC_PROG_LN_S AC_PATH_PROG([PAX],[pax]) +AC_CHECK_HEADERS([complex.h]) + AM_CONDITIONAL(TARTESTS,test "$as_ln_s" = "ln -s" && test -n "$PAX") AM_CONDITIONAL(HAS_CXX,test "$rtems_cv_HAS_CPLUSPLUS" = "yes") +AM_CONDITIONAL([HAS_COMPLEX],[test "$ac_cv_header_COMPLEX_H" = yes]) # Explicitly list all Makefiles here AC_CONFIG_FILES([Makefile -- cgit v1.2.3