Stop configuration and report an error when make is not available.

Change-Id: I599a4c43386e3657748d5b875afb235701e6b57f
This commit is contained in:
Tom Finegan 2014-03-05 15:30:18 -08:00
Родитель d73c4ac84d
Коммит 89025585cd
1 изменённых файлов: 5 добавлений и 3 удалений

6
configure поставляемый
Просмотреть файл

@ -160,9 +160,11 @@ for t in ${all_targets}; do
[ -f ${source_path}/${t}.mk ] && enable_feature ${t} [ -f ${source_path}/${t}.mk ] && enable_feature ${t}
done done
if ! perl --version >/dev/null; then for util in make perl; do
die "Perl is required to build" if ! ${util} --version >/dev/null; then
die "${util} is required to build."
fi fi
done
# check installed doxygen version # check installed doxygen version
doxy_version=$(doxygen --version 2>/dev/null) doxy_version=$(doxygen --version 2>/dev/null)