ref: 007971470b36b081110241b04d565f00850babb9
parent: 67b5054035b0784170a2c7b8376aff3394339e2b
author: James Zern <jzern@google.com>
date: Thu Aug 4 07:54:02 EDT 2016
configure: check for arm_neon.h w/neon builds fails at configure time rather than compile time unless using --enable-external-build Change-Id: I966ee1000e28fdcc3f4a29759789b056faee0010
--- a/configure
+++ b/configure
@@ -593,6 +593,10 @@
check_header unistd.h # for sysconf(3) and friends.
check_header vpx/vpx_integer.h -I${source_path} && enable_feature vpx_ports
+
+ if enabled neon && ! enabled external_build; then
+ check_header arm_neon.h || die "Unable to find arm_neon.h"
+ fi
}
process_toolchain() {