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. --- gas/configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gas/configure.ac') diff --git a/gas/configure.ac b/gas/configure.ac index cc4fc54..e2fc1b7 100644 --- a/gas/configure.ac +++ b/gas/configure.ac @@ -37,9 +37,9 @@ AM_INIT_AUTOMAKE AC_PROG_CC AC_GNU_SOURCE AC_USE_SYSTEM_EXTENSIONS -ACX_LARGEFILE LT_INIT +ACX_LARGEFILE AC_ARG_ENABLE(targets, [ --enable-targets alternative target configurations besides the primary], -- cgit v1.1