2005-05-13 16:47:18 -04:00
|
|
|
#! /bin/sh
|
|
|
|
|
2007-04-11 09:07:51 -04:00
|
|
|
# check all tools first
|
|
|
|
|
|
|
|
if /usr/bin/which libtoolize >/dev/null 2>&1 ; then
|
|
|
|
:
|
|
|
|
else
|
|
|
|
echo "You do not have libtool installed, which is very sadly required to build part of Ardour"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
if /usr/bin/which automake >/dev/null 2>&1 ; then
|
|
|
|
:
|
|
|
|
else
|
|
|
|
echo "You do not have automake installed, which is very sadly required to build part of Ardour"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
if /usr/bin/which autoconf >/dev/null 2>&1 ; then
|
|
|
|
:
|
|
|
|
else
|
|
|
|
echo "You do not have autoconf installed, which is very sadly required to build part of Ardour"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2005-05-13 16:47:18 -04:00
|
|
|
srcdir=`dirname $0`
|
|
|
|
test -z "$srcdir" && srcdir=.
|
|
|
|
|
2007-02-02 21:13:18 -05:00
|
|
|
PKG_NAME="sigc++"
|
|
|
|
|
|
|
|
echo "Adding libtools."
|
|
|
|
libtoolize --automake --copy --force
|
2005-05-13 16:47:18 -04:00
|
|
|
|
|
|
|
echo "Building macros."
|
|
|
|
aclocal -I "$srcdir/scripts" $ACLOCAL_FLAGS
|
|
|
|
|
2007-02-02 21:13:18 -05:00
|
|
|
#echo "Building config header."
|
|
|
|
#autoheader
|
|
|
|
|
2005-05-13 16:47:18 -04:00
|
|
|
echo "Building makefiles."
|
|
|
|
automake --add-missing --copy
|
|
|
|
|
|
|
|
echo "Building configure."
|
|
|
|
autoconf
|
|
|
|
|
|
|
|
rm -f config.cache
|