[zeromq-dev] Cygwin support patch
bernd at prager.ws
Wed Feb 24 14:21:59 CET 2010
On 2/24/2010 2:03 AM, Martin Sustrik wrote:
> Hi Bernd,
> AFAICS the text in AC_MSG_CHECKING is wrong. Also, hardcoded paths
> don't seem the best way to go.
> Everyone, any ideas how to make this more neat?
> AC_DEFINE(ZMQ_HAVE_CYGWIN, 1, [Have Cygwin])
> + AC_MSG_CHECKING([whether to build documentation])
> + LDFLAGS="-L/usr/lib/e2fsprogs"
> + AC_SEARCH_LIBS(uuid_generate, uuid, ,
> + [AC_MSG_ERROR([cannot link with correct
Yes, some suggestions would be welcome.
Here's the challenge:
CYGWIN contains 2 different libuuid.a (one in /usr/lib/w32api and one in
/usr/lib/e2fsprogs). Only latter has the functions we need.
I suggest we need to pass the library path then as configure parameter,
because without the LDFLAG AC_SEARCH_LIBS won't find it.
Is this the way to go? Any other suggestions?
And yes, of course AC_MSG_CHECKING should be AC_MSG_CHECKING([whether
correct libuuid is installed])
I missed that.
More information about the zeromq-dev