mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2025-01-19 10:05:09 +08:00
build: Check for clock_gettime with -lrt
This commit is contained in:
parent
6972187adf
commit
cfb34d25b9
@ -22,7 +22,6 @@ AC_DEFUN([COMPILER_FLAGS], [
|
||||
with_cflags="$with_cflags -Wcast-align"
|
||||
with_cflags="$with_cflags -DG_DISABLE_DEPRECATED"
|
||||
fi
|
||||
|
||||
AC_SUBST([WARNING_CFLAGS], $with_cflags)
|
||||
])
|
||||
|
||||
|
@ -40,7 +40,7 @@ AC_ARG_ENABLE(threads, AC_HELP_STRING([--enable-threads],
|
||||
AC_CHECK_FUNC(signalfd, dummy=yes,
|
||||
AC_MSG_ERROR(signalfd support is required))
|
||||
|
||||
AC_CHECK_FUNC(clock_gettime, dummy=yes,
|
||||
AC_CHECK_LIB(rt, clock_gettime, dummy=yes,
|
||||
AC_MSG_ERROR(realtime clock support is required))
|
||||
|
||||
AC_CHECK_LIB(pthread, pthread_create, dummy=yes,
|
||||
|
Loading…
Reference in New Issue
Block a user