3 # Run this script after the first cvs checkout to build
4 # makefiles and friends
9 @v = map { int \$_ } split /\./, (split /\s+/, \`$2\`)[3];
10 print "$2 = ", (join ".",@v), " (expected $1)\n";
11 \$v = \$t[0]*1000000+\$t[1]*1000+\$t[2] <= \$v[0]*1000000+\$v[1]*1000+\$v[2];
18 if vcheck 1.5.14 "libtool --version"
20 echo "get a copy of GNU libtool >= 1.5.14"
24 if vcheck 1.9.5 "automake --version"
26 if vcheck 1.9.5 "automake-1.9 --version"
28 echo "get a copy of GNU automake >= 1.9.5"
32 aclocal="aclocal-1.9 --acdir=/usr/share/aclocal-1.9 -I /usr/share/aclocal/"
37 # aclocal="aclocal -I /usr/pack/libtool-1.5.14-to/share/aclocal"
40 if vcheck 2.59 "autoconf --version"
42 echo "get a copy of GNU autoconf >= 2.59"
53 find . -name Makefile | xargs rm -f _UNKNONW_
54 find . -name "*.la" | xargs rm -f
55 find . -name Makefile.in | xargs rm -f _UNKNONW_
56 find . -name .libs | xargs rm -r
57 find . -name .debs | xargs rm -r
60 libtoolize --copy --force
61 autoheader --warnings=all --force
63 $automake --foreign --add-missing --force-missing --copy --warnings=all
64 autoconf --warnings=all --force
65 # one again to make every body happy