[zeromq-dev] CZMQ minor patches for the build system

Philip Kovacs kovacsp3 at comcast.net
Sun Nov 13 20:24:43 CET 2011


* Pieter Hintjens <ph at imatix.com> [2011-11-13 23:53:18 +0900]:

> Hi Philip,
> 
> Thanks for these changes. Make a pull request and I'll merge them into czmq
> master. Please patch the readme.txt to suit.
> 
> - Pieter

Done.  My most recent commit updates the docs to include instructions on using pkg-config
to query for compile/link flags.  I didn't add anything about the VPATH fix as anyone
using that autotools feature (cross compilers mostly) simply expects it work.

Also I noticed #include "zmq.h" in the prelude header which I changed to <zmq.h> to speed up 
the search as zmq headers will now never be in the same (czmq) directory. I also added the
missing 'Requires: libzmq' to the pkg-config file so that zmq can reflect its pkg-config flags.  
This makes compile and link as easy as:

gcc `pkg-config --cflags --libs libczmq` -o myapp myapp.c

and ensures any changes to cflag/library in zmq are reflected down to czmq.

I made the pull request.

Cheers.

Phil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20111113/56d4be6c/attachment.sig>


More information about the zeromq-dev mailing list