public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] config: delete unused CYG_AC_PATH_LIBERTY macro
@ 2024-01-10  2:04 Mike Frysinger
  2024-01-10 16:50 ` Jeff Law
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Frysinger @ 2024-01-10  2:04 UTC (permalink / raw)
  To: gcc-patches

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], [
-- 
2.43.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] config: delete unused CYG_AC_PATH_LIBERTY macro
  2024-01-10  2:04 [PATCH] config: delete unused CYG_AC_PATH_LIBERTY macro Mike Frysinger
@ 2024-01-10 16:50 ` Jeff Law
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Law @ 2024-01-10 16:50 UTC (permalink / raw)
  To: Mike Frysinger, gcc-patches



On 1/9/24 19:04, Mike Frysinger wrote:
> Nothing uses this, so delete it to avoid confusion.
> 
> config/ChangeLog:
> 
> 	* acinclude.m4 (CYG_AC_PATH_LIBERTY): Delete.
OK
jeff

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-01-10 16:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-10  2:04 [PATCH] config: delete unused CYG_AC_PATH_LIBERTY macro Mike Frysinger
2024-01-10 16:50 ` Jeff Law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).