File: detect_libaec.patch

package info (click to toggle)
harp 1.26-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 57,780 kB
  • sloc: xml: 476,214; ansic: 170,387; sh: 4,898; yacc: 2,186; javascript: 1,510; python: 1,145; makefile: 653; lex: 591
file content (19 lines) | stat: -rw-r--r-- 660 bytes parent folder | download | duplicates (5)
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: harp-1.4/m4/libsz.m4
===================================================================
--- harp-1.4.orig/m4/libsz.m4
+++ harp-1.4/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