Skip to content
Snippets Groups Projects
Commit b05588c2 authored by Ondřej Surý's avatar Ondřej Surý
Browse files

Reverse logic and search for urcu_init() which has to be missing since 0.4.0

parent ff041019
Branches
Tags
No related merge requests found
......@@ -130,8 +130,7 @@ LDFLAGS="$LDFLAGS -L/usr/local/lib"
AC_SEARCH_LIBS([pow], [m])
AC_SEARCH_LIBS([pthread_create], [pthread], [], [AC_MSG_ERROR([pthreads not found])])
AC_SEARCH_LIBS([rcu_set_pointer_sym], [urcu], [], [AC_MSG_ERROR([liburcu not found])])
AC_CHECK_HEADER([urcu.h], [], [AC_MSG_ERROR([urcu.h not found])])
AC_CHECK_FUNC([rcu_init], [], [AC_MSG_ERROR([liburcu found, but rcu_init function missing, install urcu >= 0.4.0])])
AC_SEARCH_LIBS([urcu_init], [urcu], [AC_MSG_ERROR([liburcu is too old (< 0.4.0), urcu_init symbol found])], [])
AC_SEARCH_LIBS([dlopen], [dl])
AC_SEARCH_LIBS([clock_gettime], [rt])
AC_SEARCH_LIBS([OpenSSL_add_all_digests], [crypto],[], [AC_MSG_ERROR([libcrypto not found])])
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment