[ds6-devel] nc6 long options

Chris Leishman chris@leishman.org
Sun Dec 29 14:11:41 2002


On Sunday, December 29, 2002, at 03:54 PM, Mauro Tortonesi wrote:
<snip>
>
> we should include getopt_long in the sources, with the autoconf replace
> function facility.
>
> BTW: i am just committing some changes to nc6. please take a look at 
> the
>      runtime configuration code. also, it seems that there are some
>      problems with the configure script. i will try to fixe them ASAP.


Ok - I've just finished putting in getopt_long support.  It works quite 
well - although I haven't used the autoconf replace function - I think 
the getopt source takes care of this itself(?)

I've chosen to create a subdirectory "contrib" that contains the getopt 
code.  This is compile to a library libnc6contrib.a that is used when 
linking nc6.  That way all the getopt code is kept separate from our 
code, and only the object code that is needed will be linked in.

I've also added a portability source for "alloca".  I've also just 
tested all this and I can now confirm that HP-UX can be added to the 
list of supported hosts ;)

Regards,
Chris



More information about the ds6-devel mailing list