Skip to content

Commit 92326f7

Browse files
committed
Remove clock_gettime check
1 parent d5a3f9a commit 92326f7

File tree

2 files changed

+2
-16
lines changed

2 files changed

+2
-16
lines changed

Diff for: Makefile.am

+1-1
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ hyperdex_daemon_LDADD += $(HYPERLEVELDB_LIBS)
303303
hyperdex_daemon_LDADD += $(BUSYBEE_LIBS)
304304
hyperdex_daemon_LDADD += $(E_LIBS)
305305
hyperdex_daemon_LDADD += $(PO6_LIBS)
306-
hyperdex_daemon_LDADD += $(POPT_LIBS) ${GLOG_LIBS} $(LRT_LDFLAGS) -lpthread
306+
hyperdex_daemon_LDADD += $(POPT_LIBS) ${GLOG_LIBS} -lpthread
307307
man/hyperdex-daemon.1: man/hyperdex-daemon.1.h2m daemon/main.cc | hyperdex-daemon$(EXEEXT)
308308
$(help2man_verbose)help2man $(HELP2MAN_FLAGS) --section 1 --output $@ --include $< ${abs_top_builddir}/hyperdex-daemon$(EXEEXT)
309309

Diff for: configure.ac

+1-15
Original file line numberDiff line numberDiff line change
@@ -82,14 +82,6 @@ fi
8282
AC_SUBST([JNI_CPPFLAGS], [${JNI_CPPFLAGS}])
8383

8484
# Checks for libraries.
85-
AC_CHECK_LIB([rt], [clock_gettime], [needs_lrt=yes], [needs_lrt=no])
86-
87-
if test x"${needs_lrt}" = xyes; then
88-
AC_SUBST([LRT_LDFLAGS], ["-lrt"])
89-
else
90-
AC_SUBST([LRT_LDFLAGS], [""])
91-
fi
92-
9385
if test x"${enable_all_components}" = xyes -o \
9486
x"${enable_tools}" = xyes -o \
9587
x"${enable_coordinator}" = xyes -o \
@@ -100,12 +92,6 @@ HyperDex relies upon the popt library.
10092
Please install popt to continue.
10193
-------------------------------------------------])])
10294
fi
103-
AC_CHECK_LIB([rt], [clock_gettime], [needs_lrt=yes], [needs_lrt=no])
104-
if test x"${needs_lrt}" = xyes; then
105-
AC_SUBST([LRT_CFLAGS], ["-lrt"])
106-
else
107-
AC_SUBST([LRT_CFLAGS], [""])
108-
fi
10995

11096
if test x"${enable_all_components}" = xyes -o \
11197
x"${enable_client}" = xyes -o \
@@ -184,7 +170,7 @@ fi
184170
# Checks for library functions.
185171
AC_FUNC_ERROR_AT_LINE
186172
AC_FUNC_MMAP
187-
AC_CHECK_FUNCS([alarm clock_gettime mach_absolute_time ftruncate memmove mkdir munmap rmdir socket])
173+
AC_CHECK_FUNCS([alarm ftruncate memmove mkdir munmap rmdir socket])
188174

189175
# Optional components
190176
AC_ARG_ENABLE([ycsb], [AS_HELP_STRING([--enable-ycsb],

0 commit comments

Comments
 (0)