configure.ac: Ensure libva is enabled before invoking pkg-config.
authorMatt Turner <mattst88@gmail.com>
Mon, 6 Mar 2017 18:42:30 +0000 (10:42 -0800)
committerMatt Turner <mattst88@gmail.com>
Tue, 7 Mar 2017 15:27:45 +0000 (07:27 -0800)
commit86c023f973526adc27c62d261a23e5b53a1f359f
treeb58603242cfd3749aa3db9a6047b4d08fd573d48
parent706074cc96cec8bad6c3569fc53b0b3a05ad176f
configure.ac: Ensure libva is enabled before invoking pkg-config.

PKG_CHECK_VAR can only check --variable=$NAME, so it cannot handle
modversion.

Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
configure.ac