X-Git-Url: http://git.liburcu.org/?p=userspace-rcu.git;a=blobdiff_plain;f=configure.ac;h=13f2fd8bfd24fcbb4ea0c1f56fd6dd79598515e4;hp=b86f371be22edcb8ff0eb3dd1653aba12978d979;hb=f772add35250a02861de6eeffb88a6274b713b93;hpb=ab4523c0ed25e40cbcb2df69e39b4bed46bae62d diff --git a/configure.ac b/configure.ac index b86f371..13f2fd8 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ AC_PREREQ(2.59) -AC_INIT([userspace-rcu],[0.9.1],[mathieu dot desnoyers at efficios dot com], [], [http://liburcu.org/]) +AC_INIT([userspace-rcu],[0.9.2],[mathieu dot desnoyers at efficios dot com], [], [http://liburcu.org/]) # Following the numbering scheme proposed by libtool for the library version # http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html @@ -79,7 +79,6 @@ AC_FUNC_MMAP AC_FUNC_FORK AC_CHECK_FUNCS([ \ atexit \ - clock_gettime \ getcpuid \ gettid \ gettimeofday \ @@ -122,7 +121,7 @@ AS_CASE([$host_cpu], [alpha*], [ARCHTYPE="alpha"], [ia64], [ARCHTYPE="ia64"], [arm*], [ARCHTYPE="arm"], - [aarch64], [ARCHTYPE="aarch64"], + [aarch64*], [ARCHTYPE="aarch64"], [mips*], [ARCHTYPE="mips"], [tile*], [ARCHTYPE="tile"], [hppa*], [ARCHTYPE="hppa"], @@ -215,6 +214,11 @@ AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ 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)],