[Spice-devel] [PATCH spice-common] fixup! spice-deps: Make LZ4 check depending on function

Pavel Grunt pgrunt at redhat.com
Thu Nov 24 14:31:20 UTC 2016


---
 m4/spice-deps.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/m4/spice-deps.m4 b/m4/spice-deps.m4
index 7503679..3b22422 100644
--- a/m4/spice-deps.m4
+++ b/m4/spice-deps.m4
@@ -189,7 +189,7 @@ AC_DEFUN([SPICE_CHECK_LZ4], [
       PKG_CHECK_MODULES([LZ4], [liblz4], [have_lz4="yes"], [have_lz4="no"])
 
       if test "x$have_lz4" = "xyes"; then
-        # For cross-compilers may be necessary to save & restore LIBS and CFLAGS before AC_SEARCH_LIBS
+        # It is necessary to set LIBS and CFLAGS before AC_CHECK_FUNC
         old_LIBS="$LIBS"
         old_CFLAGS="$CFLAGS"
         CFLAGS="$CFLAGS $LZ4_CFLAGS"
-- 
2.10.2



More information about the Spice-devel mailing list