[Top][All Lists]

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

Re: Autoconf caches AC_INIT arguments

From: Bert Wesarg
Subject: Re: Autoconf caches AC_INIT arguments
Date: Wed, 23 May 2012 17:03:33 +0200


On Wed, May 23, 2012 at 2:17 AM, Bob Friesenhahn
<address@hidden> wrote:
> The forthcoming Automake release is about to break the means I have been
> using to automatically version my package (without manually editing
> for the past 9 years.  I am told to use m4 code in the AC_INIT
> arguments in order to supply package versioning information.  This is what I
> am using:
> AC_INIT(m4_esyscmd([scripts/ package_name]),
>        m4_esyscmd([scripts/ package_version]),
>        m4_esyscmd([scripts/ package_bugreport]))
> Unfortunately, this approach works exactly once since Autoconf 2.69 is
> caching the computed arguments passed to AC_INIT.  Running 'autoconf' or
> 'autoreconf' again does not result in an updated configure script. Running
> 'autoconf --force' in the source tree seems to work.

Thanks for bringing this up. I noticed this problem also some weeks
ago, but we still use autoconf 2.68 and automake 1.11.1. I couldn't
follow it lately, but the last thing I know was that you can disable
the caching via a file named '.autom4te.cfg' besides your
with the following content:

begin-language: "Autoconf"
args: --no-cache
end-language: "Autoconf"


> Bob

reply via email to

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