Opened 12 years ago

Closed 12 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 12 years ago.
patch to configure.in and GNUmakefile

Download all attachments as: .zip

Change History (5)

Changed 12 years ago by nsavard

Attachment: ticket2942.patch added

patch to configure.in and GNUmakefile

comment:1 Changed 12 years ago by warmerdam

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 Changed 12 years ago by warmerdam

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 Changed 12 years ago by chaitanya

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 Changed 12 years ago by chaitanya

Resolution: fixed
Status: assignedclosed

Applied the patch in 1.6 (r16767).

Note: See TracTickets for help on using tickets.