>>>>> "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

This keeps your package down to a reasonable size, and lets you use
whatever the destination system provides.

Jack.
-- 
Jack Twilley
jmt at twilley dot org
http colon slash slash www dot twilley dot org slash tilde jmt slash
_______________________________________________
Pilot-unix mailing list
[EMAIL PROTECTED]
http://hcirisc.cs.binghamton.edu/mailman/listinfo/pilot-unix

Reply via email to