From: Han-Wen Nienhuys Date: Sat, 3 Aug 2002 13:39:01 +0000 (+0000) Subject: barf if config.h is older than configure. X-Git-Tag: release/1.5.72~41 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=74e5cda3dbc4d6305fad7607de0a6a7d494155bc;p=lilypond.git barf if config.h is older than configure. --- diff --git a/ChangeLog b/ChangeLog index 1695c693a2..bd11b2b774 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2002-08-03 Han-Wen + * 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 diff --git a/GNUmakefile.in b/GNUmakefile.in index 16aa3d02ec..97db8f7136 100644 --- a/GNUmakefile.in +++ b/GNUmakefile.in @@ -117,7 +117,7 @@ top-WWW-clean: WWW: -default: builddir-setup +default: $(config_h) builddir-setup builddir-setup: $(builddir)/share/lilypond-force @@ -148,3 +148,15 @@ $(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