ref: ccae8da7c665b9257dc3af9fd9ea5d0d5df4d8b2
parent: 6c21650c0e7326197f7b96c2e8bd29183c7ed542
author: Tom Finegan <tomfinegan@google.com>
date: Thu Aug 24 08:11:48 EDT 2017
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
--- a/configure
+++ b/configure
@@ -170,10 +170,13 @@
[ -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