[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [coldsync-hackers] getopt_long
- To: <coldsync-hackers at lusars dot net>
- Subject: Re: [coldsync-hackers] getopt_long
- From: "David A. Desrosiers" <hacker at gnu-designs dot com>
- Date: Fri, 19 Apr 2002 17:00:47 -0700 (PDT)
- In-Reply-To: <200204192013.g3JKDFRg069683@wartch.sapros.com>
- Reply-To: coldsync-hackers at lusars dot net
- Sender: owner-coldsync-hackers at lusars dot net
> 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.