hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
configure: Fix compilation when zlib is missing.
 
Downloaded from upstream commit:
 
$ LC_ALL=C svn log -r 37816
------------------------------------------------------------------------
r37816 | reimar | 2016-02-28 14:39:42 +0100 (Sun, 28 Feb 2016) | 3 lines
 
configure: Fix compilation when zlib is missing.
 
APNG and a few other decoders also cannot be enabled without it.
------------------------------------------------------------------------
 
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
 
Index: configure
===================================================================
--- a/configure    (revision 37795)
+++ b/configure    (revision 37816)
@@ -6464,8 +6464,8 @@
   mplayer_encoders="$mplayer_encoders PNG_ENCODER"
 else
   def_zlib='#define CONFIG_ZLIB 0'
-  libavdecoders=$(filter_out_component decoder 'FLASHSV FLASHSV2 PNG ZMBV ZLIB DXA EXR G2M TSCC ZEROCODEC')
-  libavencoders=$(filter_out_component encoder 'FLASHSV FLASHSV2 PNG ZMBV ZLIB')
+  libavdecoders=$(filter_out_component decoder 'APNG FLASHSV FLASHSV2 PNG ZMBV ZLIB DXA EXR G2M RSCC SCREENPRESSO TDSC TSCC ZEROCODEC')
+  libavencoders=$(filter_out_component encoder 'APNG FLASHSV FLASHSV2 PNG ZMBV ZLIB')
 fi
 echores "$_zlib"