[Freeciv-Dev] Re: request for --disable-sound (PR#1607)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Sat, Jun 22, 2002 at 10:08:23AM -0700, Ben Webb wrote:
> On Tue, Jun 11, 2002 at 11:03:14PM +0200, Per I Mathisen wrote:
> > On Tue, 11 Jun 2002, Ben Webb wrote:
> > > > > (On the other hand, multiple binary distributions are inefficient.)
> > > > > Plugins would allow a main package to be distributed, plus additional
> > > > > packages for other sound systems - for example, XMMS does this with
> > > > > its
> > > > > xmms, xmms-esd, xmms-vorbis, etc. RPMs.
> > > > Seems like a lot of work for very little gain.
> > >
> > > True, but the work is fun...
> > >
> > > If anyone _likes_ the idea, I can make a patch. I won't bother otherwise
> > > though. ;)
> >
> > I like the idea, but I really dislike libtool. Is there any way to avoid
> > libtool hell?
>
> Well, here's a patch to current CVS. On systems with the dlopen
> function and the gcc compiler, the various audio modules are not linked
> in to the client binary, but are built as dynamic libraries (plugins).
> This behaviour can be disabled via. the --disable-plugins configure
> option, in which case the modules are linked in as per normal. It
> doesn't use libtool (that's why the dynamic loader support is restricted
> to gcc+dlopen systems) so doesn't interfere too much with the standard
> build process. (This does also mean that Makefile.am is a bit ugly...)
>
> Comments?
All very nice BUT this solves a problem which IMHO doesn't
exists. There are no problems for individual installations and also
distributions don't have a problem.
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
Living on earth may be expensive, but it includes an annual free trip
around the sun.
|
|