3 # Run this script after the first cvs checkout to build
4 # makefiles and friends
6 PATH="/usr/pack/automake-1.11-to/amd64-linux-debian3.1/:/usr/pack/automake-1.11-to/amd64-linux-ubuntu8.04/bin:$PATH"
11 @t = split /\./, "$1";
12 @v = map { int \$_ } split /\./, (split /\s+/, \`$2\`)[3];
13 print "$2 = ", (join ".",@v), " (expecting $1 or later)\n";
14 \$v = \$t[0]*1000000+\$t[1]*1000+\$t[2] <= \$v[0]*1000000+\$v[1]*1000+\$v[2];
25 # On MAC OS X, GNU libtool is named 'glibtool':
26 if [ `(uname -s) 2>/dev/null` == 'Darwin' ]
28 LIBTOOL_BIN="glibtool"
31 if vcheck $LIBTOOL_VER "$LIBTOOL_BIN --version"
33 echo "get a copy of GNU libtool >= $LIBTOOL_VER"
37 if vcheck $AUTOMAKE_VER "automake --version"
39 if vcheck $AUTOMAKE_VER "automake-1.11 --version"
41 echo "get a copy of GNU automake >= $AUTOMAKE_VER"
44 AUTOMAKE="automake-1.11"
45 ACLOCAL="aclocal-1.11"
46 export AUTOMAKE ACLOCAL
51 if vcheck $AUTOCONF_VER "autoconf --version"
53 echo "get a copy of GNU autoconf >= $autoconf_ver"
64 # vim: set syntax=sh :