forked from Imagelibrary/rtems
Add AC_CHECK_DECLS pthread_getcputime, pthread_setcputime.
This commit is contained in:
@@ -37,6 +37,14 @@ AC_CHECK_DECLS([pthread_rwlock_unlock],[],[],[[#include <pthread.h>]])
|
|||||||
# FIXME: newlib should supply declaration of pthread_atfork()
|
# FIXME: newlib should supply declaration of pthread_atfork()
|
||||||
AC_CHECK_DECLS([pthread_atfork],[],[],[[#include <pthread.h>]])
|
AC_CHECK_DECLS([pthread_atfork],[],[],[[#include <pthread.h>]])
|
||||||
|
|
||||||
|
# FIXME: RTEMS presumes pthread_attr_getcputime to be IEEE Std 1003.1
|
||||||
|
# Likely an anachronism in RTEMS.
|
||||||
|
AC_CHECK_DECLS([pthread_pthread_attr_getcputime],[],[],[[#include <pthread.h>]])
|
||||||
|
|
||||||
|
# FIXME: RTEMS presumes pthread_attr_setcputime to be IEEE Std 1003.1
|
||||||
|
# Likely an anachronism in RTEMS.
|
||||||
|
AC_CHECK_DECLS([pthread_pthread_attr_setcputime],[],[],[[#include <pthread.h>]])
|
||||||
|
|
||||||
# FIXME: adjtime is a non-standardized BSD/Linux extension
|
# FIXME: adjtime is a non-standardized BSD/Linux extension
|
||||||
# RTEMS should not rely on adjtime
|
# RTEMS should not rely on adjtime
|
||||||
AC_CHECK_DECLS([adjtime],[],[],[[#include <sys/time.h>]])
|
AC_CHECK_DECLS([adjtime],[],[],[[#include <sys/time.h>]])
|
||||||
|
|||||||
Reference in New Issue
Block a user