3 # Run this script after the first cvs checkout to build
4 # makefiles and friends
9 @v = split /\./, (split /\s+/, \`$2\`)[3];
10 print "$2 = ", (join ".",@v), " (expected $1)\n";
11 exit \$t[0]*1000000+\$t[1]*1000+\$t[2] > \$v[0]*1000000+\$v[1]*1000+\$v[2];
16 if vcheck 1.4.2 "libtool --version"
18 echo get a copy of GNU libtool >= 1.4.2
22 if vcheck 1.5 "automake --version"
24 echo get a copy of GNU automake >= 1.5
28 if vcheck 2.52 "autoconf --version"
30 echo get a copy of GNU autoconf >= 2.52
35 find . -name Makefile | xargs rm -f
36 find . -name Makefile.in | xargs rm -f
40 # wget ftp://ftp.gnu.org/gnu/libtool/libtool-1.4.2.tar.gz
44 # wget ftp://sources.redhat.com/pub/automake/automake-1.5.tar.gz
46 autoheader --warnings=all
47 automake --foreign --add-missing --force-missing --copy
49 # wget ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.52.tar.gz