summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2016-08-04 11:54:02 -0700
committerJames Zern <jzern@google.com>2018-05-10 16:01:38 -0700
commit007971470b36b081110241b04d565f00850babb9 (patch)
treef568388b2fd0a9371f47c0d303b8456d5c61d2a9 /configure
parent67b5054035b0784170a2c7b8376aff3394339e2b (diff)
downloadlibvpx-007971470b36b081110241b04d565f00850babb9.tar
libvpx-007971470b36b081110241b04d565f00850babb9.tar.gz
libvpx-007971470b36b081110241b04d565f00850babb9.tar.bz2
libvpx-007971470b36b081110241b04d565f00850babb9.zip
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
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index 702483f13..35b703ac4 100755
--- a/configure
+++ b/configure
@@ -593,6 +593,10 @@ EOF
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() {