+automake=automake
+aclocal=aclocal
+autoconf=autoconf
+
+if [ "`uname -s`" = FreeBSD ]; then
+ # FreeBSD intalls the various auto* tools with version numbers
+ echo "Using special configuation for FreeBSD ..."
+ automake=automake19
+ aclocal="aclocal19 -I /usr/local/share/aclocal"
+ autoconf=autoconf259
+ echo "Remember to use gmake (GNU make) instead of vanilla make"
+fi
+
+if $automake --version|head -1 |grep '1\.[4-7]'; then