RFE: add support for runtime detection of pulseaudio / portaudio.
There is patch contributed by Kevin Kofler in Fedora:
The latest version of this patch is attached.
These changes are now in eSpeak 1.45.43 at
I found that on my system (Kubuntu), the link options: -lpulse -lpulse-simple give a "not found" error because the files are:
Does this mean that the makefile (on my system) needs;
LIB_AUDIO= /usr/lib/libpulse.so.0 /usr/lib/libpulse-simple.so.0 /usr/lib/libportaudio.so.2
or is these a better way of doing this?
AFAIK the best is to fill it by pkg-config, e.g. the following should work (tested on Fedora):
LIB_AUDIO=$(shell pkg-config --libs libpulse libpulse-simple portaudio-2.0)