From b225aa1fc1b8a4c86444bfe8be41985338162a4f Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 9 Nov 2017 13:39:03 +0100 Subject: Reject incompatible tool chains Update #3185. --- cpukit/configure.ac | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cpukit/configure.ac') diff --git a/cpukit/configure.ac b/cpukit/configure.ac index 427b64987a..09ca74a5f0 100644 --- a/cpukit/configure.ac +++ b/cpukit/configure.ac @@ -341,6 +341,9 @@ AC_CHECK_DECLS([utime],,,[#include ## Check if libc provides decl of utimes AC_CHECK_DECLS([utimes],,,[#include ]) +# Ensure that Newlib does not provide things now in +AC_CHECK_DECLS([_Timecounter_Time_second],[RTEMS_TOOL_CHAIN_ERROR],,[#include ]) + # ... far too many conditionals ... AM_CONDITIONAL(LIBRPC,[test x"$rtems_cv_HAS_NETWORKING" = x"yes"]) AM_CONDITIONAL(NEWLIB,test x"$RTEMS_USE_NEWLIB" = x"yes") -- cgit v1.2.3