From 44734f2e38801be5a0ccc25f4da0e91e341e5e2c Mon Sep 17 00:00:00 2001 From: cedric Date: Fri, 19 Oct 2012 07:15:11 +0000 Subject: [PATCH] eina: look around for setaffinity. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@78231 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure.ac b/configure.ac index a548ff7..88c3208 100644 --- a/configure.ac +++ b/configure.ac @@ -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 -- 2.7.4