diff options
author | Alan Modra <amodra@gmail.com> | 2020-06-21 14:23:46 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2020-06-21 22:16:10 +0930 |
commit | 0381901e629115f5f0d92a27fe74b1814f6f389a (patch) | |
tree | 70d1c2ebef5f3039131b03ae96d7af9841a77f03 /ld/configure | |
parent | 48e9cc84058771da089a2e8e652f70ac20a8fac0 (diff) | |
download | binutils-0381901e629115f5f0d92a27fe74b1814f6f389a.zip binutils-0381901e629115f5f0d92a27fe74b1814f6f389a.tar.gz binutils-0381901e629115f5f0d92a27fe74b1814f6f389a.tar.bz2 |
Do without ld ENABLE_PLUGINS
Instead, use BFD_SUPPORTS_PLUGINS.
* ldfile.c: Replace uses of ENABLE_PLUGINS with BFD_SUPPORTS_PLUGINS.
* ldlang.c: Likewise.
* ldlang.h: Likewise.
* ldlex.h: Likewise.
* ldmain.c: Likewise.
* lexsup.c: Likewise.
* plugin.c: Wrap body of file in #if BFD_SUPPORTS_PLUGINS.
* testplug.c: Likewise.
* testplug2.c: Likewise.
* testplug3.c: Likewise.
* testplug4.c: Likewise.
* configure.ac (ENABLE_PLUGINS): Don't define AM_CONTITIONAL.
* Makefile.am: Remove ENABLE_PLUGINS conditionals.
(PLUGIN_CFLAGS): Don't define.
(PLUGIN_C, PLUGIN_H, PLUGIN_OBJECT): Likewise. Substitute all
uses with plugin file name.
* configure: Regenerate.
* Makefile.in: Regenerate.
Diffstat (limited to 'ld/configure')
-rwxr-xr-x | ld/configure | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/ld/configure b/ld/configure index e70e7c3..fba65c5 100755 --- a/ld/configure +++ b/ld/configure @@ -649,8 +649,6 @@ STRINGIFY zlibinc zlibdir enable_initfini_array -ENABLE_PLUGINS_FALSE -ENABLE_PLUGINS_TRUE NATIVE_LIB_DIRS HDEFINES do_compare @@ -12035,7 +12033,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12038 "configure" +#line 12036 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12141,7 +12139,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12144 "configure" +#line 12142 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -17285,14 +17283,6 @@ if test "$ac_res" != no; then : fi - if test x$plugins = xyes; then - ENABLE_PLUGINS_TRUE= - ENABLE_PLUGINS_FALSE='#' -else - ENABLE_PLUGINS_TRUE='#' - ENABLE_PLUGINS_FALSE= -fi - # Check whether --enable-initfini-array was given. if test "${enable_initfini_array+set}" = set; then : @@ -17890,10 +17880,6 @@ if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then as_fn_error $? "conditional \"GENINSRC_NEVER\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi -if test -z "${ENABLE_PLUGINS_TRUE}" && test -z "${ENABLE_PLUGINS_FALSE}"; then - as_fn_error $? "conditional \"ENABLE_PLUGINS\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi : "${CONFIG_STATUS=./config.status}" ac_write_fail=0 |