diff options
-rw-r--r-- | cpukit/configure.ac | 3 |
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") |