Re: libwww contributions

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
   248a249
    > AC_CHECK_HEADERS(stddef.h)

We check for it having been detected with a modififcation to the 
wwwsys.html,

   Index: Library/src/wwwsys.html
   ===================================================================
   RCS file: /sources/public/libwww/Library/src/wwwsys.html,v
   retrieving revision 2.127
   diff -r2.127 wwwsys.html
   747a748,752
    > /* 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 ;

done.

more,
l8r,
v

-- 
"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