Avoid modifying 'configure' or 'makefile' if no changes
"R. Diez" <[email protected]> Fri, 3 Apr 2026 17:34:40 +0200
| Newsgroups | gmane.comp.sysutils.autoconf.general |
|---|---|
| Message-ID | <[email protected]> |
Hi all: I am using Autoconf and Automake in this project of mine: https://github.com/rdiez/DebugDue/tree/master/Project If I modify configure.ac by adding and removing a space character (or just issue command "touch configure.ac"), files "configure" and "makefile" are regenerated nevertheless. The new contents are identical, but their timestamps change, possibly triggering a rebuild, depending on the makefile rules. Is there a way to prevent updating the timestamps on 'configure' and 'makefile' if the new files are identical? I thought that Autoconf itself used "install --compare", but probably for copying other files, right? Thanks in advance, rdiez