autotools.eclass: egrep -> grep -E

Deprecated for a while but newer grep emits deprecation warnings.

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2022-05-07 07:46:18 +01:00
parent fe668307e1
commit f9a50f8925

View File

@@ -283,7 +283,7 @@ _at_uses_pkg() {
for macro ; do
args+=( -e "^[[:space:]]*${macro}\>" )
done
egrep -q "${args[@]}" configure.??
grep -E -q "${args[@]}" configure.??
fi
}
_at_uses_autoheader() { _at_uses_pkg A{C,M}_CONFIG_HEADER{S,}; }