Patch "Run `autoreconf -vf` throughout" broke the rtems-bfin build on FreeBSD

Andreas Schwab schwab@linux-m68k.org
Thu Aug 20 13:43:40 GMT 2020


On Aug 20 2020, Simon Marchi wrote:

> Indeed, I see this.  When I run `autoreconf -vf` in this directory, I get:
>
> $ autoreconf -vf
> autoreconf: Entering directory `.'
> autoreconf: configure.ac: not using Gettext
> autoreconf: running: aclocal --force
> autoreconf: configure.ac: tracing
> autoreconf: configure.ac: not running libtoolize: --install not given
> autoreconf: running: /opt/autostuff/bin/autoconf --force
> configure.ac:57: error: possibly undefined macro: AC_CHECK_LIB
>       If this token and others are legitimate, please use m4_pattern_allow.
>       See the Autoconf documentation.
> autoreconf: /opt/autostuff/bin/autoconf failed with exit status: 1
>
> So the command must have failed when I ran it and I didn't notice, my bad.
>
> I searched a bit, and I am a bit clueless as for why AC_CHECK_LIB is not found.  If
> anybody has any idea, help would be appreciated.

That's because aclocal cannot find a definition of PKG_CHECK_MODULES.
You need to run autoreconf with -I ../../config.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."


More information about the Gdb mailing list