[Spice-commits] configure.ac meson.build

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Apr 3 08:40:35 UTC 2019


 configure.ac |    2 +-
 meson.build  |    3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

New commits:
commit b628730115e075fe72e9a6142f4676bf66bfd38b
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Tue Apr 2 13:47:05 2019 +0100

    build: Add new check for recorder library
    
    Newer version try to use this function if available.
    
    Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
    Acked-by: Victor Toso <victortoso at redhat.com>

diff --git a/configure.ac b/configure.ac
index 923055b..da0a687 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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
diff --git a/meson.build b/meson.build
index f69e4bc..0faf703 100644
--- a/meson.build
+++ b/meson.build
@@ -78,7 +78,8 @@ endforeach
 #
 functions = ['alloca',
              'sigaction',
-             'drand48']
+             'drand48',
+             'setlinebuf']
 
 foreach func : functions
   if compiler.has_function(func)


More information about the Spice-commits mailing list