Consider pecl_http as http

This commit is contained in:
Michele Locati 2021-01-17 15:27:09 +01:00
parent ed31420cf1
commit aeb20d355b
No known key found for this signature in database
GPG Key ID: 98B7CE2E7234E28B

View File

@ -23,6 +23,12 @@ SUPPORTED_EXTENSIONS=''
resetIFS
for EXTENSION in $EXTENSIONS_LIST; do
printf 'Checking extension "%s"... ' "$EXTENSION" >&2
case "$EXTENSION" in
pecl_http)
EXTENSION=http
printf '(using %s) ' "$EXTENSION" >&2
;;
esac
if printf '%s' "$ALL_SUPPORTED_EXTENSIONS" | grep -q "^$EXTENSION\s"; then
printf 'supported.\n' >&2
SUPPORTED_EXTENSIONS="$SUPPORTED_EXTENSIONS $EXTENSION"