File: detect_libaec.patch

package info (click to toggle)
coda 2.24.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 9,016 kB
  • sloc: ansic: 115,724; javascript: 6,732; java: 2,391; python: 1,691; yacc: 1,007; makefile: 598; lex: 204; sh: 99; fortran: 60; xml: 5
file content (19 lines) | stat: -rw-r--r-- 663 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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

Index: coda-2.20/m4/libsz.m4
===================================================================
--- coda-2.20.orig/m4/libsz.m4
+++ coda-2.20/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