autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: configure: error: cannot find macro directory `m4'


From: Jeff Sheinberg
Subject: Re: configure: error: cannot find macro directory `m4'
Date: Mon, 13 Sep 2004 19:15:48 -0400

Ralf Wildenhues writes:
 > * Jeff Sheinberg wrote on Sat, Sep 11, 2004 at 10:09:14PM CEST:

 > > and now "make distcheck" no longer works.  I tried "make dist",

 > Stab in the dark:  You have some macro files in the m4/ directory which
 > are not really needed within your project.  The newer aclocal now
 > recognizes this and does not include them in your project any more.
 > You relied on this before, not having put
   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 >   EXTRA_DIST = m4/macro_file.m4 ...
 > in the suitable Makefile.am.
 > 
 > Are these assumptions correct?  Then either add the EXTRA_DIST line,
 > or, if those macros are irrelevant for the project, remove metion of the
 > m4/ directory from all configure.ac and Makefile.am files.

Yes, your explanation is correct.  I added "EXTRA_DIST = m4", and
it now works like a charm.

I consider this to be an automake issue, since I now have to
mention the "m4" directory in 3 places - once in configure.ac, and
twice in Makefile.am.

I will take that issue up on the automake list.

Thanks,
-- 
Jeff Sheinberg





reply via email to

[Prev in Thread] Current Thread [Next in Thread]