Opened 15 years ago

Closed 15 years ago

Last modified 12 years ago

#23 closed defect (fixed)

--with-zlib=yes reported as unrecognized option

Reported by: mloskot Owned by: warmerdam
Priority: normal Milestone:
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 (3)

comment:1 by warmerdam, 15 years ago

Cc: hobu added
Resolution: fixed
Status: newclosed

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.

in reply to:  2 comment:3 by mloskot, 12 years ago

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.