-# Checks for library functions.
-AC_FUNC_MMAP
-AC_FUNC_FORK
-AC_CHECK_FUNCS([ \
- atexit \
- getcpuid \
- gettid \
- gettimeofday \
- memeset \
- memset \
- munmap \
- rand_r \
- sched_getcpu \
- strerror \
- strtoul \
- sysconf \
-])
-
-# AC_FUNC_MALLOC causes problems when cross-compiling.
-#AC_FUNC_MALLOC
-
-# Search for clock_gettime
-AC_SEARCH_LIBS([clock_gettime], [rt], [
- AC_DEFINE([CONFIG_RCU_HAVE_CLOCK_GETTIME], [1])
- config_rcu_have_clock_gettime=yes
-], [])
-