Use top-level config support for enabling plugins.
authorCary Coutant <ccoutant@gmail.com>
Wed, 28 Mar 2018 00:49:49 +0000 (17:49 -0700)
committerCary Coutant <ccoutant@gmail.com>
Wed, 28 Mar 2018 21:02:41 +0000 (14:02 -0700)
commit24538276c675851520d45714661e7cf9bedd55bb
tree6790f4d6a402478a83ec0d75c5cac8bf27eb3a42
parent8205a328f8b852086652841dfc2aff4ca0b16d45
Use top-level config support for enabling plugins.

Also recognizes --plugin options when plugins are disabled.

2018-03-28  Cary Coutant  <ccoutant@gmail.com>

gold/
PR gold/21423
PR gold/22500
* configure.ac: Call AC_USE_SYSTEM_EXTENSIONS.
Replace check for --enable-plugins with AC_PLUGINS.
* options.cc (parse_plugin, parse_plugin_opt): Remove #ifdef.
(General_options::finalize): Check if plugins enabled.
* options.h (--plugin, --plugin-opt): Define even if plugins not
enabled.
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* testsuite/Makefile.in: Regenerate.
gold/ChangeLog
gold/Makefile.in
gold/aclocal.m4
gold/configure
gold/configure.ac
gold/options.cc
gold/options.h
gold/testsuite/Makefile.in