[FFmpeg-devel] [PATCH 3/5] configure: improve gzip check

Jacob Lifshay programmerjake at gmail.com
Tue May 27 09:54:58 EEST 2025


On Mon, May 26, 2025 at 6:34 PM Ramiro Polla <ramiro.polla at gmail.com> wrote:
> -[ -x "$(command -v gzip)" ] && enable gzip
> +gzip -V > /dev/null 2>&1 && enable gzip

idk if you intend it to build with busybox gzip, but busybox gzip
doesn't support the -V option, a better command could be something like:
gzip < /dev/null > /dev/null 2>&1 && enable gzip
since that does work with busybox too.

Jacob


More information about the ffmpeg-devel mailing list