From patchwork Fri Jan 23 13:52:06 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yousong Zhou X-Patchwork-Id: 432169 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 537981402A0 for ; Sat, 24 Jan 2015 01:04:22 +1100 (AEDT) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 1713F28BE4E; Fri, 23 Jan 2015 15:01:04 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 9153228BE3A for ; Fri, 23 Jan 2015 15:00:38 +0100 (CET) X-policyd-weight: using cached result; rate: -8.5 Received: from mail-pd0-f181.google.com (mail-pd0-f181.google.com [209.85.192.181]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Fri, 23 Jan 2015 15:00:25 +0100 (CET) Received: by mail-pd0-f181.google.com with SMTP id g10so6155132pdj.12 for ; Fri, 23 Jan 2015 06:02:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=N7uwGFU51ZdwK2OxpFWPiSMJkAQ2th6/3nFYHnZihVc=; b=q0WVr+gEZ9CN/hU+Ly4rk+KxFnSX03CMJXYD8BLPgrUrR15YlLIvqs1hYcBDM3Jmfk Lf50E1Xika07oMBc5oXYJel1WK8gV9hMJ1S04V7yk6HXa7nBDmrZUnrCV7E18kfHT4hh EaliXc6uK7b1/49QUtGZiSnrZXUMHaRCDALhFBLP8Gp7e+kf9wjQ7gQGsh+sfixGkm08 NttaGRwUWhyeF+M9xv0apahWuFeKxAXqj1fXD/bOu6/ksyr2B27B5pv8PIk9fl82c6I7 8Kn3nozYdR0KVJpybEotFXNM7awRD/HHEP4nYtRCMh0Q9Nit9At/XxSEDsNbl+5ynQxm 64aw== X-Received: by 10.68.223.196 with SMTP id qw4mr11731966pbc.26.1422021766203; Fri, 23 Jan 2015 06:02:46 -0800 (PST) Received: from debian.corp.sankuai.com ([103.29.140.56]) by mx.google.com with ESMTPSA id pb6sm1459568pdb.93.2015.01.23.06.02.43 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Jan 2015 06:02:44 -0800 (PST) From: Yousong Zhou To: blogic@openwrt.org Date: Fri, 23 Jan 2015 21:52:06 +0800 Message-Id: <1422021132-24526-2-git-send-email-yszhou4tech@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1422021132-24526-1-git-send-email-yszhou4tech@gmail.com> References: <1422021132-24526-1-git-send-email-yszhou4tech@gmail.com> Cc: openwrt-devel@lists.openwrt.org Subject: [OpenWrt-Devel] [RFC 1/7] kexec-tools: add patch for fixing kexec-tools' configure.ac. X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" Add necessary quoting to fix the following error when running the generated configure script. checking for lzma_code in -llzma... ./configure: line 4756: ac_fn_c_try_link: command not found Signed-off-by: Yousong Zhou --- .../kexec-tools/patches/101-fix-configure_ac.patch | 33 ++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 package/boot/kexec-tools/patches/101-fix-configure_ac.patch diff --git a/package/boot/kexec-tools/patches/101-fix-configure_ac.patch b/package/boot/kexec-tools/patches/101-fix-configure_ac.patch new file mode 100644 index 0000000..8b02f8d --- /dev/null +++ b/package/boot/kexec-tools/patches/101-fix-configure_ac.patch @@ -0,0 +1,33 @@ +Index: kexec-tools-2.0.4/configure.ac +=================================================================== +--- kexec-tools-2.0.4.orig/configure.ac 2014-08-29 17:15:17.935820544 +0800 ++++ kexec-tools-2.0.4/configure.ac 2014-08-29 17:15:30.120331580 +0800 +@@ -147,22 +147,22 @@ + 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_version, , +- AC_MSG_NOTICE([Xen support disabled]))) ++ [AC_CHECK_LIB(xenctrl, xc_version, , ++ AC_MSG_NOTICE([Xen support disabled]))]) + if test "$ac_cv_lib_xenctrl_xc_version" = yes ; then + AC_CHECK_FUNCS(xc_get_machine_memory_map) + fi