Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp5896402rdb; Sun, 17 Sep 2023 18:21:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGYmJiVlBTVWl812bvgfQztBddya35lQilILvoyBC6LoJnaZb9vEW+HpyJ8pFEz5725+yKk X-Received: by 2002:a17:902:e5c8:b0:1c3:868f:5958 with SMTP id u8-20020a170902e5c800b001c3868f5958mr14387494plf.20.1695000117686; Sun, 17 Sep 2023 18:21:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695000117; cv=none; d=google.com; s=arc-20160816; b=UJooOhalmD8gbSoAFjdi73kj4FpRCJY4OyhyubgTTpcNFP82HiFHUyUKNVKr2xVSvL Q4nnk4gG9RxozXAS53KeR2GA8WeASDmDA+Qdls7i0Vjt5szVe2X5py27INf3/9zIm2K3 o/OBXc3k0Jk//EGL1k0mCl0gTcbgpFifBdjU+OVn1XZCcJRalny7QxoAi11Wzvb8NEn7 kztHL8tCCeSc5nNjNBY3RB03WuM+nETrz9PHu2UBuHEGk1ssxOLxa+DPlt++jbL4fLRc vdNN+PVf81WKmjNPDyREXdOHCsRUt2SIyL79kPGRV+RNiVnE+qtcml9oOD9KUMRlnctf dvCw== 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=pgT3GambENkqLARXsJ0dek0HdDALPnm7Zj3avL9wRdg=; fh=4lGQI6056MBa4/oovMyIYaKLn+Wz/24RGvUivMmQP8E=; b=O582lXZEG/W4zBLhB0OoK3fX7EjQYZV0aPzENTV/LU+tU2Gx/bC+CpSbVvAUE76cZ4 8j1F2BZEAFoaIOQDUBZ0ENnljkArxSKyRMsNbCfj3ojFYorlyKCxxRb4jKcRD7JLOOaX 0YHx2qelIXpx3KVc1MqWwtEIJjc+bOy9qsepjtx+4lpXJYmLvyxgObWeiO4q4WkYGWyo JkPaHngbggpVYndxAKPY6idKe/wq5JdVhnUdsj2t/7EJG+YcegtomVaigjn1XqUKzQyT gVjwTYXC/aKjvF4UjOqaOS3N0pBR3H+ExHgKpMW2cW43rHV6HhUEmK8mmp6yAy0GTVSY N+Hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=lwSTvTdG; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id kh13-20020a170903064d00b001b8698d28d4si7191513plb.512.2023.09.17.18.21.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Sep 2023 18:21:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=lwSTvTdG; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 55E2D80579E4; Sun, 17 Sep 2023 10:27:01 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229957AbjIQR0B (ORCPT + 99 others); Sun, 17 Sep 2023 13:26:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232422AbjIQRZe (ORCPT ); Sun, 17 Sep 2023 13:25:34 -0400 Received: from smtp-relay-internal-0.canonical.com (smtp-relay-internal-0.canonical.com [185.125.188.122]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B62F612B for ; Sun, 17 Sep 2023 10:25:26 -0700 (PDT) Received: from mail-pj1-f71.google.com (mail-pj1-f71.google.com [209.85.216.71]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 673A73F149 for ; Sun, 17 Sep 2023 17:25:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1694971525; bh=pgT3GambENkqLARXsJ0dek0HdDALPnm7Zj3avL9wRdg=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=lwSTvTdGeTejadKUSutj6A9I1W424iFSWLlWykuTKjnr6HtzmJqDou/Hdw6G4OrTF SC631f1VeS1qnkt5lbjemjGoB23D9BYDb/qOqK5z/iL7FCQbcbdKp1tfxTPUcah1ft aKf6nVXEVkuUo72uSEnRKVQUxdYeEnFFx8trPAGZFf74c3d/Ep00ie+M1zXOoWGpbq TpXO+IWZ23hjmP1AFIdFRom4GqZ+UpY7k+nUChYKsphk0Saoc0Cnpn+HlnzyV3d2Uh X/LtRvwfgd/7bc5S68GURURE2vQBaF2Q9zINsNzamvO3EZNXe2Qmr5/0Wkzwwq4Qyy qQjd5Pp1brKtA== Received: by mail-pj1-f71.google.com with SMTP id 98e67ed59e1d1-27474c64aa0so2468816a91.0 for ; Sun, 17 Sep 2023 10:25:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694971523; x=1695576323; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=pgT3GambENkqLARXsJ0dek0HdDALPnm7Zj3avL9wRdg=; b=t2tviRT81t8VdjaXGKADccsotC9WSUkj/EEYQe4JUg3BEAN8ZGZbi4Np/3JwWZfuOR Exk1ZJYVK5/8jfJSLXrlIXfJsex0tt+hGpevhsLfvOyGt2jNwGVFV7a9jq7neTwHe03u WomKlgltBEkfJfA5IUNhmrHZhG6eJD9m9IHD+O5OKfVlH2MgyLhUEm8c0ZtJCxVxRdAX Zwt8SFDca/Hvlyc6o3KtfSrNi3r4uYiVCUzaQ2oL695GhBiWg1zYnjGfC8N2mKHZGGw5 LO9IgCTEZ8CXDQj52QNjNbYrT1Z4hcoGrkLsqJXmIQwxTuHkv/y4rBdNX1Ggd/MZF325 eKdw== X-Gm-Message-State: AOJu0YzaqTe1N6o1VKpewLQnG05gklGb8fFr0bqALku7myGSLoQxntU8 9RAAIWe7aOTklx/6nD9tyeETrSQzA24P5b7HqV+2LWX5ut89scjcii1d+zeBw6Z6+J7lTOxY+Bk T5f0w/UMi0v2A03OAmx/Gr7nENqZpg6uuxp4+gR/Djj28ygO7FtzY2g== X-Received: by 2002:a17:90b:4d8a:b0:276:696b:1dd9 with SMTP id oj10-20020a17090b4d8a00b00276696b1dd9mr634187pjb.15.1694971523354; Sun, 17 Sep 2023 10:25:23 -0700 (PDT) X-Received: by 2002:a17:90b:4d8a:b0:276:696b:1dd9 with SMTP id oj10-20020a17090b4d8a00b00276696b1dd9mr634171pjb.15.1694971522986; Sun, 17 Sep 2023 10:25:22 -0700 (PDT) Received: from canonical.com (125-228-206-109.hinet-ip.hinet.net. [125.228.206.109]) by smtp.gmail.com with ESMTPSA id bv6-20020a632e06000000b0056001f43726sm5527897pgb.92.2023.09.17.10.25.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Sep 2023 10:25:21 -0700 (PDT) From: Koba Ko To: linux-bluetooth@vger.kernel.org Subject: [PATCH] [BlueZ V2] configure.ac: Add enable_btpclient and enable_mesh for internal ELL Date: Mon, 18 Sep 2023 01:25:20 +0800 Message-Id: <20230917172520.46145-1-koba.ko@canonical.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Sun, 17 Sep 2023 10:27:01 -0700 (PDT) when checking enable_external_ell != 'yes', even enable_btpclient and enable_mesh are not enabled. configure still prompt the error. Then ELL must be installed to pass the configure. Signed-off-by: Koba Ko ~~~ V2: * correct the wrong-spelling * add BlueZ tag * rephrase the commit description * change the '&&' to '||' condition. --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 4186c3792..54a609ad2 100644 --- a/configure.ac +++ b/configure.ac @@ -301,7 +301,8 @@ if (test "${enable_external_ell}" = "yes"); then AC_SUBST(ELL_CFLAGS) AC_SUBST(ELL_LIBS) fi -if (test "${enable_external_ell}" != "yes"); then +if (test "${enable_external_ell}" != "yes" && + (test "${enable_btpclient}" = "yes" || test "${enable_mesh}" = "yes")); then if (test ! -f ${srcdir}/ell/ell.h) && (test ! -f ${srcdir}/../ell/ell/ell.h); then AC_MSG_ERROR(ELL source is required or use --enable-external-ell) -- 2.34.1