Make sure diff is present at configure time.
This avoids an endless build loop at vpx_version.h creation time when diff is not present. Change-Id: I16ae386dbdaf14f9a2b85e4c5d1aaa6c08f52a45
This commit is contained in:
parent
6c21650c0e
commit
ccae8da7c6
5
configure
vendored
5
configure
vendored
@ -170,11 +170,14 @@ for t in ${all_targets}; do
|
||||
[ -f "${source_path}/${t}.mk" ] && enable_feature ${t}
|
||||
done
|
||||
|
||||
if ! diff --version >/dev/null; then
|
||||
die "diff missing: Try installing diffutils via your package manager."
|
||||
fi
|
||||
|
||||
if ! perl --version >/dev/null; then
|
||||
die "Perl is required to build"
|
||||
fi
|
||||
|
||||
|
||||
if [ "`cd \"${source_path}\" && pwd`" != "`pwd`" ]; then
|
||||
# test to see if source_path already configured
|
||||
if [ -f "${source_path}/vpx_config.h" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user