summaryrefslogtreecommitdiff
path: root/legacy/evas/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'legacy/evas/configure.ac')
-rw-r--r--legacy/evas/configure.ac40
1 files changed, 0 insertions, 40 deletions
diff --git a/legacy/evas/configure.ac b/legacy/evas/configure.ac
index 3de0d2a2c2..0470472da0 100644
--- a/legacy/evas/configure.ac
+++ b/legacy/evas/configure.ac
@@ -943,46 +943,6 @@ EVAS_CHECK_IMAGE_LOADER([SVG], [${want_evas_image_loader_svg}])
943## Cpu based optimizations 943## Cpu based optimizations
944 944
945####################################### 945#######################################
946## PTHREADS
947
948# basic pthread support
949AC_CHECK_HEADER(pthread.h, [], [AC_MSG_ERROR([Pthread support missing.])])
950# basic pthread support. eina does the rest.
951AC_CHECK_HEADERS([pthread.h],
952 [
953 CFLAGS_save="${CFLAGS}"
954 CFLAGS="${CFLAGS} -pthread"
955 LIBS_save="${LIBS}"
956 LIBS="${LIBS} -pthread"
957 AC_LINK_IFELSE(
958 [AC_LANG_PROGRAM([[
959#include <stdlib.h>
960#include <pthread.h>
961 ]],
962 [[
963pthread_create(NULL, NULL, NULL, NULL);
964 ]])],
965 [],
966 [AC_MSG_ERROR([You don't have pthread support.])])
967 AC_LINK_IFELSE(
968 [AC_LANG_PROGRAM([[
969#include <stdlib.h>
970#include <pthread.h>
971#include <sched.h>
972 ]],
973 [[
974pthread_attr_setaffinity_np(NULL, 0, NULL);
975 ]])],
976 [AC_DEFINE(HAVE_PTHREAD_AFFINITY, 1, [Pthread pthread_attr_setaffinity_np])],
977 [])
978 CFLAGS=${CFLAGS_save}
979 LIBS=${LIBS_save}
980 ],
981 [AC_MSG_ERROR([Missing pthread.h])])
982pthread_cflags="-pthread"
983pthread_libs="-pthread"
984
985#######################################
986## Pipe Renderer 946## Pipe Renderer
987build_pipe_render="no" 947build_pipe_render="no"
988 948