Opened 15 years ago

Closed 15 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

Description

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 configure.in and GNUmakefile files.

Attachments (1)

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

Download all attachments as: .zip

Change History (5)

by nsavard, 15 years ago

Attachment: ticket2942.patch added

patch to configure.in and GNUmakefile

comment:1 by warmerdam, 15 years ago

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

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, 15 years ago

Chaitanya,

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, 15 years ago

Status: newassigned

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

comment:4 by chaitanya, 15 years ago

Resolution: fixed
Status: assignedclosed

Applied the patch in 1.6 (r16767).

Note: See TracTickets for help on using tickets.