autotools: add support for disabling async command support (--without-async/--with-async=no)

This commit is contained in:
Reece H. Dunn
2013-09-16 12:14:26 +01:00
parent 00861d3bc3
commit 6dd5529dd8
6 changed files with 29 additions and 26 deletions
+2 -6
View File
@@ -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
//>