This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: acinclude.m4 required everywhere


Hi,

Raja R Harinath <harinath at cs dot umn dot edu> writes:

> Patrick Welche <prlw1 at newn dot cam dot ac dot uk> writes:
>
>> Cross posting, as I don't know whether this is a new change in automake, or
>> a failure in libtool, but I'm getting
[snip]
>> in make check in libtool, but as far as I know, there never has been an
>> acinclude.m4 in there, so was there a change in automake? (Both from today's
>> CVS)
>
> Try bootstrapping libtool again.  The bootstrap script has:
>
>   for sub in . libltdl cdemo demo depdemo mdemo pdemo tagdemo f77demo; do
>     #...
>     rm -f acinclude.m4 aclocal.m4 Makefile configure
>     for file in $acfiles; do
>       cat $file >> ./acinclude.m4
>     done
>     #...
>   done

Spoke too soon.

You need the following patch to automake:

  Index: automake.in
  ===================================================================
  RCS file: /cvs/automake/automake/automake.in,v
  retrieving revision 1.1455
  diff -u -p -u -r1.1455 automake.in
  --- automake.in 25 Apr 2003 20:46:20 -0000      1.1455
  +++ automake.in 27 Apr 2003 00:14:30 -0000
  @@ -4315,7 +4315,7 @@ sub scan_aclocal_m4
       if (-f 'acinclude.m4')
       {
          $regen_aclocal = 1;
  -       push @ac_deps, 'acinclude.m4';
  +       push @ac_deps, '$(top_srcdir)/acinclude.m4';
       }

       if (variable_defined ('ACLOCAL_M4_SOURCES'))

(Actually, you can remove that line completely too.)

- Hari
-- 
Raja R Harinath ------------------------------ harinath at cs dot umn dot edu



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]