From: Alejandro R. SedeƱo Date: Sat, 25 May 2024 16:04:18 +0000 (-0400) Subject: configure: use `$EGREP` in place of `grep -E` X-Git-Tag: curl-8_9_0~393 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e492834323e1ebf8c5eb8ab6bd80beb681fb449d;p=thirdparty%2Fcurl.git configure: use `$EGREP` in place of `grep -E` `$EGREP` is set based on an earlier test in configure so that we can work with systems that have `egrep` and a `grep` that does not support `-E`. Closes #13780 --- diff --git a/configure.ac b/configure.ac index a4ea9f72d6..646c255b99 100644 --- a/configure.ac +++ b/configure.ac @@ -5037,7 +5037,7 @@ AC_MSG_NOTICE([Configured to build curl/libcurl: Features: ${SUPPORT_FEATURES} ]) -non13=`echo "$TLSCHOICE" | grep -Ei 'bearssl|secure-transport|mbedtls'`; +non13=`echo "$TLSCHOICE" | $EGREP -i 'bearssl|secure-transport|mbedtls'`; if test -n "$non13"; then cat >&2 << _EOF WARNING: A selected TLS library ($TLSCHOICE) does not support TLS 1.3!