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

Re: [coldsync-hackers] getopt_long




> FreeBSD doesn't have getopt_long as part of its standard distribution,
> so you need to add a check for it to configure. Here's a patch against
> today's CVS.

	The standard recommendation is to include a local copy of getopt in
your distribution (getopt1.c, getopt.c and getopt.h), and not to rely on
distro/system-provided versions.

	It's odd that NetBSD has getopt_long() though. Hrm. FreeBSD has
gnugetopt, Solaris has iberty, linux has getopt_long(). Too much of a
portability mess to deal with overall.


d.



-- 
This message was sent through the coldsync-hackers mailing list.  To remove
yourself from this mailing list, send a message to majordomo@thedotin.net
with the words "unsubscribe coldsync-hackers" in the message body.  For more
information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.