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 *
@@ -17,9 +18,6 @@
* 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
@@ -33,6 +31,7 @@
#include <sys/time.h>
#include <errno.h>
#include "speech.h"
#include "speak_lib.h"
#include "event.h"
#include "wave.h"
@@ -723,7 +722,4 @@ ENTER("event_terminate");
init(); // purge event
}
}
#endif
//>