From b879806f2fdd2eca7092d7b854d6cbbbbbd0493b Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 14 Aug 2014 13:46:09 +0930 Subject: configury changes to make ld plugin support controlled by --enable-plugins This also makes --enable-plugins default to on for hosts that can support plugins, so we have consistent lto toolchain support. The ACX_LARGEFILE moves aren't strictly necessary, but are harmless and will be necessary if plugin support is extended to more hosts via libtool's dlopen support. I started down that path then decided it was more work than I was interested in doing. (ACX_LARGEFILE invokes AC_PLUGINS.) config/ * plugins.m4: Test for dlfcn.h or windows.h here to set default for --enable-plugins. Report error if someone tries to enable plugins on a host we don't support. bfd/ * configure.ac: Delete redundant plugin related checks. * configure: Regenerate. binutils/ * configure.ac: Move ACX_LARGEFILE after LT_INIT. * config.in: Regenerate. * configure: Regenerate. gas/ * configure.ac: Move ACX_LARGEFILE after LT_INIT. * config.in: Regenerate. * configure: Regenerate. gprof/ * configure.ac: Move ACX_LARGEFILE after LT_INIT. * configure: Regenerate. * gconfig.in: Regenerate. ld/ * configure.ac: Move AC_PROG_CC and other macros earlier. Delete plugin checks now done in config/plugins.m4. * config.in: Regenerate. * configure: Regenerate. --- ld/config.in | 9 --------- 1 file changed, 9 deletions(-) (limited to 'ld/config.in') diff --git a/ld/config.in b/ld/config.in index 4b370e8..2ab4844 100644 --- a/ld/config.in +++ b/ld/config.in @@ -47,18 +47,9 @@ */ #undef HAVE_DIRENT_H -/* Define to 1 if you have the `dlclose' function. */ -#undef HAVE_DLCLOSE - /* Define to 1 if you have the header file. */ #undef HAVE_DLFCN_H -/* Define to 1 if you have the `dlopen' function. */ -#undef HAVE_DLOPEN - -/* Define to 1 if you have the `dlsym' function. */ -#undef HAVE_DLSYM - /* Define to 1 if you have the header file. */ #undef HAVE_ELF_HINTS_H -- cgit v1.1