Commit 89025585 authored by Tom Finegan's avatar Tom Finegan
Browse files

configure: Check for make

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

Change-Id: I599a4c43386e3657748d5b875afb235701e6b57f
Showing with 5 additions and 3 deletions
...@@ -160,9 +160,11 @@ for t in ${all_targets}; do ...@@ -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
fi die "${util} is required to build."
fi
done
# check installed doxygen version # check installed doxygen version
doxy_version=$(doxygen --version 2>/dev/null) doxy_version=$(doxygen --version 2>/dev/null)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment