speechd-discuss
[Top][All Lists]
Advanced

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

[PATCH 1/1] add --with-audio-output-method=<name> option


From: William Hubbs
Subject: [PATCH 1/1] add --with-audio-output-method=<name> option
Date: Sat, 4 Dec 2010 17:11:28 -0600

Hi again Andrei,

On Sat, Dec 04, 2010 at 11:39:46PM +0100, Andrei Kholodnyi wrote:
> On Sat, Dec 4, 2010 at 10:32 PM, William Hubbs <w.d.hubbs at gmail.com> wrote:
> > Hi Andrei,
> > I believe I understand what Bohdan is talking about.
> >
> > I think it would be better if the configure script only manipulated
> > config.h and did not generate any .c files at all like we are doing with
> > static_plugins.c.in/static_plugins.c.
> 
> I do not see any difference from what I did and what is currently
> existing in speechd.
> -DSYS_CONF=\"$(spdconfdir)\" -DSND_DATA=\"$(snddatadir)\"
> -DMODULEBINDIR=\"$(modulebindir)\"
> all these are passed to C files as defines,
> 
> and I just added another one.
>  -DDEFAULT_AUDIO_METHOD=\"$(with_audio_output_method)\"

Sorry about the confusion;I think we are talking about two different
subjects. Basically, I want to get rid of the static_audio_plugin_list
variable in configure.ac and avoid generating static_plugins.c in the
configure step.

I think I can do that using AC_DEFINE in configure.ac to generate
#defines in config.h to control which variables get declared in
static_plugins.c.

William

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: 
<http://lists.freebsoft.org/pipermail/speechd/attachments/20101204/536f70a5/attachment.pgp>


reply via email to

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