summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-11-09 13:39:03 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-11-09 13:39:03 +0100
commitb225aa1fc1b8a4c86444bfe8be41985338162a4f (patch)
treef1bff457fe831f4b61d5151575f3e0d13a754863
parentscore: Change _Timecounter_Time_uptime to int32_t (diff)
downloadrtems-b225aa1fc1b8a4c86444bfe8be41985338162a4f.tar.bz2
Reject incompatible tool chains
Update #3185.
-rw-r--r--cpukit/configure.ac3
1 files changed, 3 insertions, 0 deletions
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 <sys/types.h>
## Check if libc provides decl of utimes
AC_CHECK_DECLS([utimes],,,[#include <sys/time.h>])
+# Ensure that Newlib does not provide things now in <machine/_timecounter.h>
+AC_CHECK_DECLS([_Timecounter_Time_second],[RTEMS_TOOL_CHAIN_ERROR],,[#include <sys/time.h>])
+
# ... 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")