Opened 13 years ago

Closed 13 years ago

#2942 closed defect (fixed)

external libz header is not found when setting the --with-libz=ARG switch

Reported by: nsavard Owned by: chaitanya
Priority: normal Milestone: 1.7.0
Component: ConfigBuild Version: svn-trunk
Severity: normal Keywords: libz, zlib, header
Cc: Daniel Morissette, warmerdam


When specifying an external libz the related headers are not found (--with-libz=ARG Include libz support (ARG=internal or libz directory). I prepared a patch for the and GNUmakefile files.

Attachments (1)

ticket2942.patch (3.3 KB ) - added by nsavard 13 years ago.
patch to and GNUmakefile

Download all attachments as: .zip

Change History (5)

by nsavard, 13 years ago

Attachment: ticket2942.patch added

patch to and GNUmakefile

comment:1 by warmerdam, 13 years ago

Cc: warmerdam added
Component: defaultConfigBuild
Owner: changed from warmerdam to chaitanya


Please review and apply in trunk. If you think the patch is very safe you can also apply in 1.6 branch.

comment:2 by warmerdam, 13 years ago


I would also suggest doing a throrough review of the source to ensure there isn't anywhere else that we use zlib include files though it looks like the patch has them all.

comment:3 by chaitanya, 13 years ago

Status: newassigned

Applied the patch in trunk.
configure r16752
port/GNUmakefile r16753 r16754
frmts/png/GNUmakefile r16755
frmts/jpeg/GNUmakefile r16756
frmts/gtiff/libtiff/GNUmakefile r16757

comment:4 by chaitanya, 13 years ago

Resolution: fixed
Status: assignedclosed

Applied the patch in 1.6 (r16767).

Note: See TracTickets for help on using tickets.