File: detect_libaec.patch

package info (click to toggle)
coda 2.25.6-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,008 kB
  • sloc: ansic: 121,488; javascript: 6,788; java: 2,369; python: 1,695; yacc: 1,007; makefile: 598; lex: 204; sh: 105; fortran: 60; xml: 5
file content (17 lines) | stat: -rw-r--r-- 545 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: configure fails to correctly detect szip as it uses 
 SZ_Compress, which may not be present and isn't used
Author: Alastair McKinstry <mckinstry@debian.org>
Forwarded: no
Last-Updated: 2018-01-29

--- a/m4/libsz.m4
+++ b/m4/libsz.m4
@@ -3,7 +3,7 @@
 # Check for the availability of the libsz library
 AC_DEFUN([ST_CHECK_LIBSZ],
 [SZLIB=
-AC_CHECK_LIB(sz, SZ_Compress, ac_cv_lib_sz=yes, ac_cv_lib_sz=no)
+AC_CHECK_LIB(sz, SZ_encoder_enabled, ac_cv_lib_sz=yes, ac_cv_lib_sz=no)
 if test $ac_cv_lib_sz = yes ; then
   SZLIB="-lsz"
 fi