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

Submitted by Pavel Grunt on Nov. 24, 2016, 2:31 p.m.

Details

Message ID 20161124143120.3399-1-pgrunt@redhat.com
State New
Headers show
Series "Series without cover letter" ( rev: 2 ) in Spice

Not browsing as part of any series.

Commit Message

Pavel Grunt Nov. 24, 2016, 2:31 p.m.
---
 m4/spice-deps.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

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"