W3C home > Mailing lists > Public > www-lib@w3.org > January to March 2006

Re: libwww contributions

From: Vic Bancroft <bancroft@america.net>
Date: Tue, 07 Feb 2006 09:40:47 -0500
Message-ID: <43E8B16F.9000304@america.net>
To: Ben Hutchings <ben@decadentplace.org.uk>
CC: Arthur Smith <apsmith@aps.org>, libwww w3c <www-lib@w3.org>

Another email that did not seem to reach the lists. 

Ben Hutchings wrote:

> Please note the list of headers at the top of the sample code I gave.
>On a POSIX-compliant system you should be including all of these:
>#include <sys/types.h>
>#include <dirent.h>
>#include <limits.h>
>#include <stddef.h>
>#include <unistd.h>
>It may be necessary to make some of them conditional on autoconf macros
>in order to support older Unix variants.
Of the list the only missing one was stddef.h . . .

   Index: configure.ac
   RCS file: /sources/public/libwww/configure.ac,v
   retrieving revision 1.5
   diff -r1.5 configure.ac
    > AC_CHECK_HEADERS(stddef.h)

We check for it having been detected with a modififcation to the 

   Index: Library/src/wwwsys.html
   RCS file: /sources/public/libwww/Library/src/wwwsys.html,v
   retrieving revision 2.127
   diff -r2.127 wwwsys.html
    > /* stdef.h */
    > #ifdef HAVE_STDDEF_H
    > #include <stddef.h>
    > #endif

Of course, one has to run autoheader to get the appropriate fragment 
into wwwconf.h.in . . .

Does this fix the borken compile under Solaris ?  Does it break anything 
else ?

In any case, here is the round of revisions,

 ChangeLog new revision: 1.54;
 configure.ac new revision: 1.6;
 wwwsys.html new revision: 2.128 ;



"The future is here. It's just not evenly distributed yet."
 -- William Gibson, quoted by Whitfield Diffie
Received on Tuesday, 7 February 2006 14:41:15 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:56 UTC