From a8280b299e53edd08bc8ed0d5330a2bc75206ab3 Mon Sep 17 00:00:00 2001 From: Martin Gerhardy Date: Sat, 10 Apr 2021 18:42:43 +0200 Subject: [PATCH] CONFIGURE: added missing --with-gif-prefix support --- configure | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configure b/configure index 8cb3c36540f..d707a23f73d 100755 --- a/configure +++ b/configure @@ -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"