[zeromq-dev] Cygwin support patch
Pavol Malosek
malosek at fastmq.com
Wed Feb 24 18:15:30 CET 2010
Hello,
Why not to run?
./configure LDFLAGS=-L/usr/lib/e2fsprogs
btw
I would recommend to use AC_CHECK_LIB as the rest of build system.
malo
----- Original Message -----
From: "Bernd Prager" <bernd at prager.ws>
To: "Martin Sustrik" <sustrik at 250bpm.com>
Cc: <zeromq-dev at lists.zeromq.org>
Sent: Wednesday, February 24, 2010 2:21 PM
Subject: Re: [zeromq-dev] Cygwin support patch
> 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?
>>
>>
>> *cygwin*)
>> 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
>> libuuid.a.])])
>> ;;
>> *)
>>
>>
>> Martin
> Thanks Martin,
> 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.
>
> Thanks,
> -- Bernd
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
More information about the zeromq-dev
mailing list