2013-01-19 17:02:02 -07:00
|
|
|
#! /bin/sh
|
|
|
|
|
2013-01-19 17:37:13 -07:00
|
|
|
if glibtoolize --version > /dev/null 2>&1; then
|
|
|
|
LIBTOOLIZE='glibtoolize'
|
|
|
|
else
|
|
|
|
LIBTOOLIZE='libtoolize'
|
|
|
|
fi
|
|
|
|
|
2015-11-19 09:05:28 -07:00
|
|
|
if [ ! -x "`which $LIBTOOLIZE 2>/dev/null`" ] ; then
|
|
|
|
echo "libtool is required, but wasn't found on this system"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ ! -x "`which autoconf 2>/dev/null`" ] ; then
|
|
|
|
echo "autoconf is required, but wasn't found on this system"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ ! -x "`which automake 2>/dev/null`" ] ; then
|
|
|
|
echo "automake is required, but wasn't found on this system"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ -x "`which autoreconf 2>/dev/null`" ] ; then
|
|
|
|
exec autoreconf -ivf
|
|
|
|
fi
|
|
|
|
|
2013-04-25 22:51:19 -07:00
|
|
|
$LIBTOOLIZE && \
|
2013-01-19 17:02:02 -07:00
|
|
|
aclocal && \
|
|
|
|
automake --add-missing --force-missing --include-deps && \
|
|
|
|
autoconf
|