summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorJean Guyomarc'h <jean@guyomarch.bzh>2016-05-28 13:35:54 +0200
committerJean Guyomarc'h <jean@guyomarch.bzh>2016-05-28 19:14:16 +0200
commit9e761c9515aa190cbe25bfa7cd1f6c6ebdeb16d6 (patch)
tree886e3f86a7aa5223603e220daad3e760535ee93d /configure.ac
parentfc74475415e3f0c90b20b54302e6694850f5c3ff (diff)
autotools: check for sched_getcpu()
sched_getcpu() is glibc-only, so not portable. Mac OS X does not have it, and has no obvious replacement function. This commit will allow future code to test for the existence of this function, to provide fallbacks instead of making compilation fail.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 9fd46ba..c401fb3 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],