autoconf
[Top][All Lists]
Advanced

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

(no) over-writing generated files


From: John Levon
Subject: (no) over-writing generated files
Date: Tue, 3 Dec 2002 04:53:28 +0000
User-agent: Mutt/1.3.25i

AC_CONFIG_HEADER() is neat - it checks for changes in config.h before
over-writing with the new version. This avoids unnecessary re-compiles
after a ./configure

Alas, AC_OUTPUT() is not so smart: the file is always over-written. With
our "version.h" header, it always gets over-written, causing spurious
re-compiles.

Would it be possible to have the same behaviour for AC_OUTPUT() files ?

Alternatively, there could be a macro that does the necessary
substitution (e.g. of @PACKAGE@ and @VERSION@) in the given files, and
still uses the config.h trick above

I'm using autoconf 2.56 and automake 1.7.1, but our baseline is
autoconf 2.13 and automake 1.5

thanks
john
-- 
"Trolls like content too."
        - Bob Abooey, /.




reply via email to

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