Remove checks for flockfile(), etc. declarations

Declarations provided by Newlib since 2002.

Update #3409.
This commit is contained in:
Sebastian Huber
2018-10-18 14:45:24 +02:00
parent f59edebf7e
commit 167654e7f0
4 changed files with 3 additions and 8 deletions

View File

@@ -75,11 +75,6 @@ AC_CHECK_FUNCS([creat \
AC_CHECK_FUNCS([execl execlp execle execv execvp execve])
AC_CHECK_FUNCS([regcomp regexec regerror regfree])
# Mandated by POSIX, decls not present in some versions of newlib
AC_CHECK_DECLS([flockfile],[AC_CHECK_FUNCS([flockfile])],,[#include <stdio.h>])
AC_CHECK_DECLS([funlockfile],[AC_CHECK_FUNCS([funlockfile])],,[#include <stdio.h>])
AC_CHECK_DECLS([ftrylockfile],[AC_CHECK_FUNCS([ftrylockfile])],,[#include <stdio.h>])
# Newlib proprietary
AC_CHECK_MEMBER([struct _Thread_queue_Queue._name],[],[RTEMS_TOOL_CHAIN_ERROR],[#include <sys/lock.h>])