summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2012-10-19 07:13:08 +0000
committerCedric BAIL <cedric.bail@free.fr>2012-10-19 07:13:08 +0000
commit97dc0175711a2b6dd57d6a0f1cb88ad1e565f92c (patch)
treef7a2824d7293247383eee6678bd243e3bc376cdf /m4
parent6bde75188d3e55fd4ea50750ed432a297f00184e (diff)
efl: change a little bit API.
SVN revision: 78229
Diffstat (limited to 'm4')
-rw-r--r--m4/efl_threads.m411
1 files changed, 11 insertions, 0 deletions
diff --git a/m4/efl_threads.m4 b/m4/efl_threads.m4
index bd3a818..a1bcc03 100644
--- a/m4/efl_threads.m4
+++ b/m4/efl_threads.m4
@@ -74,6 +74,17 @@ pthread_barrier_init(&barrier, NULL, 1);
74 ]])], 74 ]])],
75 [efl_have_pthread_barrier="yes"], 75 [efl_have_pthread_barrier="yes"],
76 [efl_have_pthread_barrier="no"]) 76 [efl_have_pthread_barrier="no"])
77 AC_LINK_IFELSE(
78 [AC_LANG_PROGRAM([[
79#include <stdlib.h>
80#include <pthread.h>
81#include <sched.h>
82 ]],
83 [[
84pthread_attr_setaffinity_np(NULL, 0, NULL);
85 ]])],
86 [efl_have_setaffinity="yes"],
87 [efl_have_setaffinity="no"])
77 CFLAGS=${SAVE_CFLAGS} 88 CFLAGS=${SAVE_CFLAGS}
78 LIBS=${SAVE_LIBS} 89 LIBS=${SAVE_LIBS}
79 90