autoconf-patches
[Top][All Lists]
Advanced

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

Re: [PATCH] Add new 'AM_PROG_AR' macro, triggering the 'ar-lib' script.


From: Ralf Wildenhues
Subject: Re: [PATCH] Add new 'AM_PROG_AR' macro, triggering the 'ar-lib' script.
Date: Thu, 16 Sep 2010 19:56:53 +0200
User-agent: Mutt/1.5.20 (2010-08-04)

[ adding autoconf-patches ]

* Peter Rosin wrote on Thu, Sep 16, 2010 at 10:50:05AM CEST:
> --- a/automake.in
> +++ b/automake.in

> @@ -5242,6 +5262,7 @@ sub scan_autoconf_traces ($)
>               AM_GNU_GETTEXT_INTL_SUBDIR => 0,
>               AM_INIT_AUTOMAKE => 0,
>               AM_MAINTAINER_MODE => 0,
> +             AM_PROG_AR => 0,
>               AM_PROG_CC_C_O => 0,
>               AM_SILENT_RULES => 0,
>               _AM_SUBST_NOTMAKE => 1,

This requires updating of Autoconf.  I'm checking the following in
there.

More generally, it either also requires that we bump Automake's version
requirement on Autoconf, or we make the "autom4te preselections" test in
Autoconf less strict, so that it won't fail with Automake which has the
above.  Or move the test to the Automake test suite.

I'm a bit leery of bumping the AC_PREREQ in Automake of this, but in
this case, msvc support will likely still need other things in Autoconf
as well anyway ... haven't forgotten them, Peter, but I just didn't have
the time yet to think enough.

Cheers,
Ralf

    Add autom4te trace for AM_PROG_AR.
    
    * lib/autom4te.in (Automake-preselections): Trace
    AM_PROG_AR.

diff --git a/lib/autom4te.in b/lib/autom4te.in
index 2bc4f8d..6563e2e 100644
--- a/lib/autom4te.in
+++ b/lib/autom4te.in
@@ -58,6 +58,7 @@ args: --preselect AM_GNU_GETTEXT
 args: --preselect AM_GNU_GETTEXT_INTL_SUBDIR
 args: --preselect AM_INIT_AUTOMAKE
 args: --preselect AM_MAINTAINER_MODE
+args: --preselect AM_PROG_AR
 args: --preselect AM_PROG_CC_C_O
 args: --preselect AM_PROG_CXX_C_O
 args: --preselect AM_PROG_F77_C_O



reply via email to

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