aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog11
-rw-r--r--Makefile.in9
-rw-r--r--README4
-rwxr-xr-xconfigure74
-rw-r--r--contrib/delphi/ZLib.pas2
-rw-r--r--contrib/dotzlib/DotZLib/UnitTests.cs2
-rw-r--r--contrib/infback9/inftree9.c4
-rw-r--r--contrib/pascal/zlibpas.pas2
-rw-r--r--contrib/vstudio/vc10/zlib.rc6
-rw-r--r--contrib/vstudio/vc9/zlib.rc6
-rw-r--r--deflate.c2
-rw-r--r--inftrees.c4
-rw-r--r--qnx/package.qpg10
-rw-r--r--treebuild.xml4
-rw-r--r--win32/Makefile.gcc28
-rw-r--r--zconf.h12
-rw-r--r--zconf.h.cmakein12
-rw-r--r--zconf.h.in12
-rw-r--r--zlib.34
-rw-r--r--zlib.3.pdfbin8681 -> 8680 bytes
-rw-r--r--zlib.h8
-rw-r--r--zlib.pc.in3
22 files changed, 138 insertions, 81 deletions
diff --git a/ChangeLog b/ChangeLog
index 898c197..3a2b2e5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,17 @@
1 1
2 ChangeLog file for zlib 2 ChangeLog file for zlib
3 3
4Changes in 1.2.4.4 (18 Apr 2010)
5- Fix CROSS_PREFIX executable testing, CHOST extract, mingw* [Tšršk]
6- Undefine _LARGEFILE64_SOURCE in zconf.h if it is zero, but not if empty
7- Try to use bash or ksh regardless of functionality of /bin/sh
8- Fix configure incompatibility with NetBSD sh
9- Remove attempt to run under bash or ksh since have better NetBSD fix
10- Fix win32/Makefile.gcc for MinGW [Bar-Lev]
11- Add diagnostic messages when using CROSS_PREFIX in configure
12- Added --sharedlibdir option to configure [Weigelt]
13- Use hidden visibility attribute when available [Frysinger]
14
4Changes in 1.2.4.3 (10 Apr 2010) 15Changes in 1.2.4.3 (10 Apr 2010)
5- Only use CROSS_PREFIX in configure for ar and ranlib if they exist 16- Only use CROSS_PREFIX in configure for ar and ranlib if they exist
6- Use CROSS_PREFIX for nm [Bar-Lev] 17- Use CROSS_PREFIX for nm [Bar-Lev]
diff --git a/Makefile.in b/Makefile.in
index aca5924..f932d9f 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -32,7 +32,7 @@ CPP=$(CC) -E
32 32
33STATICLIB=libz.a 33STATICLIB=libz.a
34SHAREDLIB=libz.so 34SHAREDLIB=libz.so
35SHAREDLIBV=libz.so.1.2.4.3 35SHAREDLIBV=libz.so.1.2.4.4
36SHAREDLIBM=libz.so.1 36SHAREDLIBM=libz.so.1
37LIBS=$(STATICLIB) $(SHAREDLIBV) 37LIBS=$(STATICLIB) $(SHAREDLIBV)
38 38
@@ -47,6 +47,7 @@ EXE=
47prefix = /usr/local 47prefix = /usr/local
48exec_prefix = ${prefix} 48exec_prefix = ${prefix}
49libdir = ${exec_prefix}/lib 49libdir = ${exec_prefix}/lib
50sharedlibdir = ${libdir}
50includedir = ${prefix}/include 51includedir = ${prefix}/include
51mandir = ${prefix}/share/man 52mandir = ${prefix}/share/man
52man3dir = ${mandir}/man3 53man3dir = ${mandir}/man3
@@ -163,12 +164,14 @@ minigzip64$(EXE): minigzip64.o $(STATICLIB)
163install-libs: $(LIBS) 164install-libs: $(LIBS)
164 -@if [ ! -d $(DESTDIR)$(exec_prefix) ]; then mkdir -p $(DESTDIR)$(exec_prefix); fi 165 -@if [ ! -d $(DESTDIR)$(exec_prefix) ]; then mkdir -p $(DESTDIR)$(exec_prefix); fi
165 -@if [ ! -d $(DESTDIR)$(libdir) ]; then mkdir -p $(DESTDIR)$(libdir); fi 166 -@if [ ! -d $(DESTDIR)$(libdir) ]; then mkdir -p $(DESTDIR)$(libdir); fi
167 -@if [ ! -d $(DESTDIR)$(sharedlibdir) ]; then mkdir -p $(DESTDIR)$(sharedlibdir); fi
166 -@if [ ! -d $(DESTDIR)$(man3dir) ]; then mkdir -p $(DESTDIR)$(man3dir); fi 168 -@if [ ! -d $(DESTDIR)$(man3dir) ]; then mkdir -p $(DESTDIR)$(man3dir); fi
167 -@if [ ! -d $(DESTDIR)$(pkgconfigdir) ]; then mkdir -p $(DESTDIR)$(pkgconfigdir); fi 169 -@if [ ! -d $(DESTDIR)$(pkgconfigdir) ]; then mkdir -p $(DESTDIR)$(pkgconfigdir); fi
168 cp $(LIBS) $(DESTDIR)$(libdir) 170 cp $(STATICLIB) $(DESTDIR)$(libdir)
171 cp $(SHAREDLIBV) $(DESTDIR)$(sharedlibdir)
169 cd $(DESTDIR)$(libdir); chmod u=rw,go=r $(STATICLIB) 172 cd $(DESTDIR)$(libdir); chmod u=rw,go=r $(STATICLIB)
170 -@(cd $(DESTDIR)$(libdir); $(RANLIB) libz.a || true) >/dev/null 2>&1 173 -@(cd $(DESTDIR)$(libdir); $(RANLIB) libz.a || true) >/dev/null 2>&1
171 -@cd $(DESTDIR)$(libdir); if test "$(SHAREDLIBV)" -a -f $(SHAREDLIBV); then \ 174 -@cd $(DESTDIR)$(sharedlibdir); if test "$(SHAREDLIBV)" -a -f $(SHAREDLIBV); then \
172 chmod 755 $(SHAREDLIBV); \ 175 chmod 755 $(SHAREDLIBV); \
173 rm -f $(SHAREDLIB) $(SHAREDLIBM); \ 176 rm -f $(SHAREDLIB) $(SHAREDLIBM); \
174 ln -s $(SHAREDLIBV) $(SHAREDLIB); \ 177 ln -s $(SHAREDLIBV) $(SHAREDLIB); \
diff --git a/README b/README
index 68ff992..d909ba6 100644
--- a/README
+++ b/README
@@ -1,6 +1,6 @@
1ZLIB DATA COMPRESSION LIBRARY 1ZLIB DATA COMPRESSION LIBRARY
2 2
3zlib 1.2.4.3 is a general purpose data compression library. All the code is 3zlib 1.2.4.4 is a general purpose data compression library. All the code is
4thread safe. The data format used by the zlib library is described by RFCs 4thread safe. The data format used by the zlib library is described by RFCs
5(Request for Comments) 1950 to 1952 in the files 5(Request for Comments) 1950 to 1952 in the files
6http://www.ietf.org/rfc/rfc1950.txt (zlib format), rfc1951.txt (deflate format) 6http://www.ietf.org/rfc/rfc1950.txt (zlib format), rfc1951.txt (deflate format)
@@ -31,7 +31,7 @@ Mark Nelson <markn@ieee.org> wrote an article about zlib for the Jan. 1997
31issue of Dr. Dobb's Journal; a copy of the article is available at 31issue of Dr. Dobb's Journal; a copy of the article is available at
32http://marknelson.us/1997/01/01/zlib-engine/ . 32http://marknelson.us/1997/01/01/zlib-engine/ .
33 33
34The changes made in version 1.2.4.3 are documented in the file ChangeLog. 34The changes made in version 1.2.4.4 are documented in the file ChangeLog.
35 35
36Unsupported third party contributions are provided in directory contrib/ . 36Unsupported third party contributions are provided in directory contrib/ .
37 37
diff --git a/configure b/configure
index 7ff484b..e729c6c 100755
--- a/configure
+++ b/configure
@@ -13,37 +13,8 @@
13# If you have problems, try without defining CC and CFLAGS before reporting 13# If you have problems, try without defining CC and CFLAGS before reporting
14# an error. 14# an error.
15 15
16# make sure we are running under a compatible shell (stolen from ffmpeg and libnfo,
17# except their's wasn't portable enough due to ! usage, so this is better)
18if test "0$ZLIB_CONFIGURE_EXEC" -lt 1; then
19 unset foo
20 try=0
21 (: ${foo%%bar}) 2>/dev/null
22 if test "$?" -ne 0; then
23 try=1
24 else
25 (: ${foo?}) 2>/dev/null
26 if test "$?" -eq 0; then
27 try=1
28 fi
29 fi
30 if test "$try" -eq 1; then
31 ZLIB_CONFIGURE_EXEC=1
32 export ZLIB_CONFIGURE_EXEC
33 type "bash" > /dev/null 2>&1 && exec bash "$0" "$@"
34 type "ksh" > /dev/null 2>&1 && exec ksh "$0" "$@"
35 if test -x /usr/xpg4/bin/sh; then
36 exec /usr/xpg4/bin/sh "$0" "$@"
37 fi
38# echo "No compatible shell script interpreter found."
39# exit 1
40# we could give up here, but go ahead and give their old sh a try
41 fi
42 unset try
43fi
44
45if [ -n "${CHOST}" ]; then 16if [ -n "${CHOST}" ]; then
46 uname="$(echo "${CHOST}" | sed 's/.*-.*-\(.*\)-.*/\1/')" 17 uname="$(echo "${CHOST}" | sed -e 's/.*-.*-\(.*\)-.*$/\1/' -e 's/.*-\(.*\)-.*/\1/' -e 's/.*-\(.*\)$/\1/')"
47 CROSS_PREFIX="${CHOST}-" 18 CROSS_PREFIX="${CHOST}-"
48fi 19fi
49 20
@@ -53,24 +24,28 @@ VER=`sed -n -e '/VERSION "/s/.*"\(.*\)".*/\1/p' < zlib.h`
53VER3=`sed -n -e '/VERSION "/s/.*"\([0-9]*\\.[0-9]*\\.[0-9]*\).*/\1/p' < zlib.h` 24VER3=`sed -n -e '/VERSION "/s/.*"\([0-9]*\\.[0-9]*\\.[0-9]*\).*/\1/p' < zlib.h`
54VER2=`sed -n -e '/VERSION "/s/.*"\([0-9]*\\.[0-9]*\)\\..*/\1/p' < zlib.h` 25VER2=`sed -n -e '/VERSION "/s/.*"\([0-9]*\\.[0-9]*\)\\..*/\1/p' < zlib.h`
55VER1=`sed -n -e '/VERSION "/s/.*"\([0-9]*\)\\..*/\1/p' < zlib.h` 26VER1=`sed -n -e '/VERSION "/s/.*"\([0-9]*\)\\..*/\1/p' < zlib.h`
56if [ -x "${CROSS_PREFIX}ar" ]; then 27if "${CROSS_PREFIX}ar" --version >/dev/null 2>/dev/null || test $? -lt 126; then
57 AR=${AR-"${CROSS_PREFIX}ar"} 28 AR=${AR-"${CROSS_PREFIX}ar"}
29 test -n "${CROSS_PREFIX}" && echo Using ${AR}
58else 30else
59 AR=${AR-"ar"} 31 AR=${AR-"ar"}
32 test -n "${CROSS_PREFIX}" && echo Using ${AR}
60fi 33fi
61AR_RC="${AR} rc" 34AR_RC="${AR} rc"
62if [ -x "${CROSS_PREFIX}ranlib" ]; then 35if "${CROSS_PREFIX}ranlib" --version >/dev/null 2>/dev/null || test $? -lt 126; then
63 RANLIB=${RANLIB-"${CROSS_PREFIX}ranlib"} 36 RANLIB=${RANLIB-"${CROSS_PREFIX}ranlib"}
37 test -n "${CROSS_PREFIX}" && echo Using ${RANLIB}
64else 38else
65 RANLIB=${RANLIB-"ranlib"} 39 RANLIB=${RANLIB-"ranlib"}
66fi 40fi
67if [ -x "${CROSS_PREFIX}nm" ]; then 41if "${CROSS_PREFIX}nm" --version >/dev/null 2>/dev/null || test $? -lt 126; then
68 NM=${NM-"${CROSS_PREFIX}nm"} 42 NM=${NM-"${CROSS_PREFIX}nm"}
43 test -n "${CROSS_PREFIX}" && echo Using ${NM}
69else 44else
70 NM=${NM-"nm"} 45 NM=${NM-"nm"}
71fi 46fi
72LDCONFIG=${LDCONFIG-"ldconfig"} 47LDCONFIG=${LDCONFIG-"ldconfig"}
73LDSHAREDLIBC="${LDSHAREDLIBC-"-lc"}" 48LDSHAREDLIBC="${LDSHAREDLIBC--lc}"
74prefix=${prefix-/usr/local} 49prefix=${prefix-/usr/local}
75exec_prefix=${exec_prefix-'${prefix}'} 50exec_prefix=${exec_prefix-'${prefix}'}
76libdir=${libdir-'${exec_prefix}/lib'} 51libdir=${libdir-'${exec_prefix}/lib'}
@@ -90,11 +65,13 @@ case "$1" in
90 -h* | --help) 65 -h* | --help)
91 echo 'usage:' 66 echo 'usage:'
92 echo ' configure [--zprefix] [--prefix=PREFIX] [--eprefix=EXPREFIX]' 67 echo ' configure [--zprefix] [--prefix=PREFIX] [--eprefix=EXPREFIX]'
93 echo ' [--static] [--64] [--libdir=LIBDIR] [--includedir=INCLUDEDIR]' 68 echo ' [--static] [--64] [--libdir=LIBDIR] [--sharedlibdir=LIBDIR]'
69 echo ' [--includedir=INCLUDEDIR]'
94 exit 0 ;; 70 exit 0 ;;
95 -p*=* | --prefix=*) prefix=`echo $1 | sed 's/.*=//'`; shift ;; 71 -p*=* | --prefix=*) prefix=`echo $1 | sed 's/.*=//'`; shift ;;
96 -e*=* | --eprefix=*) exec_prefix=`echo $1 | sed 's/.*=//'`; shift ;; 72 -e*=* | --eprefix=*) exec_prefix=`echo $1 | sed 's/.*=//'`; shift ;;
97 -l*=* | --libdir=*) libdir=`echo $1 | sed 's/.*=//'`; shift ;; 73 -l*=* | --libdir=*) libdir=`echo $1 | sed 's/.*=//'`; shift ;;
74 --sharedlibdir=*) sharedlibdir=`echo $1 | sed 's/.*=//'`; shift ;;
98 -i*=* | --includedir=*) includedir=`echo $1 | sed 's/.*=//'`;shift ;; 75 -i*=* | --includedir=*) includedir=`echo $1 | sed 's/.*=//'`;shift ;;
99 -u*=* | --uname=*) uname=`echo $1 | sed 's/.*=//'`;shift ;; 76 -u*=* | --uname=*) uname=`echo $1 | sed 's/.*=//'`;shift ;;
100 -p* | --prefix) prefix="$2"; shift; shift ;; 77 -p* | --prefix) prefix="$2"; shift; shift ;;
@@ -117,7 +94,7 @@ extern int getchar();
117int hello() {return getchar();} 94int hello() {return getchar();}
118EOF 95EOF
119 96
120test -z "$CC" && echo Checking for gcc... 97test -z "$CC" && echo Checking for ${CROSS_PREFIX}gcc...
121cc=${CC-${CROSS_PREFIX}gcc} 98cc=${CC-${CROSS_PREFIX}gcc}
122cflags=${CFLAGS-"-O3"} 99cflags=${CFLAGS-"-O3"}
123# to force the asm version use: CFLAGS="-O3 -DASMV" ./configure 100# to force the asm version use: CFLAGS="-O3 -DASMV" ./configure
@@ -127,8 +104,8 @@ esac
127 104
128if test "$gcc" -eq 1 && ($cc -c $cflags $test.c) 2>/dev/null; then 105if test "$gcc" -eq 1 && ($cc -c $cflags $test.c) 2>/dev/null; then
129 CC="$cc" 106 CC="$cc"
130 SFLAGS="${CFLAGS-"-O3"} -fPIC" 107 SFLAGS="${CFLAGS--O3} -fPIC"
131 CFLAGS="${CFLAGS-"-O3"}" 108 CFLAGS="${CFLAGS--O3}"
132 if test $build64 -eq 1; then 109 if test $build64 -eq 1; then
133 CFLAGS="${CFLAGS} -m64" 110 CFLAGS="${CFLAGS} -m64"
134 SFLAGS="${SFLAGS} -m64" 111 SFLAGS="${SFLAGS} -m64"
@@ -143,7 +120,7 @@ if test "$gcc" -eq 1 && ($cc -c $cflags $test.c) 2>/dev/null; then
143 Linux* | linux* | GNU | GNU/* | *BSD | DragonFly) LDSHARED=${LDSHARED-"$cc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map"} ;; 120 Linux* | linux* | GNU | GNU/* | *BSD | DragonFly) LDSHARED=${LDSHARED-"$cc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map"} ;;
144 CYGWIN* | Cygwin* | cygwin* | OS/2*) 121 CYGWIN* | Cygwin* | cygwin* | OS/2*)
145 EXE='.exe' ;; 122 EXE='.exe' ;;
146 MINGW*) 123 MINGW*|mingw*)
147 LDSHARED=${LDSHARED-"$cc -shared"} 124 LDSHARED=${LDSHARED-"$cc -shared"}
148 LDSHAREDLIBC="" 125 LDSHAREDLIBC=""
149 EXE='.exe' ;; 126 EXE='.exe' ;;
@@ -527,6 +504,23 @@ EOF
527 fi 504 fi
528fi 505fi
529 506
507cat > $test.c <<EOF
508int foo __attribute__ ((visibility ("hidden")));
509int main()
510{
511 return 0;
512}
513EOF
514if test "`($CC -c -fvisibility=hidden $CFLAGS $test.c) 2>&1`" = ""; then
515 CFLAGS="$CFLAGS -fvisibility=hidden"
516 SFLAGS="$SFLAGS -fvisibility=hidden"
517 echo "Checking for attribute(visibility) support... Yes."
518else
519 CFLAGS="$CFLAGS -DNO_VIZ"
520 SFLAGS="$SFLAGS -DNO_VIZ"
521 echo "Checking for attribute(visibility) support... No."
522fi
523
530CPP=${CPP-"$CC -E"} 524CPP=${CPP-"$CC -E"}
531case $CFLAGS in 525case $CFLAGS in
532 *ASMV*) 526 *ASMV*)
@@ -560,6 +554,7 @@ sed < Makefile.in "
560/^prefix *=/s#=.*#=$prefix# 554/^prefix *=/s#=.*#=$prefix#
561/^exec_prefix *=/s#=.*#=$exec_prefix# 555/^exec_prefix *=/s#=.*#=$exec_prefix#
562/^libdir *=/s#=.*#=$libdir# 556/^libdir *=/s#=.*#=$libdir#
557/^sharedlibdir *=/s#=.*#=$sharedlibdir#
563/^includedir *=/s#=.*#=$includedir# 558/^includedir *=/s#=.*#=$includedir#
564/^mandir *=/s#=.*#=$mandir# 559/^mandir *=/s#=.*#=$mandir#
565/^all: */s#:.*#: $ALL# 560/^all: */s#:.*#: $ALL#
@@ -581,6 +576,7 @@ sed < zlib.pc.in "
581/^prefix *=/s#=.*#=$prefix# 576/^prefix *=/s#=.*#=$prefix#
582/^exec_prefix *=/s#=.*#=$exec_prefix# 577/^exec_prefix *=/s#=.*#=$exec_prefix#
583/^libdir *=/s#=.*#=$libdir# 578/^libdir *=/s#=.*#=$libdir#
579/^sharedlibdir *=/s#=.*#=$sharedlibdir#
584/^includedir *=/s#=.*#=$includedir# 580/^includedir *=/s#=.*#=$includedir#
585/^mandir *=/s#=.*#=$mandir# 581/^mandir *=/s#=.*#=$mandir#
586/^LDFLAGS *=/s#=.*#=$LDFLAGS# 582/^LDFLAGS *=/s#=.*#=$LDFLAGS#
diff --git a/contrib/delphi/ZLib.pas b/contrib/delphi/ZLib.pas
index 6ed89ce..c1094c6 100644
--- a/contrib/delphi/ZLib.pas
+++ b/contrib/delphi/ZLib.pas
@@ -152,7 +152,7 @@ procedure DecompressToUserBuf(const InBuf: Pointer; InBytes: Integer;
152 const OutBuf: Pointer; BufSize: Integer); 152 const OutBuf: Pointer; BufSize: Integer);
153 153
154const 154const
155 zlib_version = '1.2.4.3'; 155 zlib_version = '1.2.4.4';
156 156
157type 157type
158 EZlibError = class(Exception); 158 EZlibError = class(Exception);
diff --git a/contrib/dotzlib/DotZLib/UnitTests.cs b/contrib/dotzlib/DotZLib/UnitTests.cs
index 0668c9f..fe1061f 100644
--- a/contrib/dotzlib/DotZLib/UnitTests.cs
+++ b/contrib/dotzlib/DotZLib/UnitTests.cs
@@ -156,7 +156,7 @@ namespace DotZLibTests
156 public void Info_Version() 156 public void Info_Version()
157 { 157 {
158 Info info = new Info(); 158 Info info = new Info();
159 Assert.AreEqual("1.2.4.3", Info.Version); 159 Assert.AreEqual("1.2.4.4", Info.Version);
160 Assert.AreEqual(32, info.SizeOfUInt); 160 Assert.AreEqual(32, info.SizeOfUInt);
161 Assert.AreEqual(32, info.SizeOfULong); 161 Assert.AreEqual(32, info.SizeOfULong);
162 Assert.AreEqual(32, info.SizeOfPointer); 162 Assert.AreEqual(32, info.SizeOfPointer);
diff --git a/contrib/infback9/inftree9.c b/contrib/infback9/inftree9.c
index a67f21d..1847d22 100644
--- a/contrib/infback9/inftree9.c
+++ b/contrib/infback9/inftree9.c
@@ -9,7 +9,7 @@
9#define MAXBITS 15 9#define MAXBITS 15
10 10
11const char inflate9_copyright[] = 11const char inflate9_copyright[] =
12 " inflate9 1.2.4.3 Copyright 1995-2010 Mark Adler "; 12 " inflate9 1.2.4.4 Copyright 1995-2010 Mark Adler ";
13/* 13/*
14 If you use the zlib library in a product, an acknowledgment is welcome 14 If you use the zlib library in a product, an acknowledgment is welcome
15 in the documentation of your product. If for some reason you cannot 15 in the documentation of your product. If for some reason you cannot
@@ -64,7 +64,7 @@ unsigned short FAR *work;
64 static const unsigned short lext[31] = { /* Length codes 257..285 extra */ 64 static const unsigned short lext[31] = { /* Length codes 257..285 extra */
65 128, 128, 128, 128, 128, 128, 128, 128, 129, 129, 129, 129, 65 128, 128, 128, 128, 128, 128, 128, 128, 129, 129, 129, 129,
66 130, 130, 130, 130, 131, 131, 131, 131, 132, 132, 132, 132, 66 130, 130, 130, 130, 131, 131, 131, 131, 132, 132, 132, 132,
67 133, 133, 133, 133, 144, 195, 66}; 67 133, 133, 133, 133, 144, 74, 65};
68 static const unsigned short dbase[32] = { /* Distance codes 0..31 base */ 68 static const unsigned short dbase[32] = { /* Distance codes 0..31 base */
69 1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 69 1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49,
70 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 70 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073,
diff --git a/contrib/pascal/zlibpas.pas b/contrib/pascal/zlibpas.pas
index 28383bc..0b2153d 100644
--- a/contrib/pascal/zlibpas.pas
+++ b/contrib/pascal/zlibpas.pas
@@ -10,7 +10,7 @@ unit zlibpas;
10interface 10interface
11 11
12const 12const
13 ZLIB_VERSION = '1.2.4.3'; 13 ZLIB_VERSION = '1.2.4.4';
14 14
15type 15type
16 alloc_func = function(opaque: Pointer; items, size: Integer): Pointer; 16 alloc_func = function(opaque: Pointer; items, size: Integer): Pointer;
diff --git a/contrib/vstudio/vc10/zlib.rc b/contrib/vstudio/vc10/zlib.rc
index 6d8cd3c..6127143 100644
--- a/contrib/vstudio/vc10/zlib.rc
+++ b/contrib/vstudio/vc10/zlib.rc
@@ -2,8 +2,8 @@
2 2
3#define IDR_VERSION1 1 3#define IDR_VERSION1 1
4IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE 4IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE
5 FILEVERSION 1,2,4,3 5 FILEVERSION 1,2,4,4
6 PRODUCTVERSION 1,2,4,3 6 PRODUCTVERSION 1,2,4,4
7 FILEFLAGSMASK VS_FFI_FILEFLAGSMASK 7 FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
8 FILEFLAGS 0 8 FILEFLAGS 0
9 FILEOS VOS_DOS_WINDOWS32 9 FILEOS VOS_DOS_WINDOWS32
@@ -17,7 +17,7 @@ BEGIN
17 17
18 BEGIN 18 BEGIN
19 VALUE "FileDescription", "zlib data compression and ZIP file I/O library\0" 19 VALUE "FileDescription", "zlib data compression and ZIP file I/O library\0"
20 VALUE "FileVersion", "1.2.4.3\0" 20 VALUE "FileVersion", "1.2.4.4\0"
21 VALUE "InternalName", "zlib\0" 21 VALUE "InternalName", "zlib\0"
22 VALUE "OriginalFilename", "zlib.dll\0" 22 VALUE "OriginalFilename", "zlib.dll\0"
23 VALUE "ProductName", "ZLib.DLL\0" 23 VALUE "ProductName", "ZLib.DLL\0"
diff --git a/contrib/vstudio/vc9/zlib.rc b/contrib/vstudio/vc9/zlib.rc
index 6d8cd3c..6127143 100644
--- a/contrib/vstudio/vc9/zlib.rc
+++ b/contrib/vstudio/vc9/zlib.rc
@@ -2,8 +2,8 @@
2 2
3#define IDR_VERSION1 1 3#define IDR_VERSION1 1
4IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE 4IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE
5 FILEVERSION 1,2,4,3 5 FILEVERSION 1,2,4,4
6 PRODUCTVERSION 1,2,4,3 6 PRODUCTVERSION 1,2,4,4
7 FILEFLAGSMASK VS_FFI_FILEFLAGSMASK 7 FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
8 FILEFLAGS 0 8 FILEFLAGS 0
9 FILEOS VOS_DOS_WINDOWS32 9 FILEOS VOS_DOS_WINDOWS32
@@ -17,7 +17,7 @@ BEGIN
17 17
18 BEGIN 18 BEGIN
19 VALUE "FileDescription", "zlib data compression and ZIP file I/O library\0" 19 VALUE "FileDescription", "zlib data compression and ZIP file I/O library\0"
20 VALUE "FileVersion", "1.2.4.3\0" 20 VALUE "FileVersion", "1.2.4.4\0"
21 VALUE "InternalName", "zlib\0" 21 VALUE "InternalName", "zlib\0"
22 VALUE "OriginalFilename", "zlib.dll\0" 22 VALUE "OriginalFilename", "zlib.dll\0"
23 VALUE "ProductName", "ZLib.DLL\0" 23 VALUE "ProductName", "ZLib.DLL\0"
diff --git a/deflate.c b/deflate.c
index efb26bf..b4ed49d 100644
--- a/deflate.c
+++ b/deflate.c
@@ -52,7 +52,7 @@
52#include "deflate.h" 52#include "deflate.h"
53 53
54const char deflate_copyright[] = 54const char deflate_copyright[] =
55 " deflate 1.2.4.3 Copyright 1995-2010 Jean-loup Gailly and Mark Adler "; 55 " deflate 1.2.4.4 Copyright 1995-2010 Jean-loup Gailly and Mark Adler ";
56/* 56/*
57 If you use the zlib library in a product, an acknowledgment is welcome 57 If you use the zlib library in a product, an acknowledgment is welcome
58 in the documentation of your product. If for some reason you cannot 58 in the documentation of your product. If for some reason you cannot
diff --git a/inftrees.c b/inftrees.c
index 430b174..ed32632 100644
--- a/inftrees.c
+++ b/inftrees.c
@@ -9,7 +9,7 @@
9#define MAXBITS 15 9#define MAXBITS 15
10 10
11const char inflate_copyright[] = 11const char inflate_copyright[] =
12 " inflate 1.2.4.3 Copyright 1995-2010 Mark Adler "; 12 " inflate 1.2.4.4 Copyright 1995-2010 Mark Adler ";
13/* 13/*
14 If you use the zlib library in a product, an acknowledgment is welcome 14 If you use the zlib library in a product, an acknowledgment is welcome
15 in the documentation of your product. If for some reason you cannot 15 in the documentation of your product. If for some reason you cannot
@@ -62,7 +62,7 @@ unsigned short FAR *work;
62 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0}; 62 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0};
63 static const unsigned short lext[31] = { /* Length codes 257..285 extra */ 63 static const unsigned short lext[31] = { /* Length codes 257..285 extra */
64 16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, 64 16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18,
65 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 195, 66}; 65 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 74, 65};
66 static const unsigned short dbase[32] = { /* Distance codes 0..29 base */ 66 static const unsigned short dbase[32] = { /* Distance codes 0..29 base */
67 1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 67 1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193,
68 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 68 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145,
diff --git a/qnx/package.qpg b/qnx/package.qpg
index 55cb3e1..4ee3ad3 100644
--- a/qnx/package.qpg
+++ b/qnx/package.qpg
@@ -25,10 +25,10 @@
25 <QPG:Files> 25 <QPG:Files>
26 <QPG:Add file="../zconf.h" install="/opt/include/" user="root:sys" permission="644"/> 26 <QPG:Add file="../zconf.h" install="/opt/include/" user="root:sys" permission="644"/>
27 <QPG:Add file="../zlib.h" install="/opt/include/" user="root:sys" permission="644"/> 27 <QPG:Add file="../zlib.h" install="/opt/include/" user="root:sys" permission="644"/>
28 <QPG:Add file="../libz.so.1.2.4.3" install="/opt/lib/" user="root:bin" permission="644"/> 28 <QPG:Add file="../libz.so.1.2.4.4" install="/opt/lib/" user="root:bin" permission="644"/>
29 <QPG:Add file="libz.so" install="/opt/lib/" component="dev" filetype="symlink" linkto="libz.so.1.2.4.3"/> 29 <QPG:Add file="libz.so" install="/opt/lib/" component="dev" filetype="symlink" linkto="libz.so.1.2.4.4"/>
30 <QPG:Add file="libz.so.1" install="/opt/lib/" filetype="symlink" linkto="libz.so.1.2.4.3"/> 30 <QPG:Add file="libz.so.1" install="/opt/lib/" filetype="symlink" linkto="libz.so.1.2.4.4"/>
31 <QPG:Add file="../libz.so.1.2.4.3" install="/opt/lib/" component="slib"/> 31 <QPG:Add file="../libz.so.1.2.4.4" install="/opt/lib/" component="slib"/>
32 </QPG:Files> 32 </QPG:Files>
33 33
34 <QPG:PackageFilter> 34 <QPG:PackageFilter>
@@ -63,7 +63,7 @@
63 </QPM:ProductDescription> 63 </QPM:ProductDescription>
64 64
65 <QPM:ReleaseDescription> 65 <QPM:ReleaseDescription>
66 <QPM:ReleaseVersion>1.2.4.3</QPM:ReleaseVersion> 66 <QPM:ReleaseVersion>1.2.4.4</QPM:ReleaseVersion>
67 <QPM:ReleaseUrgency>Medium</QPM:ReleaseUrgency> 67 <QPM:ReleaseUrgency>Medium</QPM:ReleaseUrgency>
68 <QPM:ReleaseStability>Stable</QPM:ReleaseStability> 68 <QPM:ReleaseStability>Stable</QPM:ReleaseStability>
69 <QPM:ReleaseNoteMinor></QPM:ReleaseNoteMinor> 69 <QPM:ReleaseNoteMinor></QPM:ReleaseNoteMinor>
diff --git a/treebuild.xml b/treebuild.xml
index 616ed3f..934442f 100644
--- a/treebuild.xml
+++ b/treebuild.xml
@@ -1,6 +1,6 @@
1<?xml version="1.0" ?> 1<?xml version="1.0" ?>
2<package name="zlib" version="1.2.4.3"> 2<package name="zlib" version="1.2.4.4">
3 <library name="zlib" dlversion="1.2.4.3" dlname="z"> 3 <library name="zlib" dlversion="1.2.4.4" dlname="z">
4 <property name="description"> zip compression library </property> 4 <property name="description"> zip compression library </property>
5 <property name="include-target-dir" value="$(@PACKAGE/install-includedir)" /> 5 <property name="include-target-dir" value="$(@PACKAGE/install-includedir)" />
6 6
diff --git a/win32/Makefile.gcc b/win32/Makefile.gcc
index 0e16190..93c207d 100644
--- a/win32/Makefile.gcc
+++ b/win32/Makefile.gcc
@@ -27,6 +27,11 @@ STATICLIB = libz.a
27SHAREDLIB = zlib1.dll 27SHAREDLIB = zlib1.dll
28IMPLIB = libzdll.a 28IMPLIB = libzdll.a
29 29
30#
31# Set to 1 if shared object needs to be installed
32#
33SHARED_MODE=0
34
30#LOC = -DASMV 35#LOC = -DASMV
31#LOC = -DDEBUG -g 36#LOC = -DDEBUG -g
32 37
@@ -38,7 +43,7 @@ AS = $(CC)
38ASFLAGS = $(LOC) -Wall 43ASFLAGS = $(LOC) -Wall
39 44
40LD = $(CC) 45LD = $(CC)
41LDFLAGS = $(LOC) -s 46LDFLAGS = $(LOC)
42 47
43AR = $(PREFIX)ar 48AR = $(PREFIX)ar
44ARFLAGS = rcs 49ARFLAGS = rcs
@@ -82,43 +87,54 @@ $(STATICLIB): $(OBJS) $(OBJA)
82$(IMPLIB): $(SHAREDLIB) 87$(IMPLIB): $(SHAREDLIB)
83 88
84$(SHAREDLIB): win32/zlib.def $(OBJS) $(OBJA) zlibrc.o 89$(SHAREDLIB): win32/zlib.def $(OBJS) $(OBJA) zlibrc.o
85 $(CC) -shared -Wl,--out-implib,$(IMPLIB) \ 90 $(CC) -shared -Wl,--out-implib,$(IMPLIB) $(LDFLAGS) \
86 -o $@ win32/zlib.def $(OBJS) $(OBJA) zlibrc.o 91 -o $@ win32/zlib.def $(OBJS) $(OBJA) zlibrc.o
87 $(STRIP) $@ 92 $(STRIP) $@
88 93
89example.exe: example.o $(STATICLIB) 94example.exe: example.o $(STATICLIB)
90 $(LD) $(LDFLAGS) -o $@ example.o $(STATICLIB) 95 $(LD) $(LDFLAGS) -o $@ example.o $(STATICLIB)
96 $(STRIP) $@
91 97
92minigzip.exe: minigzip.o $(STATICLIB) 98minigzip.exe: minigzip.o $(STATICLIB)
93 $(LD) $(LDFLAGS) -o $@ minigzip.o $(STATICLIB) 99 $(LD) $(LDFLAGS) -o $@ minigzip.o $(STATICLIB)
100 $(STRIP) $@
94 101
95example_d.exe: example.o $(IMPLIB) 102example_d.exe: example.o $(IMPLIB)
96 $(LD) $(LDFLAGS) -o $@ example.o $(IMPLIB) 103 $(LD) $(LDFLAGS) -o $@ example.o $(IMPLIB)
104 $(STRIP) $@
97 105
98minigzip_d.exe: minigzip.o $(IMPLIB) 106minigzip_d.exe: minigzip.o $(IMPLIB)
99 $(LD) $(LDFLAGS) -o $@ minigzip.o $(IMPLIB) 107 $(LD) $(LDFLAGS) -o $@ minigzip.o $(IMPLIB)
108 $(STRIP) $@
100 109
101zlibrc.o: win32/zlib1.rc 110zlibrc.o: win32/zlib1.rc
102 $(RC) $(RCFLAGS) -o $@ win32/zlib1.rc 111 $(RC) $(RCFLAGS) -o $@ win32/zlib1.rc
103 112
104 113
105# INCLUDE_PATH and LIBRARY_PATH must be set. 114# BINARY_PATH, INCLUDE_PATH and LIBRARY_PATH must be set.
106 115
107.PHONY: install uninstall clean 116.PHONY: install uninstall clean
108 117
109install: zlib.h zconf.h $(LIB) 118install: zlib.h zconf.h $(STATICLIB) $(IMPLIB)
119 -if [ "$(SHARED_MODE)" = "1" ]; then \
120 mkdir -p $(BINARY_PATH); \
121 $(INSTALL) $(SHAREDLIB) $(BINARY_PATH); \
122 $(INSTALL) $(IMPLIB) $(LIBRARY_PATH); \
123 fi
110 -@mkdir -p $(INCLUDE_PATH) 124 -@mkdir -p $(INCLUDE_PATH)
111 -@mkdir -p $(LIBRARY_PATH) 125 -@mkdir -p $(LIBRARY_PATH)
112 -$(INSTALL) zlib.h $(INCLUDE_PATH) 126 -$(INSTALL) zlib.h $(INCLUDE_PATH)
113 -$(INSTALL) zconf.h $(INCLUDE_PATH) 127 -$(INSTALL) zconf.h $(INCLUDE_PATH)
114 -$(INSTALL) $(STATICLIB) $(LIBRARY_PATH) 128 -$(INSTALL) $(STATICLIB) $(LIBRARY_PATH)
115 -$(INSTALL) $(IMPLIB) $(LIBRARY_PATH)
116 129
117uninstall: 130uninstall:
131 -if [ "$(SHARED_MODE)" = "1" ]; then \
132 $(RM) $(BINARY_PATH)/$(SHAREDLIB); \
133 $(RM) $(LIBRARY_PATH)/$(IMPLIB); \
134 fi
118 -$(RM) $(INCLUDE_PATH)/zlib.h 135 -$(RM) $(INCLUDE_PATH)/zlib.h
119 -$(RM) $(INCLUDE_PATH)/zconf.h 136 -$(RM) $(INCLUDE_PATH)/zconf.h
120 -$(RM) $(LIBRARY_PATH)/$(STATICLIB) 137 -$(RM) $(LIBRARY_PATH)/$(STATICLIB)
121 -$(RM) $(LIBRARY_PATH)/$(IMPLIB)
122 138
123clean: 139clean:
124 -$(RM) $(STATICLIB) 140 -$(RM) $(STATICLIB)
diff --git a/zconf.h b/zconf.h
index 1988920..f5a6c87 100644
--- a/zconf.h
+++ b/zconf.h
@@ -315,7 +315,7 @@
315# endif 315# endif
316#endif 316#endif
317 317
318#ifdef HAVE_VISIBILITY_PRAGMA 318#ifndef NO_VIZ
319# define ZEXTERN __attribute__((visibility ("default"))) extern 319# define ZEXTERN __attribute__((visibility ("default"))) extern
320#endif 320#endif
321 321
@@ -368,6 +368,16 @@ typedef uLong FAR uLongf;
368# include <sys/types.h> /* for off_t */ 368# include <sys/types.h> /* for off_t */
369#endif 369#endif
370 370
371/* a little trick to accommodate both "#define _LARGEFILE64_SOURCE" and
372 * "#define _LARGEFILE64_SOURCE 1" as requesting 64-bit operations, (even
373 * though the former does not conform to the LFS document), but considering
374 * both "#undef _LARGEFILE64_SOURCE" and "#define _LARGEFILE64_SOURCE 0" as
375 * equivalently requesting no 64-bit operations
376 */
377#if -_LARGEFILE64_SOURCE - -1 == 1
378# undef _LARGEFILE64_SOURCE
379#endif
380
371#if defined(Z_HAVE_UNISTD_H) || defined(_LARGEFILE64_SOURCE) 381#if defined(Z_HAVE_UNISTD_H) || defined(_LARGEFILE64_SOURCE)
372# include <unistd.h> /* for SEEK_* and off_t */ 382# include <unistd.h> /* for SEEK_* and off_t */
373# ifdef VMS 383# ifdef VMS
diff --git a/zconf.h.cmakein b/zconf.h.cmakein
index cf9cc24..18dd770 100644
--- a/zconf.h.cmakein
+++ b/zconf.h.cmakein
@@ -317,7 +317,7 @@
317# endif 317# endif
318#endif 318#endif
319 319
320#ifdef HAVE_VISIBILITY_PRAGMA 320#ifndef NO_VIZ
321# define ZEXTERN __attribute__((visibility ("default"))) extern 321# define ZEXTERN __attribute__((visibility ("default"))) extern
322#endif 322#endif
323 323
@@ -370,6 +370,16 @@ typedef uLong FAR uLongf;
370# include <sys/types.h> /* for off_t */ 370# include <sys/types.h> /* for off_t */
371#endif 371#endif
372 372
373/* a little trick to accommodate both "#define _LARGEFILE64_SOURCE" and
374 * "#define _LARGEFILE64_SOURCE 1" as requesting 64-bit operations, (even
375 * though the former does not conform to the LFS document), but considering
376 * both "#undef _LARGEFILE64_SOURCE" and "#define _LARGEFILE64_SOURCE 0" as
377 * equivalently requesting no 64-bit operations
378 */
379#if -_LARGEFILE64_SOURCE - -1 == 1
380# undef _LARGEFILE64_SOURCE
381#endif
382
373#if defined(Z_HAVE_UNISTD_H) || defined(_LARGEFILE64_SOURCE) 383#if defined(Z_HAVE_UNISTD_H) || defined(_LARGEFILE64_SOURCE)
374# include <unistd.h> /* for SEEK_* and off_t */ 384# include <unistd.h> /* for SEEK_* and off_t */
375# ifdef VMS 385# ifdef VMS
diff --git a/zconf.h.in b/zconf.h.in
index 1988920..f5a6c87 100644
--- a/zconf.h.in
+++ b/zconf.h.in
@@ -315,7 +315,7 @@
315# endif 315# endif
316#endif 316#endif
317 317
318#ifdef HAVE_VISIBILITY_PRAGMA 318#ifndef NO_VIZ
319# define ZEXTERN __attribute__((visibility ("default"))) extern 319# define ZEXTERN __attribute__((visibility ("default"))) extern
320#endif 320#endif
321 321
@@ -368,6 +368,16 @@ typedef uLong FAR uLongf;
368# include <sys/types.h> /* for off_t */ 368# include <sys/types.h> /* for off_t */
369#endif 369#endif
370 370
371/* a little trick to accommodate both "#define _LARGEFILE64_SOURCE" and
372 * "#define _LARGEFILE64_SOURCE 1" as requesting 64-bit operations, (even
373 * though the former does not conform to the LFS document), but considering
374 * both "#undef _LARGEFILE64_SOURCE" and "#define _LARGEFILE64_SOURCE 0" as
375 * equivalently requesting no 64-bit operations
376 */
377#if -_LARGEFILE64_SOURCE - -1 == 1
378# undef _LARGEFILE64_SOURCE
379#endif
380
371#if defined(Z_HAVE_UNISTD_H) || defined(_LARGEFILE64_SOURCE) 381#if defined(Z_HAVE_UNISTD_H) || defined(_LARGEFILE64_SOURCE)
372# include <unistd.h> /* for SEEK_* and off_t */ 382# include <unistd.h> /* for SEEK_* and off_t */
373# ifdef VMS 383# ifdef VMS
diff --git a/zlib.3 b/zlib.3
index b534616..857dbd9 100644
--- a/zlib.3
+++ b/zlib.3
@@ -1,4 +1,4 @@
1.TH ZLIB 3 "10 Apr 2010" 1.TH ZLIB 3 "18 Apr 2010"
2.SH NAME 2.SH NAME
3zlib \- compression/decompression library 3zlib \- compression/decompression library
4.SH SYNOPSIS 4.SH SYNOPSIS
@@ -125,7 +125,7 @@ before asking for help.
125Send questions and/or comments to zlib@gzip.org, 125Send questions and/or comments to zlib@gzip.org,
126or (for the Windows DLL version) to Gilles Vollant (info@winimage.com). 126or (for the Windows DLL version) to Gilles Vollant (info@winimage.com).
127.SH AUTHORS 127.SH AUTHORS
128Version 1.2.4.3 128Version 1.2.4.4
129Copyright (C) 1995-2010 Jean-loup Gailly (jloup@gzip.org) 129Copyright (C) 1995-2010 Jean-loup Gailly (jloup@gzip.org)
130and Mark Adler (madler@alumni.caltech.edu). 130and Mark Adler (madler@alumni.caltech.edu).
131.LP 131.LP
diff --git a/zlib.3.pdf b/zlib.3.pdf
index 584f793..364aeb0 100644
--- a/zlib.3.pdf
+++ b/zlib.3.pdf
Binary files differ
diff --git a/zlib.h b/zlib.h
index 699630c..670fff1 100644
--- a/zlib.h
+++ b/zlib.h
@@ -1,5 +1,5 @@
1/* zlib.h -- interface of the 'zlib' general purpose compression library 1/* zlib.h -- interface of the 'zlib' general purpose compression library
2 version 1.2.4.3, April 10th, 2010 2 version 1.2.4.4, April 18th, 2010
3 3
4 Copyright (C) 1995-2010 Jean-loup Gailly and Mark Adler 4 Copyright (C) 1995-2010 Jean-loup Gailly and Mark Adler
5 5
@@ -37,12 +37,12 @@
37extern "C" { 37extern "C" {
38#endif 38#endif
39 39
40#define ZLIB_VERSION "1.2.4.3" 40#define ZLIB_VERSION "1.2.4.4"
41#define ZLIB_VERNUM 0x1243 41#define ZLIB_VERNUM 0x1244
42#define ZLIB_VER_MAJOR 1 42#define ZLIB_VER_MAJOR 1
43#define ZLIB_VER_MINOR 2 43#define ZLIB_VER_MINOR 2
44#define ZLIB_VER_REVISION 4 44#define ZLIB_VER_REVISION 4
45#define ZLIB_VER_SUBREVISION 3 45#define ZLIB_VER_SUBREVISION 4
46 46
47/* 47/*
48 The 'zlib' compression library provides in-memory compression and 48 The 'zlib' compression library provides in-memory compression and
diff --git a/zlib.pc.in b/zlib.pc.in
index b4f98e5..7e5acf9 100644
--- a/zlib.pc.in
+++ b/zlib.pc.in
@@ -1,6 +1,7 @@
1prefix=@prefix@ 1prefix=@prefix@
2exec_prefix=@exec_prefix@ 2exec_prefix=@exec_prefix@
3libdir=@libdir@ 3libdir=@libdir@
4sharedlibdir=@sharedlibdir@
4includedir=@includedir@ 5includedir=@includedir@
5 6
6Name: zlib 7Name: zlib
@@ -8,5 +9,5 @@ Description: zlib compression library
8Version: @VERSION@ 9Version: @VERSION@
9 10
10Requires: 11Requires:
11Libs: -L${libdir} -lz 12Libs: -L${libdir} -L${sharedlibdir} -lz
12Cflags: -I${includedir} 13Cflags: -I${includedir}