From patchwork Wed Jan 10 02:04:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Frysinger X-Patchwork-Id: 186667 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2411:b0:101:2151:f287 with SMTP id m17csp530206dyi; Tue, 9 Jan 2024 18:05:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IHHah+h/dDFkS9r/pw4dkum1PM7odiXXL67mqNtlNaKEXbpXgN/8HBY3RMEw3rT6IMYN+ob X-Received: by 2002:a05:622a:11c4:b0:429:9944:31c8 with SMTP id n4-20020a05622a11c400b00429994431c8mr487737qtk.30.1704852358450; Tue, 09 Jan 2024 18:05:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1704852358; cv=pass; d=google.com; s=arc-20160816; b=Lvxs9souz6xi46xxL4pcXHzG6BoiGyCZxgBfcVRFF8VFS5z6/4mfrjJm2tA3o1PGV5 ZGpJCx4Nh/hoXtDPXZaBSZWf0qSBrnQl7Vh6ss/19fqUxbCx96qsgSfXuszPL9PBYbxL q6HllLH2YlSXTE1wn62Y4UqM04WmRMuwLaCBfNCUNzgTMYBoVYOzZLjJaQZvSq48J3T2 NwiPtJqg9ElY1eZYgJ2l0IT8BIliKwghWk7H0X0cSXAXMEW4FM5f/DXnMkbK3e8ZFBgU ZKF19KcWcvEzS7cxB8ZvtvQj5Oe4Bnpw/bp3s0Q3BtOSdKX3CjdO06yIFytVZappMlh2 g1PQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:arc-filter :dmarc-filter:delivered-to; bh=0j5pISTJC4eEC+nA/Q43n2TBC0OmYr3V3QaOZqD9L4o=; fh=hPrbWPhweUx4V0GV9uXJqbyAzg2ABmTz7kczrAQqMmM=; b=biG2AwvpkncJdn1wq9zN7T9cfqDgSzjaqtCaBs5jp+aRmtsdUhzNoqXYDvNrw6f6Q7 NUWvOZpId+DZcMWMOCwR/ITW7JZKtQ6V0LjLK8DA0+Wj3EMgjSF/3UqMnBplT7Owgivc hifTNjIZSM19ZnYxKUrbJVn29FcyIP7TpBxw3bntekgKQWONF9TTrARap3g60uTDbPMV ht3owZnP19pod2+GB58hxhEXbyR1IqyXRg4io0pcRWwSJ2eDYw3SK/YmPafRJDjNnwFt IjV/cxTHMHIPrTQ7MyFRCiVEjO7AH69OtdyheiYB2pYmXCXHEzT5sZ9OGRKqDaO7HMHJ JT7w== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gentoo.org Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id z7-20020a05622a028700b00429a1b55540si3075229qtw.244.2024.01.09.18.05.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 18:05:58 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gentoo.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D71FE38582A2 for ; Wed, 10 Jan 2024 02:05:57 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) by sourceware.org (Postfix) with ESMTP id 5B7903858D33 for ; Wed, 10 Jan 2024 02:04:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5B7903858D33 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gentoo.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gentoo.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 5B7903858D33 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2001:470:ea4a:1:5054:ff:fec7:86e4 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704852291; cv=none; b=apqQFuwQvEtF/CgEileh6/a5WBaKWnb3Oai1uSUYtOf/6n4XQccXwSVElP8Kils8Wu6f2SthYENzXPbG4Kz5sON9hddWMWLv6EcHjekd7I3ySikbFGWpccfQ5ul2zNOCkDmgZqJHz8I7smnTKUYhJAc6rt2HEdMk7ZK6i77b9n8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704852291; c=relaxed/simple; bh=eOj4ioI7P2cl6Rvq957Bb2RcTXXi+NMEU3wVcALWUAU=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=ChZgC6kZDtfuM9r1ymkBH+fBjI6cbGElK8Kf4nKgyHdFXRXUf87l0h/+gIr/kv5AN4Ho/IHkKG3oycaFQ5UWZZr6+FbpNRiY4CgsUSmW5K2vzanNe8oN39Qz7/G8kzmfomgqF12lhPGcX/VnWSd6q466VosbWcH3jj0lcxDEoms= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by smtp.gentoo.org (Postfix, from userid 559) id DD0AA34334C; Wed, 10 Jan 2024 02:04:47 +0000 (UTC) From: Mike Frysinger To: gcc-patches@gcc.gnu.org Subject: [PATCH] config: delete unused CYG_AC_PATH_LIBERTY macro Date: Tue, 9 Jan 2024 21:04:45 -0500 Message-ID: <20240110020445.23201-1-vapier@gentoo.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Spam-Status: No, score=-10.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, JMQ_SPF_NEUTRAL, KAM_ASCII_DIVIDERS, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP, 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 server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787667266555350934 X-GMAIL-MSGID: 1787667266555350934 Nothing uses this, so delete it to avoid confusion. config/ChangeLog: * acinclude.m4 (CYG_AC_PATH_LIBERTY): Delete. --- config/acinclude.m4 | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/config/acinclude.m4 b/config/acinclude.m4 index 0abccafa0353..f18f0d6e8c77 100644 --- a/config/acinclude.m4 +++ b/config/acinclude.m4 @@ -238,28 +238,6 @@ fi AC_SUBST(BFDLIB) ]) -dnl ==================================================================== -dnl Find the libiberty library. This defines many commonly used C -dnl functions that exists in various states based on the underlying OS. -AC_DEFUN([CYG_AC_PATH_LIBERTY], [ -AC_MSG_CHECKING(for the liberty library in the build tree) -dirlist=".. ../../ ../../../ ../../../../ ../../../../../ ../../../../../../ ../../../../../../.. ../../../../../../../.. ../../../../../../../../.. ../../../../../../../../../.." -AC_CACHE_VAL(ac_cv_c_liberty,[ -for i in $dirlist; do - if test -f "$i/libiberty/Makefile" ; then - ac_cv_c_liberty=`(cd $i/libiberty; ${PWDCMD-pwd})` - fi -done -]) -if test x"${ac_cv_c_liberty}" != x; then - LIBERTY="-L${ac_cv_c_liberty}" - AC_MSG_RESULT(${ac_cv_c_liberty}) -else - AC_MSG_RESULT(none) -fi -AC_SUBST(LIBERTY) -]) - dnl ==================================================================== dnl Find the opcodes library. This is used to do dissasemblies. AC_DEFUN([CYG_AC_PATH_OPCODES], [