aboutsummaryrefslogtreecommitdiff
path: root/sim/m4
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-11-03 13:35:32 +0545
committerMike Frysinger <vapier@gentoo.org>2022-11-04 07:42:31 +0700
commit89cf99a910ccfd95e478be81adc7493db138dfef (patch)
tree7708e7adfa591aed726b8d35b11ca1aa15afb179 /sim/m4
parent90db43bb0325ce387da536f4939bfe01e80227b2 (diff)
downloadgdb-89cf99a910ccfd95e478be81adc7493db138dfef.zip
gdb-89cf99a910ccfd95e478be81adc7493db138dfef.tar.gz
gdb-89cf99a910ccfd95e478be81adc7493db138dfef.tar.bz2
sim: build: switch to bfd & opcodes libtool linker scripts
Now that we use libtool to link, we don't need to duplicate all the libs that bfd itself uses. This simplifies the configure & Makefile.
Diffstat (limited to 'sim/m4')
-rw-r--r--sim/m4/sim_ac_platform.m416
1 files changed, 1 insertions, 15 deletions
diff --git a/sim/m4/sim_ac_platform.m4 b/sim/m4/sim_ac_platform.m4
index a91b233..92fb00a 100644
--- a/sim/m4/sim_ac_platform.m4
+++ b/sim/m4/sim_ac_platform.m4
@@ -142,21 +142,7 @@ AC_TYPE_SIGNAL
AC_TYPE_SIZE_T
AC_TYPE_UID_T
-dnl We don't use gettext, but bfd does. So we do the appropriate checks
-dnl to see if there are intl libraries we should link against.
-ALL_LINGUAS=
-ZW_GNU_GETTEXT_SISTER_DIR
-
-dnl BFD conditionally uses zlib, so we must link it in if libbfd does, by
-dnl using the same condition.
-AM_ZLIB
-AC_ZSTD
-
-dnl BFD uses libdl when when plugins enabled.
-AC_PLUGINS
-AM_CONDITIONAL(PLUGINS, test "$plugins" = yes)
-LT_INIT([dlopen])
-AC_SUBST(lt_cv_dlopen_libs)
+LT_INIT
dnl Libraries.
AC_CHECK_LIB(socket, bind)