configure: use compliant grep regex checks
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 14 Jun 2018 13:15:59 +0000 (14:15 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 21 Jun 2018 11:09:39 +0000 (12:09 +0100)
commitdfb1f2759c668ad0e2147ca0b29aed6fb2473451
tree8e1b6f774287e02ef972d3acd352cc6f838efa4f
parentd589eddc8be5240632d42ae1931b0b6a82ff524c
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: 1914c814a6c ("configure: error out if building OMX w/o supported platform")
Fixes: 63e11ac2b5c ("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>
configure.ac