We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf58805 commit 68697adCopy full SHA for 68697ad
configure.ac
@@ -16,6 +16,8 @@ AC_PROG_CC
16
# Checks for libraries.
17
AC_CHECK_LIB([jpeg], [jpeg_start_compress])
18
AC_CHECK_LIB([v4l2], [v4l2_open])
19
+AC_SEARCH_LIBS([clock_gettime],[rt],,
20
+ [AC_MSG_ERROR([no library contains clock_gettime])])
21
22
# Checks for header files.
23
AC_CHECK_HEADERS([fcntl.h malloc.h stdlib.h string.h sys/ioctl.h sys/time.h unistd.h])
@@ -26,5 +28,6 @@ AC_TYPE_SIZE_T
26
28
# Checks for library functions.
27
29
AC_FUNC_MALLOC
30
AC_CHECK_FUNCS([getpagesize select strerror])
31
+AC_CHECK_FUNCS([clock_gettime])
32
33
AC_OUTPUT
0 commit comments