1 --- admin/cvs.sh.orig 2008-03-02 12:34:18.000000000 +0200
2 +++ admin/cvs.sh 2010-12-18 10:28:14.548921963 +0200
6 AUTOMAKE_STRING=`$AUTOMAKE --version | head -n 1`
7 -required_automake_version="1.6.1 or newer"
8 +required_automake_version="1.6.1"
9 case $AUTOMAKE_STRING in
10 - automake*1.5d* | automake*1.5* | automake*1.5-* )
11 - echo "*** YOU'RE USING $AUTOMAKE_STRING."
12 - echo "*** KDE requires automake $required_automake_version"
15 - automake*1.6.* | automake*1.[7-9]* | automake*1.10*)
16 - echo "*** $AUTOMAKE_STRING found."
20 - echo "*** AUTOMAKE NOT FOUND!."
21 - echo "*** KDE requires automake $required_automake_version"
25 - echo "*** YOU'RE USING UNSERMAKE."
26 - echo "*** GOOD LUCK!! :)"
30 - echo "*** YOU'RE USING $AUTOMAKE_STRING."
31 - echo "*** KDE requires automake $required_automake_version"
35 + AUTOMAKE_VERSION=`echo $AUTOMAKE_STRING | awk '{print $4}'`
36 + VERCMP_SAYS=`vercmp $AUTOMAKE_VERSION $required_automake_version`
37 + case $VERCMP_SAYS in
39 + echo "*** YOU'RE USING $AUTOMAKE_STRING."
40 + echo "*** KDE requires automake $required_automake_version or newer."
47 + echo "*** vercmp choked. sorry."
53 + echo "*** AUTOMAKE NOT FOUND!."
54 + echo "*** KDE requires automake $required_automake_version or newer."
58 + echo "*** YOU'RE USING UNSERMAKE."
59 + echo "*** GOOD LUCK!! :)"
63 + echo "*** This should never happen."
64 + echo "*** You're using $AUTOMAKE_STRING. This script thinks it's"
65 + echo "*** not good enough. Fix the script if you disagree."
68 unset required_automake_version