Enlightenment CVS committal
Author : raster
Project : e17
Module : libs/evas
Dir : e17/libs/evas
Modified Files:
configure.in
Log Message:
check for set affinity in pthread - seems to bemissing from debian
testing/etch (but is in ubuntu). weird as its a gnu extension in libc and
been in for a few years.
===================================================================
RCS file: /cvs/e/e17/libs/evas/configure.in,v
retrieving revision 1.194
retrieving revision 1.195
diff -u -3 -r1.194 -r1.195
--- configure.in 16 Nov 2006 03:20:23 -0000 1.194
+++ configure.in 16 Nov 2006 06:31:52 -0000 1.195
@@ -989,10 +989,16 @@
pthread_cflags=""
pthread_libs=""
build_pthreads="no"
+# sched_getaffinity pthread_attr_setaffinity_np
AC_CHECK_HEADER(pthread.h,
[
AC_CHECK_HEADER(sched.h,
- [ build_pthreads="yes" ],
+ [
+ AC_CHECK_LIB(pthread, pthread_attr_setaffinity_np,
+ [ build_pthreads="yes" ],
+ [ build_pthreads="no" ]
+ )
+ ],
[ build_pthreads="no" ]
)
],
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs