Commits

Ondřej Surý committed 5b96783

Also check for libvpx pkg-config module if vpx module is not found

Comments (0)

Files changed (1)

 yes|"")
   PKG_CHECK_MODULES([LIBVPX], vpx, [with_vpx=yes],
   [
-    if test "$with_vpx" = yes; then
-      AC_MSG_ERROR([VPX support requested, but not found])
-    fi
-    with_vpx=no
+    PKG_CHECK_MODULES([LIBVPX], vpx, [with_vpx=yes],
+    [
+      if test "$with_vpx" = yes; then
+        AC_MSG_ERROR([VPX support requested, but not found])
+      fi
+      with_vpx=no
+    ])
   ])
   ;;
 *)