As commit
1ec9b94 explains, the version reported by configure is fixed
at configure generation time. "make dist" happily distributes a stale
one. Not terrible, because all that's stale is the output of
configure --version, just embarrassing.
Make gen-tarball-version fail when the configure --version doesn't
match the tarball version.
Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
printf "%s" "$2" >$nv/.tarball-version
>$nv/.dirty-stamp
+
+if [ "$2" != "`$nv/configure --version | sed -n '/^Wolfpack Empire/s/.* //p'`" ]
+then
+ echo "Output of configure --version does not match $2" >&2
+ echo "Need to regenerate stale configure?" >&2
+ exit 1
+fi