public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: Simon Marchi <simark@simark.ca>
Cc: Sebastian Huber <sebastian.huber@embedded-brains.de>,
	gdb@sourceware.org,  Simon Marchi <simon.marchi@efficios.com>
Subject: Re: Patch "Run `autoreconf -vf` throughout" broke the rtems-bfin build on FreeBSD
Date: Thu, 20 Aug 2020 15:43:40 +0200	[thread overview]
Message-ID: <87pn7ll9f7.fsf@igel.home> (raw)
In-Reply-To: <2666e1b8-9b16-b988-aefb-22af4a969240@simark.ca> (Simon Marchi's message of "Thu, 20 Aug 2020 09:16:10 -0400")

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."

  reply	other threads:[~2020-08-20 13:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-20  6:22 Sebastian Huber
2020-08-20  6:45 ` Sebastian Huber
2020-08-20 13:16   ` Simon Marchi
2020-08-20 13:43     ` Andreas Schwab [this message]
2020-08-20 13:45       ` Simon Marchi
2020-08-20 14:04         ` [PATCH] sim/bfin: include config/pkg.m4 in configure.ac (was: Patch "Run `autoreconf -vf` throughout" broke the rtems-bfin build on FreeBSD) Simon Marchi
2020-08-21  7:30           ` [PATCH] sim/bfin: include config/pkg.m4 in configure.ac Sebastian Huber
2020-08-21 15:56             ` Simon Marchi
2020-08-21 13:07           ` [PATCH] sim/bfin: include config/pkg.m4 in configure.ac (was: Patch "Run `autoreconf -vf` throughout" broke the rtems-bfin build on FreeBSD) Andrew Burgess

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pn7ll9f7.fsf@igel.home \
    --to=schwab@linux-m68k.org \
    --cc=gdb@sourceware.org \
    --cc=sebastian.huber@embedded-brains.de \
    --cc=simark@simark.ca \
    --cc=simon.marchi@efficios.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).