Mercurial > hg > xmms-sid
view bootstrap.sh @ 228:a9a5924eb10c
Have and use a mutex for xs_cfg configuration structure.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 19 Dec 2004 16:54:04 +0000 |
parents | 174130d3ddd0 |
children | 7bb9e20e3092 |
line wrap: on
line source
#! /bin/sh WANT_AM_VERSION=1.7 echo "**" echo "** Now bootstrapping the package." echo "** This may take a while, please be patient ..." echo "**" ftest_am_package() { if test -x `which "$1-$WANT_AM_VERSION"`; then echo "** $1-$WANT_AM_VERSION $2" eval `$1-$WANT_AM_VERSION $2` else if test -x `which $1`; then echo "** $1 $2" eval `$1 $2` else echo "You do not have required GNU Autotools installed, please install" echo "recent version of GNU autoconf, automake and libtool packages." echo "(Could not find runnable '$1-$WANT_AM_VERSION' or '$1')" exit 1 fi fi } ftest_ac_package() { if test -x `which $1`; then echo "** $1 $2" eval `$1 $2` else echo "You do not have required GNU Autotools installed, please install" echo "recent version of GNU autoconf, automake and libtool packages." echo "(Could not find runnable '$1')" exit 1 fi } ftest_package() { if test -x `which $1`; then echo "** $1 $2" eval `$1 $2` else echo "Could not find runnable '$1'." exit 1 fi } ftest_am_package "aclocal" "-I ." ftest_am_package "automake" "-a -c --foreign" ftest_ac_package "autoheader" "" ftest_ac_package "autoconf" "" ftest_ac_package "libtoolize" "--automake --force" ftest_package "glade" "-w xmms-sid.glade"