libcdio-devel
[Top][All Lists]
Advanced

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

Re: [Libcdio-devel] Removing the libpopt dependency in libcdio, darwin8


From: Peter Creath
Subject: Re: [Libcdio-devel] Removing the libpopt dependency in libcdio, darwin8
Date: Mon, 3 Oct 2005 17:00:20 -0400

On 10/3/05, Steven M. Schultz <address@hidden> wrote:
>         Lots of things aren't installed by default (peak at /usr/local/src
>         on larry some time :-)) -  libcddb 1.2.x for example (minimum version
>         changed recently - not a big deal, went and installed it :)).

Right, but libcddb is only required for CDDB features (naturally). 
Libpopt was required to build a startling number of the binaries,
including ones which the regression tests required.

>         But if one less thing depends on libpopt that's fine - always wondered
>         why getopt() wasn't good enough anyhow :)

Well, libpopt was certainly prettier -- one table and a small switch()
statement, instead of two sets of help text, a string plus a table,
and a slightly messier switch() statement.  But getopt() is definitely
sufficient, and I think it'll actually make some of the code easier to
maintain.  There were some very odd things going on with the table
variables that were either accidental or impenetrably subtle.  The
"messier" (more verbose) switch() statement at least makes the
functionality clear.

    -P




reply via email to

[Prev in Thread] Current Thread [Next in Thread]