Changeset 2729c1c2 in rtems


Ignore:
Timestamp:
Feb 17, 2014, 6:19:06 PM (6 years ago)
Author:
Jennifer Averett <jennifer.averett@…>
Branches:
4.11, master
Children:
c2934b96
Parents:
f38060b
Message:

smptests: Add check for affinity support in newlib.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/smptests/configure.ac

    rf38060b r2729c1c2  
    3535AM_CONDITIONAL([HAS_POSIX],[test x"${rtems_cv_RTEMS_POSIX_API}" = xyes])
    3636
     37# These are SMP related and were added to newlib by RTEMS.
     38AC_CHECK_DECLS([pthread_attr_setaffinity_np],[],[],[[
     39  #define _GNU_SOURCE
     40  #include <pthread.h>]])
     41AC_CHECK_DECLS([pthread_attr_getaffinity_np],[],[],[[
     42  #define _GNU_SOURCE
     43  #include <pthread.h>]])
     44AC_CHECK_DECLS([pthread_setaffinity_np],[],[],[[
     45  #define _GNU_SOURCE
     46  #include <pthread.h>]])
     47AC_CHECK_DECLS([pthread_getaffinity_np],[],[],[[
     48  #define _GNU_SOURCE
     49  #include <pthread.h>]])
     50AC_CHECK_DECLS([pthread_getattr_np],[],[],[[
     51  #define _GNU_SOURCE
     52  #include <pthread.h>]])
     53
     54# Added to newlib pthreads for RTEMS SMP (np), may not be present
     55AC_CHECK_HEADERS([sys/cpuset.h])
     56AM_CONDITIONAL(HAS_CPUSET,test x"${ac_cv_header_sys_cpuset_h}" = x"yes")
     57
    3758# Explicitly list all Makefiles here
    3859AC_CONFIG_FILES([Makefile
Note: See TracChangeset for help on using the changeset viewer.