From patchwork Thu Aug 2 17:29:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geoff Levand X-Patchwork-Id: 952917 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41hHLB2x6Tz9s2g for ; Fri, 3 Aug 2018 03:32:18 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=infradead.org header.i=@infradead.org header.b="I8ttuGe0"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 41hHLB1PF6zF2DP for ; Fri, 3 Aug 2018 03:32:18 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=infradead.org header.i=@infradead.org header.b="I8ttuGe0"; dkim-atps=neutral X-Original-To: Petitboot@lists.ozlabs.org Delivered-To: Petitboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=none (mailfrom) smtp.mailfrom=infradead.org (client-ip=2001:8b0:10b:1231::1; helo=merlin.infradead.org; envelope-from=geoff@infradead.org; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=infradead.org header.i=@infradead.org header.b="I8ttuGe0"; dkim-atps=neutral Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 41hHH74s7tzF2D3 for ; Fri, 3 Aug 2018 03:29:38 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Date:Cc:To:Subject:From:References: In-Reply-To:Message-Id:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=6W7YFmYZqZVmxRBtVV9npS9MJkBUfePmdqUOKEUn4n0=; b=I8ttuGe0Qht0VDaOIDnmNjO3i 8MAsj6Go31dUBM7qAM+yyE3qem2K+tDVLmU7WH8j3mv/NXZ1g96g0fvKS5e2AaANlxtwKnkn9SNyt fi/peud65wLwPpz3b5mUTI+1wpNymTBtUJaSYHW6AzF+3twaDAnluATF+CAU4aMHhO8+G+Zw4jj+u Uqx/la58NBMPiXZa8+fzf9UbHRQcnQWEf3C/7g94SPsjRvAHzniAIfOzbUCAG+D1jeBEYur5wntU9 qaPD+xcZ3mSu4QTF/BNNDUIaMV1vCgiSN1v23XxfvBbEo1Vt6mvxzLlOdQq6LPDQOzR0/P53RDpdX CaTiFogfg==; Received: from geoff by merlin.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1flHPp-0007WN-Je; Thu, 02 Aug 2018 17:29:33 +0000 Message-Id: In-Reply-To: References: From: Geoff Levand Patch-Date: Thu, 2 Aug 2018 10:19:53 -0700 Subject: [PATCH v2 02/30] configure: Add check for UI build To: Samuel Mendoza-Jonas Date: Thu, 02 Aug 2018 17:29:33 +0000 X-BeenThere: petitboot@lists.ozlabs.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Petitboot bootloader development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ge Song , Petitboot@lists.ozlabs.org MIME-Version: 1.0 Errors-To: petitboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Petitboot" Emit configure warning if no UI program is to be built. Signed-off-by: Geoff Levand --- configure.ac | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configure.ac b/configure.ac index f12e48d..d02c85f 100644 --- a/configure.ac +++ b/configure.ac @@ -135,6 +135,13 @@ AM_CONDITIONAL( [WITH_TWIN], [test "x$with_twin_x11" = "xyes" || test "x$with_twin_fbdev" = "xyes"]) +AS_IF( + [test "x$with_twin_x11" != "xyes" && \ + test "x$with_twin_fbdev" != "xyes" && \ + test "x$ax_cv_curses" != "xyes"], + [AC_MSG_WARN([ No user interface programs configured. Consider using --with-ncurses, --with-twin-x11 or --with-twin-fbdev'])] +) + AS_IF( [test "x$with_twin_x11" = "xyes" || test "x$with_twin_fbdev" = "xyes"], [PKG_CHECK_MODULES(