Re: Autoconf/Automake is not using version from AC_INIT

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

 



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






[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux