public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* How to regenerate aclocal.m4?
@ 2022-04-30  1:29 Zopolis0
  2022-05-01 23:08 ` Maciej W. Rozycki
  0 siblings, 1 reply; 3+ messages in thread
From: Zopolis0 @ 2022-04-30  1:29 UTC (permalink / raw)
  To: gcc

I'm trying to regenerate autotools files in liboffloadmic (and other
directories) but when running automake it tells me I need to run aclocal,
which gives me a warning about not finding AM_ENABLE_MULTILIB in library,
which then translates into an autoconf error. How do I fix this? Is there a
specific aclocal version?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to regenerate aclocal.m4?
  2022-04-30  1:29 How to regenerate aclocal.m4? Zopolis0
@ 2022-05-01 23:08 ` Maciej W. Rozycki
  2022-05-02 20:50   ` Eric Gallager
  0 siblings, 1 reply; 3+ messages in thread
From: Maciej W. Rozycki @ 2022-05-01 23:08 UTC (permalink / raw)
  To: Zopolis0; +Cc: gcc

On Sat, 30 Apr 2022, Zopolis0 via Gcc wrote:

> I'm trying to regenerate autotools files in liboffloadmic (and other
> directories) but when running automake it tells me I need to run aclocal,
> which gives me a warning about not finding AM_ENABLE_MULTILIB in library,
> which then translates into an autoconf error. How do I fix this? Is there a
> specific aclocal version?

 You need to use the same options that automatic regeneration via `make' 
would.  They are given in ACLOCAL_AMFLAGS near the top of Makefile.am.

 HTH,

  Maciej

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to regenerate aclocal.m4?
  2022-05-01 23:08 ` Maciej W. Rozycki
@ 2022-05-02 20:50   ` Eric Gallager
  0 siblings, 0 replies; 3+ messages in thread
From: Eric Gallager @ 2022-05-02 20:50 UTC (permalink / raw)
  To: Maciej W. Rozycki; +Cc: Zopolis0, GCC Development

On Sun, May 1, 2022 at 7:09 PM Maciej W. Rozycki <macro@orcam.me.uk> wrote:
>
> On Sat, 30 Apr 2022, Zopolis0 via Gcc wrote:
>
> > I'm trying to regenerate autotools files in liboffloadmic (and other
> > directories) but when running automake it tells me I need to run aclocal,
> > which gives me a warning about not finding AM_ENABLE_MULTILIB in library,
> > which then translates into an autoconf error. How do I fix this? Is there a
> > specific aclocal version?
>
>  You need to use the same options that automatic regeneration via `make'
> would.  They are given in ACLOCAL_AMFLAGS near the top of Makefile.am.
>
>  HTH,
>
>   Maciej

To go a bit further into detail, what's necessary is that the correct
directory is searched for macro includes. AM_ENABLE_MULTILIB is
defined in `config/multi.m4`, so you need `-I config` in the flags you
use with aclocal (or whatever the relative path to config is from your
current working directory).

Eric

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-05-02 20:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-30  1:29 How to regenerate aclocal.m4? Zopolis0
2022-05-01 23:08 ` Maciej W. Rozycki
2022-05-02 20:50   ` Eric Gallager

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