Ticket #23 (closed defect: fixed)

Opened 5 years ago

Last modified 22 months ago

--with-zlib=yes reported as unrecognized option

Reported by: mloskot Owned by: warmerdam
Priority: normal Component: libgeotiff
Version: Keywords: configure
Cc: hobu

Description

In spite of what help message says, that --with-zlib and --with-libz are aliases for --with-zip, both the former two options do not seem to work exactly as the aliased --with-zip. The zlib and libz versions do not seem to accept yes value, but the help message for zip variant says it is correct value:

mloskot@dog:~/dev/geotiff/_svn/trunk$ ./configure --help | grep zip
  --with-zip=ARG          zlib library to use (yes or path)
  --with-zlib=ARG         alias for --with-zip
  --with-libz=ARG         alias for --with-zip
mloskot@dog:~/dev/geotiff/_svn/trunk$ ./configure --with-zlib=yes
...
configure: WARNING: unrecognized options: --with-zlib
...
mloskot@dog:~/dev/geotiff/_svn/trunk$ ./configure --with-libz=yes
...
configure: WARNING: unrecognized options: --with-libz
...

I assume that if zlib and libz are aliases they accept exactly the same values.

I use recent SVN trunk on Linux 64-bit:

mloskot@dog:~/dev/geotiff/_svn/trunk$ svn info | grep Revision
Revision: 1735

Change History

  Changed 4 years ago by warmerdam

  • cc hobu added
  • status changed from new to closed
  • resolution set to fixed

I believe I have corrected the fairly badly broken aliasing in configure.ac trunk (r1837).

This will presumably make it into 1.3.0 final.

follow-up: ↓ 3   Changed 22 months ago by WikiCleaner

in reply to: ↑ 2   Changed 22 months ago by mloskot

Replying to WikiCleaner:

many thanks for the fix, it was of great help to me

Note, this is a fake comment, as WikiCleaner? is a spam bot

Note: See TracTickets for help on using tickets.