2008-08-03 11:30:03 +04:00
|
|
|
#!/bin/sh
|
|
|
|
|
2021-12-01 10:58:18 +03:00
|
|
|
command -v autoconf
|
2008-08-03 11:30:03 +04:00
|
|
|
if ! test $? -eq 0
|
|
|
|
then
|
|
|
|
echo "error, install autoconf"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2021-12-01 10:58:18 +03:00
|
|
|
command -v automake
|
2008-08-03 11:30:03 +04:00
|
|
|
if ! test $? -eq 0
|
|
|
|
then
|
|
|
|
echo "error, install automake"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2021-12-01 10:58:18 +03:00
|
|
|
command -v libtool || command -v libtoolize
|
2008-08-03 11:30:03 +04:00
|
|
|
if ! test $? -eq 0
|
|
|
|
then
|
|
|
|
echo "error, install libtool"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2021-12-01 10:58:18 +03:00
|
|
|
command -v pkg-config
|
2012-05-05 10:29:00 +04:00
|
|
|
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
|