Ticket #2942 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

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: dmorissette, 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

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

Change History

Changed 3 years ago by nsavard

patch to configure.in and GNUmakefile

Changed 3 years ago by warmerdam

  • cc warmerdam added
  • owner changed from warmerdam to chaitanya
  • component changed from default to ConfigBuild

Chaitanya,

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

Changed 3 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.

Changed 3 years ago by chaitanya

  • status changed from new to assigned

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

Changed 3 years ago by chaitanya

  • status changed from assigned to closed
  • resolution set to fixed

Applied the patch in 1.6 (r16767).

Note: See TracTickets for help on using tickets.