4 $1 --version 2>&1 >/dev/null
7 echo "Please install $1 and run bootstrap.sh again!"
12 # On FreeBSD and OpenBSD, multiple autoconf/automake versions have different names.
13 # On Linux, environment variables tell which one to use.
16 'FreeBSD 4'*) # FreeBSD 4.x has a different naming
21 export AUTOCONF_VERSION=2.63
22 export AUTOMAKE_VERSION=1.9
37 export AUTOCONF_VERSION
38 export AUTOMAKE_VERSION
42 check_for_app autoconf${MY_AC_VER}
43 check_for_app autoheader${MY_AC_VER}
44 check_for_app automake${MY_AM_VER}
45 check_for_app aclocal${MY_AM_VER}
47 echo "Generating the configure script ..."
49 aclocal${MY_AM_VER} -I autoconf `find third-party/ -maxdepth 1 -type d -printf "-I %p "`
51 autoheader${MY_AC_VER}
52 automake${MY_AM_VER} --add-missing --copy 2>/dev/null