mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 08:50:09 +01:00
configure: use compliant grep regex checks
The current `grep "foo\|bar"' trips on some grep implementations, like the FreeBSD one. Instead use `egrep "foo|bar"' as suggested by Stefan. Cc: Stefan Esser <se@FreeBSD.org> Reported-by: Stefan Esser <se@FreeBSD.org> Bugzilla: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228673 Fixes:1914c814a6("configure: error out if building OMX w/o supported platform") Fixes:63e11ac2b5("configure: error out if building VA w/o supported platform") Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Matt Turner <mattst88@gmail.com> (cherry picked from commitdfb1f2759c)
This commit is contained in:
parent
564c882021
commit
3c1eaa596f
1 changed files with 2 additions and 2 deletions
|
|
@ -2219,13 +2219,13 @@ else
|
|||
have_vdpau_platform=no
|
||||
fi
|
||||
|
||||
if echo $platforms | grep -q "x11\|drm"; then
|
||||
if echo $platforms | egrep -q "x11|drm"; then
|
||||
have_omx_platform=yes
|
||||
else
|
||||
have_omx_platform=no
|
||||
fi
|
||||
|
||||
if echo $platforms | grep -q "x11\|drm\|wayland"; then
|
||||
if echo $platforms | egrep -q "x11|drm|wayland"; then
|
||||
have_va_platform=yes
|
||||
else
|
||||
have_va_platform=no
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue