2008-08-03 11:30:03 +04:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
which autoconf
|
|
|
|
if ! test $? -eq 0
|
|
|
|
then
|
|
|
|
echo "error, install autoconf"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
which automake
|
|
|
|
if ! test $? -eq 0
|
|
|
|
then
|
|
|
|
echo "error, install automake"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2015-08-04 06:41:05 +03:00
|
|
|
which libtool || which libtoolize
|
2008-08-03 11:30:03 +04:00
|
|
|
if ! test $? -eq 0
|
|
|
|
then
|
|
|
|
echo "error, install libtool"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2012-05-05 10:29:00 +04:00
|
|
|
which pkg-config
|
|
|
|
if ! test $? -eq 0
|
|
|
|
then
|
|
|
|
echo "error, install pkg-config"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2016-12-25 07:13:20 +03:00
|
|
|
if ! test -f libpainter/configure.ac
|
|
|
|
then
|
|
|
|
git submodule update --init libpainter
|
|
|
|
fi
|
|
|
|
|
|
|
|
if ! test -f librfxcodec/configure.ac
|
|
|
|
then
|
|
|
|
git submodule update --init librfxcodec
|
|
|
|
fi
|
|
|
|
|
2008-08-03 11:30:03 +04:00
|
|
|
autoreconf -fvi
|