autoconf
[Top][All Lists]
Advanced

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

Re: Autoconf/Automake is not using version from AC_INIT


From: Peter Johansson
Subject: Re: Autoconf/Automake is not using version from AC_INIT
Date: Mon, 25 Jan 2021 10:07:27 +1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

Hi Bob,

On 24/1/21 10:06 am, Bob Friesenhahn wrote:
I did try this type of solution.  As I recall, it did not help because the terminal target is Automake's regeneration rules, which are apparently optimized to not modify the target files (e.g. configure) if there was no change.

This seems like a very annoying optimization. IIUC, that means if I'd touch the timestamp of 'configure.ac' without changing its content, I'd end up in this hole of 'configure.ac' being newer than 'configure' but 'configure' not being updated. That doesn't seem to be the case in one of my projects. If I just 'touch configure.ac && make' all downstream files are updated as expected (except 'config.h', which is a known behavior), so I suspect you have something else going with the dependencies. Impossible to guess what without seeing the relevant Makefile snippet.

Cheers,

Peter





reply via email to

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