3 # script to setup library and auto generated files.
5 function setversion
() {
6 eval `sed -n 's/^\([A-Z]*\)=\([p0-9].*\)$/\1=\2/p' Variables.make`
7 NEWVER
=$MAJVER.
$MINVER.
$PATCHLEVEL
9 echo "Current version ("`pwd`") is $NEWVER"
17 echo using PREFIX
=$PREFIX
18 echo I need Flower version
$NEEDFLOWERVER
20 flowertar
=flower-
$NEEDFLOWERVER
29 if [ ! -d $flowertar ]
31 echo "can't find $flowertar"
35 ln -s $flowertar flower
38 echo Compiling Library
42 if [ $NEWVER != $NEEDFLOWERVER ]; then
43 echo "You seem to be having an incorrect version of the Flower library"
45 echo "You got the correct Flower version."
52 echo '#define LIBDIR "'$PREFIX'/"'> hdr
/config.hh
56 echo "The sources are ready for compiling. "
57 echo "To make sure that you don't have any stale dependencies: do"