X-Git-Url: https://git.draconx.ca/gitweb/upkg.git/blobdiff_plain/af7bd229dca60b22270b928e5f767292be74501c..cdb019ee207a4bf4872203db94184bb507fa6670:/Makefile.am diff --git a/Makefile.am b/Makefile.am index 495f40a..b1330d0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -107,8 +107,24 @@ GOB_V_0 = @printf ' %$(DX_ALIGN_V)s %s\n' 'GOB ' $<; # rather than its filename. This isn't really suitable for use with make, so # this rule has to make some assumptions about the source tree layout. .gob.gobstamp: +if HAVE_GOB2_DYN $(GOB_V) $(GOB2) -o src --file-sep=/ --no-private-header $< $(AM_V_at) touch $@ +else +if HAVE_GOB2 + @echo "ERROR: *** $(GOB2) does not support dynamic types." 1>&2 +else + @echo "ERROR: *** gob2 is missing on your system." 1>&2 +endif + @:; { \ + echo " *** Because of this, I cannot compile $<, but"; \ + echo " *** (perhaps because you modified it) the sources appear out of date."; \ + echo " *** A newer version of gob2 may be required; the latest version"; \ + echo " *** may be found at ."; \ + echo " *** See config.log for more details."; \ + } 1>&2 + @false +endif STAMP_RECOVER = \ @if test -f $@; then :; else rm -f $<; $(MAKE) $(AM_MAKEFLAGS) $<; fi