mirror of https://github.com/rakshasa/rtorrent
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.0 KiB
51 lines
1.0 KiB
#! /bin/sh
|
|
|
|
echo aclocal...
|
|
(aclocal --version) < /dev/null > /dev/null 2>&1 || {
|
|
echo aclocal not found
|
|
exit 1
|
|
}
|
|
|
|
aclocal -I ./scripts -I . ${ACLOCAL_FLAGS} || exit 1
|
|
|
|
echo autoheader...
|
|
(autoheader --version) < /dev/null > /dev/null 2>&1 || {
|
|
echo autoheader not found
|
|
exit 1
|
|
}
|
|
|
|
autoheader || exit 1
|
|
|
|
echo -n "libtoolize... "
|
|
if ( (glibtoolize --version) < /dev/null > /dev/null 2>&1 ); then
|
|
echo "using glibtoolize"
|
|
glibtoolize --automake --copy --force || exit 1
|
|
|
|
elif ( (libtoolize --version) < /dev/null > /dev/null 2>&1 ) ; then
|
|
echo "using libtoolize"
|
|
libtoolize --automake --copy --force || exit 1
|
|
|
|
else
|
|
echo "libtoolize nor glibtoolize not found"
|
|
exit 1
|
|
fi
|
|
|
|
echo automake...
|
|
(automake --version) < /dev/null > /dev/null 2>&1 || {
|
|
echo automake not found
|
|
exit 1
|
|
}
|
|
|
|
automake --add-missing --copy --foreign || exit 1
|
|
|
|
echo autoconf...
|
|
(autoconf --version) < /dev/null > /dev/null 2>&1 || {
|
|
echo autoconf not found
|
|
exit 1
|
|
}
|
|
|
|
autoconf || exit 1
|
|
|
|
echo ready to configure
|
|
|
|
exit 0
|