changeset 29973:e25e30ae61cd

Warn, not fail, on stale version. * top/GNUmakefile (_curr-ver): Tone down previous patch. Signed-off-by: Eric Blake <ebb9@byu.net>
author Eric Blake <ebb9@byu.net>
date Mon, 21 Jul 2008 21:45:30 -0600
parents 405a4dfddd17
children 16272fd921e9
files ChangeLog top/GNUmakefile
diffstat 2 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Jul 21 09:13:38 2008 -0600
+++ b/ChangeLog	Mon Jul 21 21:45:30 2008 -0600
@@ -1,5 +1,8 @@
 2008-07-21  Eric Blake  <ebb9@byu.net>
 
+	Warn, not fail, on stale version.
+	* top/GNUmakefile (_curr-ver): Tone down previous patch.
+
 	Don't allow installation with stale devel version number.
 	* top/GNUmakefile (_is-install-target): New macro.
 	(_curr-ver): Forbid installation with stale version number.
--- a/top/GNUmakefile	Mon Jul 21 09:13:38 2008 -0600
+++ b/top/GNUmakefile	Mon Jul 21 21:45:30 2008 -0600
@@ -67,10 +67,10 @@
         # recompilation after 'make all'.  But as long as changing the version
         # string alters config.h, the cost of having 'make all' always have an
         # up-to-date version is prohibitive.  So, as a compromise, we merely
-        # refuse to install if the version string is out of date; the user
-        # must run 'autoreconf' (or something like 'make distcheck') to
+        # warn when installing a version string that is out of date; the user
+        # should run 'autoreconf' (or something like 'make distcheck') to
         # fix the version, 'make all' to propagate it, then 'make install'.
-        $(error version string $(VERSION) is out of date; run autoreconf before installing)
+        $(info WARNING: version string $(VERSION) is out of date; run autoreconf -f to fix it)
       else
         $(info INFO: running autoreconf for new version string: $(_curr-ver))
         _dummy := $(shell cd $(srcdir) && rm -rf autom4te.cache .version \