summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--configure.ac2
-rw-r--r--m4/efl_check_funcs.m49
2 files changed, 10 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 9fd46ba9a9..c401fb3844 100644
--- a/configure.ac
+++ b/configure.ac
@@ -649,7 +649,7 @@ pause \
649AC_FUNC_ALLOCA 649AC_FUNC_ALLOCA
650AC_FUNC_MMAP 650AC_FUNC_MMAP
651 651
652EFL_CHECK_FUNCS([EFLALL], [fnmatch gettimeofday dirfd fcntl]) 652EFL_CHECK_FUNCS([EFLALL], [fnmatch gettimeofday dirfd fcntl sched_getcpu])
653 653
654have_atfile_source="${ac_cv_func_fstatat}" 654have_atfile_source="${ac_cv_func_fstatat}"
655AC_DEFINE_IF([HAVE_ATFILE_SOURCE], 655AC_DEFINE_IF([HAVE_ATFILE_SOURCE],
diff --git a/m4/efl_check_funcs.m4 b/m4/efl_check_funcs.m4
index d48e02cb6b..d68d0c2118 100644
--- a/m4/efl_check_funcs.m4
+++ b/m4/efl_check_funcs.m4
@@ -172,6 +172,15 @@ case "$host_os" in
172esac 172esac
173]) 173])
174 174
175dnl _EFL_CHECK_FUNC_SCHED_GETCPU is for internal use
176dnl _EFL_CHECK_FUNC_SCHED_GETCPU(EFL, VARIABLE)
177AC_DEFUN([_EFL_CHECK_FUNC_SCHED_GETCPU],
178[
179 EFL_CHECK_LIB_CODE([$1], [], [$2], [[
180#include <sched.h>
181]], [[int cpu = sched_getcpu();]])
182])
183
175dnl _EFL_CHECK_FUNC_GETTIMEOFDAY is for internal use 184dnl _EFL_CHECK_FUNC_GETTIMEOFDAY is for internal use
176dnl _EFL_CHECK_FUNC_GETTIMEOFDAY(EFL, VARIABLE) 185dnl _EFL_CHECK_FUNC_GETTIMEOFDAY(EFL, VARIABLE)
177AC_DEFUN([_EFL_CHECK_FUNC_GETTIMEOFDAY], 186AC_DEFUN([_EFL_CHECK_FUNC_GETTIMEOFDAY],