git-svn-id: svn://localhost/ardour2/trunk@1491 d708f5d6-7413-0410-9779-e7cbd77b26cf
41 lines
874 B
Bash
Executable File
41 lines
874 B
Bash
Executable File
#! /bin/sh
|
|
|
|
# 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
|
|
|
|
|
|
srcdir=`dirname $0`
|
|
test -z "$srcdir" && srcdir=.
|
|
|
|
echo "Adding libtools."
|
|
libtoolize --automake --copy --force
|
|
|
|
echo "Building macros."
|
|
aclocal -I "$srcdir/scripts" $ACLOCAL_FLAGS
|
|
|
|
echo "Building makefiles."
|
|
automake --add-missing --copy
|
|
|
|
echo "Building configure."
|
|
autoconf
|
|
|
|
rm -f config.cache
|