On 6/24/20 4:48 PM, Eric Blake wrote:
grep -e is also a non-portable construct; it might be possible to change
that line to call egrep instead, or to rewrite the regex to not need
extended regex.
As a short-term workaround, you can always do:
/path/to/bash ./configure
to run it under a shell that won't choke on our use of non-posix
constructs.
that will avoid the problems with local, but not necessarily the problem
with a missing 'grep -e'. A common approach there is to set $GREP up
front to something capable, but then you have to scrub for uses of grep
in configure to be replaced with $GREP.
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226
Virtualization: qemu.org | libvirt.org