[llvm-commits] CVS: llvm/autoconf/configure.ac

Reid Spencer reid at x10sys.com
Wed Aug 24 03:43:22 PDT 2005

Changes in directory llvm/autoconf:

configure.ac updated: 1.194 -> 1.195
Log message:

For PR619: http://llvm.cs.uiuc.edu/PR619 :
Make any header files that are automatically generated be preconditions of
the compilation. This ensures that if a *.h.in file is changed then its
corresponding *.h file gets updated on the next rebuild. Note that this can
lead to confusing (but correct) results if the *.h.in file changed 
unsubstantially so that autoheader doesn't update the *.h file. In that case, 
manually touch the *.h file in question to restore order. Moral of the story,
if you're going to "touch" a *.in file then modify it substantially.

Diffs of the changes:  (+4 -0)

 configure.ac |    4 ++++
 1 files changed, 4 insertions(+)

Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.194 llvm/autoconf/configure.ac:1.195
--- llvm/autoconf/configure.ac:1.194	Wed Aug 24 05:07:21 2005
+++ llvm/autoconf/configure.ac	Wed Aug 24 05:43:10 2005
@@ -634,6 +634,10 @@
 dnl Configure header files
+dnl WARNING: dnl If you add or remove any of the following config headers, then
+dnl you MUST also update Makefile.rules so that the variable FilesToConfig
+dnl contains the same list of files as AC_CONFIG_HEADERS below. This ensures the
+dnl files can be updated automatically when their *.in sources change.

More information about the llvm-commits mailing list