mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-07 18:52:30 +00:00
146c104eb3
Drexler, public domain. * Made autogen.sh detect glibtoolize. * Don't resume torrents that are marked as completed yet the initial hash check returns failed chunks. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@704 e378c898-3ddf-0310-93e7-cc216c733640
50 lines
910 B
Bash
Executable File
50 lines
910 B
Bash
Executable File
#! /bin/sh
|
|
|
|
echo aclocal...
|
|
(aclocal --version) < /dev/null > /dev/null 2>&1 || {
|
|
echo aclocal not found
|
|
exit 1
|
|
}
|
|
|
|
aclocal -I ./scripts -I . ${ACLOCAL_FLAGS}
|
|
|
|
echo autoheader...
|
|
(autoheader --version) < /dev/null > /dev/null 2>&1 || {
|
|
echo autoheader not found
|
|
exit 1
|
|
}
|
|
|
|
autoheader
|
|
|
|
echo libtoolize...
|
|
if ( (libtoolize --version) < /dev/null > /dev/null 2>&1 ) ; then
|
|
libtoolize --automake --copy --force
|
|
|
|
elif ( (glibtoolize --version) < /dev/null > /dev/null 2>&1 ); then
|
|
glibtoolize --automake --copy --force
|
|
|
|
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 --gnu
|
|
|
|
echo autoconf...
|
|
(autoconf --version) < /dev/null > /dev/null 2>&1 || {
|
|
echo autoconf not found
|
|
exit 1
|
|
}
|
|
|
|
autoconf
|
|
|
|
echo ready to configure
|
|
|
|
exit 0
|