projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rculfhash: Documentation: clarify need for grace period before "re-using"
[userspace-rcu.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index 39a777795451b5c73b3ea2e32117b8679e50c598..b3096c6d45ca492d781ff35ff059868066fe260b 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-79,7
+79,6
@@
AC_FUNC_MMAP
AC_FUNC_FORK
AC_CHECK_FUNCS([ \
atexit \
AC_FUNC_FORK
AC_CHECK_FUNCS([ \
atexit \
- clock_gettime \
getcpuid \
gettid \
gettimeofday \
getcpuid \
gettid \
gettimeofday \
@@
-122,8
+121,9
@@
AS_CASE([$host_cpu],
[alpha*], [ARCHTYPE="alpha"],
[ia64], [ARCHTYPE="ia64"],
[arm*], [ARCHTYPE="arm"],
[alpha*], [ARCHTYPE="alpha"],
[ia64], [ARCHTYPE="ia64"],
[arm*], [ARCHTYPE="arm"],
- [aarch64], [ARCHTYPE="aarch64"],
+ [aarch64
*
], [ARCHTYPE="aarch64"],
[mips*], [ARCHTYPE="mips"],
[mips*], [ARCHTYPE="mips"],
+ [nios2*], [ARCHTYPE="nios2"],
[tile*], [ARCHTYPE="tile"],
[hppa*], [ARCHTYPE="hppa"],
[ARCHTYPE="unknown"]
[tile*], [ARCHTYPE="tile"],
[hppa*], [ARCHTYPE="hppa"],
[ARCHTYPE="unknown"]
@@
-134,6
+134,11
@@
AS_CASE([$host],[*-*-linux-androideabi],
[AM_CONDITIONAL(TARGET_IS_ANDROID, false)]
)
[AM_CONDITIONAL(TARGET_IS_ANDROID, false)]
)
+AS_CASE([$host],[*-cygwin*],
+ [AM_CONDITIONAL(USE_CYGWIN, true)],
+ [AM_CONDITIONAL(USE_CYGWIN, false)]
+)
+
AC_SUBST(ARCHTYPE)
AC_SUBST(SUBARCHTYPE)
AC_SUBST(ARCHTYPE)
AC_SUBST(SUBARCHTYPE)
@@
-215,6
+220,11
@@
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
compat_futex_test=1
])
compat_futex_test=1
])
+# Search for clock_gettime
+AC_SEARCH_LIBS([clock_gettime], [rt], [],
+ [AC_MSG_ERROR([Cannot find clock_gettime function.])]
+)
+
# Check for pthread
AC_CHECK_LIB([pthread], [pthread_create],
[AM_CONDITIONAL(LIBC_INCLUDES_PTHREAD, false)],
# Check for pthread
AC_CHECK_LIB([pthread], [pthread_create],
[AM_CONDITIONAL(LIBC_INCLUDES_PTHREAD, false)],
This page took
0.023631 seconds
and
4
git commands to generate.