automake-patches
[Top][All Lists]
Advanced

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

Re: monstro-patch: machinery to enable/disable warning/error categories


From: Alexandre Duret-Lutz
Subject: Re: monstro-patch: machinery to enable/disable warning/error categories
Date: Tue, 09 Jul 2002 11:01:14 +0200
User-agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i386-debian-linux-gnu)

>>> "Akim" == Akim Demaille <address@hidden> writes:

[...]

 adl> Currently warning categories can only be selected from the
 adl> command line; so how should we do for the rebuild rules?  Add an
 adl> AUTOMAKE_AMFLAGS variable just like we have ACLOCAL_AMFLAGS?

 Akim> Why not?

I've just realized that $(AUTOMAKE) can be run from any
subdirectory.  This means we should setup AUTOMAKE_AMFLAGS in
each directory, or use an AC_SUBST.  Not very cunning.  (OTOH,
we can just do `AUTOMAKE="$AUTOMAKE -Wall" in the configure.ac.)

A similar issue exists when one wants to pass extra options to
Autoconf (except $(AUTOCONF) is run only from the top directory).

Besides, this kind of setup affects only runs from the
rebuild rules, not user runs from the command line (unlike
AUTOMAKE_OPTIONS).

What about introducing an new configure macro, AC_WARNINGS, and
change Autoconf and Automake to honor it?

[...]

-- 
Alexandre Duret-Lutz




reply via email to

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