automake
[Top][All Lists]
Advanced

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

Resend: Overriding dependencies for aclocal.m4


From: Pavel Roskin
Subject: Resend: Overriding dependencies for aclocal.m4
Date: Fri, 6 Oct 2000 19:02:35 -0400 (EDT)

Hello!

I haven't seen any reaction on this patch.
Maybe something with my e-mail, I don't know.

This patch will be applied unless anybody objects.

I'll be especially glad to hear a comment whether ACLOCAL_M4_SOURCES
is an appropiate name for this purpose.

The documentation will be updated separately. ACLOCAL_AMFLAGS is not
documented either, and I cannot explain the purpose of ACLOCAL_M4_SOURCES
without mentioning ACLOCAL_AMFLAGS.

Regards,
Pavel Roskin

============================================================
> ChangeLog:
>       * automake.in (handle_aclocal_m4): If ACLOCAL_M4_SOURCES is
>       defined use it as the list of M4 files aclocal.m4 depends on.
> 
> ==========================
> Index: automake.in
> --- automake.in       Wed Aug 30 14:56:24 2000
> +++ automake.in       Wed Sep 13 20:18:03 2000
> @@ -3174,7 +3174,11 @@
>  
>       # Scan all -I directories for m4 files.  These are our
>       # dependencies.
> -     if (&variable_defined ('ACLOCAL_AMFLAGS'))
> +     if (&variable_defined ('ACLOCAL_M4_SOURCES'))
> +     {
> +         push (@ac_deps, "\$(ACLOCAL_M4_SOURCES)");
> +     }
> +     elsif (&variable_defined ('ACLOCAL_AMFLAGS'))
>       {
>           local ($examine_next, $amdir) = 0;
>           foreach $amdir (&variable_value_as_list ('ACLOCAL_AMFLAGS', ''))
> ==========================




reply via email to

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