kexec-tools: bump version from v2.0.4 to v2.0.9.
[openwrt/svn-archive/archive.git] / package / boot / kexec-tools / patches / 0002-configure.ac-apply-necessary-quotes-to-result-of-mac.patch
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
7 This can fix the following error when searching for lzma support and
8 while at it also apply the practice to other uses of the same pattern.
9
10 checking for lzma_code in -llzma... ./configure: line 4756: ac_fn_c_try_link: command not found
11
12 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
13 ---
14 configure.ac | 12 ++++++------
15 1 file changed, 6 insertions(+), 6 deletions(-)
16
17 diff --git a/configure.ac b/configure.ac
18 index db93331..c410e90 100644
19 --- a/configure.ac
20 +++ b/configure.ac
21 @@ -152,22 +152,22 @@ AC_CHECK_PROG([DIRNAME], dirname, dirname, "no", [$PATH])
22 dnl See if I have a usable copy of zlib available
23 if test "$with_zlib" = yes ; then
24 AC_CHECK_HEADER(zlib.h,
25 - AC_CHECK_LIB(z, inflateInit_, ,
26 - AC_MSG_NOTICE([zlib support disabled])))
27 + [AC_CHECK_LIB(z, inflateInit_, ,
28 + AC_MSG_NOTICE([zlib support disabled]))])
29 fi
30
31 dnl See if I have a usable copy of lzma available
32 if test "$with_lzma" = yes ; then
33 AC_CHECK_HEADER(lzma.h,
34 - AC_CHECK_LIB(lzma, lzma_code, ,
35 - AC_MSG_NOTICE([lzma support disabled])))
36 + [AC_CHECK_LIB(lzma, lzma_code, ,
37 + AC_MSG_NOTICE([lzma support disabled]))])
38 fi
39
40 dnl find Xen control stack libraries
41 if test "$with_xen" = yes ; then
42 AC_CHECK_HEADER(xenctrl.h,
43 - AC_CHECK_LIB(xenctrl, xc_kexec_load, ,
44 - AC_MSG_NOTICE([Xen support disabled])))
45 + [AC_CHECK_LIB(xenctrl, xc_kexec_load, ,
46 + AC_MSG_NOTICE([Xen support disabled]))])
47 fi
48
49 dnl ---Sanity checks
50 --
51 1.7.10.4
52