[ds6-devel] nc6 long options

Simone Piunno pioppo@ferrara.linux.it
Fri Jan 3 14:16:49 CET 2003


On Sun, Dec 29, 2002 at 01:30:25PM +0200, Chris Leishman wrote:

> I think the best (only?) choice would be to use the gnu getopt library 
> (getopt_long) - but should we include the gnu getopt source into the 
> source tree as well, or should we just assume that platforms not using 
> glibc can install the libgnugetopt?

I think the best approach is including the source (borrowed from glibc)
and only using it on non-GNU systems (e.g. when a configure test fails).
For GNU systems (or sustems providing libgnugetopt) we can just use the 
system-wide implementation.

-- 
Adde parvum parvo magnus acervus erit.
Simone Piunno, FerraraLUG - http://members.ferrara.linux.it/pioppo


More information about the ds6-devel mailing list