eina: look around for setaffinity.

SVN revision: 78231
This commit is contained in:
Cedric BAIL 2012-10-19 07:15:11 +00:00
parent 6e6d623148
commit c15b604477
1 changed files with 6 additions and 0 deletions

View File

@ -123,6 +123,11 @@ fi
AC_SUBST(EINA_CONFIGURE_HAVE_ON_OFF_THREADS)
AM_CONDITIONAL([EINA_ON_OFF_THREADS], [! test "x${efl_have_on_off_threads}" = "xno"])
if ! test "x${efl_have_setaffinity}" = "xno" ; then
EINA_CONFIGURE_HAVE_PTHREAD_SETAFFINITY="#define EINA_HAVE_PTHREAD_AFFINITY"
fi
AC_SUBST(EINA_CONFIGURE_HAVE_PTHREAD_SETAFFINITY)
### Additional options to configure
# Magic debug
@ -621,6 +626,7 @@ echo " Thread Support.......: ${efl_have_threads}"
if test "${efl_have_threads}" = "POSIX" ; then
echo " spinlock...........: ${efl_have_posix_threads_spinlock}"
echo " barrier............: ${efl_have_pthread_barrier}"
echo " affinity...........: ${efl_have_setaffinity}"
echo " debug usage........: ${efl_have_debug_threads}"
echo " on/off support.....: ${efl_have_on_off_threads}"
fi