projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: check for rand_r() in compat-rand.h
[userspace-rcu.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index eb54f4eb78f692f346b147a455fce330b5420638..cd5a05a426a63cc1a4873b5f632e67e577f0e3ce 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-84,7
+84,6
@@
CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
CC="$PTHREAD_CC"
# Checks for library functions.
CC="$PTHREAD_CC"
# Checks for library functions.
-AC_FUNC_MALLOC
AC_FUNC_MMAP
AC_FUNC_FORK
AC_CHECK_FUNCS([ \
AC_FUNC_MMAP
AC_FUNC_FORK
AC_CHECK_FUNCS([ \
@@
-95,12
+94,16
@@
AC_CHECK_FUNCS([ \
memeset \
memset \
munmap \
memeset \
memset \
munmap \
+ rand_r \
sched_getcpu \
strerror \
strtoul \
sysconf \
])
sched_getcpu \
strerror \
strtoul \
sysconf \
])
+# AC_FUNC_MALLOC causes problems when cross-compiling.
+#AC_FUNC_MALLOC
+
# Check for headers
AC_HEADER_STDBOOL
AC_CHECK_HEADERS([ \
# Check for headers
AC_HEADER_STDBOOL
AC_CHECK_HEADERS([ \
This page took
0.023246 seconds
and
4
git commands to generate.