]> git.sesse.net Git - vlc/blobdiff - configure.ac
Check plugins directory names for unsupported capability
[vlc] / configure.ac
index bba65bfe492b590f0bd3acab2e12c28957c6b454..6efa99b3188f67a6a167a59e3b8b0ab5d31db67e 100644 (file)
@@ -353,7 +353,7 @@ case "${host_os}" in
         dnl DEP and ASLR options
         dnl
         AC_ARG_ENABLE(peflags,
-          [  --enable-peflags        peflags use (default enabled)])
+          [  --enable-peflags        peflags use (default enabled on Windows)])
         if test "${enable_peflags}" != "no"
         then
           AC_CHECK_TOOL(PEFLAGS, peflags, :)
@@ -2978,7 +2978,9 @@ AS_IF([test "${enable_libva}" != "no"], [
               [AC_MSG_WARN([libva not found  ])])
       ])
   ],[
-    AC_MSG_ERROR([libva VAAPI support depends on libavcodec. You cannot use --disable-avcodec.])
+    AS_IF([test "x${enable_libva}" != "x"], [
+      AC_MSG_ERROR([--enable-libva and --disable-avcodec options are mutually exclusive.])
+    ])
   ])
 ])
 
@@ -3008,7 +3010,9 @@ AS_IF([test "${enable_dxva2}" != "no"], [
               [AC_MSG_WARN([dxva2api.h not found])])
       ])
   ],[
-    AC_MSG_ERROR([dxva2 support depends on libavcodec. You cannot use --disable-avcodec.])
+    AS_IF([test "x${enable_dxva2}" != "x"], [
+      AC_MSG_ERROR([--enable-dxva2 and --disable-avcodec options are mutually exclusive.])
+    ])
   ])
   fi
 ])