CONFIGURE: added missing --with-gif-prefix support

This commit is contained in:
Martin Gerhardy 2021-04-10 18:42:43 +02:00
parent ea49b39d66
commit a8280b299e

8
configure vendored
View File

@ -948,6 +948,9 @@ Optional Libraries:
--with-png-prefix=DIR prefix where libpng is installed (optional)
--disable-png disable PNG decoder [autodetect]
--with-gif-prefix=DIR prefix where giflib is installed (optional)
--disable-gif disable GIF decoder [autodetect]
--with-theoradec-prefix=DIR prefix where libtheoradec is installed (optional)
--disable-theoradec disable Theora decoder [autodetect]
@ -1244,6 +1247,11 @@ for ac_option in $@; do
PNG_CFLAGS="-I$arg/include"
PNG_LIBS="-L$arg/lib"
;;
--with-gif-prefix=*)
arg=`echo $ac_option | cut -d '=' -f 2`
GIF_CFLAGS="-I$arg/include"
GIF_LIBS="-L$arg/lib"
;;
--with-theoradec-prefix=*)
arg=`echo $ac_option | cut -d '=' -f 2`
THEORADEC_CFLAGS="-I$arg/include"