OSX build fixes

git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2957 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2008-01-23 18:47:16 +00:00
parent 63736baaa1
commit 91bd62c75a
3 changed files with 13 additions and 6 deletions

View file

@ -2,11 +2,17 @@
# check all tools first
LIBTOOLIZE=libtoolize
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
if /usr/bin/which glibtoolize >/dev/null 2>&1 ; then
LIBTOOLIZE=glibtoolize
else
echo "You do not have libtool installed, which is very sadly required to build part of Ardour"
exit 1
fi
fi
if /usr/bin/which automake >/dev/null 2>&1 ; then
:
@ -26,7 +32,7 @@ srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
echo "Adding libtools."
libtoolize --automake --copy --force
$LIBTOOLIZE --automake --copy --force
echo "Building macros."
aclocal -I "$srcdir/scripts" $ACLOCAL_FLAGS