- Unix builds: make sure we have libtoolize

From Gabor Gombas


svn path=/trunk/boinc/; revision=19144
This commit is contained in:
David Anderson 2009-09-23 17:16:24 +00:00
parent dcc3c49938
commit 5450adc4c2
2 changed files with 19 additions and 5 deletions

View File

@ -78,6 +78,7 @@ check_version()
have_gmake=yes; have_gmake=yes;
else else
echo "Couldn't find a new-enough version of GNU 'make', please install one!"; echo "Couldn't find a new-enough version of GNU 'make', please install one!";
echo "If you have a newer version, set the environment variable 'MAKE' to its path";
exit 1; exit 1;
fi fi
fi fi
@ -94,6 +95,7 @@ check_version()
have_gm4=yes; have_gm4=yes;
else else
echo "Couldn't find a new-enough version of 'm4', please install one!"; echo "Couldn't find a new-enough version of 'm4', please install one!";
echo "If you have a newer version, set the environment variable 'M4' to its path";
exit 1; exit 1;
fi fi
# build_lsc_aux "m4-1.4.1" # build_lsc_aux "m4-1.4.1"
@ -107,11 +109,10 @@ check_version()
# build_lsc_aux "pkgconfig-0.15.0" # build_lsc_aux "pkgconfig-0.15.0"
fi fi
if check_version autoconf 2.58; then if check_version autoreconf 2.58; then
echo >/dev/null echo >/dev/null
else else
echo "Couldn't find a new-enough version of 'autoconf', please install one!"; echo "Couldn't find a new-enough version of 'autoreconf', please install one!";
echo "If you have a newer version, set the environment-variable 'AUTOCONF' to its path";
exit 1; exit 1;
# build_lsc_aux "autoconf-2.59" # build_lsc_aux "autoconf-2.59"
fi fi
@ -119,12 +120,19 @@ check_version()
echo >/dev/null echo >/dev/null
else else
echo "Couldn't find a new-enough version of 'automake', please install one!"; echo "Couldn't find a new-enough version of 'automake', please install one!";
echo "If you have a newer version, set the environment-variable 'AUTOMAKE' to its path"; echo "If you have a newer version, set the environment variable 'AUTOMAKE' and 'ACLOCAL' to its path";
exit 1; exit 1;
# build_lsc_aux "automake-1.8.5" # build_lsc_aux "automake-1.8.5"
fi fi
if check_version libtoolize 1.5; then
echo >/dev/null
else
echo "Couldn't find a new-enough version of 'libtoolize', please install one!";
echo "If you have a newer version, set the environment variable 'LIBTOOLIZE' to its path";
exit 1;
fi
## ---------- ok, now run aclocal, automake, autohead and autoconf ## ---------- now run autoreconf
cmdline="autoreconf -i"; cmdline="autoreconf -i";
echo "$cmdline" echo "$cmdline"
if eval $cmdline; then if eval $cmdline; then

View File

@ -8001,3 +8001,9 @@ David 23 Sept 2009
client/ client/
app_start.cpp app_start.cpp
David 23 Sept 2009
- Unix builds: make sure we have libtoolize
From Gabor Gombas
_autosetup