unexpected token `ZLIB,zlib,'

Hi, I am trying to build libraw 0.20.2 on ubuntu 18.04. Running ./configure results in this error

./configure: line 16405: syntax error near unexpected token `ZLIB,zlib,'
./configure: line 16405: ` PKG_CHECK_MODULES(ZLIB,zlib,'

Anyone have experience with this?



Line 16405 in ./configure

Line 16405 in ./configure provided with 0.20.2 (downloaded from this site) is empty.
Around this line are libjasper checks.

Also, there are no 'ZLIB,zlib' strings in provided configure script.

Have you re-generated ./configure (using, for example, autoreconf)?

-- Alex Tutubalin @LibRaw LLC

This happens when pkg-config

This happens when pkg-config has not been installed when running autoreconf prior to executing configure script.