mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-07 23:31:26 +00:00
autotools: add support for disabling async command support (--without-async/--with-async=no)
This commit is contained in:
+2
-6
@@ -1,5 +1,6 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2007, Gilles Casse <gcasse@oralux.org> *
|
||||
* Copyright (C) 2013 Reece H. Dunn *
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or modify *
|
||||
* it under the terms of the GNU General Public License as published by *
|
||||
@@ -16,12 +17,9 @@
|
||||
* Free Software Foundation, Inc., *
|
||||
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
|
||||
***************************************************************************/
|
||||
#include "speech.h"
|
||||
|
||||
#ifdef USE_ASYNC
|
||||
// This source file is only used for asynchronious modes
|
||||
|
||||
|
||||
//<includes
|
||||
|
||||
#include <unistd.h>
|
||||
@@ -35,6 +33,7 @@
|
||||
#include <sys/time.h>
|
||||
#include <time.h>
|
||||
|
||||
#include "speech.h"
|
||||
#include "fifo.h"
|
||||
#include "wave.h"
|
||||
#include "debug.h"
|
||||
@@ -601,7 +600,4 @@ void fifo_terminate()
|
||||
|
||||
init(0); // purge fifo
|
||||
}
|
||||
|
||||
#endif
|
||||
//>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user