Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3843779pxj; Tue, 11 May 2021 13:11:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxsOfeOG6AMcXVZmB5nWrkk9uXNZlFWiexqhya15BM5ODIPgYhFhFBXydPXviv5wmdw/+go X-Received: by 2002:a05:6402:696:: with SMTP id f22mr2029814edy.131.1620763860208; Tue, 11 May 2021 13:11:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620763860; cv=none; d=google.com; s=arc-20160816; b=c5LVjNHvhhnbeuHY3t9eJNqneyd8al7cLtU2qxKGOIGhunc++Bd1uNAsVbeH/PEWaZ 5iTQz0hjtNPu9W4epQrsg3Q8cvIqJ/hwZm74xOAobo9pIo2ZDTNzwswH0fDvLcLZ13mt 6DZ7LS2arSNOLxmyK+PGjg6pmwCDfCSyPY0YmFdbWGUO98x1ATWuKCsBzx2sB6Ec80/T /ODLX527Wq+1n0d2Avd0hqQ+9B2Hkmv/7lsIVRRNNpsZzgGUrYvD9WHCgVkq0zFlZm6Y ymS6xY0sXpj1z5p2Xwuk/JJENo7dOKY1eAbmPTap9/xvB61idbERMYNP3WriuVZuEwN9 FOJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:to:from:dkim-signature; bh=3qZDwzy2nMHUs6TgK3apG4VfEIUTtWnOQyxOVKFgvAo=; b=u1xBGt6MyNuTOS/mi0Bx1P1XRhGWO7B9l0RjdJTrbnCbBr8gWkg0Ompqeq6IF22563 /HQ1efFQuTkjStzWmbF/d/U5ny7bLnyPHIZbGClYKIIyJ9oAf8l1WNcUwPt17MBhAQbA lae001/gNTgk3KIDFvU3xS9+hfsi5A15scr+D3zJlvZDDRT/rEiBhfj496u81+ipOnfP Vyn5+x1iqXK7/VqgGH2Heg2acwM4D86nmUxvhXdtqtGD74NoUNwMAoTYGB8IiPdGPoFL M4edoYboguuKsMODisTXV24LezqMFfnmjP1+uE2M+MM4m4yoAMsUtLFHF8GK5MRnUArz WkuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="Z1nWu/sw"; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u16si21645483eje.91.2021.05.11.13.10.20; Tue, 11 May 2021 13:11:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="Z1nWu/sw"; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229710AbhEKUJx (ORCPT + 99 others); Tue, 11 May 2021 16:09:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229548AbhEKUJw (ORCPT ); Tue, 11 May 2021 16:09:52 -0400 Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 280DBC061574 for ; Tue, 11 May 2021 13:08:46 -0700 (PDT) Received: by mail-pj1-x1029.google.com with SMTP id gj14so12282969pjb.5 for ; Tue, 11 May 2021 13:08:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=3qZDwzy2nMHUs6TgK3apG4VfEIUTtWnOQyxOVKFgvAo=; b=Z1nWu/sw6Uu4OPDVvbMeRVRXSUsvyDhIx3Wu6qjgTB9rJxzYjG1fTnptUDHdN7ciF4 3FJncFv7CKmUP8YICn50Jd0XG8mgislGTp7T1z5Mgf+0HrO0hbfPQ2kMS+8x/y1+0BEz LlK/suf94sRI1cJYNxfVfHEb8ZRxpGfcR0rs1taj13JW+3VuI3VIjwUkFFWBXu1nI6lY vBba79MuIAQslyNayKCsN2B3r4RheKTmD9/vYI/xaELGGDMc7wpRt8rXj+p5smCAwfsV UlN+6QJ6y06IHEsipRb6QY85C1ljlPfw4p0mmtRejX6jiRz/vrJDePflOKnr2iIi/ThH QycA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=3qZDwzy2nMHUs6TgK3apG4VfEIUTtWnOQyxOVKFgvAo=; b=L7W0UVRDIpoip5HixMa4/8odU2MkG1P5E8jCQXUrRJNPP6eyDoEBjrXBPxtvPsnqc1 o++Ge9o8RkCXkP0FgAS84A0oOD4y8zUlaOIBaGhsdr/xlcL1h+VvgavNPMz6N715hIRv F5luBHGlqipB2sb0VRNTYN0eUb5RZuK/8HRZ0cyOGxbJODoMl6FJYHkAQjn0YLFkQ02r wUTsPLhofDglwAxgKq4BBlkvsRFHtosRWb5h0tTIh8n3MYphScyQOIYgkgXkZPhmBXBq fyHreRQkpjdoWzFsXF5XOvkyfVqxzNvvMl5OJpHIol3XfWnHuRt1fHdU48aptLt+c3qA 43sw== X-Gm-Message-State: AOAM532e/2LXN36W8OysZxANEQBzVUAPNNSrUfaPRJWbuoQKckGnx0os WRNuscHLyOkVe6QlcNEurqoUdKYu0twAZQ== X-Received: by 2002:a17:90a:d493:: with SMTP id s19mr7050714pju.200.1620763725320; Tue, 11 May 2021 13:08:45 -0700 (PDT) Received: from han1-mobl3.hsd1.or.comcast.net ([2601:1c0:6a01:d830::512a]) by smtp.gmail.com with ESMTPSA id u15sm2835224pju.44.2021.05.11.13.08.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 May 2021 13:08:44 -0700 (PDT) From: Tedd Ho-Jeong An To: linux-bluetooth@vger.kernel.org Subject: [BlueZ PATCH v2 1/2] config: Show error if rst2man not found when manpages are enabled Date: Tue, 11 May 2021 13:08:42 -0700 Message-Id: <20210511200843.1741595-1-hj.tedd.an@gmail.com> X-Mailer: git-send-email 2.26.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org From: Tedd Ho-Jeong An This patch adds a check if the conversion tool is installed when the manpages is enabled, and show error if it is not installed. --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index f445589b0..2b044f8e5 100644 --- a/configure.ac +++ b/configure.ac @@ -328,6 +328,9 @@ AC_ARG_ENABLE(manpages, AC_HELP_STRING([--enable-manpages], [enable_manpages=${enableval}]) if (test "${enable_manpages}" != "no"); then AC_CHECK_PROGS(RST2MAN, [rst2man rst2man.py], "no") + if (test "${RST2MAN}" = "no" ); then + AC_MSG_ERROR([rst2man is required]) + fi fi AM_CONDITIONAL(MANPAGES, test "${enable_manpages}" = "yes") AM_CONDITIONAL(RUN_RST2MAN, test "${enable_manpages}" = "yes" && test "${RST2MAN}" != "no") -- 2.26.3