mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-common
synced 2026-01-07 11:32:59 +00:00
build: Add new check for recorder library
Newer version try to use this function if available. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Victor Toso <victortoso@redhat.com>
This commit is contained in:
parent
4951c71553
commit
b628730115
@ -27,7 +27,7 @@ fi
|
||||
AM_PROG_CC_C_O
|
||||
|
||||
AC_CHECK_HEADERS([sys/mman.h regex.h])
|
||||
AC_CHECK_FUNCS([sigaction drand48])
|
||||
AC_CHECK_FUNCS([sigaction drand48 setlinebuf])
|
||||
AC_SEARCH_LIBS(regcomp, [regex rx])
|
||||
|
||||
SPICE_CHECK_SYSDEPS
|
||||
|
||||
@ -78,7 +78,8 @@ endforeach
|
||||
#
|
||||
functions = ['alloca',
|
||||
'sigaction',
|
||||
'drand48']
|
||||
'drand48',
|
||||
'setlinebuf']
|
||||
|
||||
foreach func : functions
|
||||
if compiler.has_function(func)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user