On Mon, 2001-12-03 at 15:48, Jack Twilley wrote:
> >>>>> "David" == David A Desrosiers <[EMAIL PROTECTED]> writes:
> 
> David> In researching the best option to normalize the amount of
> David> arguments we pass to the current pilot-link conduits, three
> David> possible avenues came to light: getopt(), getopt_long(), and
> David> popt(). Each has their own benefits and advantages.
> 
> Take advantage of autoconf and friends.
> 
> if (popt exists)
>   use popt
> else if (getopt_long exists)
>   use getopt_long
> else 
>   link in provided getopt
>   use getopt_long
> fi

Unfortunately this leads to a lot of #ifdef'ing in the code and makes it
hard to maintain.

-JP
-- 
--
=======================================================================
JP Rosevear                             [EMAIL PROTECTED]
Ximian Inc.                             http://www.ximian.com
_______________________________________________
Pilot-unix mailing list
[EMAIL PROTECTED]
http://hcirisc.cs.binghamton.edu/mailman/listinfo/pilot-unix

Reply via email to