Return-path: Received: from kirsty.vergenet.net ([202.4.237.240]) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YKhL3-0003kv-Bj for kexec@lists.infradead.org; Mon, 09 Feb 2015 05:56:55 +0000 Date: Mon, 9 Feb 2015 14:56:30 +0900 From: Simon Horman Subject: Re: [PATCH 1/3] configure.ac: quote result of AC_CHECK_LIB() Message-ID: <20150209055630.GB29385@verge.net.au> References: <1422720608-28700-1-git-send-email-yszhou4tech@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1422720608-28700-1-git-send-email-yszhou4tech@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: Yousong Zhou Cc: kexec@lists.infradead.org On Sun, Feb 01, 2015 at 12:10:06AM +0800, Yousong Zhou wrote: > Fix the following error when searching for lzma support. > > checking for lzma_code in -llzma... ./configure: line 4756: ac_fn_c_try_link: command not found This change does more than the changelog suggests. Please either update the change log or split the patch up. > Signed-off-by: Yousong Zhou > --- > configure.ac | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/configure.ac b/configure.ac > index 4e15cb0..212e838 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -152,22 +152,22 @@ AC_CHECK_PROG([DIRNAME], dirname, dirname, "no", [$PATH]) > dnl See if I have a usable copy of zlib available > if test "$with_zlib" = yes ; then > AC_CHECK_HEADER(zlib.h, > - AC_CHECK_LIB(z, inflateInit_, , > - AC_MSG_NOTICE([zlib support disabled]))) > + [AC_CHECK_LIB(z, inflateInit_, , > + AC_MSG_NOTICE([zlib support disabled]))]) > fi > > dnl See if I have a usable copy of lzma available > if test "$with_lzma" = yes ; then > AC_CHECK_HEADER(lzma.h, > - AC_CHECK_LIB(lzma, lzma_code, , > - AC_MSG_NOTICE([lzma support disabled]))) > + [AC_CHECK_LIB(lzma, lzma_code, , > + AC_MSG_NOTICE([lzma support disabled]))]) > fi > > dnl find Xen control stack libraries > if test "$with_xen" = yes ; then > AC_CHECK_HEADER(xenctrl.h, > - AC_CHECK_LIB(xenctrl, xc_kexec_load, , > - AC_MSG_NOTICE([Xen support disabled]))) > + [AC_CHECK_LIB(xenctrl, xc_kexec_load, , > + AC_MSG_NOTICE([Xen support disabled]))]) > fi > > dnl ---Sanity checks > -- > 1.7.10.4 > _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec