# HG changeset patch # User Markus Bröker # Date 1229180224 -3600 # Node ID fd135abaac89c6e232ff168534cb786bb0fa88ec # Parent 06dd3b8d90ad2fc37cc866509aa5dda7e58a0678 Troubleshooting: * See http://de.gentoo-wiki.com/Mbrola * txt2pho needs a config file -> ~/.txt2phorc or /etc/txt2pho committer: Markus Bröker diff --git a/src/Makefile b/src/Makefile --- a/src/Makefile +++ b/src/Makefile @@ -28,12 +28,20 @@ $(CC) -c $(PCFLAGS) $(INCLUDE) $(DEBUG) -o $@ $<; \ elif [ -x $(MBROLA) ]; \ then \ + if [ ! -f /etc/txt2pho ]; \ + then \ + if [ ! -f ~/.txt2phorc ]; \ + then \ + echo "Warning: ~/.txt2phorc or /etc/txt2pho is missing"; \ + fi; \ + fi; \ $(CC) -c $(MCFLAGS) $(INCLUDE) $(DEBUG) -o $@ $<; \ elif [ -x $(FESTIVAL) ]; \ then \ $(CC) -c $(FCFLAGS) $(INCLUDE) $(DEBUG) -o $@ $<; \ else \ echo "Cannot find any TTS-System on your Machine"; \ + exit 1; \ fi; @echo "CC $<"