4 $1 --version 2>&1 >/dev/null
7 echo "Please install $1 and run bootstrap.sh again!"
12 # On FreeBSD, multiple autoconf/automake versions have different names.
13 # On linux, envitonment variables tell which one to use.
15 uname -s | grep -q FreeBSD
16 if [ $? = 0 ] ; then # FreeBSD case
24 export AUTOCONF_VERSION
25 export AUTOMAKE_VERSION
28 check_for_app autoconf${MY_AC_VER}
29 check_for_app autoheader${MY_AC_VER}
30 check_for_app automake${MY_AM_VER}
31 check_for_app aclocal${MY_AM_VER}
33 echo "Generating the configure script ..."
35 aclocal${MY_AM_VER} 2>/dev/null
37 autoheader${MY_AC_VER}
38 automake${MY_AM_VER} --add-missing --copy 2>/dev/null