2 # Run this to generate all the initial makefiles, etc.
5 test -z "$srcdir" && srcdir
=.
9 (autoconf
--version) < /dev
/null
> /dev
/null
2>&1 ||
{
11 echo "You must have autoconf installed to compile libaudiofile."
12 echo "Download the appropriate package for your distribution,"
13 echo "or get ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.57.tar.gz"
14 echo "(or a newer version if it is available)."
18 (libtool
--version) < /dev
/null
> /dev
/null
2>&1 ||
{
20 echo "You must have libtool installed to compile libaudiofile."
21 echo "Get ftp://ftp.gnu.org/gnu/libtool/libtool-1.4.2.tar.gz"
22 echo "(or a newer version if it is available)."
26 (automake
--version) < /dev
/null
> /dev
/null
2>&1 ||
{
28 echo "You must have automake installed to compile libaudiofile."
29 echo "Get ftp://ftp.gnu.org/gnu/automake/automake-1.5.tar.gz"
30 echo "(or a newer version if it is available)."
34 if test "$DIE" -eq 1; then
39 echo "I am going to run ./configure with no arguments - if you wish "
40 echo "to pass any to it, please specify them on the $0 command line."
45 libtoolize
--copy --force
46 aclocal
$ACLOCAL_FLAGS
48 automake
--add-missing
52 $srcdir/configure
"$@"
55 echo "Now type 'make' to compile libaudiofile."