From patchwork Thu Jan 27 13:48:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Martin_Li=C5=A1ka?= X-Patchwork-Id: 50489 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id E49CB3945C14 for ; Thu, 27 Jan 2022 13:49:16 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by sourceware.org (Postfix) with ESMTPS id 7749E3858437; Thu, 27 Jan 2022 13:49:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7749E3858437 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.cz 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 69131218CE; Thu, 27 Jan 2022 13:48:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1643291339; 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; bh=2wE9blk0Zcn9wqZjA0D1CFKvkIlTv1EDarpYplaD87s=; b=q/w5sCWudYu4Z5xvxOn034XNG/aM5HU3Thj5OS1eiiaLbPKdu6YVBwQYOxQa8phv844ovq NcYhUlaScc9Rz1VaTOdsnNxnK5Khcy2AE2Q7G6cLzFV3aCI6lOJzFDCHaK1otLuzEPecXC Ec1iGKLt19fr4kElE1TZJ5iqIxBVriw= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1643291339; 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; bh=2wE9blk0Zcn9wqZjA0D1CFKvkIlTv1EDarpYplaD87s=; b=Kyk0V/OePVweDBlFG3chVbmHgEWT+HwHK/RmpsD1cjbKhNOpdilO2rkbxpKpDWMtWr0ge9 VV08Xb1d5EoE0ZBQ== 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 5297713BD0; Thu, 27 Jan 2022 13:48:59 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id uS4qE8ui8mHnKgAAMHmgww (envelope-from ); Thu, 27 Jan 2022 13:48:59 +0000 Message-ID: Date: Thu, 27 Jan 2022 14:48:58 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 From: =?utf-8?q?Martin_Li=C5=A1ka?= Subject: [PATCH] libstdc++: fix typo in acinclude.m4. To: gcc-patches@gcc.gnu.org Content-Language: en-US X-Spam-Status: No, score=-11.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: libstdc++ , redi@gcc.gnu.org Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" Hi. May I install an obvious typo that causes build error (described in the PR). Ready to be installed? Thanks, Martin PR libstdc++/104259 libstdc++-v3/ChangeLog: * acinclude.m4: Fix typo. * configure: Regenerate. --- libstdc++-v3/acinclude.m4 | 2 +- libstdc++-v3/configure | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libstdc++-v3/acinclude.m4 b/libstdc++-v3/acinclude.m4 index 7b6b807114a..a93252076b9 100644 --- a/libstdc++-v3/acinclude.m4 +++ b/libstdc++-v3/acinclude.m4 @@ -4744,7 +4744,7 @@ dnl [glibcxx_cv_fdopendir=yes], [glibcxx_cv_fdopendir=no]) ]) - if test $glibcxx_cv_truncate = yes; then + if test $glibcxx_cv_fdopendir = yes; then AC_DEFINE(HAVE_FDOPENDIR, 1, [Define if fdopendir is available in .]) fi dnl diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure index 5c6e51f5c11..2b2f85782b1 100755 --- a/libstdc++-v3/configure +++ b/libstdc++-v3/configure @@ -77080,7 +77080,7 @@ fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fdopendir" >&5 $as_echo "$glibcxx_cv_fdopendir" >&6; } - if test $glibcxx_cv_truncate = yes; then + if test $glibcxx_cv_fdopendir = yes; then $as_echo "#define HAVE_FDOPENDIR 1" >>confdefs.h