1
0

0002-configure.ac-apply-necessary-quotes-to-result-of-mac.patch 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. From eb20884c9bbc42bdf1ccace4444f3ce72657d7d8 Mon Sep 17 00:00:00 2001
  2. From: Yousong Zhou <yszhou4tech@gmail.com>
  3. Date: Tue, 9 Sep 2014 20:15:16 +0800
  4. Subject: [PATCH 2/5] configure.ac: apply necessary quotes to result of macro
  5. expansion.
  6. This can fix the following error when searching for lzma support and
  7. while at it also apply the practice to other uses of the same pattern.
  8. checking for lzma_code in -llzma... ./configure: line 4756: ac_fn_c_try_link: command not found
  9. Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
  10. ---
  11. configure.ac | 12 ++++++------
  12. 1 file changed, 6 insertions(+), 6 deletions(-)
  13. diff --git a/configure.ac b/configure.ac
  14. index db93331..c410e90 100644
  15. --- a/configure.ac
  16. +++ b/configure.ac
  17. @@ -152,22 +152,22 @@ AC_CHECK_PROG([DIRNAME], dirname, dirname, "no", [$PATH])
  18. dnl See if I have a usable copy of zlib available
  19. if test "$with_zlib" = yes ; then
  20. AC_CHECK_HEADER(zlib.h,
  21. - AC_CHECK_LIB(z, inflateInit_, ,
  22. - AC_MSG_NOTICE([zlib support disabled])))
  23. + [AC_CHECK_LIB(z, inflateInit_, ,
  24. + AC_MSG_NOTICE([zlib support disabled]))])
  25. fi
  26. dnl See if I have a usable copy of lzma available
  27. if test "$with_lzma" = yes ; then
  28. AC_CHECK_HEADER(lzma.h,
  29. - AC_CHECK_LIB(lzma, lzma_code, ,
  30. - AC_MSG_NOTICE([lzma support disabled])))
  31. + [AC_CHECK_LIB(lzma, lzma_code, ,
  32. + AC_MSG_NOTICE([lzma support disabled]))])
  33. fi
  34. dnl find Xen control stack libraries
  35. if test "$with_xen" = yes ; then
  36. AC_CHECK_HEADER(xenctrl.h,
  37. - AC_CHECK_LIB(xenctrl, xc_kexec_load, ,
  38. - AC_MSG_NOTICE([Xen support disabled])))
  39. + [AC_CHECK_LIB(xenctrl, xc_kexec_load, ,
  40. + AC_MSG_NOTICE([Xen support disabled]))])
  41. fi
  42. dnl ---Sanity checks
  43. --
  44. 1.7.10.4