2002-08-03 Han-Wen <hanwen@cs.uu.nl>
+ * GNUmakefile.in: barf if config.h is older than configure.
+
* VERSION: released 1.5.71
* lily/beam.cc (consider_auto_knees): rewrite function; now only
WWW:
-default: builddir-setup
+default: $(config_h) builddir-setup
builddir-setup: $(builddir)/share/lilypond-force
local-clean: builddir-setup-clean
builddir-setup-clean:
@cd $(builddir) && rm -rf share
+
+$(config_h): configure
+#
+# this is to prevent people from getting
+# undefined symbols when we add them to config.h.in,
+# and they blindly run "cvs update; make".
+#
+ @echo
+ @echo ' *** config.h file is out of date'
+ @echo ' *** Rerun configure or autogen.sh'
+ @echo
+ @false