On 2010-03-03 00:47, Willy Tarreau wrote:
On Wed, Mar 03, 2010 at 12:39:48AM +0100, Willy Tarreau wrote:
Finally, encryption was only tested on Linux and FreeBSD so it could be
nice to verify if it works on Solaris in the same way (with -lcrypt) and
to add USE_LIBCRYPT for "ifeq ($(TARGET),solaris)".

OK I'm testing it now then and will keep you informed.

it builds with the same warning as we had on linux, despite the
man not mentioning anything specific.

:( Did you include unistd.h? If so, could you try defining _XOPEN_SOURCE to 600?

However, on solaris, crypt()
is defined in crypt.h, which I also have here on linux and which
is in some of my old programs which made use of crypt().

Blah... This shows why configure is so popular... :|

Ross, it would be nice if you could check on FreeBSD if we have
crypt.h available. Probably that we should make use of it by
default and not rely on the "standard" includes which are only
there for compatibility with specific programs which define
_XOPEN_SOURCE.

I have several FreeBSD servers - 4.x, 5.x, 6.x, 7.x, and 8.x. None of them have crypt.h. :(

Best regards,

                        Krzysztof Olędzki

Reply via email to