From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9FFF8C33C9E for ; Wed, 29 Jan 2020 01:03:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7D0B5205F4 for ; Wed, 29 Jan 2020 01:03:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726659AbgA2BDU (ORCPT ); Tue, 28 Jan 2020 20:03:20 -0500 Received: from ishtar.tlinx.org ([173.164.175.65]:42064 "EHLO Ishtar.sc.tlinx.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726340AbgA2BDU (ORCPT ); Tue, 28 Jan 2020 20:03:20 -0500 X-Greylist: delayed 1519 seconds by postgrey-1.27 at vger.kernel.org; Tue, 28 Jan 2020 20:03:20 EST Received: from [192.168.3.12] (Athenae [192.168.3.12]) by Ishtar.sc.tlinx.org (8.14.7/8.14.4/SuSE Linux 0.8) with ESMTP id 00T0bwu8058366 for ; Tue, 28 Jan 2020 16:38:00 -0800 Message-ID: <5E30D3E6.6050300@tlinx.org> Date: Tue, 28 Jan 2020 16:37:58 -0800 From: L A Walsh User-Agent: Thunderbird MIME-Version: 1.0 CC: Linux-Kernel Subject: Re: [PATCH] build-sys: fix configure --without-systemd Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020/01/28 04:07, Karel Zak wrote: > On Fri, Jan 24, 2020 at 12:29:47PM -0500, Theodore Ts'o wrote: > >> AC_ARG_WITH([systemd], >> AS_HELP_STRING([--without-systemd], [do not build with systemd support]), >> - [], [with_systemd=check] >> + [], [with_systemd=no] >> > > The current default is to check for the libraries, if installed than > enable systemd support. This is generic way we use for many libs and > features. Why do you think that explicit --enable-* will be better? > --- Perhaps Ted didn't realize that the line he replaced was only the default action (1st bracket pair empty => no option). Initially, I thought the same until I read further down (two lines): have_systemd=no AS_IF([test "x$with_systemd" != xno], [ ... test for positive case ] If any of the tests fail, then 'have_systemd=no' is the option passed along. I don't _think_ Ted is asking for for the default to be changed, as the subject of his note states it is to fix the "--without-systemd" case, but a fix was added for a bug that wasn't present, so I don't think he knowingly did what he intended to do.