Invalid pkgconfig file when compiling without optional codecs
-------------------------------------------------------------
Key: AVRO-1003
URL: https://issues.apache.org/jira/browse/AVRO-1003
Project: Avro
Issue Type: Bug
Components: c
Affects Versions: 1.6.1
Reporter: Douglas Creager
Assignee: Douglas Creager
The codecs that were added in AVRO-957 (zlib and lzma) are optional. However,
if you compile the C library with the required libraries being present, you get
an invalid pkgconfig file:
{noformat}
$ cat src/avro-c.pc
Name: avro-c
Description: C library for parsing Avro data
Version: 1.6.2-SNAPSHOT
URL: http://avro.apache.org/
Libs: -L/usr/local/Cellar/avro-c/HEAD/lib -lavro
Cflags: -I/usr/local/Cellar/avro-c/HEAD/include
Requires: zlib @LZMA_PKG@
{noformat}
(The @LZMA_PKG@ part is a substitution variable that wasn't substituted.)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira