| 1 |
include(CheckSymbolExists) |
| 2 |
check_symbol_exists(mkstemp "stdlib.h" HAVE_MKSTEMP) |
| 3 |
|
| 4 |
option(USE_MBROLA "Use mbrola for speech synthesis" ${HAVE_MBROLA}) |
| 5 |
option(USE_LIBSONIC "Use libsonit for faster speech rates" ${HAVE_LIBSONIC}) |
| 6 |
option(USE_LIBPCAUDIO "Use libPcAudio for sound output" ${HAVE_LIBPCAUDIO}) |
| 7 |
|
| 8 |
option(USE_KLATT "Use klatt for speech synthesis" ON) |
| 9 |
option(USE_SPEECHPLAYER "Use speech-player for speech synthesis" ON) |
| 10 |
if (HAVE_PTHREAD) |
| 11 |
option(USE_ASYNC "Support asynchronous speech synthesis" ON) |
| 12 |
else() |
| 13 |
set(USE_ASYNC OFF) |
| 14 |
endif() |
| 15 |
|
| 16 |
option(ESPEAK_COMPAT "Install compat binary symlinks" OFF) |