Commit 45471365 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

configure: use portable shell equality operator

(cherry picked from commit 6b216e7e31a0e11d5fa6f0773bb49644aaa86ab7)

Conflicts:

	configure.ac
parent ebd94835
...@@ -2692,13 +2692,13 @@ AS_IF([test "${enable_libva}" != "no"], [ ...@@ -2692,13 +2692,13 @@ AS_IF([test "${enable_libva}" != "no"], [
AC_DEFINE(HAVE_AVCODEC_VAAPI, 1, [Define if avcodec has to be built with VAAPI support.]) AC_DEFINE(HAVE_AVCODEC_VAAPI, 1, [Define if avcodec has to be built with VAAPI support.])
echo "VAAPI acceleration activated" echo "VAAPI acceleration activated"
],[ ],[
AS_IF([test "${enable_libva}" == "yes"], AS_IF([test "${enable_libva}" = "yes"],
[AC_MSG_ERROR([libva is present but libavcodec/vaapi.h is missing])], [AC_MSG_ERROR([libva is present but libavcodec/vaapi.h is missing])],
[AC_MSG_WARN([libva is present but libavcodec/vaapi.h is missing ])]) [AC_MSG_WARN([libva is present but libavcodec/vaapi.h is missing ])])
]) ])
VLC_RESTORE_FLAGS VLC_RESTORE_FLAGS
],[ ],[
AS_IF([test "${enable_libva}" == "yes"], AS_IF([test "${enable_libva}" = "yes"],
[AC_MSG_ERROR([Could not find required libva.])], [AC_MSG_ERROR([Could not find required libva.])],
[AC_MSG_WARN([libva not found ])]) [AC_MSG_WARN([libva not found ])])
]) ])
...@@ -2725,12 +2725,12 @@ AS_IF([test "${enable_dxva2}" != "no"], [ ...@@ -2725,12 +2725,12 @@ AS_IF([test "${enable_dxva2}" != "no"], [
AC_DEFINE(HAVE_AVCODEC_DXVA2, 1, [Define if avcodec has to be built with DxVA2 support.]) AC_DEFINE(HAVE_AVCODEC_DXVA2, 1, [Define if avcodec has to be built with DxVA2 support.])
echo "DxVA2 acceleration activated" echo "DxVA2 acceleration activated"
],[ ],[
AS_IF([test "${enable_dxva2}" == "yes"], AS_IF([test "${enable_dxva2}" = "yes"],
[AC_MSG_ERROR([dxva2 is present but libavcodec/dxva2.h is missing])], [AC_MSG_ERROR([dxva2 is present but libavcodec/dxva2.h is missing])],
[AC_MSG_WARN([dxva2 is present but libavcodec/dxva2.h is missing ])]) [AC_MSG_WARN([dxva2 is present but libavcodec/dxva2.h is missing ])])
]) ])
],[ ],[
AS_IF([test "${enable_dxva2}" == "yes"], AS_IF([test "${enable_dxva2}" = "yes"],
[AC_MSG_ERROR([Could not find required dxva2api.h])], [AC_MSG_ERROR([Could not find required dxva2api.h])],
[AC_MSG_WARN([dxva2api.h not found])]) [AC_MSG_WARN([dxva2api.h not found])])
]) ])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment