Skip to content

Commit

Permalink
Remove clock_gettime check
Browse files Browse the repository at this point in the history
  • Loading branch information
rescrv committed Aug 4, 2015
1 parent d5a3f9a commit 92326f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ hyperdex_daemon_LDADD += $(HYPERLEVELDB_LIBS)
hyperdex_daemon_LDADD += $(BUSYBEE_LIBS)
hyperdex_daemon_LDADD += $(E_LIBS)
hyperdex_daemon_LDADD += $(PO6_LIBS)
hyperdex_daemon_LDADD += $(POPT_LIBS) ${GLOG_LIBS} $(LRT_LDFLAGS) -lpthread
hyperdex_daemon_LDADD += $(POPT_LIBS) ${GLOG_LIBS} -lpthread
man/hyperdex-daemon.1: man/hyperdex-daemon.1.h2m daemon/main.cc | hyperdex-daemon$(EXEEXT)
$(help2man_verbose)help2man $(HELP2MAN_FLAGS) --section 1 --output $@ --include $< ${abs_top_builddir}/hyperdex-daemon$(EXEEXT)

Expand Down
16 changes: 1 addition & 15 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,6 @@ fi
AC_SUBST([JNI_CPPFLAGS], [${JNI_CPPFLAGS}])

# Checks for libraries.
AC_CHECK_LIB([rt], [clock_gettime], [needs_lrt=yes], [needs_lrt=no])

if test x"${needs_lrt}" = xyes; then
AC_SUBST([LRT_LDFLAGS], ["-lrt"])
else
AC_SUBST([LRT_LDFLAGS], [""])
fi

if test x"${enable_all_components}" = xyes -o \
x"${enable_tools}" = xyes -o \
x"${enable_coordinator}" = xyes -o \
Expand All @@ -100,12 +92,6 @@ HyperDex relies upon the popt library.
Please install popt to continue.
-------------------------------------------------])])
fi
AC_CHECK_LIB([rt], [clock_gettime], [needs_lrt=yes], [needs_lrt=no])
if test x"${needs_lrt}" = xyes; then
AC_SUBST([LRT_CFLAGS], ["-lrt"])
else
AC_SUBST([LRT_CFLAGS], [""])
fi

if test x"${enable_all_components}" = xyes -o \
x"${enable_client}" = xyes -o \
Expand Down Expand Up @@ -184,7 +170,7 @@ fi
# Checks for library functions.
AC_FUNC_ERROR_AT_LINE
AC_FUNC_MMAP
AC_CHECK_FUNCS([alarm clock_gettime mach_absolute_time ftruncate memmove mkdir munmap rmdir socket])
AC_CHECK_FUNCS([alarm ftruncate memmove mkdir munmap rmdir socket])

# Optional components
AC_ARG_ENABLE([ycsb], [AS_HELP_STRING([--enable-ycsb],
Expand Down

0 comments on commit 92326f7

Please sign in to comment.