summaryrefslogtreecommitdiff
path: root/debian/patches/01-zlib.patch
blob: 2014c822cc9c0138722857ad4dbe3bc9e0ffafd6 (plain)
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
---
 configure.ac    |    1 +
 src/Makefile.am |    1 +
 2 files changed, 2 insertions(+)

--- simple-scan.orig/configure.ac
+++ simple-scan/configure.ac
@@ -38,6 +38,7 @@ AM_CONDITIONAL(HAVE_COLORD, test $have_c
 
 AC_CHECK_HEADERS([sane/sane.h],[],[AC_MSG_ERROR([SANE not found])])
 AC_CHECK_HEADERS([sane/saneopts.h],[],[AC_MSG_ERROR([SANE not found])])
+AC_CHECK_HEADERS([zlib.h],[],[AC_MSG_ERROR([ZLib not found])])
 
 dnl ###########################################################################
 dnl Documentation
--- simple-scan.orig/src/Makefile.am
+++ simple-scan/src/Makefile.am
@@ -46,6 +46,7 @@ simple_scan_LDADD = \
 	$(SIMPLE_SCAN_LIBS) \
 	$(COLORD_LIBS) \
 	-lsane \
+	-lz \
 	-lm
 
 CLEANFILES = \