Doc: Removing doc for non-pure function setbboxgroup.
[shapes.git] / version_test.sh
blob81f818feb2ccec4ea332849007fc598b0a7c51ed
1 #!/bin/sh
3 VF=VERSION
4 CF=configure
6 VFN=$(sed '2,$ d' < $VF)
7 CFN=$(sed -e '/^PACKAGE_VERSION=/ ! d' \
8 -e 's/^PACKAGE_VERSION='"'"'\(.*\)'"'"'$/\1/' < $CF)
10 test "X$VFN" == "X$CFN" ; ret=$?
12 if test $ret -gt 0
13 then
14 cat <<EOF
15 **********************************************************************
16 *** Version numbers in VERSION and configure.ac are not matching: ***
17 *** $VFN vs $CFN ***
18 *** Force a ***
19 *** make version_sync ***
20 *** or, if that doesn't work, ***
21 *** make -f Makefile.am version_sync ***
22 *** before any other make commands. ***
23 **********************************************************************
24 EOF
27 exit $ret