[gcc r14-7122] config: delete unused CYG_AC_PATH_LIBERTY macro

Michael Frysinger vapier@gcc.gnu.org
Thu Jan 11 00:51:54 GMT 2024


https://gcc.gnu.org/g:be9b6820a09f9b660eeae187ef3eb967e718232f

commit r14-7122-gbe9b6820a09f9b660eeae187ef3eb967e718232f
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Tue Jan 9 21:03:03 2024 -0500

    config: delete unused CYG_AC_PATH_LIBERTY macro
    
    Nothing uses this, so delete it to avoid confusion.
    
    config/ChangeLog:
    
            * acinclude.m4 (CYG_AC_PATH_LIBERTY): Delete.

Diff:
---
 config/acinclude.m4 | 22 ----------------------
 1 file changed, 22 deletions(-)

diff --git a/config/acinclude.m4 b/config/acinclude.m4
index 0abccafa035..f18f0d6e8c7 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], [


More information about the Gcc-cvs mailing list