82
82
AC_SUBST ( [ JNI_CPPFLAGS] , [ ${JNI_CPPFLAGS}] )
83
83
84
84
# 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
-
93
85
if test x"${enable_all_components}" = xyes -o \
94
86
x"${enable_tools}" = xyes -o \
95
87
x"${enable_coordinator}" = xyes -o \
@@ -100,12 +92,6 @@ HyperDex relies upon the popt library.
100
92
Please install popt to continue.
101
93
-------------------------------------------------] ) ] )
102
94
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
109
95
110
96
if test x"${enable_all_components}" = xyes -o \
111
97
x"${enable_client}" = xyes -o \
184
170
# Checks for library functions.
185
171
AC_FUNC_ERROR_AT_LINE
186
172
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] )
188
174
189
175
# Optional components
190
176
AC_ARG_ENABLE ( [ ycsb] , [ AS_HELP_STRING ( [ --enable-ycsb] ,
0 commit comments