automake-patches
[Top][All Lists]
Advanced

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

Re: FYI: autoheader -vs- AC_CONFIG_HEADERS


From: Alexandre Duret-Lutz
Subject: Re: FYI: autoheader -vs- AC_CONFIG_HEADERS
Date: 07 Jul 2002 12:17:56 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

>>> "adl" == Alexandre Duret-Lutz <address@hidden> writes:

[...]

 adl> 1. define AM_DEFUN on top of AC_DEFUN and use it to define
 adl> most of the AM_ macros.  AM_DEFUN should prepend a check that
 adl> AM_INIT_AUTOMAKE has been run to the body of the macro.

 adl> 2. Call AC_BEFORE for all known AM_ macros in AM_INIT_AUTOMAKE.
 adl> The list of AC_BEFORE can be generated automatically:

[...]

 adl> Somehow, I prefer the first idea :)

However #1 prevents people from reusing AM_ macros such as
AM_PATH_LISPDIR in non-Automake projects.  #2 just ensures that
if AM_INIT_AUTOMAKE is called, it is called before the AM_
macros.

-- 
Alexandre Duret-Lutz




reply via email to

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