Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp1249724ioo; Fri, 27 May 2022 05:01:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJynSwokiKjuj95Ra9mZSdbw10C0HxC3jndPl8DUb8kj+exBj5guvB98pUTfJstKkAYlsskz X-Received: by 2002:a17:903:187:b0:162:4a31:f6ab with SMTP id z7-20020a170903018700b001624a31f6abmr17201312plg.36.1653652914603; Fri, 27 May 2022 05:01:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653652914; cv=none; d=google.com; s=arc-20160816; b=dph/N/N6E0QpuCDUrXm1N+RceWTmBVHjHImwM3yR86qpZvAue/3LpWXeBEp6ezjQTO vCPnt6s4itaKY9JdvsL1BPmXcDxL+tQKwByrS6zgI0nV+vzIglMGpF/QncJPfdvWlpk8 n41C+v5ceLUCg7zDt7OhQfFhsNwCVn4IsTRvMq6ya2JqLjJdpLcOuJu02SATSctcrzwA KDaam5fw8a1B/jgzKv9A7ucl2mHlgJN52nCDd8h2u4pPCN86e2S9Ytc0LMQs0ZF7m/Mw jEUT981K+oNAFn5vCrg12VdNF/BvwbNBVds1mNMfB6NO7iYZfGSNZ3iQkxYoDvWMRzUg C0iw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:references:in-reply-to :cc:to:from:mime-version:content-transfer-encoding:dkim-signature :dkim-signature; bh=k+VLs/ptLNRNc758ahB/bYDsXtivmnabg9305OYQntA=; b=RcXSZftNJaEa8wvFvg85hmy1QIYRyfEWSzMKHIpdV2PJAyF6dwFmoWtZA04uE8VzDg 5DxbHSB7XzEtzDofqFPWHg4y2cdkQCv2uCHukag8zEHcJ3JShm9kugPzYuEB/YNP05GJ uJDyar55Z55OnzG13RLKERovRrN5Wl17gwVNaRBLp5pNDAe+nm5eo8bpFoheba2UBOcT KvvBPsvGsEGlgWc9+l0hDEL6t7T7tAtn60RgTr3DuoPgR4c34wtdUCegvfc9eajb55G8 HI1Li7qi57Ym0zd8IfqUi7ENQzKEhq8gdLA2vkb9HEENHl5L/ugQMum0szprrlrnHgrg cbxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=RIf132LI; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=ifnZkK24; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b19-20020a170902b61300b001639f0ff47esi975021pls.40.2022.05.27.05.01.35; Fri, 27 May 2022 05:01:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=RIf132LI; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=ifnZkK24; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237156AbiE0F15 (ORCPT + 99 others); Fri, 27 May 2022 01:27:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231840AbiE0F1z (ORCPT ); Fri, 27 May 2022 01:27:55 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 00156EBAA5 for ; Thu, 26 May 2022 22:27:54 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id AD06C21A17; Fri, 27 May 2022 05:27:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1653629273; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=k+VLs/ptLNRNc758ahB/bYDsXtivmnabg9305OYQntA=; b=RIf132LIcgdNvwJeF67kNBp2dQj+hxxz4CJ5CueU8YSWiZCxcb3SvfJMYrfDDMn41QA0wO YjdAg76CapngdYOrg7cD0EdeaZA+wvxyLeKNxcCWQWvBmNBTQmsLwTVY6W0YLWQhz0+eKn gO1xUwv7HnTNGzpo43R8d7jYF4lr09g= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1653629273; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=k+VLs/ptLNRNc758ahB/bYDsXtivmnabg9305OYQntA=; b=ifnZkK243Zmc2Vb6i46tezRkEZlisagGQdKrXP0/b+nv2kaEotoon5+zMi5/fHauUxTUBP UFLC4ExGYvrXnFDw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id DDB871346B; Fri, 27 May 2022 05:27:52 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id I/iSJlhhkGI4ewAAMHmgww (envelope-from ); Fri, 27 May 2022 05:27:52 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 From: "NeilBrown" To: Steve Dickson Cc: Linux NFS Mailing List In-reply-to: <165352672998.11129.5573262612495384287@noble.neil.brown.name> References: <165352672998.11129.5573262612495384287@noble.neil.brown.name> Subject: [PATCH nfs-utils] autoconf: change tirpc to check for a file, not for an include Date: Thu, 26 May 2022 10:59:58 +1000 Message-id: <165352679825.11129.7422243280120268766@noble.neil.brown.name> X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DATE_IN_PAST_24_48, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org Recent autoconf don't like variables in AC_CHECK_INCLUDE so we get a warning. In libtirpc.m4 we only need to check for the existence of a file, we don't need to extra support for includes, such as defining HAVE_TIRPC_H or whatever. So change from AC_CHECK_INCLUDE to AC_CHECK_FILE. Signed-off-by: NeilBrown --- aclocal/libtirpc.m4 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aclocal/libtirpc.m4 b/aclocal/libtirpc.m4 index f7de5193c177..bddae0226931 100644 --- a/aclocal/libtirpc.m4 +++ b/aclocal/libtirpc.m4 @@ -49,9 +49,9 @@ AC_DEFUN([AC_LIBTIRPC_OLD], [ dnl Also must have the headers installed where we expect dnl to look for headers; add -I compiler option if found AS_IF([test "$has_libtirpc" =3D "yes"], - [AC_CHECK_HEADERS([${tirpc_header_dir}/netconfig.h], - [AC_SUBST([AM_CPPFLAGS], ["-I${tirpc_header_dir}"]= )], - [has_libtirpc=3D"no"])]) + [AC_CHECK_FILE([${tirpc_header_dir}/netconfig.h], + [AC_SUBST([AM_CPPFLAGS], ["-I${tirpc_header_dir}"])], + [has_libtirpc=3D"no"])]) =20 dnl Now set $LIBTIRPC accordingly AS_IF([test "$has_libtirpc" =3D "yes"], --=20 2.36.1