Re: balsa 1.2.0 (with filters, pcre and openssl) on Solaris8/x86 --with attachments this time



On Thu,  4 October 15:35 James McPherson wrote:
>   On 05 Oct 2001, 12:29:39 AM Brian Stafford wrote:
>  > On Thu,  4 October 15:17 James McPherson wrote:
>  > >   Missed the attachments before - sorry!
>  > >   James
>  >
>  > What does the #define __EXTENSIONS__  1 do on sun?  libESMTP compiles
>  > with pedantic ansi checking turned on, so I'm a bit surprised *anything*
>  > non-standard is needed (unless its for stuff like snprintf).
>   it's to do with /usr/include/netdb.h - the definitions for the error codes
>  don't come in at all. I've attached solaris' netdb.h so you can see for
>  yourself - have a look at line 129ff. I'll have another go later without
>  the -ansi -pedantic and let you know.

OK, understood.

This is one of those things that pisses me off with autoconf.  It detects
the presence of the function in a library but there's no good way
to detect how to enable the corresponding declaration is visible in the
header file... grumble ...

libESMTP's config.h defines the symbol _POSIX_C_SOURCE to 199506L during strict
compiles.  If I revise this, will it bring in the Posix 1003.1g functions and
structures (i.e. getaddrinfo() et al.)?  I feel this is the "correct" solution.

Alternatively, try ./configure --disable-isoc and see if that produces a clean
build out-of-the-box.

Cheers,
Brian




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]