On Wed, 02 Mar 2016 09:53:12 +0100, han.lu@xxxxxxxxx wrote: > > From: "Lu, Han" <han.lu@xxxxxxxxx> > > Add support for standalone mode where alsabat will run on a > different machine to the one being tested. > In standalone mode, the sound data can be generated, playback and > captured just like in normal mode, but will not be analyzed. > The alsabat being built without libfftw3 support is always work > in standalone mode. > The alsabat in normal mode can also bypass data analysis using > option "--standalone". > > Signed-off-by: Lu, Han <han.lu@xxxxxxxxx> > > diff --git a/bat/Makefile.am b/bat/Makefile.am > index 8dfafa9..5646e9a 100644 > --- a/bat/Makefile.am > +++ b/bat/Makefile.am > @@ -6,7 +6,6 @@ EXTRA_DIST = alsabat.1 > alsabat_SOURCES = \ > bat.c \ > common.c \ > - analyze.c \ > signal.c \ > convert.c \ > alsa.c > @@ -15,8 +14,12 @@ noinst_HEADERS = \ > common.h \ > bat-signal.h \ > alsa.h \ > - convert.h \ > - analyze.h > + convert.h > + > +if HAVE_LIBFFTW3 > +alsabat_SOURCES += analyze.c > +noinst_HEADERS += analyze.h > +endif I wonder how "make dist" works if running on a system without fftw3... Does it pack these conditional files, too? Takashi _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel