Autoreconf'ed configure script for libiberty fails: syntax error near unexpected token `PLUGIN_OPTION'

Simon Richter Simon.Richter@hogyros.de
Wed Aug 18 13:47:43 GMT 2021


Hi,

On 8/18/21 3:42 PM, John Scott via Binutils wrote:

> /home/john/Packaging/binutils-sh-elf/binutils/libiberty/configure: line 2911: `GCC_PLUGIN_OPTION(PLUGIN_OPTION)'

> Here's what lines 2911 and after look like in my configure script:
> GCC_PLUGIN_OPTION(PLUGIN_OPTION)

That happens when aclocal can't find a definition for GCC_PLUGIN_OPTION; 
it cannot flag that as an error because that might be valid and someone 
really used an all-caps name as a function.

That would happen when during autoreconf an include path to aclocal is 
missing, probably something like an "-I m4" option.

    Simon

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://sourceware.org/pipermail/binutils/attachments/20210818/2946bc6f/attachment.sig>


More information about the Binutils mailing list